Hey guys. My country now requires all receipts to include a sequence number. For such, I added a field to the Transaction table where I hold the number. I added a after_insert trigger on the Transaction table, and I update the newly created row by the POS program, setting the field to the next sequence number. Then, I go to the receipt xml and add a "Sequence Number:" Transaction.Field. However it says Compiler Error: Token 'Field' was not found. It does not show in the Journal either..
How can I achieve this? Thanks in advance.