max_turrell
1st September 2015, 16:24
Hi,
I'm looking to add some additional logging to my Condition scripts within Exchange. My Conditions are attached to the Batch - Table Relations Import - Permitted Operations section. The intention being to prevent data from being imported that would not pass the std checks in the tables' related Baan Session e.g. qty checks in Item Ordering Data.
My individual Conditions my contain checks against 3 or 4 incoming fields. However the std logs only tell you that the incoming records have been skipped against the Condition name - not which field or check was the route cause/reason.
I have read that there is a predefined function called 'log.mess' that might be a possible option. But I cant find any further information out on this e.g. syntax or an example script.
Has anyone found a solution to this kind of problem (log.mess or otherwise)?
Thanks,
Mark.
I'm looking to add some additional logging to my Condition scripts within Exchange. My Conditions are attached to the Batch - Table Relations Import - Permitted Operations section. The intention being to prevent data from being imported that would not pass the std checks in the tables' related Baan Session e.g. qty checks in Item Ordering Data.
My individual Conditions my contain checks against 3 or 4 incoming fields. However the std logs only tell you that the incoming records have been skipped against the Condition name - not which field or check was the route cause/reason.
I have read that there is a predefined function called 'log.mess' that might be a possible option. But I cant find any further information out on this e.g. syntax or an example script.
Has anyone found a solution to this kind of problem (log.mess or otherwise)?
Thanks,
Mark.