Table of Contents

Table Job

ID 167
Namespace: Microsoft.Projects.Project.Job

Properties

Name Value
Caption Project
DataCaptionFields 1,3
DrillDownPageID Page Microsoft.Projects.Project.Job."Job List"
LookupPageID Page Microsoft.Projects.Project.Job."Job List"
DataClassification CustomerContent

Fields

Name Type Description
"No." Code[20]

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

"Search Description" Code[100]

Specifies the additional name for the project. The field is used for searching purposes.

Description Text[100]

Specifies a short description of the project.

"Description 2" Text[50]
"Bill-to Customer No." Code[20]

Specifies the number of the customer who pays for the project.

"Creation Date" Date

Specifies the date on which you set up the project.

"Starting Date" Date

Specifies the date on which the project actually starts.

"Ending Date" Date

Specifies the date on which the project is expected to be completed.

Status Enum Microsoft.Projects.Project.Job."Job Status"

Specifies a status for the current project. You can change the status for the project as it progresses. Final calculations can be made on completed projects.

"Person Responsible" Code[20]

Specifies the person at your company who is responsible for the project.

"Global Dimension 1 Code" Code[20]
"Global Dimension 2 Code" Code[20]
"Job Posting Group" Code[20]

Specifies the posting group that links transactions made for the project with the appropriate general ledger accounts according to the general posting setup.

Blocked Enum Microsoft.Projects.Project.Job."Job Blocked"

Specifies that the related record is blocked from being posted in transactions, for example a customer that is declared insolvent or an item that is placed in quarantine.

"Last Date Modified" Date

Specifies when the project card was last modified.

Comment Boolean
"Customer Disc. Group" Code[20]
"Customer Price Group" Code[10]
"Location Code" Code[10]

Specifies the location code of the project.

"Bin Code" Code[20]

Specifies a bin code for specific location of the project.

"Language Code" Code[10]

Specifies the language to be used on printouts for this project.

"Scheduled Res. Qty." Decimal
"Resource Filter" Code[20]
"Posting Date Filter" Date
"Resource Gr. Filter" Code[20]
"Scheduled Res. Gr. Qty." Decimal
"Bill-to Name" Text[100]

Specifies the name of the customer that you send or sent the invoice or credit memo to.

"Bill-to Address" Text[100]

Specifies the address of the customer to whom you will send the invoice.

"Bill-to Address 2" Text[50]

Specifies an additional line of the address.

"Bill-to City" Text[30]

Specifies the city of the address.

"Bill-to County" Text[30]

Specifies the county code of the customer's billing address.

"Bill-to Post Code" Code[20]

Specifies the postal code of the customer who pays for the project.

"No. Series" Code[20]
"Bill-to Country/Region Code" Code[10]

Specifies the country/region code of the customer's billing address.

"Bill-to Name 2" Text[50]

Specifies an additional part of the name of the customer who pays for the project.

"Task Billing Method" Enum Microsoft.Projects.Project.Setup."Task Billing Method"

Specify whether to use the customer specified for the project for all tasks or allow people to specify different customers. One customer lets you invoice only the customer specified for the project. Multiple customers lets you invoice customers specified on each task, which can be different customers.

Reserve Enum Microsoft.Inventory.Tracking."Reserve Method"
Image Media
"Ship-to Phone No." Text[30]

Specifies the telephone number of the company's shipping address.

"WIP Method" Code[20]

Specifies the method that is used to calculate the value of work in process for the project.

"Currency Code" Code[10]

Specifies the currency code for the project. By default, the currency code is empty. If you enter a foreign currency code, it results in the project being planned and invoiced in that currency.

"Bill-to Contact No." Code[20]

Specifies the number of the contact person at the customer's billing address.

"Bill-to Contact" Text[100]

Specifies the name of the contact person at the customer who pays for the project.

"Planning Date Filter" Date
"Total WIP Cost Amount" Decimal

Specifies the total WIP cost amount that was last calculated for the project. The WIP Cost Amount for the project is the value WIP Cost Project WIP Entries less the value of the Recognized Cost Project WIP Entries. For projects with WIP Methods of Sales Value or Percentage of Completion, the WIP Cost Amount is normally 0.

"Total WIP Cost G/L Amount" Decimal

