RetailStatementPost.postFiscalReceiptVoided_BR Method [AX 2012]

Voids a Fiscal receipt if there is a related sales return.

private boolean postFiscalReceiptVoided_BR(RetailTransactionTable _transactionTable)

Run On

Server

Parameters

_transactionTable
Type: RetailTransactionTable Table
The Retail transaction that might be a sales return.

Return Value

Type: boolean
true if it is a sales return and a related fiscal receipt was found; otherwise, false.

This covers only fiscal receipts voided after they are concluded, which are handled as sales return.

For fiscal receipts voided before they are concluded, the Retail statament skips them, so they are handled at postConcludePost_BR.

Community Additions

ADD
Show: