Sage X3 - Roll Back Transaction on APRES_CRE

Hi There would it be possible that as soon as the Transaction is created  Eg. Sales Order and the Order number has already been created and sequence number updated to roll back the transaction if my integration to a 3rd party system has failed. ? Reason being that they require the transaction number to be sent though on the payload. 

Parents
  • Hello,

    APRES_CRE is after the Transaction has been Comited. So you cannot rollback the transaction.

    I suggest you use APRES_CRE to send the Order Nb to your 3rd party system and then update a custom field accordingly if successfully sent. That way you can then write a sundry process to re-process any Sales Orders that were not send and have these being sent in a separate workstream (and their custom field updated accordingly to signal this)

    Regards

Reply
  • Hello,

    APRES_CRE is after the Transaction has been Comited. So you cannot rollback the transaction.

    I suggest you use APRES_CRE to send the Order Nb to your 3rd party system and then update a custom field accordingly if successfully sent. That way you can then write a sundry process to re-process any Sales Orders that were not send and have these being sent in a separate workstream (and their custom field updated accordingly to signal this)

    Regards

Children
No Data