Codeunit 18126550 EOS EX09004 ETO Job Locations
Codeunit 18126550 EOS EX09004 ETO Job Locations
Methods
CreateJobLocationFromJSH
procedure CreateJobLocationFromJSH(var JobStructureHeader: Record "M365 Job Structure Header")
Parameters / Return Value
- JobStructureHeader
Record "M365 Job Structure Header"
CreateJobLocation
procedure CreateJobLocation(LocationCode: code[10]; JobStructureHeaderNo: Code[20]) Created: Boolean
Parameters / Return Value
LocationCode
code[10]
JobStructureHeaderNo
Code[20]
Returns
Boolean
CreateJobLocation
procedure CreateJobLocation(LocationCode: code[10]; JobStructureHeaderNo: Code[20]; LocationDescription: Text) Created: Boolean
Parameters / Return Value
LocationCode
code[10]
JobStructureHeaderNo
Code[20]
LocationDescription
Text[]
Returns
Boolean
JobStructureLineValidateJobReplenishmentSystem
procedure JobStructureLineValidateJobReplenishmentSystem(var JobStructureLine: Record "M365 Job Structure Line")
Parameters / Return Value
- JobStructureLine
Record "M365 Job Structure Line"
Events
OnBeforeCreateJobLocation
local procedure OnBeforeCreateJobLocation(var JobStructureHeader: Record "M365 Job Structure Header"; var LocationCode: code[20]; var LocationName: Text; var IsHandled: Boolean)
Raised before creating the new Job Location from Job Structure
Parameters / Return Value
JobStructureHeader
Record "M365 Job Structure Header"
The source job structure header
LocationCode
code[20]
The code that will be assigned to the new location
LocationName
Text[]
Location Name
IsHandled
Boolean
if set to true, location creation will be skipped
OnAfterCreateJobLocation
local procedure OnAfterCreateJobLocation(var JobStructureHeader: Record "M365 Job Structure Header"; LocationCode: code[20]; LocationName: Text)
Raised after creating the new Job Location from Job Structure
Parameters / Return Value
JobStructureHeader
Record "M365 Job Structure Header"
The source job structure header
LocationCode
code[20]
The code assigned to the new location
LocationName
Text[]
Location Name
OnAfterInsertJobLocation
local procedure OnAfterInsertJobLocation(NewJobLocation: Record Location; JobLocation: Record Location)
Raised after creating the new Job Location
Parameters / Return Value
NewJobLocation
Record "Location"
The new job location created
JobLocation
Record "Location"
The default job location (from setup) from which the new location was created
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.