Skip to main content

MGCLatticeJournalPostingService.postTradeAgreementJournal

Posts a trade agreement journal (sales or purchase prices and discounts) that already exists in the legal entity with the standard trade agreement journal posting (PriceDiscAdmCheckPost, see postTradeAgreement), in one transaction: the journal's lines become the trade agreements the pricing reads.

  • HTTP method: POST
  • Route: /api/services/MGCLatticeJournalPostingServiceGroup/MGCLatticeJournalPostingService/postTradeAgreementJournal
  • Service class: MGCLatticeJournalPostingService

Parameters​

NameTypeOptionalDescription
_requestMGCLatticeTradeAgreementJournalPostingRequestContractNoThe request: JournalNum and the standard header fields.

Returns​

MGCLatticeOrderOperationResponseContract

An MGCLatticeOrderOperationResponseContract: DocumentId and PostedDocumentId are the journal.

Security​

  • Requires privilege MGCLatticeJournalPostingMaintain