RetailPostingInvoiceJournal.newFromJorunal Method [AX 2012]
Creates a new instance of the RetailPostingInvoiceJournal class that can be used for posting or validating a journal.
Syntax
public JournalCheckPost newFromJorunal(JournalId _JournalId, [JournalCheckPostType _journalCheckPostType])
Run On
Called
Parameters
- _JournalId
Type: JournalId Extended Data Type
The ID of the journal to validate or post.
- _journalCheckPostType
Type: JournalCheckPostType Enumeration
A JournalCheckPostType enumeration value that indicates whether the instance is used for posting or validating the journal; optional.
Return Value
Type: JournalCheckPost Class
An instance of the class.