Table of Contents

PostGenJnl Procedure

Codeunit WS General Jnl Posting

Posts G/L Journal Lines.

Signature

PostGenJnl(GenJnl: XmlPort "QWESR WS Gen Jnl Parameter"; PostingNoSeries: Code[10]; DocumentNo: Code[20]; SourceCode: Code[10]; ReasonCode: Code[10]) RegisterNo: Integer

Parameters

GenJnl XmlPort "QWESR WS Gen Jnl Parameter"

Should contain all G/L Journal Lines that should be posted.

PostingNoSeries Code[10]

The Posting Number Series to use for the posting. If this is blank, DocumentNo is mandatory.

DocumentNo Code[20]

The Document No. to use when posting. If this is blank, PostingNoSeries is mandatory.

SourceCode Code[10]

The Source Code to use for the posting. This must not be blank.

ReasonCode Code[10]

The Reason Code to use for the posting. Provide an empty string to omit the Reason Code.

Returns

Integer

The G/L Register No. that was created.

Remarks

Only one of either DocumentNo or PostingNoSeries must be provided, the other must be blank.

This documentation is generated from Spider v27.2