Enumerations

This article lists all enum types used in Ventoo Document Merger.

Doc. Merge Source Type (Enum 70679850)

Defines the type of source for a merge rule or document list entry.

Value

Name

Description

0

Incoming Document

Files linked through the Business Central Incoming Documents feature.

1

Document Attachment

Files attached directly to the Business Central document.

2

BC Report

A Business Central report rendered as PDF.

3

Static Document

A pre-uploaded document from the Static Documents list.

Doc. Merge Date Comparison (Enum 70679851)

Defines which date to use when checking static document validity.

Value

Name

Description

0

Work Date

Compares against the current Business Central work date (WORKDATE).

1

Today

Compares against the current system date.

2

Posting Date

Compares against the posting date of the document being printed.

3

Document Date

Compares against the document date of the document being printed.

Doc. Merge Override Option (Enum 70679852)

Used for customer-level overrides of global settings.

Value

Name

Description

0

Default

Uses the global setting from the Doc. Merge Setup page.

1

Yes

Overrides the global setting to always enable the feature.

2

No

Overrides the global setting to always disable the feature.

Doc. Merge Reference Type (Enum 70679853)

Defines how a report reference finds related records.

Value

Name

Description

0

Line Reference

Looks up related records through document lines (for example, Sales Invoice Line → Shipment No.).

1

Header Reference

Looks up related records through header fields (for example, Sales Header → Customer No.).