Table of Contents

Table "Job Journal Line"

ID 210
Namespace: Microsoft.Projects.Project.Journal

Properties

Name Value
Caption Project Journal Line
DataClassification CustomerContent

Fields

Name Type Description
"Journal Template Name" Code[10]
"Line No." Integer
"Job No." Code[20]

Specifies the number of the project.

"Posting Date" Date

Specifies the posting date you want to assign to each journal line. For more information, see Entering Dates and Times.

"Document No." Code[20]

Specifies a document number for the journal line.

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

Specifies an account type for project usage to be posted in the project journal. You can choose from the following options:

"No." Code[20]

Specifies the number of the involved entry or record, according to the specified number series.

Description Text[100]

Specifies the name of the resource, item, or general ledger account to which this entry applies. You can change the description.

Quantity Decimal

Specifies the number of units of the project journal's No. field, that is, either the resource, item, or G/L account number, that applies. If you later change the value in the No. field, the quantity does not change on the journal 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.

Chargeable Boolean
"Posting Group" Code[20]
"Shortcut Dimension 1 Code" Code[20]

Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window.

"Shortcut Dimension 2 Code" Code[20]

Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window.

"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]
"Applies-to Entry" Integer

Specifies if the quantity on the journal line must be applied to an already-posted entry. In that case, enter the entry number that the quantity will be applied to.

"Shpt. Method Code" Code[10]
"Entry Type" Enum Microsoft.Projects.Project.Journal."Job Journal Line Entry Type"
"Source Code" Code[10]
"Journal Batch Name" Code[10]
"Reason Code" Code[10]
"Recurring Method" Option

Specifies the recurring method. The recurring method determines what happens to the quantity on the journal line after posting. For example, if you use the same quantity each time you post the line, you can reuse the same quantity after posting.

"Expiration Date" Date

Specifies the last date on which the recurring journal will be posted if you have indicated in the Recurring field of the project journal template that the journal should be a recurring journal.

"Recurring Frequency" DateFormula

Specifies a recurring frequency if you have indicated in the Recurring field in the project journal template that the journal is a recurring journal.

"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.

"Transaction Type" Code[10]

Specifies the type of transaction that the document represents, for the purpose of reporting to INTRASTAT.

"Transport Method" Code[10]

Specifies the transport method, for the purpose of reporting to INTRASTAT.

"Country/Region Code" Code[10]

Specifies the country/region of the address.

"Entry/Exit Point" Code[10]
"Document Date" Date

Specifies the date when the related document was created.

"External Document No." Code[35]

Specifies a document number that refers to the customer's or vendor's numbering system.

"Area" Code[10]
"Transaction Specification" Code[10]
"Serial No." Code[50]
"Posting No. Series" Code[20]
"Source Currency Code" Code[10]
"Source Currency Total Cost" Decimal
"Source Currency Total Price" Decimal
"Source Currency Line Amount" Decimal
"Dimension Set ID" Integer
"Assemble to Order" Boolean
"Time Sheet No." Code[20]

Specifies the number of a time sheet. A number is assigned to each time sheet when it is created. You cannot edit the number.

"Time Sheet Line No." Integer

Specifies the line number for a time sheet.

"Time Sheet Date" Date

Specifies the date that a time sheet is created.

"Job Task No." Code[20]

Specifies the number of the related project task.

"Total Cost" Decimal

Specifies the total cost for the journal line. The total cost is calculated based on the project currency, which comes from the Currency Code field on 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.

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

Specifies the type of planning line to create when a project ledger entry is posted. If the field is empty, no planning lines are created.

"Applies-from Entry" Integer

Specifies the number of the item ledger entry that the journal line costs have been applied from. This should be done when you reverse the usage of an item in a project and you want to return the item to inventory at the same cost as before it was used in the project.

"Job Posting Only" Boolean
"Line Discount %" Decimal

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

"Line Discount Amount" Decimal

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

"Currency Code" Code[10]

Specifies the project's currency code that listed in the Currency Code field in the Project Card. You can only create a Project Journal using this currency code.

"Line Amount" Decimal

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

"Currency Factor" Decimal
"Unit Cost" Decimal

Specifies the unit cost for the selected type and number on the journal line. The unit cost is in the project currency, derived from the Currency Code field on the project card.

"Line Amount (LCY)" Decimal
"Line Discount Amount (LCY)" Decimal
"Total Price" Decimal

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

"Cost Factor" Decimal
"Description 2" Text[50]

