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