‎2022 Sep 01 3:42 PM
In DI, setting DocDate value seems to automatically set TaxDate to be same as DocDate and recalculates DocDueDate as per payment terms, ignoring the value in TaxDate or DocDueDate.
Currently our users have to open each draft document in UI (SAP App), update DocDate (SAP refreshes TaxDate to match DocDate, and DocDueDate per Payment Terms), then change TaxDate back to the correct value, and Save as Draft again.
My question is: Using DI-API, how can I update only DocDate on a Draft A/P Invoice and keep TaxDate and DocDueDate unchanged?
System: SAP Business One 10.0 (10.00.170) FP 2108 (64-bit)
Steps:
Create a Draft A/P Invoice with Payment Terms = Net 30 from TaxDate and:
Update this draft A/P Invoice with:
Update the draft
Expected result (as in UI):
Actual result (in DI):
Thank you!
Grace