Table of Contents

Table "Item Journal Template"

ID 82
Namespace: Microsoft.Inventory.Journal

Properties

Name Value
Caption Item Journal Template
LookupPageID Page Microsoft.Inventory.Journal."Item Journal Template List"
ReplicateData True
DataClassification CustomerContent

Fields

Name Type Description
Name Code[10]

Specifies the name of the item journal you are creating.

Description Text[80]

Specifies a brief description of the item journal template you are creating.

"Test Report ID" Integer

Specifies the test report that is printed when you click Actions, point to Posting, and then click Test Report.

"Page ID" Integer

Specifies the number of the page that is used to show the journal or worksheet that uses the template.

"Posting Report ID" Integer

Specifies the posting report that is printed when you click Post and Print.

"Force Posting Report" Boolean

Specifies whether a report is printed automatically when you post.

Type Enum Microsoft.Inventory.Journal."Item Journal Template Type"

Specifies the type of transaction that will be used with this item journal template.

"Source Code" Code[10]

Specifies the source code that specifies where the entry was created.

"Reason Code" Code[10]

Specifies the reason code, a supplementary source code that enables you to trace the entry.

Recurring Boolean

Specifies whether the item journal template will be a recurring journal.

"Test Report Caption" Text[250]

Specifies the name of the test report that is printed when you print the item journal.

"Page Caption" Text[250]

Specifies the displayed name of the journal or worksheet that uses the template.

"Posting Report Caption" Text[250]

Specifies the name of the report that is printed when you print the item journal.

"No. Series" Code[20]

Specifies the number series from which entry or record numbers are assigned to new entries or records.

"Posting No. Series" Code[20]

Specifies the number series code used to assign document numbers to ledger entries that are posted from journals using this template.

"Whse. Register Report ID" Integer

Specifies the ID assigned to the Whse. Register Report.

"Whse. Register Report Caption" Text[250]

Specifies the name of the report that is printed when you print the item journal.

"Increment Batch Name" Boolean

Specifies if batch names using this template are automatically incremented. Example: The posting following BATCH001 is automatically named BATCH002.

SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemCreatedByUserName Text[50]
SystemCreatedByFullName Text[80]
SystemModifiedByUserName Text[50]
SystemModifiedByFullName Text[80]
SystemRowVersion BigInteger

Methods

GetCapacityTemplateType

procedure GetCapacityTemplateType(): Enum "Item Journal Template Type"

Returns

Type Description
Enum Microsoft.Inventory.Journal."Item Journal Template Type"

GetConsumptionTemplateType

procedure GetConsumptionTemplateType(): Enum "Item Journal Template Type"

Returns

Type Description
Enum Microsoft.Inventory.Journal."Item Journal Template Type"

GetOutputTemplateType

procedure GetOutputTemplateType(): Enum "Item Journal Template Type"

Returns

Type Description
Enum Microsoft.Inventory.Journal."Item Journal Template Type"

GetProdOrderTemplateType

procedure GetProdOrderTemplateType(): Enum "Item Journal Template Type"

Returns

Type Description
Enum Microsoft.Inventory.Journal."Item Journal Template Type"

Events

OnAfterValidateType

[IntegrationEvent(False,False)]
local procedure OnAfterValidateType(var ItemJournalTemplate: Record "Item Journal Template"; SourceCodeSetup: Record "Source Code Setup")

Parameters

Name Type Description
ItemJournalTemplate Table Microsoft.Inventory.Journal."Item Journal Template"
SourceCodeSetup Table Microsoft.Foundation.AuditCodes."Source Code Setup"

OnGetConsumptionTemplateType

[IntegrationEvent(False,False)]
local procedure OnGetConsumptionTemplateType(var Type: Enum "Item Journal Template Type")

Parameters

Name Type Description
Type Enum Microsoft.Inventory.Journal."Item Journal Template Type"

OnGetOutputTemplateType

[IntegrationEvent(False,False)]
local procedure OnGetOutputTemplateType(var Type: Enum "Item Journal Template Type")

Parameters

Name Type Description
Type Enum Microsoft.Inventory.Journal."Item Journal Template Type"

OnGetCapacityTemplateType

[IntegrationEvent(False,False)]
local procedure OnGetCapacityTemplateType(var Type: Enum "Item Journal Template Type")

Parameters

Name Type Description
Type Enum Microsoft.Inventory.Journal."Item Journal Template Type"

OnGetProdOrderTemplateType

[IntegrationEvent(False,False)]
local procedure OnGetProdOrderTemplateType(var Type: Enum "Item Journal Template Type")

Parameters

Name Type Description
Type Enum Microsoft.Inventory.Journal."Item Journal Template Type"

See also