Codeunit 18006636 EOS C/IN Update

Codeunit 18006636 EOS C/IN Update

Codeunit EOS C/IN Update (ID 18006636).

Methods

Update

procedure Update(var CAAnalysisCode: Record "EOS C/A Analysis Code"; UpdateMode: Option Entries,Allocation,All)

Update.

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

    VAR Record “EOS C/A Analysis Code”.

  • UpdateMode Option

    Entries (0) , Allocation (1) , All (2)

    Option Entries,Allocation,All.


Events

OnBeforeSkipItem

local procedure OnBeforeSkipItem(ItemNo: Code[20]; var ReturnValue: Boolean; var IsHandled: Boolean)

Parameters / Return Value

  • ItemNo Code[20]

  • ReturnValue Boolean

  • IsHandled Boolean


OnBeforeValueEntryToSkip

local procedure OnBeforeValueEntryToSkip(ValueEntryNo: Integer; var ReturnValue: Boolean; var IsHandled: Boolean)

Parameters / Return Value

  • ValueEntryNo Integer

  • ReturnValue Boolean

  • IsHandled Boolean


OnBeforeInsertCINEntry

local procedure OnBeforeInsertCINEntry(var CINEntry: Record "EOS C/IN Entry"; CAAnalysisCode: Record "EOS C/A Analysis Code"; CINCol: Record "EOS C/IN Column")

Parameters / Return Value

  • CINEntry Record "EOS C/IN Entry"

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • CINCol Record "EOS C/IN Column"


OnBeforeOpenCINViewQuery

local procedure OnBeforeOpenCINViewQuery(var CAAnalysisCode: Record "EOS C/A Analysis Code"; var CINViewQry: Query "EOS C/IN View")

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • CINViewQry Query "EOS C/IN View"


OnCalcNetProceeds

