on 04-27-2013 5:51 AM
Hi Expert,
Need your valuable suggestion on this.
We are having a requirement to have different currency in Sub Agreement and Master Agreement.
So to address this we have created a custom field in Master Agreement as "Agreement Currency" and now when we are setting this custom currency as standard currency in Sub Agreement "on create" event. But there is not change in standard currency in SA and even there is no error message.
When we set the custom currency as standard currency on Validate of SA, then SA standard currency is getting updated properly. But now we are getting error while validating the line item in SA as "The custom currency is not the document currency nor is it one of the listed document alternate currencies. Choose a valid alternate currency".
Please find the screen shot of the error message as a reference.
Any kind of help will be really appreciated.
Regards,
Ravi
Maybe the "on create" event is triggering before the standard logic that presets currency to a value equal of Master Agreement.
You can try creating a new field in Subagreement level (Custom Currency) and hiding standard field currency in Subagreement level.
Then create a script on field date edit event of "Subagreement-custom currency" field, that overwrites Subagreement standard currency field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.