Table of Contents

Table "Job Planning Line"

ID 1003
Namespace: Microsoft.Projects.Project.Planning

Properties

Name Value
Caption Project Planning Line
DrillDownPageID Page Microsoft.Projects.Project.Planning."Job Planning Lines"
LookupPageID Page Microsoft.Projects.Project.Planning."Job Planning Lines"
DataClassification CustomerContent

Fields

Name Type Description
"Line No." Integer

Specifies the planning line's entry number.

"Job No." Code[20]

Specifies the number of the related project.

"Planning Date" Date

Specifies the date of the planning line. You can use the planning date for filtering the totals of the project, for example, if you want to see the scheduled usage for a specific month of the year.

"Document No." Code[20]

Specifies a document number for the planning line.

Type Enum Microsoft.Projects.Project.Planning."Job Planning Line Type"

Specifies the type of account to which the planning line relates.

"No." Code[20]

Specifies the number of the account to which the resource, item or general ledger account is posted, depending on your selection in the Type field.

Description Text[100]

Specifies the name of the resource, item, or G/L account to which this entry applies. You can change the description.

Quantity Decimal

Specifies the number of units of the resource, item, or general ledger account that should be specified on the planning line. If you later change the No., the quantity you have entered remains on the line.

"Direct Unit Cost (LCY)" Decimal
"Unit Cost (LCY)" Decimal
"Total Cost (LCY)" Decimal
"Unit Price (LCY)" Decimal
"Total Price (LCY)" Decimal
"Resource Group No." Code[20]
"Unit of Measure Code" Code[10]

Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted.

"Qty. Rounding Precision" Decimal
"Qty. Rounding Precision (Base)" Decimal
"Location Code" Code[10]

Specifies a location code for an item.

"Last Date Modified" Date
"User ID" Code[50]

Specifies the ID of the user who posted the entry, to be used, for example, in the change log.

"Work Type Code" Code[10]

Specifies which work type the resource applies to. Prices are updated based on this entry.

"Customer Price Group" Code[10]
"Country/Region Code" Code[10]
"Gen. Bus. Posting Group" Code[20]

Specifies the vendor's or customer's trade type to link transactions made for this business partner with the appropriate general ledger account according to the general posting setup.

"Gen. Prod. Posting Group" Code[20]

Specifies the item's product type to link transactions made for this item with the appropriate general ledger account according to the general posting setup.

"Document Date" Date
"Planning Due Date" Date
"Qty. to Assemble" Decimal

Specifies how many units of the project planning line quantity that you want to supply by assembly.

"Qty. to Assemble (Base)" Decimal
"Assemble to Order" Boolean
"BOM Item No." Code[20]
"Attached to Line No." Integer
"Job Task No." Code[20]

Specifies the number of the related project task.

"Line Amount (LCY)" Decimal
"Unit Cost" Decimal

Specifies the cost of one unit of the item or resource on the line.

"Total Cost" Decimal

Specifies the total cost for the planning line. The total cost is in the project currency, which comes from the Currency Code field in the Project Card.

"Unit Price" Decimal

Specifies the price of one unit of the item or resource. You can enter a price manually or have it entered according to the Price/Profit Calculation field on the related card.

"Total Price" Decimal

Specifies the total price in the project currency on the planning line.

"Line Amount" Decimal

Specifies the amount that will be posted to the project ledger.

"Line Discount Amount" Decimal

Specifies the discount amount that is granted for the item on the line.

"Line Discount Amount (LCY)" Decimal
"Cost Factor" Decimal
"Serial No." Code[50]

Specifies the serial number that is applied to the posted item if the planning line was created from the posting of a project journal line.

"Lot No." Code[50]

Specifies the lot number that is applied to the posted item if the planning line was created from the posting of a project journal line.

"Line Discount %" Decimal

Specifies the discount percentage that is granted for the item on the line.

"Line Type" Enum Microsoft.Projects.Project.Planning."Job Planning Line Line Type"

Specifies the type of planning line.

"Currency Code" Code[10]

Specifies the currency that is used on the entry.

"Currency Date" Date

Specifies the date that will be used to find the exchange rate for the currency in the Currency Date field.

"Currency Factor" Decimal
"Schedule Line" Boolean
"Contract Line" Boolean

Specifies whether this line is a billable line.

"Job Contract Entry No." Integer

Specifies the entry number of the project planning line that the sales line is linked to.

"Invoiced Amount (LCY)" Decimal
"Invoiced Cost Amount (LCY)" Decimal
"VAT Unit Price" Decimal
"VAT Line Discount Amount" Decimal
"VAT Line Amount" Decimal
"VAT %" Decimal
"Description 2" Text[50]

Specifies information in addition to the description.

"Job Ledger Entry No." Integer
Status Enum Microsoft.Projects.Project.Planning."Job Planning Line Status"

