Codeunit 5130114 M365 Job Cost Mgt.

Codeunit 5130114 M365 Job Cost Mgt.

Methods

CalcBudgetAmount

procedure CalcBudgetAmount(jobStructHeader: Record "M365 Job Structure Header")

Parameters / Return Value

  • jobStructHeader Record "M365 Job Structure Header"

CalcDetailedCosts

procedure CalcDetailedCosts(jobStructHeader: Record "M365 Job Structure Header")

Parameters / Return Value

  • jobStructHeader Record "M365 Job Structure Header"

CheckDirectPosting

procedure CheckDirectPosting(jobStrEntryNo: Integer; entryType: Integer; no: Code[20]; variantCode: Code[10]): Boolean

Parameters / Return Value

  • jobStrEntryNo Integer

  • entryType Integer

  • no Code[20]

  • variantCode Code[10]

  • Returns Boolean


AddDirectLedEntryCost

procedure AddDirectLedEntryCost(jobStrEntryNo: Integer): Decimal

Parameters / Return Value

  • jobStrEntryNo Integer

  • Returns Decimal


SetHideDialog

procedure SetHideDialog()

Events

OnBeforeInsertDtldJobCostEntry

local procedure OnBeforeInsertDtldJobCostEntry(var dtldJobCostEntry: Record "M365 Detailed Job Cost Entry"; var jobStructLine: Record "M365 Job Structure Line"; forJobStructEntryNo: Integer)

Parameters / Return Value

  • dtldJobCostEntry Record "M365 Detailed Job Cost Entry"

  • jobStructLine Record "M365 Job Structure Line"

  • forJobStructEntryNo Integer


OnAfterInitDtldJobCostEntry

local procedure OnAfterInitDtldJobCostEntry(var dtldJobCostEntry: Record "M365 Detailed Job Cost Entry"; jobStructLine: Record "M365 Job Structure Line"; forJobStructEntryNo: Integer)

Parameters / Return Value

  • dtldJobCostEntry Record "M365 Detailed Job Cost Entry"

  • jobStructLine Record "M365 Job Structure Line"

  • forJobStructEntryNo Integer


OnAfterAddCostFromJSLToDtldJobCostEntry

local procedure OnAfterAddCostFromJSLToDtldJobCostEntry(var dtldJobCostEntry: Record "M365 Detailed Job Cost Entry"; jobStructLine: Record "M365 Job Structure Line")

Parameters / Return Value

  • dtldJobCostEntry Record "M365 Detailed Job Cost Entry"

  • jobStructLine Record "M365 Job Structure Line"


OnAfterCopyFromItemLedgEntry

local procedure OnAfterCopyFromItemLedgEntry(var dtldJobCostEntry: Record "M365 Detailed Job Cost Entry"; itemLedgEntry: Record "Item Ledger Entry")

Parameters / Return Value

  • dtldJobCostEntry Record "M365 Detailed Job Cost Entry"

  • itemLedgEntry Record "Item Ledger Entry"


OnAfterCopyFromJobStructLine

local procedure OnAfterCopyFromJobStructLine(var dtldJobCostEntry: Record "M365 Detailed Job Cost Entry"; jobStrucLine: Record "M365 Job Structure Line")

Parameters / Return Value

  • dtldJobCostEntry Record "M365 Detailed Job Cost Entry"

  • jobStrucLine Record "M365 Job Structure Line"


OnAfterCopyFromJobLedgerEntry

local procedure OnAfterCopyFromJobLedgerEntry(var dtldJobCostEntry: Record "M365 Detailed Job Cost Entry"; jobLedgEntry: Record "Job Ledger Entry")

Parameters / Return Value

  • dtldJobCostEntry Record "M365 Detailed Job Cost Entry"

  • jobLedgEntry Record "Job Ledger Entry"


OnAfterCopyFromSalesLine

local procedure OnAfterCopyFromSalesLine(var dtldJobCostEntry: Record "M365 Detailed Job Cost Entry"; salesLine: Record "Sales Line")

Parameters / Return Value

  • dtldJobCostEntry Record "M365 Detailed Job Cost Entry"

  • salesLine Record "Sales Line"


OnAfterCopyFromPurchLine

local procedure OnAfterCopyFromPurchLine(var dtldJobCostEntry: Record "M365 Detailed Job Cost Entry"; purchLine: Record "Purchase Line")

Parameters / Return Value

  • dtldJobCostEntry Record "M365 Detailed Job Cost Entry"

  • purchLine Record "Purchase Line"


OnAfterCopyFromPurchRcptLine

local procedure OnAfterCopyFromPurchRcptLine(var dtldJobCostEntry: Record "M365 Detailed Job Cost Entry"; purchRcptLine: Record "Purch. Rcpt. Line")

Parameters / Return Value

  • dtldJobCostEntry Record "M365 Detailed Job Cost Entry"

  • purchRcptLine Record "Purch. Rcpt. Line"


OnAfterCopyFromProdOrderComponent

local procedure OnAfterCopyFromProdOrderComponent(var dtldJobCostEntry: Record "M365 Detailed Job Cost Entry"; prodOrdComp: Record "Prod. Order Component")

Parameters / Return Value

  • dtldJobCostEntry Record "M365 Detailed Job Cost Entry"

  • prodOrdComp Record "Prod. Order Component"


OnAfterCaseEntryTypeCopyFromItemLedgEntry

local procedure OnAfterCaseEntryTypeCopyFromItemLedgEntry(var dtldJobCostEntry: Record "M365 Detailed Job Cost Entry"; itemLedgEntry: Record "Item Ledger Entry")

Parameters / Return Value

  • dtldJobCostEntry Record "M365 Detailed Job Cost Entry"

  • itemLedgEntry Record "Item Ledger Entry"


OnAfterCopyFromCapLedgerEntry

local procedure OnAfterCopyFromCapLedgerEntry(var dtldJobCostEntry: Record "M365 Detailed Job Cost Entry"; capLedgEntry: Record "Capacity Ledger Entry")

Parameters / Return Value

  • dtldJobCostEntry Record "M365 Detailed Job Cost Entry"

  • capLedgEntry Record "Capacity Ledger Entry"


OnAfterCopyFromprodOrderRtngLine

local procedure OnAfterCopyFromprodOrderRtngLine(var dtldJobCostEntry: Record "M365 Detailed Job Cost Entry"; prodOrderRtngLine: Record "Prod. Order Routing Line")

Parameters / Return Value

  • dtldJobCostEntry Record "M365 Detailed Job Cost Entry"

  • prodOrderRtngLine Record "Prod. Order Routing Line"


OnAfterCalcDetailedCosts

local procedure OnAfterCalcDetailedCosts(var jobStructHeader: Record "M365 Job Structure Header")

Parameters / Return Value

  • jobStructHeader Record "M365 Job Structure Header"


EOS Labs -