Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8459

Special Prices object creation via SDK bug , create date missing in DB

$
0
0

Hi everyone,

I have some problem with Special Prices object creation via SDK , when i create this object using SDK in DB (ospp table) create data and update date is null  . Because of this sometimes SAP isn't  see this object .

Someone can help me please with this issue?

 

SAP 9.0 , PL : 09

 

code for creation  sp

 SAPbobsCOM.SpecialPrices sp;
 sp = SapCon.getInstance.oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oSpecialPrices);
sp.CardCode = ip.cardCode;                        sp.ItemCode = ip.itemCode;                        sp.PriceListNum = Convert.ToInt32(ConfigurationManager.AppSettings["recomPriceListNum"]);                        sp.Price = ip.price;                        errCode = sp.Add();                        if (errCode != 0)                            throw new Exception("Can't add Special prices for card code [" + ip.cardCode + "] , and item code [" + ip.itemCode + "]" +                         ". sap err code is [" + errCode + "] and err desc is [" + SapCon.getInstance.oCompany.GetLastErrorDescription() + "]");

 

DB screenshot

 

Capture22.JPG


Viewing all articles
Browse latest Browse all 8459

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>