Specifies the total WIP Cost amount that was last posted to the G/L for the project. The WIP Cost Amount for the project is the value WIP Cost Project WIP G/L Entries less the value of the Recognized Cost Project WIP G/L Entries. For projects with WIP Methods of Sales Value or Percentage of Completion, the WIP Cost Amount is normally 0.

"WIP Entries Exist" Boolean
"WIP Posting Date" Date

Specifies the posting date that was entered when the Project Calculate WIP batch job was last run.

"WIP G/L Posting Date" Date

Specifies the posting date that was entered when the Project Post WIP to General Ledger batch job was last run.

"Invoice Currency Code" Code[10]

Specifies the currency code you want to apply when creating invoices for a project. By default, the invoice currency code for a project is based on what currency code is defined on the customer card.

"Exch. Calculation (Cost)" Option
"Exch. Calculation (Price)" Option
"Allow Schedule/Contract Lines" Boolean

Specifies if you can add planning lines of both type Budget and type Billable to the project.

Complete Boolean
"Recog. Sales Amount" Decimal

Specifies the recognized sales amount that was last calculated for the project, which is the sum of the Recognized Sales Project WIP Entries.

"Recog. Sales G/L Amount" Decimal

Specifies the total Recognized Sales amount that was last posted to the general ledger for the project. The Recognized Sales G/L amount for the project is the sum of the Recognized Sales Project WIP G/L Entries.

"Recog. Costs Amount" Decimal

Specifies the Recognized Cost amount that was last calculated for the project. The Recognized Cost Amount for the project is the sum of the Recognized Cost Project WIP Entries.

"Recog. Costs G/L Amount" Decimal

Specifies the total Recognized Cost amount that was last posted to the general ledger for the project. The Recognized Cost G/L amount for the project is the sum of the Recognized Cost Project WIP G/L Entries.

"Total WIP Sales Amount" Decimal

Specifies the total WIP sales amount that was last calculated for the project. It is calculated as the value in the WIP Sales field minus the value in the Recognized Sales field in the Project WIP Entries window. For projects that use the Cost Value or Cost of Sales WIP methods, the WIP sales amount is normally 0.

"Total WIP Sales G/L Amount" Decimal

Specifies the total WIP sales amount that was last posted to the general ledger for the project. The WIP sales amount is the value in the WIP Sales Project WIP G/L Entries window minus the value in the Recognized Sales Project WIP G/L Entries window. For projects with the Cost Value or Cost of Sales WIP methods, the WIP sales amount is normally 0.

"WIP Completion Calculated" Boolean
"Next Invoice Date" Date

Specifies the next invoice date for the project.

"Apply Usage Link" Boolean

Specifies whether usage entries, from the project journal or purchase line, for example, are linked to project planning lines. Select this check box if you want to be able to track the quantities and amounts of the remaining work needed to complete a project and to create a relationship between demand planning, usage, and sales. On a project card, you can select this check box if there are no existing project planning lines that include type Budget that have been posted. The usage link only applies to project planning lines that include type Budget.

"WIP Warnings" Boolean

Specifies whether or not there are WIP warnings associated with a project.

"WIP Posting Method" Option

Specifies how WIP posting is performed. Per Project: The total WIP costs and the sales value is used to calculate WIP. Per Project Ledger Entry: The accumulated values of WIP costs and sales are used to calculate WIP.

"Applied Costs G/L Amount" Decimal

Specifies the sum of all applied costs that is based on to the selected project in the general ledger.

"Applied Sales G/L Amount" Decimal

Specifies the sum of all applied sales in the general ledger that are related to the project.

"Calc. Recog. Sales Amount" Decimal

Specifies the sum of the recognized sales amount that is associated with project tasks for the project.

"Calc. Recog. Costs Amount" Decimal

Specifies the sum of the recognized costs amount that is associated with project tasks for the project.

"Calc. Recog. Sales G/L Amount" Decimal

Specifies the sum of the recognized sales general ledger amount that is associated with project tasks for the project.

"Calc. Recog. Costs G/L Amount" Decimal

Specifies the sum of the recognized costs general ledger amount that is associated with project tasks for the project.

"WIP Completion Posted" Boolean
"Over Budget" Boolean
"Project Manager" Code[50]

Specifies the person who is assigned to manage the project.

"Sell-to Customer No." Code[20]

Specifies the number of the customer who will receive the products and be billed by default.

"Sell-to Customer Name" Text[100]

