PurchInvoiceJournalCreate.postAllocateNumAndVoucher_BR Method [AX 2012]

Changes the number sequence to be used to determine the invoice number when dealing with a fiscal document issued by own establishment.

public void postAllocateNumAndVoucher_BR(NumberSeq _tmpNumberSeq)

Run On

Server

Parameters

_tmpNumberSeq
Type: NumberSeq Class
A reference to NumberSeq class containing the number sequences selected by the systems so far. If a fiscal document issued by own establishment is being posted, we are going to change the invoice number sequence to the one configured on the fiscal document type associated with the vendor invoice.

ExceptionCondition
Error

An exception will be thrown if the fiscal document type is missing in VendInvoiceInfoTable-or-

An exception will be thrown if number sequence group does not have a number sequence reference attcahed to it

-or-

An exception will be thrown if the number sequence is not continous

Community Additions

ADD
Show: