Share via


AxdVendInvoice.validateDocument Method [AX 2012]

Validates that any business rules that govern the processing of the Axd document are complied with.

Syntax

public void validateDocument()

Run On

Server

Remarks

On the AxdBase, the validateDocument method does nothing. Derived classes can override to implement document-wide business logic. For example, the AxdPriceDiscountJournal.validateDocument method.The validateDocument method is called immediately after it processes an incoming document-right before the transaction is persisted to the database.This method is intended only to be used internally, and should not be called through the interface.

See Also

Reference

AxdVendInvoice Class