A client has asked that we validate a field in the purchase line to determine if a date has been entered or if they want the default 12/31/9999 date - I got this working BUT they have an opportunity to select a line/record in a sub form and request Multiple lines/records be created from that line(purchase line), they do not want to verify these lines for the date as the new lines should default to the date supplied on the first line. The creation of the multiple lines is made via a processing only report. I got the first part working using a onValidate trigger on the purchase line table but I can't figgure out how to bypass the check on the newly generated lines. I tried adding a field to the file, I tried adding a global variable - nothing seems to work - please somebody have an idea on how to get this done [-o< - I could do this easily in other languages but I keep running into walls with Navision. ](*,)
0
Comments
By the way... are you the 'real' McCoy?
RIS Plus, LLC
I am not the 'real' McCoy - I just married one!
Oh, and INSERT accepts a boolean parameter that controls whether to run the OnInsert code or not. INSERT(TRUE) runs the code, INSERT(FALSE) does not run the code.
RIS Plus, LLC