Skip to content

Codeunit WSB_DigiDocEventPublishers

Exposes additional event publishers next to the event publishers that are available from the public objects.

Properties

Name Value
Access Public

Methods

wgEvpOnBefore_wlEvsCodeunitSalesPost_OnAfterPostSalesDoc

Event is raised by Sales-Post, OnAfterPostSalesDoc but before any other event subscriber.

Parameters

Type Name Description
Record "Sales Header" vRecSalesHdr VAR Record "Sales Header".
Codeunit "Gen. Jnl.-Post Line" vCduGenJnlPostLine VAR Codeunit "Gen. Jnl.-Post Line".
Code[20] pSalesShptHdrNo Code[20].
Code[20] pRetRcpHdrNo Code[20].
Code[20] pSalesInvHdrNo Code[20].
Code[20] pSalesCrMemoHdrNo Code[20].
Boolean pCommitIsSuppressed Boolean.
Boolean vIsHandled VAR Boolean.

wgEvpOnTextReplacementFieldFilterUsageNotFound

Event is raised by WSB_DigiDocTextReplacement if a report usage is not found\ TableNo filter must be set on vRecField

Parameters

Type Name Description
Enum "WSB_DigiDocReportUsage" pUsage Enum WSB_DigiDocReportUsage.
Record "Field" vRecField VAR Record Field.

wgEvpOnTextReplacementGetDefaultFieldNo01UsageNotFound

Event is raised by WSB_DigiDocTextReplacement procedure wgFncGetDefaultFieldNo01 if a report usage is not found\ vFieldNo must contain a value

Parameters

Type Name Description
Enum "WSB_DigiDocReportUsage" pUsage Enum WSB_DigiDocReportUsage.
Integer vFieldNo VAR Integer.