Codeunit 18123478 EOS History Cost Log

Codeunit 18123478 EOS History Cost Log

Codeunit EOS History Cost Log (ID 18123478).

Methods

CalculatePurchasedQty

procedure CalculatePurchasedQty(PeriodCode: Code[20]; StartDate: Date; EndDate: Date; ItemNo: Code[20]; var TempItemLedgerEntry: Record "Item Ledger Entry" temporary)

CalculatePurchasedQty.

Parameters / Return Value

  • PeriodCode Code[20]

    Code[20].

  • StartDate Date

    Date.

  • EndDate Date

    Date.

  • ItemNo Code[20]

    Code[20].

  • TempItemLedgerEntry Record "Item Ledger Entry"

    Temporary VAR Record “Item Ledger Entry”.


CalculateItemPurchasedQty

procedure CalculateItemPurchasedQty(PeriodCode: Code[20]; StartDate: Date; EndDate: Date; ItemNo: Code[20]; var TempItemLedgerEntry: Record "Item Ledger Entry" temporary)

CalculateItemPurchasedQty.

Parameters / Return Value

  • PeriodCode Code[20]

    Code[20].

  • StartDate Date

    Date.

  • EndDate Date

    Date.

  • ItemNo Code[20]

    Code[20].

  • TempItemLedgerEntry Record "Item Ledger Entry"

    Temporary VAR Record “Item Ledger Entry”.


CalculateProcessedQty

procedure CalculateProcessedQty(PeriodCode: Code[20]; StartDate: Date; EndDate: Date; ItemNo: Code[20]; var TempItemLedgerEntry: Record "Item Ledger Entry" temporary)

CalculateProcessedQty.

Parameters / Return Value

  • PeriodCode Code[20]

    Code[20].

  • StartDate Date

    Date.

  • EndDate Date

    Date.

  • ItemNo Code[20]

    Code[20].

  • TempItemLedgerEntry Record "Item Ledger Entry"

    Temporary VAR Record “Item Ledger Entry”.


CalculateItemProcessedQty

procedure CalculateItemProcessedQty(PeriodCode: Code[20]; StartDate: Date; EndDate: Date; ItemNo: Code[20]; var TempItemLedgerEntry: Record "Item Ledger Entry" temporary)

CalculateItemProcessedQty.

Parameters / Return Value

  • PeriodCode Code[20]

    Code[20].

  • StartDate Date

    Date.

  • EndDate Date

    Date.

  • ItemNo Code[20]

    Code[20].

  • TempItemLedgerEntry Record "Item Ledger Entry"

    Temporary VAR Record “Item Ledger Entry”.


CalculatePurchaseAmount

procedure CalculatePurchaseAmount(PeriodCode: Code[20]; StartDate: Date; EndDate: Date; ItemNo: Code[20]; var TempValueEntry: Record "Value Entry" temporary)

CalculatePurchaseAmount.

Parameters / Return Value

  • PeriodCode Code[20]

    Code[20].

  • StartDate Date

    Date.

  • EndDate Date

    Date.

  • ItemNo Code[20]

    Code[20].

  • TempValueEntry Record "Value Entry"

    Temporary VAR Record “Value Entry”.


CalculateItemPurchaseAmount

procedure CalculateItemPurchaseAmount(PeriodCode: Code[20]; StartDate: Date; EndDate: Date; ItemNo: Code[20]; var TempValueEntry: Record "Value Entry" temporary)

CalculateItemPurchaseAmount.

Parameters / Return Value

  • PeriodCode Code[20]

    Code[20].

  • StartDate Date

    Date.

  • EndDate Date

    Date.

  • ItemNo Code[20]

    Code[20].

  • TempValueEntry Record "Value Entry"

    Temporary VAR Record “Value Entry”.


CalculateTransferItemChargeAmount

procedure CalculateTransferItemChargeAmount(PeriodCode: Code[20]; StartDate: Date; EndDate: Date; ItemNo: Code[20]; var TempValueEntry: Record "Value Entry" temporary)

Parameters / Return Value

  • PeriodCode Code[20]

  • StartDate Date

  • EndDate Date

  • ItemNo Code[20]

  • TempValueEntry Record "Value Entry"


CalculateRoutingCost

procedure CalculateRoutingCost(PeriodCode: Code[20]; StartDate: Date; EndDate: Date; ItemNo: Code[20]; var TempCapacityLedgerEntry: Record "Capacity Ledger Entry" temporary; var TempProdOrderRoutingLine: Record "Prod. Order Routing Line" temporary; var TempResourceLedgerEntry: Record "Res. Ledger Entry" temporary)

CalculateRoutingCost.

