I’m doing integration with portal from there sales order will create in AX.
Storing the data in staging table and creating sales order and doing auto post invoice through x++.
from portal they will send different Exchange rates for same sales order
For E.g: 1st line exchange rate is 3.5(USD)
2nd line exchange rate will be 4(USD)
Sales invoice posting calling from portal, so 1st sales header and line will create and invoice will post, after that 2nd line will invoice on click of a button in portal.
i have enabled setup in AR parameters/Updates/Use Exchange rate from source document and i’m passing exchange rate coming portal to sales order header field : fixed Exchange rate.
i tried to update the fixed exchange rate in sales header but its dividing it by 100