local procedure OnCalcNetProceeds(CINColumn: Record "EOS C/IN Column"; CINViewQry: Query "EOS C/IN View"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINColumn Record "EOS C/IN Column"

  • CINViewQry Query "EOS C/IN View"

  • IsHandled Boolean

  • ReturnValue Boolean


OnCalcGrossProceeds

local procedure OnCalcGrossProceeds(CINColumn: Record "EOS C/IN Column"; CINViewQry: Query "EOS C/IN View"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINColumn Record "EOS C/IN Column"

  • CINViewQry Query "EOS C/IN View"

  • IsHandled Boolean

  • ReturnValue Boolean


OnCalcDiscount

local procedure OnCalcDiscount(CINColumn: Record "EOS C/IN Column"; CINViewQry: Query "EOS C/IN View"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINColumn Record "EOS C/IN Column"

  • CINViewQry Query "EOS C/IN View"

  • IsHandled Boolean

  • ReturnValue Boolean


OnCalcLineDiscount

local procedure OnCalcLineDiscount(CINColumn: Record "EOS C/IN Column"; CINViewQry: Query "EOS C/IN View"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINColumn Record "EOS C/IN Column"

  • CINViewQry Query "EOS C/IN View"

  • IsHandled Boolean

  • ReturnValue Boolean


OnCalcInvoiceDisc

local procedure OnCalcInvoiceDisc(CINColumn: Record "EOS C/IN Column"; CINViewQry: Query "EOS C/IN View"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINColumn Record "EOS C/IN Column"

  • CINViewQry Query "EOS C/IN View"

  • IsHandled Boolean

  • ReturnValue Boolean


OnAfterUpdateSales

local procedure OnAfterUpdateSales(var CAAnalysisCode: Record "EOS C/A Analysis Code")

Raised after calculation of sales values.

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

    VAR Record “EOS C/A Analysis Code”.


OnAfterUpdateIndirectValues

local procedure OnAfterUpdateIndirectValues(var CAAnalysisCode: Record "EOS C/A Analysis Code")

Raised after calculation of indirect values.

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

    VAR Record “EOS C/A Analysis Code”.


OnAfterUpdateDirectCost

local procedure OnAfterUpdateDirectCost(var CAAnalysisCode: Record "EOS C/A Analysis Code")

Raised after calculation of direct cost.

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

    VAR Record “EOS C/A Analysis Code”.


OnBeforeSetFilterColumDirectCost

local procedure OnBeforeSetFilterColumDirectCost(var CAAnalysisCode: Record "EOS C/A Analysis Code"; CINCol: Record "EOS C/IN Column"; var CINColInd: Record "EOS C/IN Column")

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • CINCol Record "EOS C/IN Column"

  • CINColInd Record "EOS C/IN Column"


OnAfterGetSpecificUnitCostUpdateDirectCost

local procedure OnAfterGetSpecificUnitCostUpdateDirectCost(var CAAnalysisCode: Record "EOS C/A Analysis Code"; CINCol: Record "EOS C/IN Column"; CINEntry: Record "EOS C/IN Entry"; var CostAmt: Decimal; var MaterialAmt: Decimal; var CapacityAmt: Decimal; var SubContractAmt: Decimal)

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • CINCol Record "EOS C/IN Column"

  • CINEntry Record "EOS C/IN Entry"

  • CostAmt Decimal

  • MaterialAmt Decimal

  • CapacityAmt Decimal

  • SubContractAmt Decimal


OnCalcNetProceedsSalesInvoiceWithoutInventory

local procedure OnCalcNetProceedsSalesInvoiceWithoutInventory(CINCol: Record "EOS C/IN Column"; SalesInvoiceHeader: Record "Sales Invoice Header"; SalesInvoiceLine: Record "Sales Invoice Line"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINCol Record "EOS C/IN Column"

  • SalesInvoiceHeader Record "Sales Invoice Header"

  • SalesInvoiceLine Record "Sales Invoice Line"

  • IsHandled Boolean

  • ReturnValue Boolean


OnCalcGrossProceedsSalesInvoiceWithoutInventory

local procedure OnCalcGrossProceedsSalesInvoiceWithoutInventory(CINCol: Record "EOS C/IN Column"; SalesInvoiceHeader: Record "Sales Invoice Header"; SalesInvoiceLine: Record "Sales Invoice Line"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINCol Record "EOS C/IN Column"

  • SalesInvoiceHeader Record "Sales Invoice Header"

  • SalesInvoiceLine Record "Sales Invoice Line"

  • IsHandled Boolean

  • ReturnValue Boolean


OnCalcDiscountSalesInvoiceWithoutInventory

local procedure OnCalcDiscountSalesInvoiceWithoutInventory(CINCol: Record "EOS C/IN Column"; SalesInvoiceHeader: Record "Sales Invoice Header"; SalesInvoiceLine: Record "Sales Invoice Line"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINCol Record "EOS C/IN Column"

  • SalesInvoiceHeader Record "Sales Invoice Header"

  • SalesInvoiceLine Record "Sales Invoice Line"

  • IsHandled Boolean

  • ReturnValue Boolean


OnCalcLineDiscountSalesInvoiceWithoutInventory

local procedure OnCalcLineDiscountSalesInvoiceWithoutInventory(CINCol: Record "EOS C/IN Column"; SalesInvoiceHeader: Record "Sales Invoice Header"; SalesInvoiceLine: Record "Sales Invoice Line"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINCol Record "EOS C/IN Column"

  • SalesInvoiceHeader Record "Sales Invoice Header"

  • SalesInvoiceLine Record "Sales Invoice Line"

  • IsHandled Boolean

  • ReturnValue Boolean


OnCalcInvoiceDiscountSalesInvoiceWithoutInventory

local procedure OnCalcInvoiceDiscountSalesInvoiceWithoutInventory(CINCol: Record "EOS C/IN Column"; SalesInvoiceHeader: Record "Sales Invoice Header"; SalesInvoiceLine: Record "Sales Invoice Line"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINCol Record "EOS C/IN Column"

  • SalesInvoiceHeader Record "Sales Invoice Header"

  • SalesInvoiceLine Record "Sales Invoice Line"

  • IsHandled Boolean

  • ReturnValue Boolean


OnCalcNetProceedsSalesCrMemoWithoutInventory

local procedure OnCalcNetProceedsSalesCrMemoWithoutInventory(CINCol: Record "EOS C/IN Column"; SalesCrMemoHeader: Record "Sales Cr.Memo Header"; SalesCrMemoLine: Record "Sales Cr.Memo Line"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINCol Record "EOS C/IN Column"

  • SalesCrMemoHeader Record "Sales Cr.Memo Header"

  • SalesCrMemoLine Record "Sales Cr.Memo Line"

  • IsHandled Boolean

  • ReturnValue Boolean


OnCalcGrossProceedsSalesCrMemoWithoutInventory

local procedure OnCalcGrossProceedsSalesCrMemoWithoutInventory(CINCol: Record "EOS C/IN Column"; SalesCrMemoHeader: Record "Sales Cr.Memo Header"; SalesCrMemoLine: Record "Sales Cr.Memo Line"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINCol Record "EOS C/IN Column"

  • SalesCrMemoHeader Record "Sales Cr.Memo Header"

  • SalesCrMemoLine Record "Sales Cr.Memo Line"

  • IsHandled Boolean

  • ReturnValue Boolean


OnCalcDiscountSalesCrMemoWithoutInventory

local procedure OnCalcDiscountSalesCrMemoWithoutInventory(CINCol: Record "EOS C/IN Column"; SalesCrMemoHeader: Record "Sales Cr.Memo Header"; SalesCrMemoLine: Record "Sales Cr.Memo Line"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINCol Record "EOS C/IN Column"

  • SalesCrMemoHeader Record "Sales Cr.Memo Header"

  • SalesCrMemoLine Record "Sales Cr.Memo Line"

  • IsHandled Boolean

  • ReturnValue Boolean


OnCalcLineDiscountSalesCrMemoWithoutInventory

local procedure OnCalcLineDiscountSalesCrMemoWithoutInventory(CINCol: Record "EOS C/IN Column"; SalesCrMemoHeader: Record "Sales Cr.Memo Header"; SalesCrMemoLine: Record "Sales Cr.Memo Line"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINCol Record "EOS C/IN Column"

  • SalesCrMemoHeader Record "Sales Cr.Memo Header"

  • SalesCrMemoLine Record "Sales Cr.Memo Line"

  • IsHandled Boolean

  • ReturnValue Boolean


OnCalcInvoiceDiscountSalesCrMemoWithoutInventory

local procedure OnCalcInvoiceDiscountSalesCrMemoWithoutInventory(CINCol: Record "EOS C/IN Column"; SalesCrMemoHeader: Record "Sales Cr.Memo Header"; SalesCrMemoLine: Record "Sales Cr.Memo Line"; var IsHandled: Boolean; var ReturnValue: Boolean)

Parameters / Return Value

  • CINCol Record "EOS C/IN Column"

  • SalesCrMemoHeader Record "Sales Cr.Memo Header"

  • SalesCrMemoLine Record "Sales Cr.Memo Line"

  • IsHandled Boolean

  • ReturnValue Boolean


OnAfterMakeFilter

local procedure OnAfterMakeFilter(CAAnalysisCode: Record "EOS C/A Analysis Code"; CINColNo: Code[20]; CINView: query "EOS C/IN View"; var CINEntry: Record "EOS C/IN Entry")

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • CINColNo Code[20]

  • CINView query "EOS C/IN View"

  • CINEntry Record "EOS C/IN Entry"


OnAfterInitCINEntryRecord

local procedure OnAfterInitCINEntryRecord(CAAnalysisCode: Record "EOS C/A Analysis Code"; var CINEntry: Record "EOS C/IN Entry"; CINColNo: Code[20]; CINView: Query "EOS C/IN View")

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • CINEntry Record "EOS C/IN Entry"

  • CINColNo Code[20]

  • CINView Query "EOS C/IN View"


OnCalculateCustomSalesCostNoInventoryForSalesInvoice

local procedure OnCalculateCustomSalesCostNoInventoryForSalesInvoice(var CAAnalysisCode: Record "EOS C/A Analysis Code"; CINCol: Record "EOS C/IN Column"; SalesInvoiceLine: Record "Sales Invoice Line"; var IsHandled: Boolean; var LineAmount: Decimal)

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • CINCol Record "EOS C/IN Column"

  • SalesInvoiceLine Record "Sales Invoice Line"

  • IsHandled Boolean

  • LineAmount Decimal


OnCalculateCustomSalesCostNoInventoryForSalesCrMemo

local procedure OnCalculateCustomSalesCostNoInventoryForSalesCrMemo(var CAAnalysisCode: Record "EOS C/A Analysis Code"; CINCol: Record "EOS C/IN Column"; SalesCrMemoLine: Record "Sales Cr.Memo Line"; var IsHandled: Boolean; var LineAmount: Decimal)

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • CINCol Record "EOS C/IN Column"

  • SalesCrMemoLine Record "Sales Cr.Memo Line"

  • IsHandled Boolean

  • LineAmount Decimal


OnCalcItemChargeAmountNoInventoryForSalesInvoiceLine

local procedure OnCalcItemChargeAmountNoInventoryForSalesInvoiceLine(SalesInvoiceLine: Record "Sales Invoice Line"; ItemChargeNoFilter: Code[100]; var IsHandled: Boolean; var Amount: Decimal)

Parameters / Return Value

  • SalesInvoiceLine Record "Sales Invoice Line"

  • ItemChargeNoFilter Code[100]

  • IsHandled Boolean

  • Amount Decimal


OnCalcItemChargeAmountNoInventoryForSalesCrMemoLine

local procedure OnCalcItemChargeAmountNoInventoryForSalesCrMemoLine(SalesCrMemoLine: Record "Sales Cr.Memo Line"; ItemChargeNoFilter: Code[100]; var IsHandled: Boolean; var Amount: Decimal)

Parameters / Return Value

  • SalesCrMemoLine Record "Sales Cr.Memo Line"

  • ItemChargeNoFilter Code[100]

  • IsHandled Boolean

  • Amount Decimal


OnCalcInvDiscAmountForItemChargeSalesInvoiceLine

local procedure OnCalcInvDiscAmountForItemChargeSalesInvoiceLine(SalesInvoiceLine: Record "Sales Invoice Line"; ItemChargeNoFilter: Code[100]; var IsHandled: Boolean; var DiscountAmt: Decimal)

Parameters / Return Value

  • SalesInvoiceLine Record "Sales Invoice Line"

  • ItemChargeNoFilter Code[100]

  • IsHandled Boolean

  • DiscountAmt Decimal


OnCalcInvDiscAmountForItemChargeSalesCrMemoLine

local procedure OnCalcInvDiscAmountForItemChargeSalesCrMemoLine(SalesCrMemoLine: Record "Sales Cr.Memo Line"; ItemChargeNoFilter: Code[100]; var IsHandled: Boolean; var DiscountAmt: Decimal)

Parameters / Return Value

  • SalesCrMemoLine Record "Sales Cr.Memo Line"

  • ItemChargeNoFilter Code[100]

  • IsHandled Boolean

  • DiscountAmt Decimal


OnCalcLineDiscAmountForItemChargeSalesInvoiceLine

local procedure OnCalcLineDiscAmountForItemChargeSalesInvoiceLine(SalesInvoiceLine: Record "Sales Invoice Line"; ItemChargeNoFilter: Code[100]; var IsHandled: Boolean; DiscountAmount: Decimal)

Parameters / Return Value

  • SalesInvoiceLine Record "Sales Invoice Line"

  • ItemChargeNoFilter Code[100]

  • IsHandled Boolean

  • DiscountAmount Decimal


OnCalcLineDiscAmountForItemChargeSalesCrMemoLine

local procedure OnCalcLineDiscAmountForItemChargeSalesCrMemoLine(SalesCrMemoLine: Record "Sales Cr.Memo Line"; ItemChargeNoFilter: Code[100]; var IsHandled: Boolean; DiscountAmount: Decimal)

Parameters / Return Value

  • SalesCrMemoLine Record "Sales Cr.Memo Line"

  • ItemChargeNoFilter Code[100]

  • IsHandled Boolean

  • DiscountAmount Decimal


OnBeforeSetFilterColumProceedsOnUpdateDirectCost

local procedure OnBeforeSetFilterColumProceedsOnUpdateDirectCost(var CAAnalysisCode: Record "EOS C/A Analysis Code"; var CINCol: Record "EOS C/IN Column")

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • CINCol Record "EOS C/IN Column"


OnAfterInitAnalysis

local procedure OnAfterInitAnalysis(var CAAnalysisCode: Record "EOS C/A Analysis Code")

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

OnBeforeUpdateSales

local procedure OnBeforeUpdateSales(var CAAnalysisCode: Record "EOS C/A Analysis Code"; var IsHandled: Boolean)

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • IsHandled Boolean


OnBeforeUpdateSalesWithoutInventory

local procedure OnBeforeUpdateSalesWithoutInventory(var CAAnalysisCode: Record "EOS C/A Analysis Code"; var IsHandled: Boolean)

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • IsHandled Boolean


OnBeforeUpdateDirectCost

local procedure OnBeforeUpdateDirectCost(var CAAnalysisCode: Record "EOS C/A Analysis Code"; var IsHandled: Boolean)

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • IsHandled Boolean


OnBeforeUpdateIndirectValue2

local procedure OnBeforeUpdateIndirectValue2(var CAAnalysisCode: Record "EOS C/A Analysis Code"; var IsHandled: Boolean)

Parameters / Return Value

  • CAAnalysisCode Record "EOS C/A Analysis Code"

  • IsHandled Boolean



EOS Labs -