Table extension 4816 Intrastat Report Serv. Head.

Intrastat Core, Microsoft.Inventory.Intrastat

Source AL, 146 lines

src/Apps/W1/Intrastat/app/src/BaseAppExtensions/Service/IntrastatReportServHead.TableExt.allines 11 to 26 of 146, Copyright (c) Microsoft Corporation. MIT

tableextension 4816 "Intrastat Report Serv. Head." extends "Service Header"{    fields    {        modify("Customer No.")        {            trigger OnAfterValidate()            begin                UpdateIntrastatFields(FieldNo("Customer No."));            end;        }        modify("Bill-to Customer No.")        {            trigger OnAfterValidate()            begin                UpdateIntrastatFields(FieldNo("Bill-to Customer No."));

All 146 lines

Events 3 in 29

[IntegrationEvent] OnBeforeUpdateIntrastatFields(var ServiceHeader: Record "Service Header"; FieldNo: Integer; var IsHandled: Boolean)new in 22
[IntegrationEvent] OnAfterUpdateIntrastatFields(var ServiceHeader: Record "Service Header"; var Customer: Record Customer; var IntrastatReportSetup: Record "Intrastat Report Setup"; FieldNo: Integer)new in 23
[IntegrationEvent] OnBeforeCheckIsIntrastatTransaction(ServiceHeader: Record "Service Header"; var Result: Boolean; var IsHandled: Boolean)new in 26

Public procedures 1 in 29

IsIntrastatTransaction(): Booleannew in 26

All 3 procedures in 21-29

Extends 1

table 5900 "Service Header"Base Application17-29

Changes 4 in 26

List17181920212223242526272829
Procedures3
Events111
IsIntrastatTransaction(): Booleannew in 26
added
internal ShipOrReceiveInventoriableTypeItems(): Booleannew in 26
added
internal CheckIntrastatMandatoryFields()new in 26
added
[IntegrationEvent] OnBeforeCheckIsIntrastatTransaction(ServiceHeader: Record "Service Header"; var Result: Boolean; var IsHandled: Boolean)new in 26
added

All 6 changes in 21-29