KVSPSAJob&Resource Subscribers
Procedures
GetMainJobNoForJob(Code[20]) : Code[20]
OBSOLETE
This Element will be removed or changed with a future Version of the App.
[Obsolete('Use field KVSPSAFirstMainJobNo in table job', '26.5')]
procedure GetMainJobNoForJob(JobNo: Code[20]): Code[20]
CreateJobDimensions(List, Record Job) :
procedure CreateJobDimensions(var DefaultDimSource: List; var Job: Record "Job"):
GetIntegerPos(Code[20], Integer, Integer) :
OBSOLETE
This Element will be removed or changed with a future Version of the App.
[Obsolete('Use GetCountingPartOfNumber in "KVSPSAGeneral Functions PSA"', '26.5')]
procedure GetIntegerPos(Number: Code[20]; var StartPos: Integer; var EndPos: Integer):
Events
KVSPSAOnAfterValidatePersonResponsibleJobOnBeforeCreateJobDimensions(Record Job, Record Job, Boolean) :
Summary: Event to be called after validating the person responsible job on before create job dimensions
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterValidatePersonResponsibleJobOnBeforeCreateJobDimensions(var Job: Record "Job"; var xJob: Record "Job"; var IsHandled: Boolean):
Parameters:
Job: The Record Job that is currently validatedxJob: The xRec Job of the Record that is currently validatedIsHandled: Boolean to check or set if the event is handled
KVSPSAOnBeforeCheckUserAndSetJournalOnOpenJobJournal(Record Job Journal Line, Code[10], Boolean) :
Summary: event to be called before checking the user and setting the journal on open job journal
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckUserAndSetJournalOnOpenJobJournal(var JobJournalLine: Record "Job Journal Line"; var CurrentJnlBatchName: Code[10]; var IsHandled: Boolean):
Parameters:
JobJournalLine: The Record Job Journal Line to CheckCurrentJnlBatchName: The Current Journal Batch NameIsHandled: Boolean to check or set if the event is handled
KVSPSAOnBeforeIsShowRecGetPostDocPRcptLnSbfrmAfterSetUseJobPurchWInventory(Record Purch. Rcpt. Line, Boolean, Boolean, Decimal, Decimal, Boolean, Boolean) :
Summary: Event to be called before checking the Purch. Rcpt. Line to set the Use Job Purchase W Inventory
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeIsShowRecGetPostDocPRcptLnSbfrmAfterSetUseJobPurchWInventory(PurchRcptLine: Record "Purch. Rcpt. Line"; var RevQtyFilter: Boolean; var Result: Boolean; var RemainingQty: Decimal; var RevUnitCostLCY: Decimal; FillExactCostReverse: Boolean; var UseJobPurchaseWInventory: Boolean):
Parameters:
PurchRcptLine: The Record Purch. Rcpt. Line to CheckRevQtyFilter: The Reverse Quantity FilterResult: The ResultRemainingQty: The Remaining QuantityRevUnitCostLCY: The Reverse Unit Cost LCYFillExactCostReverse: The Fill Exact Cost ReverseUseJobPurchaseWInventory: The Use Job Purchase W Inventory from JobsSetup
KVSPSAOnBeforeJobLedgEntryExist(Option, Record Job, Boolean, Boolean) :
Summary: event to be called before checking the job ledger entry exist
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeJobLedgEntryExist(JobLedgerEntryType: Option; var Job: Record "Job"; var ReturnValue: Boolean; var IsHandled: Boolean):
Parameters:
JobLedgerEntryType: The Job Ledger Entry Type OptionJob: The Record Job to CheckReturnValue: The Return ValueIsHandled: Boolean to check or set if the event is handled
KVSPSAOnBeforeCheckSamePerson(Boolean) :
Summary: evemt to be called before checking the same person
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckSamePerson(var SkipCheck: Boolean):
Parameters:
SkipCheck: Boolean to check or set if the process should be skipped
KVSPSAOnCheckJobsSetupInIsChangeJobCustomerWithExistingSalesPostingsAllowed(Record Job, Record Jobs Setup, Enum KVSPSASetupCustChangeDespReven, Boolean) :
Summary: event to be called before checking the jobs setup in is change job customer with existing sales postings allowed
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCheckJobsSetupInIsChangeJobCustomerWithExistingSalesPostingsAllowed(var Job: Record "Job"; var JobsSetup: Record "Jobs Setup"; var CurrentSetupCustChangeDespRevenue: Enum "KVSPSASetupCustChangeDespReven"; var IsHandled: Boolean):
Parameters:
Job: The Record JobJobsSetup: The Record Jobs SetupCurrentSetupCustChangeDespRevenue: The Current Setup Cust Change Desp RevenueIsHandled: Boolean to check or set if the event is handled
KVSPSAOnFromJobsToShipmentLineOnBeforeCreateShipmentLine(Record Warehouse Shipment Header, Record Warehouse Shipment Line, Record KVSPSAJob Document Header, Record KVSPSAJob Document Line) :
Summary: event to be called before creating the shipment line on from jobs to shipment line
[IntegrationEvent(false, false)]
local procedure KVSPSAOnFromJobsToShipmentLineOnBeforeCreateShipmentLine(var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var JobDocumentHeader: Record "KVSPSAJob Document Header"; var JobDocumentLine: Record "KVSPSAJob Document Line"):
Parameters:
WarehouseShipmentHeader: The Record Warehouse Shipment HeaderWarehouseShipmentLine: The Record Warehouse Shipment LineJobDocumentHeader: The Record KVSPSAJob Document HeaderJobDocumentLine: The Record KVSPSAJob Document Line
KVSPSAOnBeforeCreateJobDimensions(List, Record Job, Boolean) :
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCreateJobDimensions(var DefaultDimSource: List; var Job: Record "Job"; var IsHandled: Boolean):