SAPPostingRetry

This is a delegate of type UserExitSAPPostingRetry and has the following parameters.

  • IWorkdoc doc

  • ILineData[] lineData

  • ITaxData taxData

  • ref bool retry

  • object sapReturn

This user exit is called when a SAP document fails to post. It provides the ability to change the parameters passed to SAP based on the error message returned by the initial failure , so that the document posts on a second attempt.

The ref bool retry Interface parameter should be set to TRUE to attempt posting again.

The reason why a document post fails is held in the object sapReturn array.

This user exit is available during export processing only.