Apparently, the IsDataFormatUpdateAllowed results in this error, so we should have made use of the new OnBeforeIsDataFormatUpdateAllowed publisher. However, the CurrFieldNo parameter is the publisher is not sufficient to decide if DataFormatUpdateAllowed can be set.
We'd like to get access to Rec in OnBeforeIsDataFormatUpdateAllowed, so I can test that my transformation rule with Code = 'FORMAT DATE' and "transformation type"::Custom can pass the OnBeforeIsDataFormatUpdateAllowed test.
Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.
We've created our own transformation rules
Upon creation of a new company, we get an error in the event viewer:
Reason is this line
InsertRec(FormatDate(), FormatDateDesc, "transformation type"::Custom, 0, 0, '<Day,2>/<Month,2>/<Year4>', '');
Apparently, the IsDataFormatUpdateAllowed results in this error, so we should have made use of the new OnBeforeIsDataFormatUpdateAllowed publisher. However, the CurrFieldNo parameter is the publisher is not sufficient to decide if DataFormatUpdateAllowed can be set.
We'd like to get access to Rec in OnBeforeIsDataFormatUpdateAllowed, so I can test that my transformation rule with Code = 'FORMAT DATE' and "transformation type"::Custom can pass the OnBeforeIsDataFormatUpdateAllowed test.