Specifies the name of the customer who will receive the products and be billed by default.

"Sell-to Customer Name 2" Text[50]

Specifies an additional part of the name of the customer who will receive the products and be billed by default.

"Sell-to Address" Text[100]

Specifies the address where the customer is located.

"Sell-to Address 2" Text[50]

Specifies additional address information.

"Sell-to City" Text[30]

Specifies the city of the customer on the sales document.

"Sell-to Contact" Text[100]

Specifies the name of the person to contact at the customer.

"Sell-to Post Code" Code[20]

Specifies the postal code.

"Sell-to County" Text[30]

Specifies the state, province or county of the address.

"Sell-to Country/Region Code" Code[10]

Specifies the country or region of the address.

"Sell-to Phone No." Text[30]
"Sell-to E-Mail" Text[80]
"Sell-to Contact No." Code[20]

Specifies the number of the contact person that the sales document will be sent to.

"Ship-to Code" Code[10]

Specifies the code for another shipment address than the customer's own address, which is entered by default.

"Ship-to Name" Text[100]

Specifies the name that products on the sales document will be shipped to.

"Ship-to Name 2" Text[50]

Specifies an additional part of the name that products on the sales document will be shipped to.

"Ship-to Address" Text[100]

Specifies the address that products on the sales document will be shipped to.

"Ship-to Address 2" Text[50]

Specifies additional address information.

"Ship-to City" Text[30]

Specifies the city of the customer on the sales document.

"Ship-to Contact" Text[100]

Specifies the name of the contact person at the address that products on the sales document will be shipped to.

"Ship-to Post Code" Code[20]

Specifies the postal code.

"Ship-to County" Text[30]

Specifies the state, province or county of the address.

"Ship-to Country/Region Code" Code[10]

Specifies the customer's country/region.

"No. of Archived Versions" Integer

Specifies the number of archived versions of this project.

"External Document No." Code[35]

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

"Payment Method Code" Code[10]
"Payment Terms Code" Code[10]
"Your Reference" Text[35]

Specifies the customer's reference. The content will be printed on sales documents.

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

Specifies the default method of the unit price calculation.

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

Specifies the default method of the unit cost calculation.

"Completely Picked" Boolean

Specifies whether all items on the project planning lines have been completely picked.

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

AssistEdit

procedure AssistEdit(OldJob: Record Job): Boolean

Parameters

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

Returns

Type Description
Boolean

GetCostCalculationMethod

procedure GetCostCalculationMethod(): Enum "Price Calculation Method"

Returns

Type Description
Enum Microsoft.Pricing.Calculation."Price Calculation Method"

GetPriceCalculationMethod

procedure GetPriceCalculationMethod(): Enum "Price Calculation Method"

Returns

Type Description
Enum Microsoft.Pricing.Calculation."Price Calculation Method"

ShowPriceListLines

procedure ShowPriceListLines(PriceType: Enum "Price Type"; AssetType: Enum "Price Asset Type"; AmountType: Enum "Price Amount Type")

Parameters

Name Type Description
PriceType Enum Microsoft.Pricing.PriceList."Price Type"
AssetType Enum Microsoft.Pricing.Asset."Price Asset Type"
AmountType Enum Microsoft.Pricing.PriceList."Price Amount Type"

ValidateShortcutDimCode

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

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

UpdateBillToContact

procedure UpdateBillToContact(CustomerNo: Code[20])

Parameters

Name Type Description
CustomerNo Code[20]

JobLedgEntryExist

procedure JobLedgEntryExist(): Boolean

Returns

Type Description
Boolean

SalesJobLedgEntryExist

procedure SalesJobLedgEntryExist(): Boolean

Returns

Type Description
Boolean

SalesLineExist

procedure SalesLineExist(): Boolean

Returns

Type Description
Boolean

JobPlanningLineExist

procedure JobPlanningLineExist(): Boolean

Returns

Type Description
Boolean

UpdateBillToCust

procedure UpdateBillToCust(ContactNo: Code[20])

Parameters

Name Type Description
ContactNo Code[20]

SelltoCustomerNoOnAfterValidate

procedure SelltoCustomerNoOnAfterValidate(var JobRec: Record Job; var xJobRec: Record Job)

Parameters

Name Type Description
JobRec Table Microsoft.Projects.Project.Job.Job
xJobRec Table Microsoft.Projects.Project.Job.Job

