Table "Job Planning Line"
ID 1003
Namespace: Microsoft.Projects.Project.Planning
Properties
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
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
GetJob
UpdateCurrencyFactor
procedure UpdateCurrencyFactor()
InitRoundingPrecisions
procedure InitRoundingPrecisions()
Caption
procedure Caption(): Text
Returns
SetUpNewLine
procedure SetUpNewLine(LastJobPlanningLine: Record "Job Planning Line")
Parameters
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
GetSourceCaption
procedure GetSourceCaption(): Text
Returns
SetReservationEntry
procedure SetReservationEntry(var ReservEntry: Record "Reservation Entry")
Parameters
SetReservationFilters
procedure SetReservationFilters(var ReservEntry: Record "Reservation Entry")
Parameters
ReservEntryExist
procedure ReservEntryExist(): Boolean
Returns
UpdateAllAmounts
procedure UpdateAllAmounts()
AfterResourceFindCost
procedure AfterResourceFindCost(var ResourceCost: Record "Resource Cost")
Parameters
FindPriceAndDiscount
procedure FindPriceAndDiscount(CalledByFieldNo: Integer)
Parameters
| Name |
Type |
Description |
|
CalledByFieldNo
|
Integer |
|
ApplyPrice
procedure ApplyPrice(PriceType: Enum "Price Type"; CalledByFieldNo: Integer)
Parameters
GetLineWithPrice
procedure GetLineWithPrice(var LineWithPrice: Interface "Line With Price")
Parameters
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
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
ShowTracking
ShowOrderPromisingLine
procedure ShowOrderPromisingLine()
FilterLinesWithItemToPlan
procedure FilterLinesWithItemToPlan(var Item: Record Item)
Parameters
FindLinesWithItemToPlan
procedure FindLinesWithItemToPlan(var Item: Record Item): Boolean
Parameters
Returns
LinesWithItemToPlanExist
procedure LinesWithItemToPlanExist(var Item2: Record Item): Boolean
Parameters
Returns
FilterLinesForReservation
procedure FilterLinesForReservation(ReservationEntry: Record "Reservation Entry"; NewStatus: Option; AvailabilityFilter: Text; Positive: Boolean)
Parameters
DrillDownJobInvoices
procedure DrillDownJobInvoices()
RowID1
procedure RowID1(): Text[250]
Returns
| Type |
Description |
|
Text[250] |
|
UpdatePlanned
procedure UpdatePlanned(): Boolean
Returns
UpdatePlannedDueDate
procedure UpdatePlannedDueDate(): Boolean
Returns
ClearValues
ClearTracking
procedure ClearTracking()
InitFromJobPlanningLine
procedure InitFromJobPlanningLine(FromJobPlanningLine: Record "Job Planning Line"; NewQuantity: Decimal)
Parameters
IsInventoriableItem
procedure IsInventoriableItem(): Boolean
Returns
IsNonInventoriableItem
procedure IsNonInventoriableItem(): Boolean
Returns
ConvertToJobLineType
procedure ConvertToJobLineType(): Enum "Job Line Type"
Returns
ConvertFromJobLineType
procedure ConvertFromJobLineType(JobLineType: Enum "Job Line Type"): Enum "Job Planning Line Line Type"
Parameters
Returns
CopyTrackingFromJobJnlLine
procedure CopyTrackingFromJobJnlLine(JobJnlLine: Record "Job Journal Line")
Parameters
CopyTrackingFromJobLedgEntry
procedure CopyTrackingFromJobLedgEntry(JobLedgEntry: Record "Job Ledger Entry")
Parameters
TestStatusOpen
procedure TestStatusOpen()
CheckIfJobPlngLineMeetsReservedFromStockSetting
procedure CheckIfJobPlngLineMeetsReservedFromStockSetting(QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock"): Boolean
Parameters
Returns
IsAsmToOrderAllowed
procedure IsAsmToOrderAllowed(): Boolean
Returns
QtyToAsmBaseOnATO
procedure QtyToAsmBaseOnATO(): Decimal
Returns
ShowAsmToJobPlanningLines
procedure ShowAsmToJobPlanningLines()
CheckAsmToOrder
procedure CheckAsmToOrder(AsmHeader: Record "Assembly Header")
Parameters
AsmToOrderExists
procedure AsmToOrderExists(var AsmHeader: Record "Assembly Header"): Boolean
Parameters
Returns
AssembledQuantity
procedure AssembledQuantity(var Qty: Decimal; var QtyBase: Decimal)
Parameters
| Name |
Type |
Description |
|
Qty
|
Decimal |
|
|
QtyBase
|
Decimal |
|
IsAsmToOrderRequired
procedure IsAsmToOrderRequired(): Boolean
Returns
SelectMultipleItems
procedure SelectMultipleItems()
GetATOBin
procedure GetATOBin(Location: Record Location; var BinCode: Code[20]): Boolean
Parameters
Returns
IsExtendedText
procedure IsExtendedText(): Boolean
Returns
SetSkipCheckForMultipleJobsOnSalesLine
procedure SetSkipCheckForMultipleJobsOnSalesLine(Skip: Boolean)
Parameters
| Name |
Type |
Description |
|
Skip
|
Boolean |
|
GetSkipCheckForMultipleJobsOnSalesLine
procedure GetSkipCheckForMultipleJobsOnSalesLine(): Boolean
Returns
SuspendDeletionCheck
procedure SuspendDeletionCheck(Suspend: Boolean)
Parameters
| Name |
Type |
Description |
|
Suspend
|
Boolean |
|
SetPurchLineFilters
procedure SetPurchLineFilters(var PurchaseLine: Record "Purchase Line")
Parameters
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
OnAfterCopyFromItem
[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromItem(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job; Item: Record Item)
Parameters
OnAfterCopyFromGLAccount
[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromGLAccount(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job; GLAccount: Record "G/L Account")
Parameters
OnAfterCopyFieldsFromJob
[IntegrationEvent(False,False)]
local procedure OnAfterCopyFieldsFromJob(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; Job: Record Job)
Parameters
OnAfterCopyTrackingFromJobJnlLine
[IntegrationEvent(False,False)]
local procedure OnAfterCopyTrackingFromJobJnlLine(var JobPlanningLine: Record "Job Planning Line"; JobJnlLine: Record "Job Journal Line")
Parameters
OnAfterConvertToJobLineType
[IntegrationEvent(False,False)]
local procedure OnAfterConvertToJobLineType(var JobPlanningLine: Record "Job Planning Line"; var JobLineType: Enum "Job Line Type")
Parameters
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
OnAfterClearTracking
[IntegrationEvent(False,False)]
local procedure OnAfterClearTracking(var JobPlanningLine: Record "Job Planning Line")
Parameters
OnAfterCopyTrackingFromJobLedgEntry
[IntegrationEvent(False,False)]
local procedure OnAfterCopyTrackingFromJobLedgEntry(var JobPlanningLine: Record "Job Planning Line"; JobLedgEntry: Record "Job Ledger Entry")
Parameters
OnAfterDeleteAmounts
[IntegrationEvent(False,False)]
local procedure OnAfterDeleteAmounts(var JobPlanningLine: Record "Job Planning Line")
Parameters
OnAfterGetJob
[IntegrationEvent(False,False)]
local procedure OnAfterGetJob(var JobPlanningLine: Record "Job Planning Line"; var Job: Record Job)
Parameters
OnAfterGetSKU
[IntegrationEvent(False,False)]
local procedure OnAfterGetSKU(JobPlanningLine: Record "Job Planning Line"; var Result: Boolean)
Parameters
OnAfterGetRemainingQty
[IntegrationEvent(False,False)]
local procedure OnAfterGetRemainingQty(JobPlanningLine: Record "Job Planning Line"; var RemainingQty: Decimal; var RemainingQtyBase: Decimal)
Parameters
OnAfterFilterLinesWithItemToPlan
[IntegrationEvent(False,False)]
local procedure OnAfterFilterLinesWithItemToPlan(var JobPlanningLine: Record "Job Planning Line"; var Item: Record Item)
Parameters
OnAfterFilterLinesForReservation
[IntegrationEvent(True,False)]
local procedure OnAfterFilterLinesForReservation(var JobPlaningLine: Record "Job Planning Line"; ReservationEntry: Record "Reservation Entry"; NewStatus: Option; AvailabilityFilter: Text; Positive: Boolean)
Parameters
OnAfterGetLineWithPrice
[IntegrationEvent(True,False)]
local procedure OnAfterGetLineWithPrice(var LineWithPrice: Interface "Line With Price")
Parameters
OnAfterHandleCostFactor
[IntegrationEvent(False,False)]
local procedure OnAfterHandleCostFactor(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; Item: Record Item)
Parameters
OnAfterInitJobPlanningLine
[IntegrationEvent(False,False)]
local procedure OnAfterInitJobPlanningLine(var JobPlanningLine: Record "Job Planning Line")
Parameters
OnAfterInitFromJobPlanningLine
[IntegrationEvent(False,False)]
local procedure OnAfterInitFromJobPlanningLine(var ToJobPlanningLine: Record "Job Planning Line"; FromJobPlanningLine: Record "Job Planning Line")
Parameters
OnAfterResourceFindCost
[IntegrationEvent(False,False)]
local procedure OnAfterResourceFindCost(var JobPlanningLine: Record "Job Planning Line"; var ResourceCost: Record "Resource Cost")
Parameters
OnAfterSetReservationFilters
[IntegrationEvent(False,False)]
local procedure OnAfterSetReservationFilters(var ReservEntry: Record "Reservation Entry"; JobPlanningLine: Record "Job Planning Line")
Parameters
OnAfterSetupNewLine
[IntegrationEvent(False,False)]
local procedure OnAfterSetupNewLine(var JobPlanningLine: Record "Job Planning Line"; LastJobPlanningLine: Record "Job Planning Line")
Parameters
OnAfterUpdateAllAmounts
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateAllAmounts(var JobPlanningLine: Record "Job Planning Line"; var xJobPlanningLine: Record "Job Planning Line")
Parameters
OnAfterUpdateCurrencyFactor
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateCurrencyFactor(var JobPlanningLine: Record "Job Planning Line")
Parameters
OnAfterUpdateTotalPrice
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateTotalPrice(var JobPlanningLine: Record "Job Planning Line")
Parameters
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
OnAfterUpdateAmountsAndDiscounts
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateAmountsAndDiscounts(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line")
Parameters
OnAfterValidateModification
[IntegrationEvent(False,False)]
local procedure OnAfterValidateModification(var JobPlanningLine: Record "Job Planning Line"; FieldChanged: Boolean; FieldNo: Integer)
Parameters
OnBeforeCalcQuantityBase
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcQuantityBase(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeCheckQuantityPosted
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckQuantityPosted(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
OnBeforeCheckRelatedJobPlanningLineInvoice
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckRelatedJobPlanningLineInvoice(JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
OnBeforeCopyFromResource
[IntegrationEvent(False,False)]
local procedure OnBeforeCopyFromResource(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
OnBeforeFindPriceAndDiscount
[IntegrationEvent(True,False)]
local procedure OnBeforeFindPriceAndDiscount(CalledByFieldNo: Integer; var IsHandled: Boolean; var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line")
Parameters
OnBeforeHandleCostFactor
[IntegrationEvent(False,False)]
local procedure OnBeforeHandleCostFactor(var JobPlanningLine: Record "Job Planning Line"; var xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
OnBeforeInitJobPlanningLine
[IntegrationEvent(False,False)]
local procedure OnBeforeInitJobPlanningLine(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job; var IsHandled: Boolean)
Parameters
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
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
OnBeforeUpdatePlannedDueDate
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdatePlannedDueDate(var JobPlanningLine: Record "Job Planning Line"; var Changed: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeOnInsert
[IntegrationEvent(False,False)]
local procedure OnBeforeOnInsert(var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
OnBeforeUpdateAmountsAndDiscounts
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateAmountsAndDiscounts(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
OnBeforeUpdateDescription
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateDescription(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
OnBeforeValidateModification
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateModification(var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean; xJobPlanningLine: Record "Job Planning Line"; FieldNo: Integer)
Parameters
OnBeforeValidatePlanningDate
[IntegrationEvent(False,False)]
local procedure OnBeforeValidatePlanningDate(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
OnBeforeValidateQuantityBase
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityBase(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; CallingFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeValidateWorkTypeCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateWorkTypeCode(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
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
OnBeforeUpdateRemainingQuantity
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateRemainingQuantity(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
OnBeforeUpdateRemainingQuantityFromUse
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateRemainingQuantityFromUse(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; PostedQty: Decimal; var IsHandled: Boolean)
Parameters
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
OnBeforeUpdateUnitCost
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUnitCost(var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean; xJobPlanningLine: Record "Job Planning Line")
Parameters
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
OnBeforeValidateQtyToTransferToInvoice
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQtyToTransferToInvoice(var JobPlanningLine: Record "Job Planning Line"; var xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
OnControlUsageLinkOnAfterGetJob
[IntegrationEvent(False,False)]
local procedure OnControlUsageLinkOnAfterGetJob(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job; CallingFieldNo: Integer; var IsHandling: Boolean)
Parameters
OnUpdateCurrencyFactorOnBeforeGetExchangeRate
[IntegrationEvent(False,False)]
local procedure OnUpdateCurrencyFactorOnBeforeGetExchangeRate(JobPlanningLine: Record "Job Planning Line"; var CurrencyExchangeRate: Record "Currency Exchange Rate")
Parameters
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
OnValidateNoOnAfterCopyFromAccount
[IntegrationEvent(False,False)]
local procedure OnValidateNoOnAfterCopyFromAccount(var JobPlanningLine: Record "Job Planning Line"; var xJobPlanningLine: Record "Job Planning Line"; var Job: Record Job)
Parameters
OnBeforeLinesWithItemToPlanExist
[IntegrationEvent(False,False)]
local procedure OnBeforeLinesWithItemToPlanExist(var Item: Record Item; var Result: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeValidateUsageLink
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateUsageLink(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
OnDeleteOnAfterSetFilterOnJobUsageLink
[IntegrationEvent(False,False)]
local procedure OnDeleteOnAfterSetFilterOnJobUsageLink(JobPlanningLine: Record "Job Planning Line"; var JobUsageLink: Record "Job Usage Link"; var IsHandled: Boolean)
Parameters
OnBeforeOnRename
[IntegrationEvent(False,False)]
local procedure OnBeforeOnRename(var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
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
OnBeforeFindBin
[IntegrationEvent(False,False)]
local procedure OnBeforeFindBin(var JobPlanningLine: Record "Job Planning Line"; var NewBinCode: Code[20]; var IsHandled: Boolean)
Parameters
OnAfterFindPriceAndDiscount
[IntegrationEvent(False,False)]
local procedure OnAfterFindPriceAndDiscount(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; CalledByFieldNo: Integer)
Parameters
OnBeforeCaption
[IntegrationEvent(False,False)]
local procedure OnBeforeCaption(JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean; var Result: Text)
Parameters
OnCheckIfJobPlngLineMeetsReservedFromStockSetting
[IntegrationEvent(False,False)]
local procedure OnCheckIfJobPlngLineMeetsReservedFromStockSetting(QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock"; var Result: Boolean)
Parameters
OnBeforeUpdateUnitPrice
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUnitPrice(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)
Parameters
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
OnBeforeUpdateTotalCost
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateTotalCost(var JobPlanningLine: Record "Job Planning Line"; AmountRoundingPrecisionFCY: Decimal; AmountRoundingPrecision: Decimal; var IsHandled: Boolean)
Parameters
OnAfterClearValues
[IntegrationEvent(False,False)]
local procedure OnAfterClearValues(var JobPlanningLine: Record "Job Planning Line")
Parameters
OnAfterControlUsageLink
[IntegrationEvent(False,False)]
local procedure OnAfterControlUsageLink(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job; CurrFieldNo: Integer)
Parameters
OnBeforeCopyFromGLAccount
[IntegrationEvent(True,False)]
local procedure OnBeforeCopyFromGLAccount(var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean; Job: Record Job)
Parameters
OnBeforeSelectMultipleItems
[IntegrationEvent(False,False)]
local procedure OnBeforeSelectMultipleItems(var JobPlanningLine: Record "Job Planning Line")
Parameters
OnAfterSelectMultipleItems
[IntegrationEvent(False,False)]
local procedure OnAfterSelectMultipleItems(var JobPlanningLine: Record "Job Planning Line")
Parameters
OnBeforeAddItems
[IntegrationEvent(False,False)]
local procedure OnBeforeAddItems(var JobPlanningLine: Record "Job Planning Line"; SelectionFilter: Text; var IsHandled: Boolean)
Parameters
OnAfterCopyFromResource
[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromResource(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job; Resource: Record Resource)
Parameters
OnBeforeUpdateQtyToTransfer
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateQtyToTransfer(var JobPlanningLine: Record "Job Planning Line"; CurrFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeValidateQuantity
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantity(JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; var SkipValidateQuantity: Boolean)
Parameters
OnBeforeFindOrCreateRecordByNo
[IntegrationEvent(False,False)]
local procedure OnBeforeFindOrCreateRecordByNo(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnGetType
[IntegrationEvent(False,False)]
local procedure OnGetType(JobPlanningLineType: Enum "Job Planning Line Type"; var Result: Integer)
Parameters
See also