Question

I've written some code in insert method of RBOLoyaltyMSRCardTrans table, it is working fine when I add some row from AX client, but I want this code to run when a transaction is occur in POS and data is written in this table, in this case my code is not running.

Any idea ?

Was it helpful?

Solution

Insert method of a table will not fire in any of the following cases:

  • Records are inserted with doInsert() method (and not insert())
  • Records are massively inserted with the SQL sentence insert_recordset with skipDataMethod(true) mofifier.
  • Records are inserted from a Form and the insert() method of the Form Datasource is overriden and deleted the super() call.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top