Share via


InventJournalCheckPost_Movement::newJournalCheckPostVoucher Method [AX 2012]

Creates a new instance of the InventJournalCheckPost_Movement class that is used for posting or validating a journal and specifying a specific voucher.

Syntax

server public static InventJournalCheckPost_Movement newJournalCheckPostVoucher(
    boolean _autoBlock, 
    boolean _showInfoResult, 
    JournalCheckPostType _journalCheckPostType, 
    TableId _tableId, 
    JournalId _journalId, 
    Voucher _voucher)

Run On

Server

Parameters

  • _autoBlock
    Type: boolean
    A Boolean value that indicates whether the journal should be automatically blocked during posting.
  • _showInfoResult
    Type: boolean
    A Boolean value that indicates whether any errors should be shown in the Infolog.
  • _journalCheckPostType
    Type: JournalCheckPostType Enumeration
    A JournalCheckPostType enumeration value that indicates whether the new instance is used for posting or validating the journal.

Return Value

Type: InventJournalCheckPost_Movement Class
A new instance of the InventJournalCheckPost_Movement class.

See Also

Reference

InventJournalCheckPost_Movement Class