In the OnValidate-Trigger of the “No.” field of table SalesLines for instance it seems impossible to get the correct values of an item, for example the property “Bill of Materials” is never retrieved properly (always = FALSE). (Same in forms triggers). Does anybody know why? Thanks.
That’s because some fields are flowfields (such as Bill Of Materials). You need to do an additioncal calcfields for those fields, if you want to use those values in code.
Thank you! That was it.