Parameters / Return Value

  • PeriodCode Code[20]

    Code[20].

  • StartDate Date

    Date.

  • EndDate Date

    Date.

  • ItemNo Code[20]

    Code[20].

  • TempCapacityLedgerEntry Record "Capacity Ledger Entry"

    Temporary VAR Record “Capacity Ledger Entry”.

  • TempProdOrderRoutingLine Record "Prod. Order Routing Line"

    Temporary VAR Record “Prod. Order Routing Line”.

  • TempResourceLedgerEntry Record "Res. Ledger Entry"

    Temporary VAR Record “Res. Ledger Entry”.


CalcMaterialCost

procedure CalcMaterialCost(PeriodCode: Code[20]; StartDate: Date; EndDate: Date; ItemNo: Code[20]; var TempItemLedgerEntry: Record "Item Ledger Entry" temporary; var TempProdOrderComp: Record "Prod. Order Component" temporary)

CalcMaterialCost.

Parameters / Return Value

  • PeriodCode Code[20]

    Code[20].

  • StartDate Date

    Date.

  • EndDate Date

    Date.

  • ItemNo Code[20]

    Code[20].

  • TempItemLedgerEntry Record "Item Ledger Entry"

    Temporary VAR Record “Item Ledger Entry”.

  • TempProdOrderComp Record "Prod. Order Component"

    Temporary VAR Record “Prod. Order Component”.


ResetDetails

procedure ResetDetails()

ResetDetails.


SetDetails

procedure SetDetails(LotNo: Code[50]; SNNo: Code[50]; VariantCode: Code[10])

SetDetails.

Parameters / Return Value

  • LotNo Code[50]

    Code[50].

  • SNNo Code[50]

    Code[50].

  • VariantCode Code[10]

    Code[10].


Events

OnAfterSetFilterSkipJobEntryOnItemLedgerEntry

local procedure OnAfterSetFilterSkipJobEntryOnItemLedgerEntry(var ItemLedgerEntry: Record "Item Ledger Entry"; CostingPeriodCode: Code[20]; ItemNo: Code[20])

Raised after set filter to field “Job No.” of table “EOS Item Cost History”.

Parameters / Return Value

  • ItemLedgerEntry Record "Item Ledger Entry"

    Parameter of type Record “Item Ledger Entry”.

  • CostingPeriodCode Code[20]

    Costing Period Code

  • ItemNo Code[20]

    Item No.


OnCalculateItemProcessedQtySkipItemLedgerEntry

local procedure OnCalculateItemProcessedQtySkipItemLedgerEntry(var ItemHistory: Record "EOS Item Cost History"; ItemLedgerEntry: Record "Item Ledger Entry"; StartDate: Date; EndDate: Date; var Handled: Boolean)

Parameters / Return Value

  • ItemHistory Record "EOS Item Cost History"

  • ItemLedgerEntry Record "Item Ledger Entry"

  • StartDate Date

  • EndDate Date

  • Handled Boolean


OnCalcMatCostAllPOSkipItemLedgerEntry

local procedure OnCalcMatCostAllPOSkipItemLedgerEntry(var ItemHistory: Record "EOS Item Cost History"; ItemLedgerEntry: Record "Item Ledger Entry"; StartDate: Date; EndDate: Date; var Handled: Boolean)

Parameters / Return Value

  • ItemHistory Record "EOS Item Cost History"

  • ItemLedgerEntry Record "Item Ledger Entry"

  • StartDate Date

  • EndDate Date

  • Handled Boolean


OnCalcExtRoutingCostOpenPOSkipCapacityLedgerEntry

local procedure OnCalcExtRoutingCostOpenPOSkipCapacityLedgerEntry(PeriodCode: Code[20]; ItemNo: Code[20]; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var Handled: Boolean)

Parameters / Return Value

  • PeriodCode Code[20]

  • ItemNo Code[20]

  • ProdOrderRoutingLine Record "Prod. Order Routing Line"

  • Handled Boolean


OnCalcExtRoutingCostFinishedPOSkipCapacityLedgerEntry

local procedure OnCalcExtRoutingCostFinishedPOSkipCapacityLedgerEntry(PeriodCode: Code[20]; ItemNo: Code[20]; CapacityLedgerEntry: Record "Capacity Ledger Entry"; var Handled: Boolean)

Parameters / Return Value

  • PeriodCode Code[20]

  • ItemNo Code[20]

  • CapacityLedgerEntry Record "Capacity Ledger Entry"

  • Handled Boolean


OnCalcRoutingCostAllPOSkipCapacityLedgerEntry

local procedure OnCalcRoutingCostAllPOSkipCapacityLedgerEntry(PeriodCode: Code[20]; ItemNo: Code[20]; CapacityLedgerEntry: Record "Capacity Ledger Entry"; var Handled: Boolean)

Parameters / Return Value

  • PeriodCode Code[20]

  • ItemNo Code[20]

  • CapacityLedgerEntry Record "Capacity Ledger Entry"

  • Handled Boolean



EOS Labs -