Specifies the status of a project order.

"Ledger Entry Type" Enum Microsoft.Projects.Project.Ledger."Job Ledger Entry Type"

Specifies the entry type of the project ledger entry associated with the planning line.

"Ledger Entry No." Integer

Specifies the entry number of the project ledger entry associated with the project planning line.

"System-Created Entry" Boolean

Specifies that an entry has been created by Business Central and is related to a project ledger entry. The check box is selected automatically.

"Usage Link" Boolean

Specifies whether the Usage Link field applies to the project planning line. When this check box is selected, usage entries are linked to the project planning line. Selecting this check box creates a link to the project planning line from places where usage has been posted, such as the project journal or a purchase line. You can select this check box only if the line type of the project planning line is Budget or Both Budget and Billable.

"Remaining Qty." Decimal

Specifies the remaining quantity of the resource, item, or G/L Account that remains to complete a project. The quantity is calculated as the difference between Quantity and Qty. Posted.

"Remaining Qty. (Base)" Decimal
"Remaining Total Cost" Decimal

Specifies the remaining total cost for the planning line. The total cost is in the project currency, which comes from the Currency Code field in the Project Card.

"Remaining Total Cost (LCY)" Decimal
"Remaining Line Amount" Decimal

Specifies the amount that will be posted to the project ledger.

"Remaining Line Amount (LCY)" Decimal
"Qty. Posted" Decimal

Specifies the quantity that has been posted to the project ledger, if the Usage Link check box has been selected.

"Qty. to Transfer to Journal" Decimal

Specifies the quantity you want to transfer to the project journal. Its default value is calculated as quantity minus the quantity that has already been posted, if the Apply Usage Link check box has been selected.

"Posted Total Cost" Decimal

Specifies the total cost that has been posted to the project ledger, if the Usage Link check box has been selected.

"Posted Total Cost (LCY)" Decimal
"Posted Line Amount" Decimal

Specifies the amount that has been posted to the project ledger. This field is only filled in if the Apply Usage Link check box selected on the project card.

"Posted Line Amount (LCY)" Decimal
"Qty. Transferred to Invoice" Decimal

Specifies the quantity that has been transferred to a sales invoice or credit memo.

"Qty. to Transfer to Invoice" Decimal

Specifies the quantity you want to transfer to the sales invoice or credit memo. The value in this field is calculated as Quantity - Qty. Transferred to Invoice.

"Qty. Invoiced" Decimal

Specifies the quantity that been posted through a sales invoice.

"Qty. to Invoice" Decimal

Specifies the quantity that remains to be invoiced. It is calculated as Quantity - Qty. Invoiced.

"Reserved Quantity" Decimal

Specifies the quantity of the item that is reserved for the project planning line.

"Reserved Qty. (Base)" Decimal
Reserve Enum Microsoft.Inventory.Tracking."Reserve Method"

Specifies whether or not a reservation can be made for items on the current line. The field is not applicable if the Type field is set to Resource, Cost, or G/L Account.

Planned Boolean
"Variant Code" Code[10]

Specifies the variant of the item on the line.

"Bin Code" Code[20]

Specifies the bin where the selected item will be put away or picked in warehouse and inventory processes. If you specify a bin code in the To-Project Bin Code field on the Location page, that bin will be suggested when you choose the location.

"Qty. per Unit of Measure" Decimal
"Quantity (Base)" Decimal
"Requested Delivery Date" Date
"Promised Delivery Date" Date
"Planned Delivery Date" Date

Specifies the date that is planned to deliver the item connected to the project planning line. For a resource, the planned delivery date is the date that the resource performs services with respect to the project.

"Package No." Code[50]
"Price Calculation Method" Enum Microsoft.Pricing.Calculation."Price Calculation Method"

Specifies the method that will be used for price calculation in the item journal line.

"Cost Calculation Method" Enum Microsoft.Pricing.Calculation."Price Calculation Method"

Specifies the method that will be used for cost calculation in the item journal line.

"Pick Qty." Decimal
"Qty. Picked" Decimal

Specifies the quantity of the item you have picked for the project planning line.

"Qty. Picked (Base)" Decimal
"Completely Picked" Boolean
"Pick Qty. (Base)" Decimal
"Qty. on Journal" Decimal
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemCreatedByUserName Text[50]
SystemCreatedByFullName Text[80]
SystemModifiedByUserName Text[50]
SystemModifiedByFullName Text[80]
SystemRowVersion BigInteger

Methods

CheckItemAvailable

procedure CheckItemAvailable(CalledByFieldNo: Integer)

Parameters

Name Type Description
CalledByFieldNo Integer

SetJob

Use this method to set the global Job variable. This is useful for passing unsaved job record changes.

procedure SetJob(NewJob: Record Job)

Parameters

