Codeunit "Job Link Usage"

ID 1026
Namespace: Microsoft.Projects.Project.Job

Properties

Name Value
Permissions TableData "Job Usage Link" = rimd

Methods

ApplyUsage

procedure ApplyUsage(JobLedgerEntry: Record "Job Ledger Entry", JobJournalLine: Record "Job Journal Line")

Parameters

Name Type Description
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
procedure HandleMatchUsageSpecifiedJobPlanningLine(var JobPlanningLine: Record "Job Planning Line", JobJournalLine: Record "Job Journal Line", JobLedgerEntry: Record "Job Ledger Entry")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
procedure FindMatchingJobPlanningLine(var JobPlanningLine: Record "Job Planning Line", JobLedgerEntry: Record "Job Ledger Entry"): Boolean

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"

Returns

Type Description
Boolean

Events

OnAfterFindMatchingJobPlanningLine

[IntegrationEvent(False,False)]
local procedure OnAfterFindMatchingJobPlanningLine(var JobPlanningLine: Record "Job Planning Line", JobLedgerEntry: Record "Job Ledger Entry", var JobPlanningLineFound: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
JobPlanningLineFound Boolean
[IntegrationEvent(False,False)]
local procedure OnAfterMatchUsageSpecified(var JobPlanningLine: Record "Job Planning Line", var JobJournalLine: Record "Job Journal Line", var JobLedgerEntry: Record "Job Ledger Entry")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
[IntegrationEvent(False,False)]
local procedure OnBeforeModifyJobPlanningLine(var JobPlanningLine: Record "Job Planning Line", JobLedgerEntry: Record "Job Ledger Entry")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
[IntegrationEvent(False,False)]
local procedure OnBeforeJobPlanningLineUse(var JobPlanningLine: Record "Job Planning Line", JobLedgerEntry: Record "Job Ledger Entry")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
[IntegrationEvent(False,False)]
local procedure OnBeforeMatchUsageSpecified(var JobPlanningLine: Record "Job Planning Line", var JobJournalLine: Record "Job Journal Line", var JobLedgerEntry: Record "Job Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
IsHandled Boolean
[IntegrationEvent(False,False)]
local procedure OnHandleMatchUsageSpecifiedJobPlanningLineOnAfterJobPlanningLineUse(var JobPlanningLine: Record "Job Planning Line", JobJournalLine: Record "Job Journal Line", JobLedgerEntry: Record "Job Ledger Entry")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
[IntegrationEvent(False,False)]
local procedure OnHandleMatchUsageSpecifiedJobPlanningLineOnBeforeJobPlanningLineUse(var JobPlanningLine: Record "Job Planning Line", JobJournalLine: Record "Job Journal Line", JobLedgerEntry: Record "Job Ledger Entry")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"

OnMatchUsageUnspecifiedOnBeforeConfirm

[IntegrationEvent(False,False)]
local procedure OnMatchUsageUnspecifiedOnBeforeConfirm(JobPlanningLine: Record "Job Planning Line", JobLedgerEntry: Record "Job Ledger Entry", var Confirmed: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
Confirmed Boolean
[IntegrationEvent(False,False)]
local procedure OnMatchUsageUnspecifiedOnAfterCalcMatchedQty(var JobLedgerEntry: Record "Job Ledger Entry", var MatchedQty: Decimal)

Parameters

Name Type Description
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
MatchedQty Decimal
[IntegrationEvent(False,False)]
local procedure OnMatchUsageUnspecifiedOnAfterUpdateRemainingQtyToMatch(var JobLedgerEntry: Record "Job Ledger Entry", var RemainingQtyToMatch: Decimal)

Parameters

Name Type Description
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
RemainingQtyToMatch Decimal
[IntegrationEvent(False,False)]
local procedure OnFindMatchingJobPlanningLineOnBeforeMatchSpecificJobPlanningLine(var JobPlanningLine: Record "Job Planning Line", JobLedgerEntry: Record "Job Ledger Entry")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
[IntegrationEvent(False,False)]
local procedure OnFindMatchingJobPlanningLineOnBeforeMatchJobPlanningLineLocation(var JobPlanningLine: Record "Job Planning Line", JobLedgerEntry: Record "Job Ledger Entry")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"

HandleMatchUsageSpecifiedJobPlanningLineOnAfterCalcPartialJobPlanningLineQuantityPosting

[IntegrationEvent(False,False)]
local procedure HandleMatchUsageSpecifiedJobPlanningLineOnAfterCalcPartialJobPlanningLineQuantityPosting(JobPlanningLine: Record "Job Planning Line", JobJournalLine: Record "Job Journal Line", JobLedgerEntry: Record "Job Ledger Entry", var PartialJobPlanningLineQuantityPosting: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
PartialJobPlanningLineQuantityPosting Boolean
[IntegrationEvent(False,False)]
local procedure OnBeforeHandleMatchUsageSpecifiedJobPlanningLine(var PostedQtyBase: Decimal, var TotalQtyBase: Decimal, var TotalRemainingQtyPrePostBase: Decimal, JobPlanningLine: Record "Job Planning Line", JobJournalLine: Record "Job Journal Line")

Parameters

Name Type Description
PostedQtyBase Decimal
TotalQtyBase Decimal
TotalRemainingQtyPrePostBase Decimal
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
[IntegrationEvent(False,False)]
local procedure OnHandleMatchUsageSpecifiedJobPlanningLineOnBeforeUpdateQuantity(var JobPlanningLine: Record "Job Planning Line", JobJournalLine: Record "Job Journal Line", var UpdateQuantity: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
UpdateQuantity Boolean

OnMatchUsageUnspecifiedOnBeforeCheckPostedQty

[IntegrationEvent(False,False)]
local procedure OnMatchUsageUnspecifiedOnBeforeCheckPostedQty(JobPlanningLine: Record "Job Planning Line", JobLedgerEntry: Record "Job Ledger Entry", RemainingQtyToMatch: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
RemainingQtyToMatch Decimal
IsHandled Boolean
[IntegrationEvent(False,False)]
local procedure OnAfterApplyUsage(var JobLedgerEntry: Record "Job Ledger Entry", var JobJournalLine: Record "Job Journal Line")

Parameters

Name Type Description
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"

See also