on 10-18-2008 8:41 AM
Hi All,
I am posting Sales Order on click event of Add Button in SALES QUOTATION.
Its working fine and sales order are creating. But when I pass Discount Value in row level (Item Wise) then every value gets converted into zero in Sales Order.
While debugging I checked every value is passing and also its adding.
There is no error while adding but when I go in sales order total,unitprice,Row discount is zero
Please suggest me.............................
Code is :-
vSO = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
vSO.DocObjectCode = SAPbobsCOM.BoObjectTypes.oOrders
vSO.DocNum = sdocnum_SO
vSO.CardCode = scustcode
vSO.HandWritten = SAPbobsCOM.BoYesNoEnum.tNO
vSO.DocDate = sdocdate
vSO.DocDueDate = sdocduedate
vSO.DiscountPercent = dDiscount
vSO.Lines.ItemCode = sitemcode
vSO.Lines.ItemDescription = sdesc
vSO.Lines.WarehouseCode = sWhs
vSO.Lines.Quantity = squantity
vSO.Lines.Price = sprice
vSO.Lines.DiscountPercen = dDiscount_Lines
Hello,
This forum is specific to the Business Intelligence offerings of Business Objects, a recent acquisition by SAP.
You may have better luck posting in the SAP Business One SDK forums.
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.