DS batch job parameters

Sort:
You are not authorized to post a reply.
Author
Messages
Al Miller
Basic Member
Posts: 10
Basic Member
    Unix - S3 - 9.0.0.7
    AP161 parameter PAYMENT-DATE: Users are forward dating by accident. I would like to (DS) setFormValue parameter with current-date. I can do this with a default value or OnBeforeTransaction but users are always re-using previously defined jobs (Inquire). Is there a way or form Event I can use to modify patameters after the Inquire?

    Thanks in advance,
    Al
    John Henley
    Senior Member
    Posts: 3348
    Senior Member
      I cant think there's an easy way from Design Studio to prevent that. In OnBeforeTransaction, you can check for (fc=="V" || fc=="C" || fc=="A") and return false to prevent adding/changing the job, but it doesn't prevent a previously added job from being submitted.
      Thanks for using the LawsonGuru.com forums!
      John
      You are not authorized to post a reply.