LookupSellToCustomerName

procedure LookupSellToCustomerName(var CustomerName: Text): Boolean

Parameters

Name Type Description
CustomerName Text

Returns

Type Description
Boolean

InitWIPFields

procedure InitWIPFields()

TestBlocked

procedure TestBlocked()

CurrencyUpdatePlanningLines

procedure CurrencyUpdatePlanningLines()

TestStatusCompleted

procedure TestStatusCompleted()

CreateInvtPutAwayPick

procedure CreateInvtPutAwayPick()

DisplayMap

procedure DisplayMap()

GetQuantityAvailable

procedure GetQuantityAvailable(ItemNo: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]; InEntryType: Option; Direction: Option): Decimal

Parameters

Name Type Description
ItemNo Code[20]
LocationCode Code[10]
VariantCode Code[10]
InEntryType Option
Direction Option

Returns

Type Description
Decimal

CalcAccWIPCostsAmount

procedure CalcAccWIPCostsAmount(): Decimal

Returns

Type Description
Decimal

CalcAccWIPSalesAmount

procedure CalcAccWIPSalesAmount(): Decimal

Returns

Type Description
Decimal

CalcRecognizedProfitAmount

procedure CalcRecognizedProfitAmount(): Decimal

Returns

Type Description
Decimal

CalcRecognizedProfitPercentage

procedure CalcRecognizedProfitPercentage(): Decimal

Returns

Type Description
Decimal

CalcRecognizedProfitGLAmount

procedure CalcRecognizedProfitGLAmount(): Decimal

Returns

Type Description
Decimal

CalcRecognProfitGLPercentage

procedure CalcRecognProfitGLPercentage(): Decimal

Returns

Type Description
Decimal

CopyDefaultDimensionsFromCustomer

procedure CopyDefaultDimensionsFromCustomer()

PercentCompleted

procedure PercentCompleted(): Decimal

Returns

Type Description
Decimal

PercentInvoiced

procedure PercentInvoiced(): Decimal

Returns

Type Description
Decimal

PercentOverdue

procedure PercentOverdue(): Decimal

Returns

Type Description
Decimal

CheckReservationEntries

procedure CheckReservationEntries(): Boolean

Returns

Type Description
Boolean

PerformAutoReserve

procedure PerformAutoReserve(var JobPlanningLine: Record "Job Planning Line")

Parameters

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

UpdateOverBudgetValue

procedure UpdateOverBudgetValue(JobNo: Code[20]; Usage: Boolean; Cost: Decimal)

Parameters

Name Type Description
JobNo Code[20]
Usage Boolean
Cost Decimal

ToPriceSource

procedure ToPriceSource(var PriceSource: Record "Price Source"; PriceType: Enum "Price Type")

Parameters

Name Type Description
PriceSource Table Microsoft.Pricing.Source."Price Source"
PriceType Enum Microsoft.Pricing.PriceList."Price Type"

SetJobDiffBuff

procedure SetJobDiffBuff(var TempJobDifferenceBuffer: Record "Job Difference Buffer" temporary; JobNo: Code[20]; JobTaskNo: Code[20]; JobTaskType: Option; Type: Option; No: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]; UnitofMeasureCode: Code[10]; WorkTypeCode: Code[10])

Parameters

Name Type Description
TempJobDifferenceBuffer Table Microsoft.Projects.Project.Journal."Job Difference Buffer"
JobNo Code[20]
JobTaskNo Code[20]
JobTaskType Option
Type Option
No Code[20]
LocationCode Code[10]
VariantCode Code[10]
UnitofMeasureCode Code[10]
WorkTypeCode Code[10]

SendProfile

procedure SendProfile(var DocumentSendingProfile: Record "Document Sending Profile")

Parameters

Name Type Description
DocumentSendingProfile Table Microsoft.Foundation.Reporting."Document Sending Profile"

PrintRecords

procedure PrintRecords(ShowRequestForm: Boolean)

Parameters

Name Type Description
ShowRequestForm Boolean

EmailRecords

procedure EmailRecords(ShowDialog: Boolean)

Parameters

Name Type Description
ShowDialog Boolean

RecalculateJobWIP

procedure RecalculateJobWIP()

UpdateReferencedIds

procedure UpdateReferencedIds()

BilltoContactLookup

