Skip to main content

MGCLatticeInventoryJournalPostingService.postTagCountingJournal

Posts a tag counting journal. In the standard, posting the tags (InventJournalCheckPost_Tag) does not change on-hand: it creates a counting journal (the default counting journal name of the inventory parameters) with one line per item and dimensions, counted = the sum of the used tags, and leaves it open for review. This operation does the same and returns that counting journal; with PostCountingJournal it also posts the counting journal, which adjusts on-hand to the counted quantities. The tag posting and the counting journal posting run in one transaction: either both succeed or neither is posted. A tag journal that could not be posted is deleted again.

  • HTTP method: POST
  • Route: /api/services/MGCLatticeInventoryServiceGroup/MGCLatticeInventoryJournalPostingService/postTagCountingJournal
  • Service class: MGCLatticeInventoryJournalPostingService

Parameters​

NameTypeOptionalDescription
_requestMGCLatticeInventTagJournalPostRequestContractNoThe request: JournalNameId (optional; default: the tag counting journal name of the inventory parameters), Description, PostingDate (the counting date), PostCountingJournal, and the tags (TagNumber, TagStatus, and for a used tag ItemId, Qty and the dimensions).

Returns​

MGCLatticeOrderOperationResponseContract

An MGCLatticeOrderOperationResponseContract: DocumentId is the posted tag counting journal, PostedDocumentId the counting journal it created (empty when no tag counted an item).

Security​

  • Requires privilege MGCLatticeInventoryServiceMaintain