08-04-2017 6:29 AM - edited 02-04-2024 12:40 AM
Hi,
Refer to AdditionalExpenses Object Members for the same. However it should be used something as below:
SAPbobsCOM.Documents oPurchaseOrder = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders);
oPurchaseOrder.CardCode = "V11111";
oPurchaseOrder.Lines.ItemCode = "A00001";
oPurchaseOrder.Lines.Currency = "EUR";
oPurchaseOrder.Lines.UnitPrice = 50;
oPurchaseOrder.Expenses.DistributionMethod = SAPbobsCOM.BoAdEpnsDistribMethods.aedm_Equally;
Kind regards,
ANKIT CHAUHAN
SAP SME Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
i m trying with oPurchaseOrder.Expenses.DistributionMethod = SAPbobsCOM.BoAdEpnsDistribMethods.aedm_Equally;
DI API add Freight Tax Distrib. Method value is NULL show add/update any status. problem is Freight Amount Tax showing with R/off Account,
After Refresh manually Freight Tax Distrib. Mathod Field Value Freight Tax Amount Showing separate.
Please check JE value after manually changes Freight Tax Distrib. Mathod = None
but i want change/update Freight Tax Distrib. Mathod through DI API
Hi
Ankit Ji
I m notice, add freight value through DI API
oPurchaseInvoice.Expenses.ExpenseCode = 1;
oPurchaseInvoice.Expenses.TaxCode = strTaxCode;
oPurchaseInvoice.Expenses.LineTotal = dblFRAMOUNT;
DI API Auto Change Freight Tax Distrib. Method Value as Blank
I want Freight Tax Distrib. Mathod = None as default
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.