KVSPSAMainJobLine#
Fields#
| Name | Type | Note |
|---|---|---|
| Main Job No. | Code[20] | |
| Line No. | Integer | |
| Job No. | Code[20] | |
| Description | Text[100] | FlowField |
| Starting Date | Date | FlowField |
| Ending Date | Date | FlowField |
| Global Dimension 1 Code | Code[20] | FlowField |
| Global Dimension 2 Code | Code[20] | FlowField |
| Person Responsible | Code[20] | FlowField |
| Person Responsible Name | Text[100] | FlowField |
| Job Status | Enum Job Status | FlowField |
| Comment | Boolean | FlowField |
| Job Type | Code[10] | FlowField |
Events#
OnAfterUpdateJobWihtMainJob(Record Job, Record KVSPSAMainJobLine) :#
Summary: Integration event that is raised after the job has been updated with the main job number. Subscribe to this event to perform additional processing after the update.
[IntegrationEvent(false, false)]
local procedure OnAfterUpdateJobWihtMainJob(var Job: Record "Job"; MainJobLine: Record "KVSPSAMainJobLine"):
[EventSubscriber(ObjectType::Table, Table::"KVSPSAMainJobLine", 'OnAfterUpdateJobWihtMainJob', '', false, false)]
local procedure DoSomethingOnAfterUpdateJobWihtMainJob(var Job: Record "Job"; MainJobLine: Record "KVSPSAMainJobLine")
begin
end;
Parameters:
Job: The job record that was updated.MainJobLine: The main job line record containing the main job number.
OnBeforeUpdateJobWihtMainJob(Record Job, Record KVSPSAMainJobLine, Boolean) :#
Summary: Integration event that is raised before updating the job with the main job number. Subscribe to this event to override the default behavior.
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateJobWihtMainJob(var Job: Record "Job"; MainJobLine: Record "KVSPSAMainJobLine"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSPSAMainJobLine", 'OnBeforeUpdateJobWihtMainJob', '', false, false)]
local procedure DoSomethingOnBeforeUpdateJobWihtMainJob(var Job: Record "Job"; MainJobLine: Record "KVSPSAMainJobLine"; var IsHandled: Boolean)
begin
end;
Parameters:
Job: The job record to be updated.MainJobLine: The main job line record containing the main job number.IsHandled: Set to true to skip the default update logic.