procedure BilltoContactLookup(): Boolean

Returns

Type Description
Boolean

SelltoContactLookup

procedure SelltoContactLookup(): Boolean

Returns

Type Description
Boolean

CalcJobTaskLinesEditable

procedure CalcJobTaskLinesEditable(): Boolean

Returns

Type Description
Boolean

ShipToAddressEqualsSellToAddress

procedure ShipToAddressEqualsSellToAddress(): Boolean

Returns

Type Description
Boolean

BillToAddressEqualsSellToAddress

procedure BillToAddressEqualsSellToAddress(): Boolean

Returns

Type Description
Boolean

SyncShipToWithSellTo

procedure SyncShipToWithSellTo()

ShipToNameEqualsSellToName

procedure ShipToNameEqualsSellToName(): Boolean

Returns

Type Description
Boolean

SetHideValidationDialog

procedure SetHideValidationDialog(NewHideValidationDialog: Boolean)

Parameters

Name Type Description
NewHideValidationDialog Boolean

GetHideValidationDialog

procedure GetHideValidationDialog(): Boolean

Returns

Type Description
Boolean

SellToCustomerNoUpdated

procedure SellToCustomerNoUpdated(var Job: Record Job; var xJob: Record Job)

Parameters

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

ShouldSearchForCustomerByName

procedure ShouldSearchForCustomerByName(CustomerNo: Code[20]): Boolean

Parameters

Name Type Description
CustomerNo Code[20]

Returns

Type Description
Boolean

CreateWarehousePick

procedure CreateWarehousePick()

JobTaskExist

procedure JobTaskExist(): Boolean

Returns

Type Description
Boolean

SetPurchLineFilters

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

Parameters

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

Events

OnBeforeThrowAssociatedEntriesExistError

