Skip to content

Codeunit WSB_DigiDocQueueHelper

Provides helper functions for handling Document Mail Queue entries.

Properties

Name Value
Access Public

Methods

wgFncExtractValuesFromRecVariant

Extracts values from supplied Variant and returns the values in the var parameters

Parameters

Type Name Description
Variant pRecRelatedVariant Parameter of type Variant.
RecordId vRecordID Parameter of type RecordID.
Code[20] vDocumentNo Parameter of type Code[20].
Enum "Report Selection Usage" vReportUsage Parameter of type Enum "Report Selection Usage".
Integer vSourceType Parameter of type Integer.
Code[20] vSourceNo Parameter of type Code[20].
Code[10] vLanguageCode Parameter of type Code[10].
Boolean vOnHold Parameter of type Boolean.

Returns

Type Description
Boolean Return variable "Boolean".

wgFncGetDocSendingProfileFromSource

Returns the Document Sending Profile Code of a Customer or Vendor.\ Will be empty if nothing is set or found

Parameters

Type Name Description
Integer pSourceType Table No. of Customer or Vendor (Database::Customer)
Code[20] pSourceNo Customer No. or Vendor No.

Returns

Type Description
Code[20] Return variable "Code[20]".

wgFncScheduleInJobQueue

This interactive procedure creates a Job Queue Entry for processing the Document Mail Queue scheduled

wgFncScheduleInJobQueue_GenDocQueueEntries

This interactive procedure creates a Job Queue Entry for PO-report Generating doc. mail queue entries

wlEvpOnExtractValuesFromRecVariant

Event is raised in the end of procedure wgFncExtractValuesFromRecVariant for an unsupported table id.

Parameters

Type Name Description
Variant pRecRelatedVariant
RecordId vRecordID
Code[20] vDocumentNo
Enum "Report Selection Usage" vReportUsage
Integer vSourceType
Code[20] vSourceNo
Code[10] vLanguageCode
Boolean vOnHold
Boolean vIsHandled