Source AL, 67 lines
src/Layers/W1/BaseApp/Service/Document/ServiceHeaderApply.Codeunit.allines 9 to 24 of 67, Copyright (c) Microsoft Corporation. MIT
codeunit 5971 "Service Header Apply"{ TableNo = "Service Header"; trigger OnRun() begin ServHeader.Copy(Rec); BilToCustNo := ServHeader."Bill-to Customer No."; CustLedgEntry.SetCurrentKey("Customer No.", Open); CustLedgEntry.SetRange("Customer No.", BilToCustNo); CustLedgEntry.SetRange(Open, true); OnRunOnAfterSetCustLedgEntryFilters(CustLedgEntry, ServHeader); if ServHeader."Applies-to ID" = '' then ServHeader."Applies-to ID" := ServHeader."No."; if ServHeader."Applies-to ID" = '' then Error(Text000, ServHeader.FieldCaption("No."), ServHeader.FieldCaption("Applies-to ID"));
All 67 lines
Events 1 in 29
Changes 1 in 21
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Events | | | | | 1 | | | | | | | | |
|---|
All 1 changes in 17-29