SalesPurchJournalSelect::newPurchPackingSlipJournalSelect Method [AX 2012]

Creates an instance of the appropriate SalesPurchJournalSelect class derivative based on the caller.

client public static SalesPurchJournalSelect newPurchPackingSlipJournalSelect(DocumentStatus _basedOnDocumentStatus, FormRun _formRun)

Run On

Client

Parameters

_basedOnDocumentStatus
Type: DocumentStatus Enumeration
The DocumentStatus value to set on the SalesPurchJournalSelect class instance.
_formRun
Type: FormRun Class
A value that represents the caller.

Return Value

Type: SalesPurchJournalSelect Class
An instance of appropriate SalesPurchJournalSelect class derivative.

ExceptionCondition
Error

An unexpected document status is set on the caller.

Show: