KVSPSAJob#
Extends #437dbf0e84ff417a965ded2bb9650972#Job
Fields#
Name | Type | Note |
---|---|---|
KVSPSATime Qty. | Decimal | FlowField |
KVSPSAPSP Job-Version Filter | Code[20] | FlowFilter |
KVSPSAPSP Job-Budgetfilter | Code[10] | FlowFilter |
KVSPSABudgeted Cost PSP | Decimal | FlowField |
KVSPSABudgeted Price PSP (LCY) | Decimal | FlowField |
KVSPSAWork Package Filter | Code[20] | FlowFilter |
KVSPSATimeQtyWithoutWPFilter | Decimal | FlowField |
KVSPSAActivation Amount | Decimal | FlowField |
KVSPSAPost. Activation Amount | Decimal | FlowField |
KVSPSADeactivation Amount | Decimal | FlowField |
KVSPSAPostDeactivationAmount | Decimal | FlowField |
KVSPSAEvaluationfilter | Code[10] | FlowFilter |
KVSPSATimeQtywithoutResFilter | Decimal | FlowField |
KVSPSASalesDocumentTypeFilter | Enum Sales Document Type | FlowFilter |
KVSPSASalesDocumentNoFilter | Code[20] | FlowFilter |
KVSPSAResponsible Name | Text[100] | FlowField |
KVSPSAResponsibleSubstitName | Text[100] | FlowField |
KVSPSAUse Res. Prices of PSP | Boolean | |
KVSPSAResponsibility Center | Code[10] | |
KVSPSASalesperson Code | Code[20] | |
KVSPSASalesperson Name | Text[50] | FlowField |
KVSPSAPSP Job Template Code | Code[20] | |
KVSPSACopy PSP from Template | Code[20] | |
KVSPSAUseJobCurrFactInSalesDoc | Boolean | |
KVSPSAFirstMainJobNo | Code[20] | |
KVSPSAPlanning Direction | Enum (KVSPSAPlanningDirection) | |
KVSPSAFixed Starting Date | Boolean | |
KVSPSAFixed Ending date | Boolean | |
KVSPSAEnding Date On Order | Date | |
KVSPSAUseJobCurrFactInUsage | Boolean | |
KVSPSACreatedbySalesDocument | Boolean | |
KVSPSATestJobTeamOnTimePosting | Boolean | |
KVSPSAMaintenance | Option | OptionMembers: ,In Progress,Maintenance Completed |
KVSPSAStatusCheckingMandFields | Enum (KVSKBAStatusCheckingMandFields) | |
KVSPSABlocked By | Option | OptionMembers: ,Checking Mandatory Fields,User,Sanction Check,Mandat. Fields & Sanction Check,Sanction Check (Document) |
KVSPSABlocked (User) | Option | OptionMembers: ,Posting,All,Times |
KVSPSAActive Job Budget Name | Code[10] | FlowField |
KVSPSAActive Version No. | Code[20] | FlowField |
KVSPSAPostingLevelForTimePost | Enum (KVSPSAPostingLevel) | |
KVSPSAJob Type | Code[10] | |
KVSPSAFixed Time Period | Boolean | |
KVSPSAPostingLevelForPurchase | Enum (KVSPSAPostingLevel) | |
KVSPSAJobTypeDescription | Text[30] | FlowField |
KVSPSAPostingLevelForGenJourna | Enum (KVSPSAPostingLevel) | |
KVSPSAPostingLevelForJobJourna | Enum (KVSPSAPostingLevel) | |
KVSPSAPersonResponsibleSubstit | Code[20] | |
KVSPSAExt. Job No. | Text[35] | |
KVSPSABillToContactNoCust | Code[20] | |
KVSPSABillToCustTemplCode | Code[20] | |
KVSPSASellToCustTemplCode | Code[20] | |
KVSPSABill-to Code | Code[10] | |
KVSPSAEarned Value | Decimal | |
KVSPSACost Variance | Decimal | |
KVSPSACost Variance percentage | Decimal | |
KVSPSAEstimated Total Cost | Decimal | |
KVSPSACost Efficiency | Decimal | |
KVSPSAAdv./Paym. Planing Level | Option | OptionMembers: Job,PSP-Line |
KVSPSASalesJobAccountEntryFrom | Option | OptionMembers: Job Budget,Advance Plan,Payment Plan |
KVSPSADateFormulaSalesJobAccE | DateFormula | |
KVSPSAClosing Invoice created | Boolean | |
KVSPSAG/L Integration Filter | Code[20] | FlowFilter |
KVSPSAInvoicing by Milestone | Boolean | |
KVSPSABaseSalesJobAccountEntry | Enum (KVSPSABaseSalesJobAccEntryType) | |
KVSPSAPostingLevelForJobDoc | Enum (KVSPSAPostingLevel) | |
KVSPSAInvoice Currency Factor | Decimal | |
KVSPSAInvoice Currency Date | Date | |
KVSPSABudgeted Price (ICY) | Decimal | FlowField |
KVSPSABudgeted Price PSP (ICY) | Decimal | FlowField |
KVSPSAIgnore Inv. Plan Filter | Boolean | FlowFilter |
KVSPSA PSP Status Filter | Enum Job Status | FlowFilter |
KVSPSACost Status | Option | OptionMembers: ,in Cost,Critical,Alert |
KVSPSATime Status | Option | OptionMembers: ,in Time,Critical,Alert |
KVSPSAScope Status | Option | OptionMembers: ,in Scope,Critical,Alert |
KVSPSAPreventTimeBudgetOverrun | Boolean | |
KVSPSAClosing Date | Date | |
KVSPSAJobControllingLightsUser | Code[50] | |
KVSPSAJobControllingLightsDT | DateTime | |
KVSPSAType Filter | Enum (KVSPSAJobBudgetLineType) | FlowFilter |
KVSPSABudgeted Cost (LCY) | Decimal | FlowField |
KVSPSABudgeted Price (LCY) | Decimal | FlowField |
KVSPSAUsage Cost (LCY) | Decimal | FlowField |
KVSPSAUsage Line Amount (LCY) | Decimal | FlowField |
KVSPSAInvoicedLineAmountLCY | Decimal | FlowField |
KVSPSAInvoiced Line Amount | Decimal | FlowField |
KVSPSAUsage Line Amount | Decimal | FlowField |
KVSPSATime Liability (LCY) | Decimal | FlowField |
KVSPSAPhase Filter | Code[20] | FlowFilter |
KVSPSATask Filter | Code[20] | FlowFilter |
KVSPSAStep Filter | Code[20] | FlowFilter |
KVSPSAShowInResCapacityPlan | Option | OptionMembers: Budget,Job To-Do's |
KVSPSACause of Absence Code | Code[10] | |
KVSPSAJobComplReasonCode | Code[20] | |
KVSPSAPurchase Liability (LCY) | Decimal | Warning: Obsolete FlowField |
KVSPSASellToContactNoCust | Code[20] | |
KVSPSAGen. Bus. Posting Group | Code[20] | |
KVSPSAVAT Bus. Posting Group | Code[20] | |
KVSPSABudget Usage percentage | Decimal | |
KVSPSASales Quotes Number | Integer | FlowField |
KVSPSASales Orders Number | Integer | FlowField |
KVSPSAUnpSalesInvoicesNumber | Integer | FlowField |
KVSPSAUnpSalesCredMNumber | Integer | FlowField |
KVSPSAPostSalesInvNumberNA | Integer | FlowField |
KVSPSAPostSalesCredMNumberNA | Integer | FlowField |
KVSPSAAct. Profit percentage | Decimal | |
KVSPSAPurch. Quote Number | Integer | FlowField |
KVSPSAPurch. Order Number | Integer | FlowField |
KVSPSAJob Shipment Number | Integer | FlowField |
KVSPSAJob Vendor Ship. Numb. | Integer | FlowField |
KVSPSAPost. Job Ship. Number | Integer | FlowField |
KVSPSAPostJobVendorShipNumber | Integer | FlowField |
KVSPSARes. Prices Number | Integer | Warning: Obsolete FlowField |
KVSPSAItem Prices Number | Integer | Warning: Obsolete FlowField |
KVSPSAUnpPurchInvoicesNumber | Integer | FlowField |
KVSPSAUnpPurchCredMNumber | Integer | FlowField |
KVSPSASource IC Partner Code | Code[20] | |
KVSPSASourceICPartnerJobNo. | Code[20] | |
KVSPSAStatusICPostProcessing | Option | OptionMembers: ,Open,Processed |
KVSPSANo. of IC Partners | Integer | FlowField |
KVSPSAICPostProcResPricesOpen | Boolean | Warning: Obsolete FlowField |
KVSPSAOrder Quote Number | Integer | FlowField |
KVSPSAICPostProcPSPLineOpen | Boolean | FlowField |
KVSPSAICPostProcBudgetLineOpen | Boolean | FlowField |
KVSPSAICNewJobBudgetName | Code[10] | |
KVSPSAICNewVersionNo | Code[20] | |
KVSPSAPostPurchaseInvNumber | Integer | FlowField |
KVSPSAPostPurchaseCrMemoNumber | Integer | FlowField |
KVSPSAService Contract Number | Integer | FlowField |
KVSPSAServiceContractQuoteNumb | Integer | FlowField |
KVSPSAService Quote Number | Integer | FlowField |
KVSPSAService Order Number | Integer | FlowField |
KVSPSAService Invoice Number | Integer | FlowField |
KVSPSAServiceCreditMemoNumber | Integer | FlowField |
KVSPSAPostServiceInvoiceNumber | Integer | FlowField |
KVSPSAPostServiceCrMemoNumber | Integer | FlowField |
KVSPSAPrint Working Hours | Boolean | |
KVSPSAPrint Null Position | Boolean | |
KVSPSAPrint Document No. | Boolean | |
KVSPSAPrint Attachement | Boolean | |
KVSPSAPrint Grouping Resource | Boolean | |
KVSPSAPrint Item Lines | Boolean | |
KVSPSAPrint Resource Name | Boolean | |
KVSPSAPrint Grouping | Enum (KVSPSAPrintGroupingField) | |
KVSPSAPlanned Times | Decimal | FlowField |
KVSPSAPlanning Type Filter | Code[20] | FlowFilter |
KVSPSAGlobalDimension1Filter | Code[20] | FlowFilter |
KVSPSAScheduledResQty | Decimal | FlowField |
KVSPSAScheduledResGrQty | Decimal | FlowField |
KVSPSAAutoAmountinInvoicePlan | Boolean | |
KVSPSAManualUpdatePSPOnOpen | Boolean | |
KVSPSACostStatusIndicator | Text[2] | |
KVSPSATimeStatusIndicator | Text[2] | |
KVSPSAScopeStatusIndicator | Text[2] | |
KVSPSABudgetStatusIndicator | Text[2] | |
KVSPSAProfitStatusIndicator | Text[2] | |
KVSPSAICReviewResPriceOpen | Boolean | FlowField |
KVSPSA Distr. Templ. Code | Code[20] | |
KVSPSA Distribution Active | Boolean | |
KVSPSA Period Unit | Enum (KVSPSAPeriodUnitType) | |
KVSPSA Distribution Exists | Boolean | |
KVSPSA Last Manual Pl. Change | DateTime | |
KVSPSA Uncompl. PSP Line Ex. | Boolean | FlowField |
KVSPSA Unc. Budg. Line Exi. | Boolean | FlowField |
KVSPSA Initial Pl. Exec. | Boolean | |
KVSPSACheckDistrActEntries | Boolean | |
KVSPSA Finish Pl. in Job Queue | Boolean | |
KVSPSAUpdateDistrInJobQueue | Boolean | |
KVSPSA Last Overall Update | Date | |
KVSPSA Archive Distribution | Boolean | |
KVSPSAContactNoForTimeTracking | Enum (KVSPSAContactNoForTimeTracking) | |
KVSPSAICPartnerShiptoCustAddr | Boolean | |
KVSPSANo Surcharges | Boolean | |
KVSPSAArchived | Boolean | |
KVSPSAArchive DateTime | DateTime | |
KVSPSAArchive UserID | Code[50] | |
KVSPSAShip-to Contact No. | Code[20] |
Procedures#
KVSPSACalcBudgetIndicators() :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This procedure is not used anymore. Please use procedure KVSPSACalcIndicators instead', '24.2')]
procedure KVSPSACalcBudgetIndicators():
KVSPSACalcIndicators() :#
Summary: This procedure calculates the usage and profit then update budget status and profit status.
procedure KVSPSACalcIndicators():
KVSPSACalcNotInvJobLedger() : Decimal#
Summary: This procedure calculates the total line amount of usage job ledger entries that still not invoiced.
procedure KVSPSACalcNotInvJobLedger(): Decimal
Returns: Total line amount of usage job ledger entries that still not invoiced.
KVSPSACalcNotInvPayPlan() : Decimal#
Summary: This procedure calculates the total net amount of job payment planning entries that still not invoiced.
procedure KVSPSACalcNotInvPayPlan(): Decimal
Returns: Total net amount of job payment planning entries that still not invoiced.
KVSPSACalcProfitIndicators() :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This procedure is not used anymore. Please use procedure KVSPSACalcIndicators instead', '24.2')]
procedure KVSPSACalcProfitIndicators():
KVSPSACalcStockLiability() : Decimal#
Summary: This procedure calculates the stock liability for the current job. It sums up the cost amounts from value entries related to the job.
procedure KVSPSACalcStockLiability(): Decimal
Returns: Total stock liability for the job.
KVSPSACalculatePurchaseLiabilityLCY() : Decimal#
Summary: This procedure calculates the purchase liability by summing outstanding amounts of purchase order and purchase invoice.
procedure KVSPSACalculatePurchaseLiabilityLCY(): Decimal
Returns: Purchase liability of the Job.
KVSPSACheckPaymentPlanTotal(Option) :#
Summary: This procedure checks amount between job and job payment plan.
procedure KVSPSACheckPaymentPlanTotal(MessageType: Option):
Parameters:
MessageType
: Specifies the behavior of message to be displayed.
KVSPSACheckToFinish(Boolean) : Boolean#
Summary: This procedure checks if the job can be finished by verifying open sales and purchase documents.
procedure KVSPSACheckToFinish(HideError: Boolean): Boolean
Parameters:
HideError
: Specifies whether to hide error messages.
Returns: True if the job can be finished; otherwise, false.
KVSPSAChooseJobTemplate() : Code[20]#
Summary: This procedure ask if user want to create new job from job template. If yes, it will open job template list and when selected it will assign value to Job.
procedure KVSPSAChooseJobTemplate(): Code[20]
Returns: Job template code that user selected.
KVSPSACreateDimFromDefaultDim(Integer) :#
Summary: KVSPSACreateDimFromDefaultDim initializes the default dimensions. To use a priority, give a field number. the prioritized field will be the base for dimensions, if no priority has been set up.
procedure KVSPSACreateDimFromDefaultDim(FieldNo: Integer):
Parameters:
FieldNo
:
KVSPSACreateIntegrationDimension() :#
Summary: This procedure creates integration dimensions for the job.
procedure KVSPSACreateIntegrationDimension():
KVSPSACreateIntegrationDimFromTempl(Record KVSPSAJob Template) :#
Summary: This procedure creates integration dimensions from the job template.
procedure KVSPSACreateIntegrationDimFromTempl(JobTemplate: Record "KVSPSAJob Template"):
Parameters:
JobTemplate
: Job template that used for creating integration dimensions.
KVSPSACreateInteraction() :#
Summary: This procedure creates an interaction for the job. Interactions create with information from the contact and job.
procedure KVSPSACreateInteraction():
KVSPSACreateJob(Code[20]) :#
Summary: This procedure creates a job from a job template. It assign value to job base on provided job template.
procedure KVSPSACreateJob(JobTemplateCode: Code[20]):
Parameters:
JobTemplateCode
: Job template code used as source to assign value to job.
KVSPSACreateNewUserTask() :#
Summary: This procedure creates a new user task and open user task card page.
procedure KVSPSACreateNewUserTask():
KVSPSADeactivatedJobEvaluationEntriesExist() : Boolean#
Summary: Check if the job has any deactivated job evaluation entries
procedure KVSPSADeactivatedJobEvaluationEntriesExist(): Boolean
Returns: True = Deactivated job evaluation entries exist, False = No deactivated job evaluation entries exist
KVSPSADocumentNavigate() :#
Summary: This procedure open Job Documents page with current job.
procedure KVSPSADocumentNavigate():
KVSPSADrillDownStockLiability() :#
Summary: This procedure called when user drill down stock liability, it open value entries page that related to job.
procedure KVSPSADrillDownStockLiability():
KVSPSAExplodeJobConfigurator() :#
Summary: This procedure explodes the job configurator for the current job. It called when user create job from job wizard and use job configurator. It will create job psp line and job budget line base on job configurator.
procedure KVSPSAExplodeJobConfigurator():
KVSPSAInsertPSPFromTemplate(Boolean) :#
Summary: This procedure inserts PSP lines and budget lines from a template. It work when no psp line exist in psp header or else it will raise error.
procedure KVSPSAInsertPSPFromTemplate(WithMessage: Boolean):
Parameters:
WithMessage
: Specify whether to show a message or not.
KVSPSALookupShortcutDimCode(Integer, Code[20]) :#
Summary: This procedure open lookup page for dimension and save if user change dimension.
procedure KVSPSALookupShortcutDimCode(FieldNo: Integer; var ShortcutDimCode: Code[20]):
Parameters:
FieldNo
: The field number open lookup.ShortcutDimCode
: Dimension to show and modify.
KVSPSAOpenJobEvaluationEntriesExist() : Boolean#
Summary: Check if the job has any open job evaluation entries
procedure KVSPSAOpenJobEvaluationEntriesExist(): Boolean
Returns: True = Open job evaluation entries exist, False = No open job evaluation entries exist
KVSPSAOpenOriginBudget() :#
Summary: Allow Opening the original budget for forecasts
procedure KVSPSAOpenOriginBudget():
KVSPSAPrintEffortToInvoice() :#
Summary: This procedure run report Effort To Invoice for the current job.
procedure KVSPSAPrintEffortToInvoice():
KVSPSAPrintItemRequirements() :#
Summary: This procedure run report Item Requirements.
procedure KVSPSAPrintItemRequirements():
KVSPSAPrintJobComparison() :#
Summary: This procedure run report Budget vs. Actual for the current job. It priority active version first and then the latest version. If not found, it will show a message.
procedure KVSPSAPrintJobComparison():
KVSPSAPrintJobControllingOverview() :#
Summary: This procedure run report Job Controlling Overview for the current job.
procedure KVSPSAPrintJobControllingOverview():
KVSPSAPrintJobNotReleased() :#
Summary: This procedure run report Differing Project Quantities by Project Responsible.
procedure KVSPSAPrintJobNotReleased():
KVSPSAPrintJobNotReleasedByJob() :#
Summary: This procedure run report Project - Quantity Deviation by Project.
procedure KVSPSAPrintJobNotReleasedByJob():
KVSPSAPrintMasterData() :#
Summary: This procedure run report Project Base Data List for the current job.
procedure KVSPSAPrintMasterData():
KVSPSASetInsertFromTemplate(Boolean) :#
Summary: This procedure sets the flag in single instance codeunit to specific that job create from template
procedure KVSPSASetInsertFromTemplate(FromTemplate: Boolean):
Parameters:
FromTemplate
: Parameter to specify if job is created from template
KVSPSASetSecurityFilterOnRespCenter() :#
Summary: This procedure filter job responsibility center field if jobs responsibility center filter field in user setup has value for current user.
procedure KVSPSASetSecurityFilterOnRespCenter():
KVSPSAShowJobEvaluationTemplateListOrCard() :#
Summary: This procedure shows the job evaluation template list or card for the current job. If there only one template exists, it will open card page otherwise it will open list page.
procedure KVSPSAShowJobEvaluationTemplateListOrCard():
KVSPSAShowJobPaymentPlan() :#
Summary: This procedure open page Project Payment Plan for the current job.
procedure KVSPSAShowJobPaymentPlan():
Parameters:
- ``````:
KVSPSAJobPSPLine
: Job psp line that want to open Project Payment Plan.
KVSPSAShowJobPaymentPlan(Record KVSPSAJobPSPLine) :#
Summary: This procedure open page Project Payment Plan for the provided job psp line.
procedure KVSPSAShowJobPaymentPlan(KVSPSAJobPSPLine: Record "KVSPSAJobPSPLine"):
Parameters:
KVSPSAJobPSPLine
: Job psp line that want to open Project Payment Plan.
KVSPSAShowOpportunities() :#
Summary: This procedure open Opportunity List page for the current job.
procedure KVSPSAShowOpportunities():
KVSPSAShowPSP() :#
Summary: This procedure open page Job PSP Header for the current job. If Job PSP Header record not exist it also create one.
procedure KVSPSAShowPSP():
Parameters:
- ``````:
OnlyOpenPSPLines
: Specify whether to show only open PSP lines or not.- ``````:
- ``````:
- ``````:
OnlyOpen
: Specify whether to show only open lines or not.Position
: Position of the text line used for filtering.OnlyOpenPSPLines
: Only open PSP lines
KVSPSAShowPSPAndBudgetResourcePlanning(Boolean) :#
Summary: This procedure open Resource Request Worksheet page for the current job. It will find and open active version if there no active version it will raise error. It also filter work status base on provided parameter.
procedure KVSPSAShowPSPAndBudgetResourcePlanning(OnlyOpenPSPLines: Boolean):
Parameters:
OnlyOpenPSPLines
: Specify whether to show only open PSP lines or not.
KVSPSAShowPSPCompare() :#
Summary: This procedure opens the Budget vs. Actual page for the current job. It will find and open active version if there no active version it will raise error.
procedure KVSPSAShowPSPCompare():
KVSPSAShowPSPJobBudgetToDoOverview() :#
Summary: Runs the page WBS Budget Line Activity Overview for this project
procedure KVSPSAShowPSPJobBudgetToDoOverview():
KVSPSAShowPSPLinesForecast() :#
Summary: Shows the forecast
procedure KVSPSAShowPSPLinesForecast():
Parameters:
- ``````:
OnlyOpen
: Specify whether to show only open lines or not.
KVSPSAShowPSPLinesForecastCombined(Boolean) :#
Summary: This procedure opens the WBS-Lines - Forecast Combined page for the current job.
procedure KVSPSAShowPSPLinesForecastCombined(OnlyOpen: Boolean):
Parameters:
OnlyOpen
: Specify whether to show only open lines or not.
KVSPSAShowPSPTextLinesForJob(Enum KVSKBATextPosition) :#
Summary: This procedure opens Job Text Lines page for the current job.
procedure KVSPSAShowPSPTextLinesForJob(Position: Enum "KVSKBATextPosition"):
Parameters:
Position
: Position of the text line used for filtering.
KVSPSAShowPSPWithBudget(Boolean) :#
Summary: Open Page WBS Lines Incl. Budget Lines
procedure KVSPSAShowPSPWithBudget(OnlyOpenPSPLines: Boolean):
Parameters:
OnlyOpenPSPLines
: Only open PSP lines
KVSPSAShowRelatedUserTasks() :#
Summary: This procedure opens the related user tasks page for the current job. If there are no related user tasks, it exits without doing anything. If there only one related user task, it opens the user task card else it opens the user task list.
procedure KVSPSAShowRelatedUserTasks():
KVSPSAShowShortcutDimCode(Code[20]) :#
Summary: This procedure retrieves Shortcut Dimension from General Ledger Setup to provide array.
procedure KVSPSAShowShortcutDimCode(var ShortcutDimCode: Code[20]):
Parameters:
ShortcutDimCode
: Array used for storing the shortcut dimension codes.
KVSPSAStartJobICPostProcessing() :#
Summary: This procedure run report Project IC Review for the current job. It run in target company after transfer job from source company.
procedure KVSPSAStartJobICPostProcessing():
KVSPSAStartJobICProcessing() :#
Summary: This procedure run report Copy Project to Company for the current job. It run in source company to transfer job to target company.
procedure KVSPSAStartJobICProcessing():
KVSPSAStartPSPPlanning() :#
Summary: This procedure open PSP Scheduling page for the current job. It try to find active version if not found then raise error.
procedure KVSPSAStartPSPPlanning():
KVSPSASuspendConfirmCustomerChange(Boolean) :#
Summary: This procedure set value of GlobalConfirmCustomerChangeSuspended.
procedure KVSPSASuspendConfirmCustomerChange(ConfirmCustomerChangeSusp: Boolean):
Parameters:
ConfirmCustomerChangeSusp
: New value for GlobalConfirmCustomerChangeSuspended.
KVSPSATestBlockedTimes() :#
Summary: This procedure raise error message if current job has blocked value match condition.
procedure KVSPSATestBlockedTimes():
KVSPSAUpdateCurrencyFactor() :#
Summary: This procedure updates the job invoice currency factor base on job invoice currency code.
procedure KVSPSAUpdateCurrencyFactor():
KVSPSAUpdateDimIntoPSP(Boolean, Record Default Dimension, Boolean) :#
Summary: This procedure transfer changed for dimensions from job to job psp line. It called when dimension changed in job.
procedure KVSPSAUpdateDimIntoPSP(FromDelete: Boolean; DefaultDimension: Record "Default Dimension"; UserQuestion: Boolean):
Parameters:
FromDelete
: Specifies if changed come from delete.DefaultDimension
: Dimensions that had changed.UserQuestion
: Specifies if confirmation should be asked.
KVSPSAUpdateShipToCust(Code[20]) :#
Summary: This procedure updates the ship-to customer information based on the provided contact number.
procedure KVSPSAUpdateShipToCust(ContactNo: Code[20]):
Parameters:
ContactNo
: The contact number to update the ship-to customer information.
Events#
KVSPSAOnAfterInitDefaultDimensionSources(Record Job, List, Integer) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterInitDefaultDimensionSources(var Job: Record "Job"; var DefaultDimSource: List; FieldNo: Integer):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnAfterInitDefaultDimensionSources', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterInitDefaultDimensionSources(var Job: Record "Job"; var DefaultDimSource: List; FieldNo: Integer)
begin
end;
KVSPSAOnAfterSelectReportForJobICProcessing(Record Job, Record Job, Boolean, Integer) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterSelectReportForJobICProcessing(var FilteredJob: Record "Job"; ActualJob: Record "Job"; var UseRequestPage: Boolean; var ReportID: Integer):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnAfterSelectReportForJobICProcessing', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterSelectReportForJobICProcessing(var FilteredJob: Record "Job"; ActualJob: Record "Job"; var UseRequestPage: Boolean; var ReportID: Integer)
begin
end;
KVSPSAOnAfterSetFilterPurchaseLineInCheckToFinish(Record Job, Record Purchase Line) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterSetFilterPurchaseLineInCheckToFinish(var Job: Record "Job"; var PurchaseLine: Record "Purchase Line"):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnAfterSetFilterPurchaseLineInCheckToFinish', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterSetFilterPurchaseLineInCheckToFinish(var Job: Record "Job"; var PurchaseLine: Record "Purchase Line")
begin
end;
KVSPSAOnBeforeCheckJobDateCompareToActivePSPLines(Record Job, Integer, Code[10], Code[20], Boolean) :#
Summary: KVSPSAOnBeforeCheckJobDateCompareToActivePSPLines is an integration event that can be used to handle the logic before checking the job date against active PSP lines. It allows for custom logic to be executed before the date comparison, and can be used to modify the behavior of the check.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckJobDateCompareToActivePSPLines(Job: Record "Job"; FieldNo: Integer; JobBudgetName: Code[10]; VersionNo: Code[20]; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnBeforeCheckJobDateCompareToActivePSPLines', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckJobDateCompareToActivePSPLines(Job: Record "Job"; FieldNo: Integer; JobBudgetName: Code[10]; VersionNo: Code[20]; var IsHandled: Boolean)
begin
end;
Parameters:
Job
:FieldNo
:JobBudgetName
:VersionNo
:IsHandled
:
KVSPSAOnBeforeCheckMandatoryFieldsAction(Boolean, Boolean) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAOnBeforeCheckMandatoryFieldsAction(ShowAction: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnBeforeCheckMandatoryFieldsAction', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckMandatoryFieldsAction(ShowAction: Boolean; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeCheckPersonResponsible(Record Job, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckPersonResponsible(var Job: Record "Job"; var SkipCheck: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnBeforeCheckPersonResponsible', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckPersonResponsible(var Job: Record "Job"; var SkipCheck: Boolean)
begin
end;
KVSPSAOnBeforeChooseJobTemplate(Record Job, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChooseJobTemplate(var Job: Record "Job"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnBeforeChooseJobTemplate', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeChooseJobTemplate(var Job: Record "Job"; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeCreateDimFromDefaultDim(Record Job, Integer, Boolean) :#
Summary: KVSPSAOnBeforeCreateDimFromDefaultDim allows you to skip the creation or implment your own logic.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCreateDimFromDefaultDim(var Rec: Record "Job"; FieldNo: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnBeforeCreateDimFromDefaultDim', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCreateDimFromDefaultDim(var Rec: Record "Job"; FieldNo: Integer; var IsHandled: Boolean)
begin
end;
Parameters:
Rec
:FieldNo
:IsHandled
:
KVSPSAOnBeforeFillSellToAddressFromCompanyContact(Record Job, Record Contact, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeFillSellToAddressFromCompanyContact(var Job: Record "Job"; CompanyContact: Record "Contact"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnBeforeFillSellToAddressFromCompanyContact', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeFillSellToAddressFromCompanyContact(var Job: Record "Job"; CompanyContact: Record "Contact"; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeFillShipToAddressFromCompanyContact(Record Job, Record Contact, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeFillShipToAddressFromCompanyContact(var Job: Record "Job"; CompanyContact: Record "Contact"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnBeforeFillShipToAddressFromCompanyContact', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeFillShipToAddressFromCompanyContact(var Job: Record "Job"; CompanyContact: Record "Contact"; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeInitDefaultDimensionSources(Record Job, List, Integer) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeInitDefaultDimensionSources(var Job: Record "Job"; var DefaultDimSource: List; FieldNo: Integer):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnBeforeInitDefaultDimensionSources', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeInitDefaultDimensionSources(var Job: Record "Job"; var DefaultDimSource: List; FieldNo: Integer)
begin
end;
KVSPSAOnBeforeOnRename(Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeOnRename(var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnBeforeOnRename', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeOnRename(var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeSetFilterPurchaseLiabilityLCY(Record Job, Record Purchase Line, Boolean, Decimal, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSetFilterPurchaseLiabilityLCY(var Job: Record "Job"; var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; var PurchaseLiabilityLCY: Decimal; GLAccount: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnBeforeSetFilterPurchaseLiabilityLCY', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSetFilterPurchaseLiabilityLCY(var Job: Record "Job"; var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; var PurchaseLiabilityLCY: Decimal; GLAccount: Boolean)
begin
end;
KVSPSAOnBeforeStartJobICProcessing(Record Job, Record Job, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeStartJobICProcessing(var FilteredJob: Record "Job"; ActualJob: Record "Job"; var UseRequestPage: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnBeforeStartJobICProcessing', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeStartJobICProcessing(var FilteredJob: Record "Job"; ActualJob: Record "Job"; var UseRequestPage: Boolean)
begin
end;
KVSPSAOnBeforeUpdateContSell(Record Job, Record Contact, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeUpdateContSell(var Job: Record "Job"; CompanyContact: Record "Contact"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnBeforeUpdateContSell', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeUpdateContSell(var Job: Record "Job"; CompanyContact: Record "Contact"; var IsHandled: Boolean)
begin
end;
KVSPSAOnLookupStatusCheckMandatoryFields(Record Job, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnLookupStatusCheckMandatoryFields(var Job: Record "Job"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnLookupStatusCheckMandatoryFields', '', false, false)]
local procedure DoSomethingKVSPSAOnLookupStatusCheckMandatoryFields(var Job: Record "Job"; var IsHandled: Boolean)
begin
end;
KVSPSAOnPSPPageAfterNewVersionElse(Enum KVSPSADefaultPSPPageType, Record KVSPSAJobPSPHeader, Record KVSPSAJobPSPLine) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnPSPPageAfterNewVersionElse(DefaultPSPPageType: Enum "KVSPSADefaultPSPPageType"; JobPSPHeader: Record "KVSPSAJobPSPHeader"; JobPSPLine: Record "KVSPSAJobPSPLine"):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnPSPPageAfterNewVersionElse', '', false, false)]
local procedure DoSomethingKVSPSAOnPSPPageAfterNewVersionElse(DefaultPSPPageType: Enum "KVSPSADefaultPSPPageType"; JobPSPHeader: Record "KVSPSAJobPSPHeader"; JobPSPLine: Record "KVSPSAJobPSPLine")
begin
end;
KVSPSAOnPSPPageAfterNewVersionOptElse(Enum KVSPSAVersionSelecOpenPlanType, Boolean, Record KVSPSAJobPSPHeader, Record KVSPSAJobPSPHeader, Record KVSPSAJobPSPHeader, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnPSPPageAfterNewVersionOptElse(NewVersionPSPPageType: Enum "KVSPSAVersionSelecOpenPlanType"; var IsHandled: Boolean; var JobPSPHeader: Record "KVSPSAJobPSPHeader"; var NewJobPSPHeader: Record "KVSPSAJobPSPHeader"; var OldJobPSPHeader: Record "KVSPSAJobPSPHeader"; SkipMessage: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJob", 'KVSPSAOnPSPPageAfterNewVersionOptElse', '', false, false)]
local procedure DoSomethingKVSPSAOnPSPPageAfterNewVersionOptElse(NewVersionPSPPageType: Enum "KVSPSAVersionSelecOpenPlanType"; var IsHandled: Boolean; var JobPSPHeader: Record "KVSPSAJobPSPHeader"; var NewJobPSPHeader: Record "KVSPSAJobPSPHeader"; var OldJobPSPHeader: Record "KVSPSAJobPSPHeader"; SkipMessage: Boolean)
begin
end;