Hi All,
Next I created two batch jobs for automatic invoice posting; One for invoices in USD and one for invoices in CAD. What happens ? When I set my new field to Yes on the USA invoice job, it will automatically set it to Yes on the CAD invoice job as well. And vice versa:
I open the invoice job USD, go to parameters, change my new field to Yes and click OK.
I open the invoice job CAD, go to parameters and notice that my new field is set to Yes here as well. I set my new field to No and click OK
I open the invoice job USD, go to parameters and notice that my new field is set to No here as well
Etc.
If I understand the modifications from
https://www.linkedin.com/pulse/storing-last-form-values-m-imran-qasmi-xme0c correctly, this might be caused by the fact that these modifications look at dataAreaId, curUserId, MenuItem and name are the unique combination. And when these modifications are called from the Batch jobs, they are the same and therefore changing one will automatically change the other.
So, this might not be the correct approach for this, but I cannot find any examples on google on how to achieve this in the correct way.
What I need is a field on the salesEditLines form which value will be remembered when it is changed in the parameters of an invoice Batch job.
Would you point me in the right direction ?
Thanks,
Gerard Verbruggen