Specifies information in addition to the description.

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

Specifies the project planning line number that the usage should be linked to when the project journal is posted. You can only link to project planning lines that have the Apply Usage Link option enabled.

"Remaining Qty." Decimal

Specifies the quantity of the resource or item that remains to complete a project. The remaining quantity is calculated as the difference between Quantity and Qty. Posted. You can modify this field to indicate the quantity you want to remain on the project planning line after you post usage.

"Remaining Qty. (Base)" Decimal
"Qty. to Transfer to Invoice" Decimal
"Variant Code" Code[10]

Specifies the variant of the item on the line.

"Bin Code" Code[20]

Specifies the bin where the items are picked or put away.

"Qty. per Unit of Measure" Decimal
"Quantity (Base)" Decimal
"Reserved Qty. (Base)" Decimal
"Lot No." Code[50]
"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.

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()

EmptyLine

procedure EmptyLine(): Boolean

Returns

Type Description
Boolean

SetUpNewLine

procedure SetUpNewLine(LastJobJnlLine: Record "Job Journal Line")

Parameters

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

CreateDim

procedure CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

ValidateShortcutDimCode

procedure ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

LookupShortcutDimCode

procedure LookupShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

ShowShortcutDimCode

procedure ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])

Parameters

Name Type Description
ShortcutDimCode array[8] of Code[20]

UpdateCurrencyFactor

procedure UpdateCurrencyFactor()

IsInbound

procedure IsInbound(): Boolean

Returns

Type Description
Boolean

OpenItemTrackingLines

procedure OpenItemTrackingLines(IsReclass: Boolean)

Parameters

Name Type Description
IsReclass Boolean

InitRoundingPrecisions

procedure InitRoundingPrecisions()

DontCheckStdCost

procedure DontCheckStdCost()

DeleteAmounts

procedure DeleteAmounts()

SetCurrencyFactor

procedure SetCurrencyFactor(Factor: Decimal)

Parameters

Name Type Description
Factor Decimal

GetItemTranslation

procedure GetItemTranslation()

SetReservationEntry

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

Parameters

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

SetReservationFilters

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

Parameters

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

ReservEntryExist

procedure ReservEntryExist(): Boolean

Returns

Type Description
Boolean

UpdateAllAmounts

procedure UpdateAllAmounts()

UpdateUnitCost

procedure UpdateUnitCost()

UpdateTotalCost

procedure UpdateTotalCost()

SwitchLinesWithErrorsFilter

procedure SwitchLinesWithErrorsFilter(var ShowAllLinesEnabled: Boolean)

Parameters

Name Type Description
ShowAllLinesEnabled Boolean

AfterResourceFindCost

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

Parameters

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

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"

ShowDimensions

procedure ShowDimensions()

UpdateDimensions

procedure UpdateDimensions()

IsOpenedFromBatch

procedure IsOpenedFromBatch(): Boolean

Returns

Type Description
Boolean

IsNonInventoriableItem

procedure IsNonInventoriableItem(): Boolean

Returns

Type Description
Boolean

IsInventoriableItem

procedure IsInventoriableItem(): Boolean

Returns

Type Description
Boolean

RowID1

procedure RowID1(): Text[250]

Returns

Type Description
Text[250]

CopyTrackingFromItemLedgEntry

