Getting error A currency to convert from is required to retrieve exchange rate information. while creating purchase agreement lines in ax 2012 R3

Getting error while creating purchase agreement lines : A currency to convert from is required to retrieve exchange rate information.  in ax 2012 R3

>> field level i created field level relation ( related table context relation with currency table) why because in work flow, have to select currency in amount field

in my customization i have added one  real field in purchase agreemnet header table ( for that field value  calculation is based on  total sum of purchasegreement lines)

i have written the logic in agreement lines datasource.write() and agreement  table level delete method ( Amount value should update in header level)

>>purchase agreemnet header table i have written logic in two methods one is for calculation of amount field, and another one is sum of purchase agreement lines

after configuring the work flow getting the error  in purchase agreement lines A currency to convert from is required to retrieve exchange rate information.

if i remove in the amount field ( field level relation for currency), iam not getting this error in purchase agreement lines, but  work flow is not saving, it is throwing  for amount field currency should select.

Please help me further on this, there is no where we using exchange rate on this process.

Related
Recommended