LittleJohn
16th July 2002, 02:30
Hi,
Here is a silly problem that am facing. ;)
I've got no program scripts to start with.... (Baan IVc2).
On the Purchase Order line the user is supposed to enter a Ledger Account (based on the Item type).
Since there is no program code available, I created a session which is not a Main session & with a zoom type : Modal child dialog. (Start option 21).
The session does nothing more than imports the values of the PO line, does the validation and pops a error message, if required.
This session is attached as a zoom session on the form of the Purchase Order line with 'automatic zoom'. It's attached to the fields "Order Qty" & "Amount" (since the user has to enter either of them). So everytime the user enters the field this session does the checks and pops the message (atleast supposed to). ;)
Now the funny part is... The message pops up AFTER you exit the field and ONLY if the value is zero.
The import code in the pop-up session is for
Zoom.from.all:
on.entry:
Nothing happens if you enter the right value and exit the field.
Could it be possible that there is a standard check on this particular field?... or am I missing something ?
(My session works fine if i put in on any other customized session).
Can anyone please help me with this.
Thanks
Regards
Minhaaj
Here is a silly problem that am facing. ;)
I've got no program scripts to start with.... (Baan IVc2).
On the Purchase Order line the user is supposed to enter a Ledger Account (based on the Item type).
Since there is no program code available, I created a session which is not a Main session & with a zoom type : Modal child dialog. (Start option 21).
The session does nothing more than imports the values of the PO line, does the validation and pops a error message, if required.
This session is attached as a zoom session on the form of the Purchase Order line with 'automatic zoom'. It's attached to the fields "Order Qty" & "Amount" (since the user has to enter either of them). So everytime the user enters the field this session does the checks and pops the message (atleast supposed to). ;)
Now the funny part is... The message pops up AFTER you exit the field and ONLY if the value is zero.
The import code in the pop-up session is for
Zoom.from.all:
on.entry:
Nothing happens if you enter the right value and exit the field.
Could it be possible that there is a standard check on this particular field?... or am I missing something ?
(My session works fine if i put in on any other customized session).
Can anyone please help me with this.
Thanks
Regards
Minhaaj