procedure CopyTrackingFromItemLedgEntry(ItemLedgEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
ItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

CopyTrackingFromJobPlanningLine

procedure CopyTrackingFromJobPlanningLine(JobPlanningLine: Record "Job Planning Line")

Parameters

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

CreateDimFromDefaultDim

procedure CreateDimFromDefaultDim(FieldNo: Integer)

Parameters

Name Type Description
FieldNo Integer

RenumberDocumentNo

Renumbers the document number of the current job journal line based on the number series specified in the associated job journal batch.

procedure RenumberDocumentNo()

Remarks

An error will be raised if there is an active filter on the document number field. A commit is used during renumbering.

Events

OnAfterInitDefaultDimensionSources

[IntegrationEvent(False,False)]
local procedure OnAfterInitDefaultDimensionSources(var JobJournalLine: Record "Job Journal Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; FieldNo: Integer)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]
FieldNo Integer

OnAfterAssignGLAccountValues

[IntegrationEvent(False,False)]
local procedure OnAfterAssignGLAccountValues(var JobJournalLine: Record "Job Journal Line"; GLAccount: Record "G/L Account")

Parameters

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

OnAfterAssignItemValues

[IntegrationEvent(False,False)]
local procedure OnAfterAssignItemValues(var JobJournalLine: Record "Job Journal Line"; Item: Record Item)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Item Table Microsoft.Inventory.Item.Item

OnAfterAssignResourceValues

[IntegrationEvent(False,False)]
local procedure OnAfterAssignResourceValues(var JobJournalLine: Record "Job Journal Line"; Resource: Record Resource; CurrFieldNo: Integer)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Resource Table Microsoft.Projects.Resources.Resource.Resource
CurrFieldNo Integer

OnAfterAssignItemUoM

[IntegrationEvent(False,False)]
local procedure OnAfterAssignItemUoM(var JobJournalLine: Record "Job Journal Line"; Item: Record Item)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Item Table Microsoft.Inventory.Item.Item

OnAfterAssignResourceUoM

[IntegrationEvent(False,False)]
local procedure OnAfterAssignResourceUoM(var JobJournalLine: Record "Job Journal Line"; Resource: Record Resource)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Resource Table Microsoft.Projects.Resources.Resource.Resource

OnAfterAssignGLAccountUoM

[IntegrationEvent(False,False)]
local procedure OnAfterAssignGLAccountUoM(var JobJournalLine: Record "Job Journal Line")

Parameters

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

OnAfterCopyTrackingFromItemLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCopyTrackingFromItemLedgEntry(var JobJournalLine: Record "Job Journal Line"; ItemLedgEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
ItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnAfterCopyTrackingFromJobPlanningLine

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

Parameters

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

OnAfterDeleteAmounts

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

Parameters

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

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"

OnAfterGetSKU

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

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Result Boolean

OnAfterResourceFindCost

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

Parameters

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

OnAfterSetUpNewLine

[IntegrationEvent(False,False)]
local procedure OnAfterSetUpNewLine(var JobJournalLine: Record "Job Journal Line"; LastJobJournalLine: Record "Job Journal Line"; JobJournalTemplate: Record "Job Journal Template"; JobJournalBatch: Record "Job Journal Batch")

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
LastJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
JobJournalTemplate Table Microsoft.Projects.Project.Journal."Job Journal Template"
JobJournalBatch Table Microsoft.Projects.Project.Journal."Job Journal Batch"

OnAfterShowDimensions

[IntegrationEvent(False,False)]
local procedure OnAfterShowDimensions(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line")

Parameters

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

OnAfterUpdateDimensions

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateDimensions(var JobJournalLine: Record "Job Journal Line"; var DimensionSetIDArr: array[10] of Integer)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
DimensionSetIDArr array[10] of Integer

OnAfterUpdateTotalCost

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateTotalCost(var JobJournalLine: Record "Job Journal Line"; AmountRoundingPrecision: Decimal; AmountRoundingPrecisionFCY: Decimal)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
AmountRoundingPrecision Decimal
AmountRoundingPrecisionFCY Decimal

OnAfterUpdateTotalPrice

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

Parameters

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

OnAfterUpdateAmountsAndDiscounts

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateAmountsAndDiscounts(var JobJournalLine: Record "Job Journal Line")

Parameters

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

OnAfterUpdateUnitPrice

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateUnitPrice(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line"; var AmountRoundingPrecision: Decimal; var AmountRoundingPrecisionFCY: Decimal)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
AmountRoundingPrecision Decimal
AmountRoundingPrecisionFCY Decimal

OnAfterUpdateUnitCost

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateUnitCost(var JobJournalLine: Record "Job Journal Line"; UnitAmountRoundingPrecision: Decimal; CallingFieldNo: Integer)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
UnitAmountRoundingPrecision Decimal
CallingFieldNo Integer

OnBeforeCheckDirectPosting

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDirectPosting(JobJournalLine: Record "Job Journal Line"; var GLAccount: Record "G/L Account"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
GLAccount Table Microsoft.Finance.GeneralLedger.Account."G/L Account"
IsHandled Boolean

OnBeforeCheckItemAvailable

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckItemAvailable(var JobJournalLine: Record "Job Journal Line"; var ItemJournalLine: Record "Item Journal Line"; var CheckedAvailability: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
CheckedAvailability Boolean

OnBeforeCheckPostingDateNotEmpty

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckPostingDateNotEmpty(var JobJournalLine: Record "Job Journal Line"; var LineIsEmpty: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
LineIsEmpty Boolean

OnBeforeFindPriceAndDiscount

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

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
CalledByFieldNo Integer
IsHandled Boolean

OnBeforeGetJob

[IntegrationEvent(False,False)]
local procedure OnBeforeGetJob(var JobJournalLine: Record "Job Journal Line"; var Job: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeGetLocation

[IntegrationEvent(False,False)]
local procedure OnBeforeGetLocation(var JobJournalLine: Record "Job Journal Line"; var Location: Record Location; LocationCode: Code[10]; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Location Table Microsoft.Inventory.Location.Location
LocationCode Code[10]
IsHandled Boolean

OnBeforeHandleCostFactor

[IntegrationEvent(False,False)]
local procedure OnBeforeHandleCostFactor(var JobJournalLine: Record "Job Journal Line"; Item: Record Item; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Item Table Microsoft.Inventory.Item.Item
IsHandled Boolean

OnBeforeInitRoundingPrecisions

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

Parameters

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

OnBeforeEmptyLine

[IntegrationEvent(False,False)]
local procedure OnBeforeEmptyLine(var JobJournalLine: Record "Job Journal Line"; var LineIsEmpty: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
LineIsEmpty Boolean

OnBeforeRetrieveCostPrice

[IntegrationEvent(False,False)]
local procedure OnBeforeRetrieveCostPrice(var JobJournalLine: Record "Job Journal Line"; var xJobJournalLine: Record "Job Journal Line"; var ShouldRetrieveCostPrice: Boolean; var Result: Boolean; CalledByFieldNo: Integer)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
ShouldRetrieveCostPrice Boolean
Result Boolean
CalledByFieldNo Integer

OnBeforeSetUpNewLine

[IntegrationEvent(False,False)]
local procedure OnBeforeSetUpNewLine(var JobJournalLine: Record "Job Journal Line"; var xJobJournalLine: Record "Job Journal Line"; LastJobJnlLine: Record "Job Journal Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
LastJobJnlLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean

OnBeforeSetCountryRegionCodeFromJob

[IntegrationEvent(False,False)]
local procedure OnBeforeSetCountryRegionCodeFromJob(var JobJournalLine: Record "Job Journal Line"; Job: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeValidateWorkTypeCodeQty

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateWorkTypeCodeQty(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line"; Resource: Record Resource; WorkType: Record "Work Type")

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Resource Table Microsoft.Projects.Resources.Resource.Resource
WorkType Table Microsoft.Utilities."Work Type"

OnBeforeValidatePostingDate

[IntegrationEvent(False,False)]
local procedure OnBeforeValidatePostingDate(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
CurrentFieldNo Integer
IsHandled Boolean

OnBeforeValidateQuantity

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantity(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
CurrentFieldNo Integer
IsHandled Boolean

OnBeforeValidateVariantCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateVariantCode(var JobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean

OnBeforeValidateUnitofMeasureCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateUnitofMeasureCode(var JobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean

OnBeforeValidateJobNo

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateJobNo(var JobJournalLine: Record "Job Journal Line"; var Customer: Record Customer; var DimensionManagement: Codeunit DimensionManagement; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Customer Table Microsoft.Sales.Customer.Customer
DimensionManagement Codeunit Microsoft.Finance.Dimension.DimensionManagement
IsHandled Boolean

OnBeforeUpdateAllAmounts

[IntegrationEvent(True,False)]
local procedure OnBeforeUpdateAllAmounts(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line"; CallingFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
CallingFieldNo Integer
IsHandled Boolean

OnBeforeUpdateUnitCost

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUnitCost(var JobJounralLine: Record "Job Journal Line"; var IsHandled: Boolean; xJobJounralLine: Record "Job Journal Line")

Parameters

Name Type Description
JobJounralLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean
xJobJounralLine Table Microsoft.Projects.Project.Journal."Job Journal Line"

OnAfterSetReservationFilters

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

Parameters

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

OnAfterUpdateAllAmounts

[IntegrationEvent(True,False)]
local procedure OnAfterUpdateAllAmounts(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line")

Parameters

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

OnAfterValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var JobJournalLine: Record "Job Journal Line"; var xJobJournalLine: Record "Job Journal Line"; FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
FieldNumber Integer
ShortcutDimCode Code[20]

OnBeforeCheckResource

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckResource(var JobJournalLine: Record "Job Journal Line"; Resource: Record Resource; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Resource Table Microsoft.Projects.Resources.Resource.Resource
IsHandled Boolean

OnBeforeCreateDim

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateDim(var JobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean; CurrentFieldNo: Integer)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean
CurrentFieldNo Integer

OnBeforeFindBinContent

[IntegrationEvent(False,False)]
local procedure OnBeforeFindBinContent(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean

OnBeforeBinContentLookUp

[IntegrationEvent(False,False)]
local procedure OnBeforeBinContentLookUp(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean

OnBeforeTestUnitOfMeasureCode

[IntegrationEvent(False,False)]
local procedure OnBeforeTestUnitOfMeasureCode(var JobJournalLine: Record "Job Journal Line"; WorkType: Record "Work Type"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
WorkType Table Microsoft.Utilities."Work Type"
IsHandled Boolean

OnBeforeUpdateAmountsAndDiscounts

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateAmountsAndDiscounts(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean

OnBeforeValidateChargeable

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateChargeable(var JobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean; xJobJournalLine: Record "Job Journal Line")

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"

OnBeforeValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var JobJournalLine: Record "Job Journal Line"; var xJobJournalLine: Record "Job Journal Line"; FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
FieldNumber Integer
ShortcutDimCode Code[20]

OnBeforeValidateWorkTypeCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateWorkTypeCode(var JobJournalLine: Record "Job Journal Line"; var xJobJournalLine: Record "Job Journal Line"; var IsLineDiscountHandled: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsLineDiscountHandled Boolean
IsHandled Boolean

OnCheckItemAvailableOnBeforeAssignQuantity

[IntegrationEvent(False,False)]
local procedure OnCheckItemAvailableOnBeforeAssignQuantity(var JobJournalLine: Record "Job Journal Line"; var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
IsHandled Boolean

OnCheckDirectedPutawayandPickIsFalseOnBeforeTestField

[IntegrationEvent(False,False)]
local procedure OnCheckDirectedPutawayandPickIsFalseOnBeforeTestField(var Location: Record Location; CallingFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
Location Table Microsoft.Inventory.Location.Location
CallingFieldNo Integer
IsHandled Boolean

OnCopyFromItemOnAfterCheckItem

[IntegrationEvent(False,False)]
local procedure OnCopyFromItemOnAfterCheckItem(var JobJournalLine: Record "Job Journal Line"; Item: Record Item)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Item Table Microsoft.Inventory.Item.Item

OnCopyFromResourceOnAfterCheckResource

[IntegrationEvent(False,False)]
local procedure OnCopyFromResourceOnAfterCheckResource(var JobJournalLine: Record "Job Journal Line"; Resource: Record Resource; CurrentFieldNo: Integer)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Resource Table Microsoft.Projects.Resources.Resource.Resource
CurrentFieldNo Integer

OnSelectItemEntryOnAfterSetItemLedgerEntryFilters

[IntegrationEvent(False,False)]
local procedure OnSelectItemEntryOnAfterSetItemLedgerEntryFilters(var ItemLedgEntry: Record "Item Ledger Entry"; CurrentFieldNo: Integer; var JobJournalLine: Record "Job Journal Line")

Parameters

Name Type Description
ItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
CurrentFieldNo Integer
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"

OnUpdateCurrencyFactorOnBeforeGetExchangeRate

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

Parameters

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

OnValidateJobNoOnBeforeCheckJob

[IntegrationEvent(False,False)]
local procedure OnValidateJobNoOnBeforeCheckJob(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line"; var Customer: Record Customer; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Customer Table Microsoft.Sales.Customer.Customer
IsHandled Boolean

OnValidateJobTaskNoOnAfterTestJobTaskType

[IntegrationEvent(False,False)]
local procedure OnValidateJobTaskNoOnAfterTestJobTaskType(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line"; JobTask: Record "Job Task")

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
JobTask Table Microsoft.Projects.Project.Job."Job Task"

OnBeforeValidateJobTaskNo

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateJobTaskNo(var JobJournalLine: Record "Job Journal Line"; var xJobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean

OnBeforeCopyFromGLAccount

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyFromGLAccount(var JobJournalLine: Record "Job Journal Line"; GLAccount: Record "G/L Account"; CurrFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
GLAccount Table Microsoft.Finance.GeneralLedger.Account."G/L Account"
CurrFieldNo Integer
IsHandled Boolean

OnBeforeCopyFromItem

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyFromItem(var JobJournalLine: Record "Job Journal Line"; Item: Record Item; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Item Table Microsoft.Inventory.Item.Item
IsHandled Boolean

OnBeforeCopyFromResource

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyFromResource(var JobJournalLine: Record "Job Journal Line"; Resource: Record Resource; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Resource Table Microsoft.Projects.Resources.Resource.Resource
CurrentFieldNo Integer
IsHandled Boolean

OnValidateLocationCodeOnBeforeGetLocation

[IntegrationEvent(False,False)]
local procedure OnValidateLocationCodeOnBeforeGetLocation(var JobJournalLine: Record "Job Journal Line")

Parameters

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

OnValidateVariantCodeOnBeforeValidateQuantity

[IntegrationEvent(False,False)]
local procedure OnValidateVariantCodeOnBeforeValidateQuantity(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean

OnAfterCreateDim

[IntegrationEvent(False,False)]
local procedure OnAfterCreateDim(var JobJournalLine: Record "Job Journal Line"; CurrFieldNo: Integer; xJobJournalLine: Record "Job Journal Line"; OldDimSetID: Integer; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
CurrFieldNo Integer
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
OldDimSetID Integer
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

OnValidateUnitOfMeasureCodeOnBeforeOnBeforeValidateQuantity

[IntegrationEvent(False,False)]
local procedure OnValidateUnitOfMeasureCodeOnBeforeOnBeforeValidateQuantity(var JobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean

OnValidateNoOnBeforeValidateQuantity

[IntegrationEvent(False,False)]
local procedure OnValidateNoOnBeforeValidateQuantity(var JobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean

OnValidateUnitCostLCYOnAfterConvertAmountToFCY

[IntegrationEvent(False,False)]
local procedure OnValidateUnitCostLCYOnAfterConvertAmountToFCY(var JobJournalLine: Record "Job Journal Line")

Parameters

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

OnBeforeUpdateDimensions

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateDimensions(var JobJournalLine: Record "Job Journal Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
CurrentFieldNo Integer
IsHandled Boolean

OnSetUpNewLineOnNewLine

[IntegrationEvent(False,False)]
local procedure OnSetUpNewLineOnNewLine(var JobJournalLine: Record "Job Journal Line"; var JobJournalTemplate: Record "Job Journal Template"; var JobJournalBatch: Record "Job Journal Batch")

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
JobJournalTemplate Table Microsoft.Projects.Project.Journal."Job Journal Template"
JobJournalBatch Table Microsoft.Projects.Project.Journal."Job Journal Batch"

OnCopyFromItemOnBeforeValidateUoMCode

[IntegrationEvent(False,False)]
local procedure OnCopyFromItemOnBeforeValidateUoMCode(var JobJournalLine: Record "Job Journal Line"; Item: Record Item; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Item Table Microsoft.Inventory.Item.Item
IsHandled Boolean

OnAfterInitTableValuePair

[IntegrationEvent(False,False)]
local procedure OnAfterInitTableValuePair(var JobJournalLine: Record "Job Journal Line"; var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
TableValuePair Dictionary of [Integer, Code[20]]
FieldNo Integer

OnBeforeSkipRenumberDocumentNo

[IntegrationEvent(True,False)]
local procedure OnBeforeSkipRenumberDocumentNo(JobJournalLine: Record "Job Journal Line"; var Result: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
Result Boolean
IsHandled Boolean

OnBeforeRenumberDocNoOnLines

[IntegrationEvent(False,False)]
local procedure OnBeforeRenumberDocNoOnLines(var DocNo: Code[20]; var JobJnlLine2: Record "Job Journal Line"; var IsHandled: Boolean)

Parameters

Name Type Description
DocNo Code[20]
JobJnlLine2 Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean

OnAfterRenumberDocNoOnLines

[IntegrationEvent(False,False)]
local procedure OnAfterRenumberDocNoOnLines(var DocNo: Code[20]; var JobJnlLine2: Record "Job Journal Line")

Parameters

Name Type Description
DocNo Code[20]
JobJnlLine2 Table Microsoft.Projects.Project.Journal."Job Journal Line"

OnBeforeValidateJobPlanningLineLink

[IntegrationEvent(False,False)]
internal procedure OnBeforeValidateJobPlanningLineLink(var JobJournalLine: Record "Job Journal Line"; xJobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean)

Parameters

Name Type Description
JobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
xJobJournalLine Table Microsoft.Projects.Project.Journal."Job Journal Line"
IsHandled Boolean

See also