[IntegrationEvent(False,False)]
local procedure OnBeforeThrowAssociatedEntriesExistError(var Job: Record Job; xJob: Record Job; CallingFieldNo: Integer; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
CallingFieldNo Integer
CurrentFieldNo Integer
IsHandled Boolean

OnAfterCalcRecognizedProfitAmount

[IntegrationEvent(True,False)]
local procedure OnAfterCalcRecognizedProfitAmount(var Result: Decimal)

Parameters

Name Type Description
Result Decimal

OnAfterCalcJobTaskLinesEditable

[IntegrationEvent(False,False)]
local procedure OnAfterCalcJobTaskLinesEditable(var Job: Record Job; var IsEditable: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
IsEditable Boolean

OnBeforeBillToCustomerNoUpdated

[IntegrationEvent(False,False)]
local procedure OnBeforeBillToCustomerNoUpdated(var Job: Record Job; var xJob: Record Job; CallingFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
CallingFieldNo Integer
IsHandled Boolean

OnAfterBillToCustomerNoUpdated

[IntegrationEvent(False,False)]
local procedure OnAfterBillToCustomerNoUpdated(var Job: Record Job; xJob: Record Job; BillToCustomer: Record Customer; CallingFieldNo: Integer)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
BillToCustomer Table Microsoft.Sales.Customer.Customer
CallingFieldNo Integer

OnAfterJobLedgEntryExist

[IntegrationEvent(False,False)]
local procedure OnAfterJobLedgEntryExist(var JobLedgerEntry: Record "Job Ledger Entry"; var Result: Boolean)

Parameters

Name Type Description
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
Result Boolean

OnAfterJobPlanningLineExist

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

Parameters

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

OnAfterOnInsert

[IntegrationEvent(False,False)]
local procedure OnAfterOnInsert(var Job: Record Job; var xJob: Record Job)

Parameters

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

OnAfterValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var Job: Record Job; var xJob: Record Job; FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
FieldNumber Integer
ShortcutDimCode Code[20]

OnAfterChangeJobCompletionStatus

[IntegrationEvent(False,False)]
local procedure OnAfterChangeJobCompletionStatus(var Job: Record Job; var xJob: Record Job)

Parameters

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

OnAfterShipToCodeValidate

[IntegrationEvent(False,False)]
local procedure OnAfterShipToCodeValidate(var Job: Record Job; ShipToAddress: Record "Ship-to Address")

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
ShipToAddress Table Microsoft.Sales.Customer."Ship-to Address"

OnAfterUpdateBillToContact

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateBillToContact(var Job: Record Job; xJob: Record Job)

Parameters

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

OnBeforeChangeJobCompletionStatus

[IntegrationEvent(False,False)]
local procedure OnBeforeChangeJobCompletionStatus(var Job: Record Job; var xJob: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeAssistEdit

[IntegrationEvent(False,False)]
local procedure OnBeforeAssistEdit(var Job: Record Job; var OldJob: Record Job; var Result: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
OldJob Table Microsoft.Projects.Project.Job.Job
Result Boolean
IsHandled Boolean

OnBeforeCheckContactBillToCustomerBusRelation

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckContactBillToCustomerBusRelation(var Job: Record Job; Contact: Record Contact; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
Contact Table Microsoft.CRM.Contact.Contact
IsHandled Boolean

OnBeforeShowContactBillToCustomerBusRelationMissingError

[IntegrationEvent(False,False)]
local procedure OnBeforeShowContactBillToCustomerBusRelationMissingError(var Job: Record Job; Contact: Record Contact; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
Contact Table Microsoft.CRM.Contact.Contact
IsHandled Boolean

OnBeforeCheckRemoveFromMyJobsFromModify

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckRemoveFromMyJobsFromModify(var Job: Record Job; var xJob: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeCopyDefaultDimensionsFromCustomer

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyDefaultDimensionsFromCustomer(var Job: Record Job; var IsHandled: Boolean; CurrentFieldNo: Integer)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean
CurrentFieldNo Integer

OnBeforePercentCompleted

[IntegrationEvent(False,False)]
local procedure OnBeforePercentCompleted(var Job: Record Job; var Result: Decimal; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
Result Decimal
IsHandled Boolean

OnBeforePercentInvoiced

[IntegrationEvent(False,False)]
local procedure OnBeforePercentInvoiced(var Job: Record Job; var Result: Decimal; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
Result Decimal
IsHandled Boolean

OnBeforePercentOverdue

[IntegrationEvent(False,False)]
local procedure OnBeforePercentOverdue(var Job: Record Job; var Result: Decimal; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
Result Decimal
IsHandled Boolean

OnBeforeDeleteRelatedJobTasks

[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteRelatedJobTasks(var Job: Record Job; var xJob: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeInitJobNo

[IntegrationEvent(False,False)]
local procedure OnBeforeInitJobNo(var Job: Record Job; var xJob: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeInitGlobalDimFromDefalutDim

[IntegrationEvent(False,False)]
local procedure OnBeforeInitGlobalDimFromDefalutDim(var Job: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeInitBillToCustomerNo

[IntegrationEvent(False,False)]
local procedure OnBeforeInitBillToCustomerNo(var Job: Record Job; var xJob: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeRecalculateJobWIP

[IntegrationEvent(False,False)]
local procedure OnBeforeRecalculateJobWIP(var Job: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeTestBlocked

[IntegrationEvent(False,False)]
local procedure OnBeforeTestBlocked(var Job: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeUpdateJobTaskDimension

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateJobTaskDimension(var Job: Record Job; FieldNumber: Integer; ShortcutDimCode: Code[20]; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
FieldNumber Integer
ShortcutDimCode Code[20]
IsHandled Boolean

OnAfterUpdateJobTaskDimension

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateJobTaskDimension(var Job: Record Job; FieldNumber: Integer; ShortcutDimCode: Code[20])

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
FieldNumber Integer
ShortcutDimCode Code[20]

OnBeforeValidateBillToCustomerNo

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateBillToCustomerNo(var Job: Record Job; var IsHandled: Boolean; xJob: Record Job; CallingFieldNo: Integer)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean
xJob Table Microsoft.Projects.Project.Job.Job
CallingFieldNo Integer

OnBeforeValidateCurrencyCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateCurrencyCode(var Job: Record Job; xJob: Record Job; CallingFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
CallingFieldNo Integer
IsHandled Boolean

OnBeforeValidateBillToContactNo

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateBillToContactNo(var Job: Record Job; xJob: Record Job; CallingFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
CallingFieldNo Integer
IsHandled Boolean

OnBeforeValidateNo

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateNo(var Job: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var Job: Record Job; var xJob: Record Job; FieldNumber: Integer; var ShortcutDimCode: Code[20]; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
FieldNumber Integer
ShortcutDimCode Code[20]
IsHandled Boolean

OnBeforeValidateStatus

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateStatus(var Job: Record Job; xJob: Record Job; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
CurrentFieldNo Integer
IsHandled Boolean

OnBeforeUpdateOverBudgetValue

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateOverBudgetValue(var Job: Record Job; JobNo: Code[20]; Usage: Boolean; Cost: Decimal; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
JobNo Code[20]
Usage Boolean
Cost Decimal
IsHandled Boolean

OnBeforeSellToCustomerNoUpdated

[IntegrationEvent(False,False)]
local procedure OnBeforeSellToCustomerNoUpdated(var Job: Record Job; var xJob: Record Job; CallingFieldNo: Integer; var IsHandled: Boolean; var SkipSellToContact: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
CallingFieldNo Integer
IsHandled Boolean
SkipSellToContact Boolean

OnAfterSellToCustomerNoUpdated

[IntegrationEvent(False,False)]
local procedure OnAfterSellToCustomerNoUpdated(var Job: Record Job; xJob: Record Job; SellToCustomer: Record Customer)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
SellToCustomer Table Microsoft.Sales.Customer.Customer

OnSellToCustomerNoUpdatedOnAfterTransferFieldsFromCust

[IntegrationEvent(False,False)]
protected procedure OnSellToCustomerNoUpdatedOnAfterTransferFieldsFromCust(var Job: Record Job; xJob: Record Job; SellToCustomer: Record Customer)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
SellToCustomer Table Microsoft.Sales.Customer.Customer

OnGetQuantityAvailableOnAfterSetFiltersOnJobLedgerEntry

[IntegrationEvent(False,False)]
local procedure OnGetQuantityAvailableOnAfterSetFiltersOnJobLedgerEntry(ItemNo: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]; InEntryType: Option; Direction: Option; var JobLedgerEntry: Record "Job Ledger Entry")

Parameters

Name Type Description
ItemNo Code[20]
LocationCode Code[10]
VariantCode Code[10]
InEntryType Option
Direction Option
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"

OnUpdateBillToCustOnAfterAssignBillToContact

[IntegrationEvent(False,False)]
local procedure OnUpdateBillToCustOnAfterAssignBillToContact(var Job: Record Job; Contact: Record Contact)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
Contact Table Microsoft.CRM.Contact.Contact

OnUpdateCustOnBeforeAssignIncoiceCurrencyCode

[IntegrationEvent(False,False)]
local procedure OnUpdateCustOnBeforeAssignIncoiceCurrencyCode(var Job: Record Job; xJob: Record Job; Customer: Record Customer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
Customer Table Microsoft.Sales.Customer.Customer
IsHandled Boolean

OnBeforeValidateBillToCity

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateBillToCity(var Job: Record Job; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
PostCode Table Microsoft.Foundation.Address."Post Code"
CurrentFieldNo Integer
IsHandled Boolean

OnBeforeValidateBillToPostCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateBillToPostCode(var Job: Record Job; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
PostCode Table Microsoft.Foundation.Address."Post Code"
CurrentFieldNo Integer
IsHandled Boolean

OnBeforeValidateSellToCity

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateSellToCity(var Job: Record Job; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
PostCode Table Microsoft.Foundation.Address."Post Code"
CurrentFieldNo Integer
IsHandled Boolean

OnBeforeValidateShipToCity

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShipToCity(var Job: Record Job; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
PostCode Table Microsoft.Foundation.Address."Post Code"
CurrentFieldNo Integer
IsHandled Boolean

OnBeforeCheckSellToCustomerAssosEntriesExist

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckSellToCustomerAssosEntriesExist(var Job: Record Job; var xJob: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeCheckBillToCustomerAssosEntriesExist

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckBillToCustomerAssosEntriesExist(var Job: Record Job; var xJob: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBeforeTestStatusCompleted

[IntegrationEvent(False,False)]
local procedure OnBeforeTestStatusCompleted(var Job: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnCopyDefaultDimensionsFromCustomerOnBeforeUpdateDefaultDim

[IntegrationEvent(False,False)]
local procedure OnCopyDefaultDimensionsFromCustomerOnBeforeUpdateDefaultDim(var Job: Record Job; CallingFieldNo: Integer)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
CallingFieldNo Integer

OnValidateSellToCustomerNoOnBeforeCheckBlockedCustOnDocs

[IntegrationEvent(False,False)]
local procedure OnValidateSellToCustomerNoOnBeforeCheckBlockedCustOnDocs(var Job: Record Job; var Cust: Record Customer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
Cust Table Microsoft.Sales.Customer.Customer
IsHandled Boolean

OnBeforeInitDefaultJobPostingGroup

[IntegrationEvent(False,False)]
local procedure OnBeforeInitDefaultJobPostingGroup(var Job: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnValidateStatusOnBeforeConfirm

[IntegrationEvent(False,False)]
local procedure OnValidateStatusOnBeforeConfirm(var Job: Record Job; xJob: Record Job; var UndidCompleteStatus: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
UndidCompleteStatus Boolean
IsHandled Boolean

OnBeforeCurrencyUpdatePlanningLines

[IntegrationEvent(False,False)]
local procedure OnBeforeCurrencyUpdatePlanningLines(var Job: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnBillToCustomerNoUpdatedOnBeforeAssignCurrencyCode

[IntegrationEvent(False,False)]
local procedure OnBillToCustomerNoUpdatedOnBeforeAssignCurrencyCode(var Job: Record Job; xJob: Record Job; Customer: Record Customer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
Customer Table Microsoft.Sales.Customer.Customer
IsHandled Boolean

OnBillToCustomerNoUpdatedOnBeforeUpdateBillToContact

[IntegrationEvent(False,False)]
local procedure OnBillToCustomerNoUpdatedOnBeforeUpdateBillToContact(var Job: Record Job; xJob: Record Job; Customer: Record Customer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
Customer Table Microsoft.Sales.Customer.Customer
IsHandled Boolean

OnCurrencyUpdatePlanningLinesOnBeforeUpdateJobPlanningLine

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

Parameters

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

OnBeforeValidateSellToCustomerName

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateSellToCustomerName(var Job: Record Job; var Customer: Record Customer; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
Customer Table Microsoft.Sales.Customer.Customer
IsHandled Boolean

OnBeforeShowSellToContactBusinessRelationNotFoundError

[IntegrationEvent(False,False)]
local procedure OnBeforeShowSellToContactBusinessRelationNotFoundError(var Job: Record Job; Contact: Record Contact; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
Contact Table Microsoft.CRM.Contact.Contact
IsHandled Boolean

OnAfterSyncShipToWithSellTo

[IntegrationEvent(False,False)]
local procedure OnAfterSyncShipToWithSellTo(var Job: Record Job)

Parameters

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

OnAfterShipToAddressEqualsSellToAddress

[IntegrationEvent(False,False)]
local procedure OnAfterShipToAddressEqualsSellToAddress(var Job: Record Job; var Result: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
Result Boolean

OnAfterUpdateCostPricesOnRelatedJobPlanningLines

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateCostPricesOnRelatedJobPlanningLines(var Job: Record Job)

Parameters

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

OnBeforeUpdateSellToCust

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateSellToCust(var Job: Record Job; var ContactNo: Code[20]; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
ContactNo Code[20]
IsHandled Boolean

OnUpdateCostPricesOnRelatedJobPlanningLinesOnBeforeConfirmUpdate

[IntegrationEvent(False,False)]
local procedure OnUpdateCostPricesOnRelatedJobPlanningLinesOnBeforeConfirmUpdate(var Job: Record Job; var ConfirmResult: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
ConfirmResult Boolean
IsHandled Boolean

OnBeforeCheckIfTimeSheetLineLinkExist

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckIfTimeSheetLineLinkExist(var Job: Record Job; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
IsHandled Boolean

OnInitJobNoOnAfterAssignNoSeries

[IntegrationEvent(False,False)]
local procedure OnInitJobNoOnAfterAssignNoSeries(var Job: Record Job; var xJob: Record Job; var JobsSetup: Record "Jobs Setup")

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
xJob Table Microsoft.Projects.Project.Job.Job
JobsSetup Table Microsoft.Projects.Project.Setup."Jobs Setup"

OnBeforeAddToMyJobs

[IntegrationEvent(False,False)]
local procedure OnBeforeAddToMyJobs(var Job: Record Job; var MyJob: Record "My Job"; ProjectManager: Code[50]; var IsHandled: Boolean)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
MyJob Table Microsoft.Projects.Project.Job."My Job"
ProjectManager Code[50]
IsHandled Boolean

See also