Name Type Description
NewJob Table Microsoft.Projects.Project.Job.Job

The job record

CopyFieldsFromJob

procedure CopyFieldsFromJob()

RenameNo

Renames all Job Planning Line "No." values for the specified LineType and OldNo to NewNo.

procedure RenameNo(LineType: Enum "Job Planning Line Type"; OldNo: Code[20]; NewNo: Code[20])

Parameters

Name Type Description
LineType Enum Microsoft.Projects.Project.Planning."Job Planning Line Type"

The type of the job planning line.

OldNo Code[20]

The old number to be replaced.

NewNo Code[20]

The new number to set.

GetJob

procedure GetJob()

UpdateCurrencyFactor

procedure UpdateCurrencyFactor()

InitRoundingPrecisions

procedure InitRoundingPrecisions()

Caption

procedure Caption(): Text

Returns

Type Description
Text

SetUpNewLine

procedure SetUpNewLine(LastJobPlanningLine: Record "Job Planning Line")

Parameters

Name Type Description
LastJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"

InitJobPlanningLine

procedure InitJobPlanningLine()

GetRemainingQty

procedure GetRemainingQty(var RemainingQty: Decimal; var RemainingQtyBase: Decimal)

Parameters

Name Type Description
RemainingQty Decimal
RemainingQtyBase Decimal

GetReservationQty

procedure GetReservationQty(var QtyReserved: Decimal; var QtyReservedBase: Decimal; var QtyToReserve: Decimal; var QtyToReserveBase: Decimal): Decimal

Parameters

Name Type Description
QtyReserved Decimal
QtyReservedBase Decimal
QtyToReserve Decimal
QtyToReserveBase Decimal

Returns

Type Description
Decimal

GetSourceCaption

procedure GetSourceCaption(): Text

Returns

Type Description
Text

SetReservationEntry

procedure SetReservationEntry(var ReservEntry: Record "Reservation Entry")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

SetReservationFilters

procedure SetReservationFilters(var ReservEntry: Record "Reservation Entry")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

ReservEntryExist

procedure ReservEntryExist(): Boolean

Returns

Type Description
Boolean

UpdateAllAmounts

procedure UpdateAllAmounts()

AfterResourceFindCost

procedure AfterResourceFindCost(var ResourceCost: Record "Resource Cost")

Parameters

Name Type Description
ResourceCost Table Microsoft.Projects.Resources.Pricing."Resource Cost"

FindPriceAndDiscount

procedure FindPriceAndDiscount(CalledByFieldNo: Integer)

Parameters

Name Type Description
CalledByFieldNo Integer

ApplyPrice

procedure ApplyPrice(PriceType: Enum "Price Type"; CalledByFieldNo: Integer)

Parameters

Name Type Description
PriceType Enum Microsoft.Pricing.PriceList."Price Type"
CalledByFieldNo Integer

GetLineWithPrice

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

Parameters

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

RecalculateAmounts

procedure RecalculateAmounts(JobExchCalculation: Option; xAmount: Decimal; var Amount: Decimal; var AmountLCY: Decimal)

Parameters

Name Type Description
JobExchCalculation Option
xAmount Decimal
Amount Decimal
AmountLCY Decimal

UpdateAmountsAndDiscounts

procedure UpdateAmountsAndDiscounts()

Use

procedure Use(PostedQty: Decimal; PostedTotalCost: Decimal; PostedLineAmount: Decimal; PostingDate: Date; CurrencyFactor: Decimal)

Parameters

Name Type Description
PostedQty Decimal
PostedTotalCost Decimal
PostedLineAmount Decimal
PostingDate Date
CurrencyFactor Decimal

UpdateQtyToTransfer

procedure UpdateQtyToTransfer()

UpdateQtyToInvoice

procedure UpdateQtyToInvoice()

UpdatePostedTotalCost

procedure UpdatePostedTotalCost(AdjustJobCost: Decimal; AdjustJobCostLCY: Decimal)

Parameters

Name Type Description
AdjustJobCost Decimal
AdjustJobCostLCY Decimal

ValidateModification

procedure ValidateModification(FieldChanged: Boolean; FieldNo: Integer)

Parameters

Name Type Description
FieldChanged Boolean
FieldNo Integer

Overdue

procedure Overdue(): Boolean

Returns

Type Description
Boolean

SetBypassQtyValidation

procedure SetBypassQtyValidation(Bypass: Boolean)

Parameters

Name Type Description
Bypass Boolean

UpdateReservation

procedure UpdateReservation(CalledByFieldNo: Integer)

Parameters

Name Type Description
CalledByFieldNo Integer

ShowReservation

procedure ShowReservation()

ShowReservationEntries

procedure ShowReservationEntries(Modal: Boolean)

Parameters

Name Type Description
Modal Boolean

AutoReserve

procedure AutoReserve()

