Hi
How do we set a SalesOrder line's DiscountPercentage without explicitly setting PriceExGst or DiscountedPrice?
In our own project's code before we patch the order to Jiwa7Api, we set the line's discount like this myJiwaSalesOrderLineObj.DiscountPercentage=15 as we want to have that line's discount to be set to 15%. We do not explicitly set the line's PriceExGst or DiscountedPrice property.
After we patch it, in Jiwa, the line's DiscountPercentage is reset by JiwaApi to 100% and the DiscountedPrice is set to 0.
Thanks.