Table "Standard Item Journal Line"

ID 753
Namespace: Microsoft.Inventory.Journal

Properties

Name Value
Caption Standard Item Journal Line
DataClassification CustomerContent

Fields

Name Type Description
"Journal Template Name" Code[10]
"Line No." Integer
"Item No." Code[20]
"Entry Type" Enum Microsoft.Inventory.Ledger."Item Ledger Entry Type"
Description Text[100]
"Location Code" Code[10]
"Inventory Posting Group" Code[20]
Quantity Decimal
"Unit Amount" Decimal
"Unit Cost" Decimal
Amount Decimal
"Salespers./Purch. Code" Code[20]
"Source Code" Code[10]
"Shortcut Dimension 1 Code" Code[20]
"Shortcut Dimension 2 Code" Code[20]
"Indirect Cost %" Decimal
"Standard Journal Code" Code[10]
"Reason Code" Code[10]
"Transaction Type" Code[10]
"Transport Method" Code[10]
"Country/Region Code" Code[10]
"Qty. (Calculated)" Decimal
"Qty. (Phys. Inventory)" Decimal
"Phys. Inventory" Boolean
"Gen. Bus. Posting Group" Code[20]
"Gen. Prod. Posting Group" Code[20]
"Entry/Exit Point" Code[10]
"Area" Code[10]
"Transaction Specification" Code[10]
"Posting No. Series" Code[20]
"Dimension Set ID" Integer
"Variant Code" Code[10]
"Bin Code" Code[20]
"Qty. per Unit of Measure" Decimal
"Unit of Measure Code" Code[10]
"Qty. Rounding Precision" Decimal
"Qty. Rounding Precision (Base)" Decimal
"Quantity (Base)" Decimal
"Originally Ordered No." Code[20]
"Originally Ordered Var. Code" Code[10]
"Item Category Code" Code[20]
Nonstock Boolean
"Purchasing Code" Code[10]
"Value Entry Type" Enum Microsoft.Inventory.Costing."Cost Entry Type"
"Item Charge No." Code[20]
Correction Boolean
"Return Reason Code" Code[10]
"Price Calculation Method" Enum Microsoft.Pricing.Calculation."Price Calculation Method"
"Overhead Rate" Decimal
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

GetPriceCalculationHandler

procedure GetPriceCalculationHandler(PriceType: Enum "Price Type", var PriceCalculation: Interface "Price Calculation")

Parameters

Name Type Description
PriceType Enum Microsoft.Pricing.PriceList."Price Type"
PriceCalculation Interface Microsoft.Pricing.Calculation."Price Calculation"

GetLineWithPrice

procedure GetLineWithPrice(var LineWithPrice: Interface "Line With Price")

Parameters

Name Type Description
LineWithPrice Interface Microsoft.Pricing.PriceList."Line With Price"

ValidateShortcutDimCode

procedure ValidateShortcutDimCode(FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

LookupShortcutDimCode

procedure LookupShortcutDimCode(FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

ShowShortcutDimCode

procedure ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])

Parameters

Name Type Description
ShortcutDimCode array[8] of Code[20]

ShowDimensions

procedure ShowDimensions()

CreateDim

procedure CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

CreateDimFromDefaultDim

procedure CreateDimFromDefaultDim(FieldNo: Integer)

Parameters

Name Type Description
FieldNo Integer

Events

OnAfterInitDefaultDimensionSources

[IntegrationEvent(False,False)]
local procedure OnAfterInitDefaultDimensionSources(var StandardItemJournalLine: Record "Standard Item Journal Line", var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]], FieldNo: Integer)

Parameters

Name Type Description
StandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]
FieldNo Integer

OnAfterGetLineWithPrice

[IntegrationEvent(True,False)]
local procedure OnAfterGetLineWithPrice(var LineWithPrice: Interface "Line With Price")

Parameters

Name Type Description
LineWithPrice Interface Microsoft.Pricing.PriceList."Line With Price"

OnAfterGetItem

[IntegrationEvent(False,False)]
local procedure OnAfterGetItem(var Item: Record Item, var StandardItemJournalLine: Record "Standard Item Journal Line")

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
StandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"

OnAfterGetSKU

[IntegrationEvent(False,False)]
local procedure OnAfterGetSKU(StandardItemJournalLine: Record "Standard Item Journal Line", var Result: Boolean)

Parameters

Name Type Description
StandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"
Result Boolean

OnAfterShowDimensions

[IntegrationEvent(False,False)]
local procedure OnAfterShowDimensions(StandardItemJournalLine: Record "Standard Item Journal Line")

Parameters

Name Type Description
StandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"

OnAfterValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var StandardItemJournalLine: Record "Standard Item Journal Line", var xStandardItemJournalLine: Record "Standard Item Journal Line", FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
StandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"
xStandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"
FieldNumber Integer
ShortcutDimCode Code[20]

OnAfterCreateDim

[IntegrationEvent(False,False)]
local procedure OnAfterCreateDim(var StandardItemJournalLine: Record "Standard Item Journal Line", CallingFieldNo: Integer, xStandardItemJournalLine: Record "Standard Item Journal Line", OldDimSetID: Integer, DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
StandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"
CallingFieldNo Integer
xStandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"
OldDimSetID Integer
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

OnAfterRetriveCosts

[IntegrationEvent(False,False)]
local procedure OnAfterRetriveCosts(var StandardItemJournalLine: Record "Standard Item Journal Line", Item: Record Item, StockkeepingUnit: Record "Stockkeeping Unit", var UnitCost: Decimal)

Parameters

Name Type Description
StandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"
Item Table Microsoft.Inventory.Item.Item
StockkeepingUnit Table Microsoft.Inventory.Location."Stockkeeping Unit"
UnitCost Decimal

OnBeforeValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var StandardItemJournalLine: Record "Standard Item Journal Line", var xStandardItemJournalLine: Record "Standard Item Journal Line", FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
StandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"
xStandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"
FieldNumber Integer
ShortcutDimCode Code[20]

OnValidateItemNoOnAfterCopyItemValues

[IntegrationEvent(False,False)]
local procedure OnValidateItemNoOnAfterCopyItemValues(var StandardItemJournalLine: Record "Standard Item Journal Line", Item: Record Item)

Parameters

Name Type Description
StandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"
Item Table Microsoft.Inventory.Item.Item

OnBeforeApplyPrice

[IntegrationEvent(False,False)]
local procedure OnBeforeApplyPrice(var StandardItemJournalLine: Record "Standard Item Journal Line")

Parameters

Name Type Description
StandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"

OnBeforeCreateDim

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateDim(var StandardItemJournalLine: Record "Standard Item Journal Line", CurrentFieldNo: Integer, DefaultDimSource: List of [Dictionary of [Integer, Code[20]]], var IsHandled: Boolean)

Parameters

Name Type Description
StandardItemJournalLine Table Microsoft.Inventory.Journal."Standard Item Journal Line"
CurrentFieldNo Integer
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]
IsHandled Boolean

See also