ShowTracking

procedure ShowTracking()

ShowOrderPromisingLine

procedure ShowOrderPromisingLine()

FilterLinesWithItemToPlan

procedure FilterLinesWithItemToPlan(var Item: Record Item)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item

FindLinesWithItemToPlan

procedure FindLinesWithItemToPlan(var Item: Record Item): Boolean

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item

Returns

Type Description
Boolean

LinesWithItemToPlanExist

procedure LinesWithItemToPlanExist(var Item2: Record Item): Boolean

Parameters

Name Type Description
Item2 Table Microsoft.Inventory.Item.Item

Returns

Type Description
Boolean

FilterLinesForReservation

procedure FilterLinesForReservation(ReservationEntry: Record "Reservation Entry"; NewStatus: Option; AvailabilityFilter: Text; Positive: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
NewStatus Option
AvailabilityFilter Text
Positive Boolean

DrillDownJobInvoices

procedure DrillDownJobInvoices()

RowID1

procedure RowID1(): Text[250]

Returns

Type Description
Text[250]

UpdatePlanned

procedure UpdatePlanned(): Boolean

Returns

Type Description
Boolean

UpdatePlannedDueDate

procedure UpdatePlannedDueDate(): Boolean

Returns

Type Description
Boolean

ClearValues

procedure ClearValues()

ClearTracking

procedure ClearTracking()

InitFromJobPlanningLine

procedure InitFromJobPlanningLine(FromJobPlanningLine: Record "Job Planning Line"; NewQuantity: Decimal)

Parameters

Name Type Description
FromJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
NewQuantity Decimal

IsInventoriableItem

procedure IsInventoriableItem(): Boolean

Returns

Type Description
Boolean

IsNonInventoriableItem

procedure IsNonInventoriableItem(): Boolean

Returns

Type Description
Boolean

ConvertToJobLineType

procedure ConvertToJobLineType(): Enum "Job Line Type"

Returns

Type Description
Enum Microsoft.Projects.Project.Job."Job Line Type"

ConvertFromJobLineType

procedure ConvertFromJobLineType(JobLineType: Enum "Job Line Type"): Enum "Job Planning Line Line Type"

Parameters

Name Type Description
JobLineType Enum Microsoft.Projects.Project.Job."Job Line Type"

Returns

Type Description
Enum Microsoft.Projects.Project.Planning."Job Planning Line Line Type"

CopyTrackingFromJobJnlLine

procedure CopyTrackingFromJobJnlLine(JobJnlLine: Record "Job Journal Line")

Parameters

Name Type Description
JobJnlLine Table Microsoft.Projects.Project.Journal."Job Journal Line"

CopyTrackingFromJobLedgEntry

procedure CopyTrackingFromJobLedgEntry(JobLedgEntry: Record "Job Ledger Entry")

Parameters

Name Type Description
JobLedgEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"

TestStatusOpen

procedure TestStatusOpen()

CheckIfJobPlngLineMeetsReservedFromStockSetting

procedure CheckIfJobPlngLineMeetsReservedFromStockSetting(QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock"): Boolean

Parameters

Name Type Description
QtyToPost Decimal
ReservedFromStock Enum Microsoft.Inventory.Tracking."Reservation From Stock"

Returns

Type Description
Boolean

IsAsmToOrderAllowed

procedure IsAsmToOrderAllowed(): Boolean

Returns

Type Description
Boolean

QtyToAsmBaseOnATO

procedure QtyToAsmBaseOnATO(): Decimal

Returns

Type Description
Decimal

ShowAsmToJobPlanningLines

procedure ShowAsmToJobPlanningLines()

CheckAsmToOrder

procedure CheckAsmToOrder(AsmHeader: Record "Assembly Header")

Parameters

Name Type Description
AsmHeader Table Microsoft.Assembly.Document."Assembly Header"

AsmToOrderExists

procedure AsmToOrderExists(var AsmHeader: Record "Assembly Header"): Boolean

Parameters

Name Type Description
AsmHeader Table Microsoft.Assembly.Document."Assembly Header"

Returns

Type Description
Boolean

AssembledQuantity

procedure AssembledQuantity(var Qty: Decimal; var QtyBase: Decimal)

Parameters

Name Type Description
Qty Decimal
QtyBase Decimal

IsAsmToOrderRequired

procedure IsAsmToOrderRequired(): Boolean

Returns

Type Description
Boolean

SelectMultipleItems

procedure SelectMultipleItems()

GetATOBin

procedure GetATOBin(Location: Record Location; var BinCode: Code[20]): Boolean

Parameters

Name Type Description
Location Table Microsoft.Inventory.Location.Location
BinCode Code[20]

Returns

Type Description
Boolean

IsExtendedText

procedure IsExtendedText(): Boolean

Returns

Type Description
Boolean

SetSkipCheckForMultipleJobsOnSalesLine

procedure SetSkipCheckForMultipleJobsOnSalesLine(Skip: Boolean)

Parameters

Name Type Description
Skip Boolean

GetSkipCheckForMultipleJobsOnSalesLine

procedure GetSkipCheckForMultipleJobsOnSalesLine(): Boolean

Returns

Type Description
Boolean

SuspendDeletionCheck

procedure SuspendDeletionCheck(Suspend: Boolean)

Parameters

Name Type Description
Suspend Boolean

SetPurchLineFilters

procedure SetPurchLineFilters(var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

Events

OnAfterCalculateRetrievedCost

[IntegrationEvent(False,False)]
local procedure OnAfterCalculateRetrievedCost(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; StockkeepingUnit: Record "Stockkeeping Unit"; Item: Record Item; var RetrievedCost: Decimal)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
StockkeepingUnit Table Microsoft.Inventory.Location."Stockkeeping Unit"
Item Table Microsoft.Inventory.Item.Item
RetrievedCost Decimal

OnAfterCopyFromItem

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromItem(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job; Item: Record Item)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
Job Table Microsoft.Projects.Project.Job.Job
Item Table Microsoft.Inventory.Item.Item

OnAfterCopyFromGLAccount

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromGLAccount(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job; GLAccount: Record "G/L Account")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
Job Table Microsoft.Projects.Project.Job.Job
GLAccount Table Microsoft.Finance.GeneralLedger.Account."G/L Account"

OnAfterCopyFieldsFromJob

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFieldsFromJob(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; Job: Record Job)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
Job Table Microsoft.Projects.Project.Job.Job

OnAfterCopyTrackingFromJobJnlLine

[IntegrationEvent(False,False)]
local procedure OnAfterCopyTrackingFromJobJnlLine(var JobPlanningLine: Record "Job Planning Line"; JobJnlLine: Record "Job Journal Line")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobJnlLine Table Microsoft.Projects.Project.Journal."Job Journal Line"

OnAfterConvertToJobLineType

[IntegrationEvent(False,False)]
local procedure OnAfterConvertToJobLineType(var JobPlanningLine: Record "Job Planning Line"; var JobLineType: Enum "Job Line Type")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobLineType Enum Microsoft.Projects.Project.Job."Job Line Type"

OnAfterConvertFromJobLineType

[IntegrationEvent(False,False)]
local procedure OnAfterConvertFromJobLineType(var JobPlanningLine: Record "Job Planning Line"; var JobLineType: Enum "Job Line Type"; var JobPlanningLineLineType: Enum "Job Planning Line Line Type")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobLineType Enum Microsoft.Projects.Project.Job."Job Line Type"
JobPlanningLineLineType Enum Microsoft.Projects.Project.Planning."Job Planning Line Line Type"

OnAfterClearTracking

[IntegrationEvent(False,False)]
local procedure OnAfterClearTracking(var JobPlanningLine: Record "Job Planning Line")

Parameters

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

OnAfterCopyTrackingFromJobLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCopyTrackingFromJobLedgEntry(var JobPlanningLine: Record "Job Planning Line"; JobLedgEntry: Record "Job Ledger Entry")

Parameters

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

OnAfterDeleteAmounts

[IntegrationEvent(False,False)]
local procedure OnAfterDeleteAmounts(var JobPlanningLine: Record "Job Planning Line")

Parameters

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

OnAfterGetJob

[IntegrationEvent(False,False)]
local procedure OnAfterGetJob(var JobPlanningLine: Record "Job Planning Line"; var Job: Record Job)

Parameters

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

OnAfterGetSKU

[IntegrationEvent(False,False)]
local procedure OnAfterGetSKU(JobPlanningLine: Record "Job Planning Line"; var Result: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
Result Boolean

OnAfterGetRemainingQty

[IntegrationEvent(False,False)]
local procedure OnAfterGetRemainingQty(JobPlanningLine: Record "Job Planning Line"; var RemainingQty: Decimal; var RemainingQtyBase: Decimal)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
RemainingQty Decimal
RemainingQtyBase Decimal

OnAfterFilterLinesWithItemToPlan

[IntegrationEvent(False,False)]
local procedure OnAfterFilterLinesWithItemToPlan(var JobPlanningLine: Record "Job Planning Line"; var Item: Record Item)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
Item Table Microsoft.Inventory.Item.Item

OnAfterFilterLinesForReservation

[IntegrationEvent(True,False)]
local procedure OnAfterFilterLinesForReservation(var JobPlaningLine: Record "Job Planning Line"; ReservationEntry: Record "Reservation Entry"; NewStatus: Option; AvailabilityFilter: Text; Positive: Boolean)

Parameters

Name Type Description
JobPlaningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
NewStatus Option
AvailabilityFilter Text
Positive Boolean

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"

OnAfterHandleCostFactor

[IntegrationEvent(False,False)]
local procedure OnAfterHandleCostFactor(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; Item: Record Item)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
Item Table Microsoft.Inventory.Item.Item

OnAfterInitJobPlanningLine

[IntegrationEvent(False,False)]
local procedure OnAfterInitJobPlanningLine(var JobPlanningLine: Record "Job Planning Line")

Parameters

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

OnAfterInitFromJobPlanningLine

[IntegrationEvent(False,False)]
local procedure OnAfterInitFromJobPlanningLine(var ToJobPlanningLine: Record "Job Planning Line"; FromJobPlanningLine: Record "Job Planning Line")

Parameters

Name Type Description
ToJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
FromJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"

OnAfterResourceFindCost

[IntegrationEvent(False,False)]
local procedure OnAfterResourceFindCost(var JobPlanningLine: Record "Job Planning Line"; var ResourceCost: Record "Resource Cost")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
ResourceCost Table Microsoft.Projects.Resources.Pricing."Resource Cost"

OnAfterSetReservationFilters

[IntegrationEvent(False,False)]
local procedure OnAfterSetReservationFilters(var ReservEntry: Record "Reservation Entry"; JobPlanningLine: Record "Job Planning Line")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"

OnAfterSetupNewLine

[IntegrationEvent(False,False)]
local procedure OnAfterSetupNewLine(var JobPlanningLine: Record "Job Planning Line"; LastJobPlanningLine: Record "Job Planning Line")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
LastJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"

OnAfterUpdateAllAmounts

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateAllAmounts(var JobPlanningLine: Record "Job Planning Line"; var xJobPlanningLine: Record "Job Planning Line")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"

OnAfterUpdateCurrencyFactor

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateCurrencyFactor(var JobPlanningLine: Record "Job Planning Line")

Parameters

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

OnAfterUpdateTotalPrice

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateTotalPrice(var JobPlanningLine: Record "Job Planning Line")

Parameters

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

OnAfterUpdateUnitPrice

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateUnitPrice(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var AmountRoundingPrecision: Decimal; var AmountRoundingPrecisionFCY: Decimal)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
AmountRoundingPrecision Decimal
AmountRoundingPrecisionFCY Decimal

OnAfterUpdateAmountsAndDiscounts

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateAmountsAndDiscounts(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"

OnAfterValidateModification

[IntegrationEvent(False,False)]
local procedure OnAfterValidateModification(var JobPlanningLine: Record "Job Planning Line"; FieldChanged: Boolean; FieldNo: Integer)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
FieldChanged Boolean
FieldNo Integer

OnBeforeCalcQuantityBase

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcQuantityBase(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
CurrentFieldNo Integer
IsHandled Boolean

OnBeforeCheckQuantityPosted

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckQuantityPosted(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnBeforeCheckRelatedJobPlanningLineInvoice

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckRelatedJobPlanningLineInvoice(JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnBeforeCopyFromResource

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyFromResource(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnBeforeFindPriceAndDiscount

[IntegrationEvent(True,False)]
local procedure OnBeforeFindPriceAndDiscount(CalledByFieldNo: Integer; var IsHandled: Boolean; var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line")

Parameters

Name Type Description
CalledByFieldNo Integer
IsHandled Boolean
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"

OnBeforeHandleCostFactor

[IntegrationEvent(False,False)]
local procedure OnBeforeHandleCostFactor(var JobPlanningLine: Record "Job Planning Line"; var xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnBeforeInitJobPlanningLine

[IntegrationEvent(False,False)]
local procedure OnBeforeInitJobPlanningLine(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeInitRoundingPrecisions

[IntegrationEvent(False,False)]
local procedure OnBeforeInitRoundingPrecisions(JobPlanningLine: Record "Job Planning Line"; var AmountRoundingPrecision: Decimal; var UnitAmountRoundingPrecision: Decimal; var AmountRoundingPrecisionFCY: Decimal; var UnitAmountRoundingPrecisionFCY: Decimal; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
AmountRoundingPrecision Decimal
UnitAmountRoundingPrecision Decimal
AmountRoundingPrecisionFCY Decimal
UnitAmountRoundingPrecisionFCY Decimal
IsHandled Boolean

OnBeforeRecalculateAmounts

[IntegrationEvent(False,False)]
local procedure OnBeforeRecalculateAmounts(var JobPlanningLine: Record "Job Planning Line"; var xJobPlanningLine: Record "Job Planning Line"; var AmountLCY: Decimal; var IsHandled: Boolean; var Amount: Decimal)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
AmountLCY Decimal
IsHandled Boolean
Amount Decimal

OnBeforeUpdatePlannedDueDate

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdatePlannedDueDate(var JobPlanningLine: Record "Job Planning Line"; var Changed: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
Changed Boolean
IsHandled Boolean

OnBeforeOnInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeOnInsert(var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnBeforeUpdateAmountsAndDiscounts

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateAmountsAndDiscounts(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnBeforeUpdateDescription

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateDescription(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnBeforeValidateModification

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateModification(var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean; xJobPlanningLine: Record "Job Planning Line"; FieldNo: Integer)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
FieldNo Integer

OnBeforeValidatePlanningDate

[IntegrationEvent(False,False)]
local procedure OnBeforeValidatePlanningDate(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnBeforeValidateQuantityBase

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityBase(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; CallingFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
CallingFieldNo Integer
IsHandled Boolean

OnBeforeValidateWorkTypeCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateWorkTypeCode(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnBeforeRetrieveCostPrice

[IntegrationEvent(False,False)]
local procedure OnBeforeRetrieveCostPrice(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var ShouldRetrieveCostPrice: Boolean; var IsHandled: Boolean; CalledByFieldNo: Integer)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
ShouldRetrieveCostPrice Boolean
IsHandled Boolean
CalledByFieldNo Integer

OnBeforeUpdateRemainingQuantity

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateRemainingQuantity(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnBeforeUpdateRemainingQuantityFromUse

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateRemainingQuantityFromUse(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; PostedQty: Decimal; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
PostedQty Decimal
IsHandled Boolean

OnBeforeUpdateAllAmounts

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateAllAmounts(var JobPlanningLine: Record "Job Planning Line"; var xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean; CurrFieldNo: Integer)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean
CurrFieldNo Integer

OnBeforeUpdateUnitCost

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUnitCost(var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean; xJobPlanningLine: Record "Job Planning Line")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"

OnBeforeUpdateReservation

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateReservation(var JobPlanningLine: Record "Job Planning Line"; var xJobPlanningLine: Record "Job Planning Line"; CalledByFieldNo: Integer; var IsHandled: Boolean; CurrentFieldNo: Integer)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
CalledByFieldNo Integer
IsHandled Boolean
CurrentFieldNo Integer

OnBeforeValidateQtyToTransferToInvoice

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQtyToTransferToInvoice(var JobPlanningLine: Record "Job Planning Line"; var xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnControlUsageLinkOnAfterGetJob

[IntegrationEvent(False,False)]
local procedure OnControlUsageLinkOnAfterGetJob(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job; CallingFieldNo: Integer; var IsHandling: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
Job Table Microsoft.Projects.Project.Job.Job
CallingFieldNo Integer
IsHandling Boolean

OnUpdateCurrencyFactorOnBeforeGetExchangeRate

[IntegrationEvent(False,False)]
local procedure OnUpdateCurrencyFactorOnBeforeGetExchangeRate(JobPlanningLine: Record "Job Planning Line"; var CurrencyExchangeRate: Record "Currency Exchange Rate")

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
CurrencyExchangeRate Table Microsoft.Finance.Currency."Currency Exchange Rate"

OnUseOnBeforeModify

[IntegrationEvent(False,False)]
local procedure OnUseOnBeforeModify(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; AmountRoundingPrecision: Decimal; UnitAmountRoundingPrecision: Decimal; AmountRoundingPrecisionFCY: Decimal; UnitAmountRoundingPrecisionFCY: Decimal)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
AmountRoundingPrecision Decimal
UnitAmountRoundingPrecision Decimal
AmountRoundingPrecisionFCY Decimal
UnitAmountRoundingPrecisionFCY Decimal

OnValidateNoOnAfterCopyFromAccount

[IntegrationEvent(False,False)]
local procedure OnValidateNoOnAfterCopyFromAccount(var JobPlanningLine: Record "Job Planning Line"; var xJobPlanningLine: Record "Job Planning Line"; var Job: Record Job)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
Job Table Microsoft.Projects.Project.Job.Job

OnBeforeLinesWithItemToPlanExist

[IntegrationEvent(False,False)]
local procedure OnBeforeLinesWithItemToPlanExist(var Item: Record Item; var Result: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
Result Boolean
IsHandled Boolean

OnBeforeValidateUsageLink

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateUsageLink(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnDeleteOnAfterSetFilterOnJobUsageLink

[IntegrationEvent(False,False)]
local procedure OnDeleteOnAfterSetFilterOnJobUsageLink(JobPlanningLine: Record "Job Planning Line"; var JobUsageLink: Record "Job Usage Link"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobUsageLink Table Microsoft.Projects.Project.Job."Job Usage Link"
IsHandled Boolean

OnBeforeOnRename

[IntegrationEvent(False,False)]
local procedure OnBeforeOnRename(var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnControlUsageLinkOnAfterSetFilterJobUsageLink

[IntegrationEvent(False,False)]
local procedure OnControlUsageLinkOnAfterSetFilterJobUsageLink(var JobPlanningLine: Record "Job Planning Line"; var JobUsageLink: Record "Job Usage Link"; Job: Record Job; CallingFieldNo: Integer; var IsHandling: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
JobUsageLink Table Microsoft.Projects.Project.Job."Job Usage Link"
Job Table Microsoft.Projects.Project.Job.Job
CallingFieldNo Integer
IsHandling Boolean

OnBeforeFindBin

[IntegrationEvent(False,False)]
local procedure OnBeforeFindBin(var JobPlanningLine: Record "Job Planning Line"; var NewBinCode: Code[20]; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
NewBinCode Code[20]
IsHandled Boolean

OnAfterFindPriceAndDiscount

[IntegrationEvent(False,False)]
local procedure OnAfterFindPriceAndDiscount(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; CalledByFieldNo: Integer)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
CalledByFieldNo Integer

OnBeforeCaption

[IntegrationEvent(False,False)]
local procedure OnBeforeCaption(JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean; var Result: Text)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean
Result Text

OnCheckIfJobPlngLineMeetsReservedFromStockSetting

[IntegrationEvent(False,False)]
local procedure OnCheckIfJobPlngLineMeetsReservedFromStockSetting(QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock"; var Result: Boolean)

Parameters

Name Type Description
QtyToPost Decimal
ReservedFromStock Enum Microsoft.Inventory.Tracking."Reservation From Stock"
Result Boolean

OnBeforeUpdateUnitPrice

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUnitPrice(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean

OnBeforeUpdateRemainingCostsAndAmounts

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateRemainingCostsAndAmounts(var JobPlanningLine: Record "Job Planning Line"; PostingDate: Date; CurrencyFactor: Decimal; AmountRoundingPrecisionFCY: Decimal; AmountRoundingPrecision: Decimal; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
PostingDate Date
CurrencyFactor Decimal
AmountRoundingPrecisionFCY Decimal
AmountRoundingPrecision Decimal
IsHandled Boolean

OnBeforeUpdateTotalCost

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateTotalCost(var JobPlanningLine: Record "Job Planning Line"; AmountRoundingPrecisionFCY: Decimal; AmountRoundingPrecision: Decimal; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
AmountRoundingPrecisionFCY Decimal
AmountRoundingPrecision Decimal
IsHandled Boolean

OnAfterClearValues

[IntegrationEvent(False,False)]
local procedure OnAfterClearValues(var JobPlanningLine: Record "Job Planning Line")

Parameters

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

OnAfterControlUsageLink

[IntegrationEvent(False,False)]
local procedure OnAfterControlUsageLink(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job; CurrFieldNo: Integer)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
Job Table Microsoft.Projects.Project.Job.Job
CurrFieldNo Integer

OnBeforeCopyFromGLAccount

[IntegrationEvent(True,False)]
local procedure OnBeforeCopyFromGLAccount(var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean; Job: Record Job)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
IsHandled Boolean
Job Table Microsoft.Projects.Project.Job.Job

OnBeforeSelectMultipleItems

[IntegrationEvent(False,False)]
local procedure OnBeforeSelectMultipleItems(var JobPlanningLine: Record "Job Planning Line")

Parameters

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

OnAfterSelectMultipleItems

[IntegrationEvent(False,False)]
local procedure OnAfterSelectMultipleItems(var JobPlanningLine: Record "Job Planning Line")

Parameters

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

OnBeforeAddItems

[IntegrationEvent(False,False)]
local procedure OnBeforeAddItems(var JobPlanningLine: Record "Job Planning Line"; SelectionFilter: Text; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
SelectionFilter Text
IsHandled Boolean

OnAfterCopyFromResource

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromResource(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job; Resource: Record Resource)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
Job Table Microsoft.Projects.Project.Job.Job
Resource Table Microsoft.Projects.Resources.Resource.Resource

OnBeforeUpdateQtyToTransfer

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateQtyToTransfer(var JobPlanningLine: Record "Job Planning Line"; CurrFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
CurrFieldNo Integer
IsHandled Boolean

OnBeforeValidateQuantity

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantity(JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var SkipValidateQuantity: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
SkipValidateQuantity Boolean

OnBeforeFindOrCreateRecordByNo

[IntegrationEvent(False,False)]
local procedure OnBeforeFindOrCreateRecordByNo(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
xJobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
CurrentFieldNo Integer
IsHandled Boolean

OnGetType

[IntegrationEvent(False,False)]
local procedure OnGetType(JobPlanningLineType: Enum "Job Planning Line Type"; var Result: Integer)

Parameters

Name Type Description
JobPlanningLineType Enum Microsoft.Projects.Project.Planning."Job Planning Line Type"
Result Integer

See also