DS batch job parameters

 1 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
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
    Posts: 3353
      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