Source AL, 45 lines
src/Apps/W1/Subcontracting/App/src/Purchase/SubcPurchaseHeader.TableExt.allines 10 to 25 of 45, Copyright (c) Microsoft Corporation. MIT
tableextension 20509 "Subc. Purchase Header" extends "Purchase Header"{ AllowInCustomizations = AsReadOnly; fields { field(20520; "Subc. Location Code"; Code[10]) { Caption = 'Subcontracting Location Code'; DataClassification = CustomerContent; TableRelation = Location where("Use As In-Transit" = const(false)); ToolTip = 'Specifies the code for the location where the subcontracted items are stored for pickup and delivery.'; trigger OnValidate() var Location: Record Location; BinMandatorySubcontrLocationErr: Label 'Location %1 cannot be used as a Subcontracting Location because Bin Mandatory is enabled.', Comment = '%1 = Location Code'; begin
All 45 lines
Fields 2 in 29
Extends 1