Table 14 Location

Base Application, Microsoft.Inventory.Location

Source AL, 1,200 lines

src/Layers/W1/BaseApp/Inventory/Location/Location.Table.allines 28 to 43 of 1,200, Copyright (c) Microsoft Corporation. MIT

table 14 Location{    Caption = 'Location';    DataCaptionFields = "Code", Name;    DrillDownPageID = "Location List";    LookupPageID = "Location List";    DataClassification = CustomerContent;    fields    {        field(1; "Code"; Code[10])        {            Caption = 'Code';            ToolTip = 'Specifies a location code for the warehouse or distribution center where your items are handled and stored before being sold.';            NotBlank = true;        }

All 1,200 lines

Fields 53 in 29

1CodeCode[10]17-29
2NameText[100]17-29
130Default Bin CodeCode[20]17-29
5700Name 2Text[50]17-29
5701AddressText[100]17-29
5702Address 2Text[50]17-29
5703CityText[30]17-29
5704Phone No.Text[30]17-29
5705Phone No. 2Text[30]17-29

All 57 fields in 17-29

Events 15 in 29

[IntegrationEvent] OnBeforeValidateUseCrossDocking(var Location: Record Location; xLocation: Record Location; CurrentFieldNo: Integer; var IsHandled: Boolean)17-29
[IntegrationEvent] OnGetLocationSetupOnAfterInitLocation(var Location: Record Location; var Location2: Record Location)17-29
[IntegrationEvent] OnBeforeWMSCheckWarehouse(var Location: Record Location; var IsHandled: Boolean)17-29
[IntegrationEvent] OnValidateBinMandatoryOnBeforeItemLedgEntrySetFilters(var Location: Record Location)17-29
[IntegrationEvent] OnValidateBinMandatoryOnAfterItemLedgEntrySetFilters(var Location: Record Location)17-29
[IntegrationEvent] OnValidateBinMandatoryOnAfterWhseEntrySetFilters(var Location: Record Location; var WhseEntry: Record "Warehouse Entry")17-29
[IntegrationEvent] OnAfterLookupCity(var Location: Record Location; var PostCode: Record "Post Code")new in 21

All 16 events in 17-29

Public procedures 19 in 29

RequireShipment(LocationCode: Code[10]): Boolean17-29
RequirePicking(LocationCode: Code[10]): Boolean17-29
RequireReceive(LocationCode: Code[10]): Boolean17-29
RequirePutaway(LocationCode: Code[10]): Boolean17-29
GetLocationSetup(LocationCode: Code[10]; var Location2: Record Location): Boolean17-29
GetRequirementText(FieldNumber: Integer): Text[50]17-29

All 20 procedures in 17-29

Extended in Microsoft's apps by 2

tableextension 6102 "E-Doc. Location"E-Document Corenew in 27
tableextension 99000761 "Mfg. Location"Base Applicationnew in 26

Trigger events 10

OnBeforeInsertEvent(var Rec: Record Location; RunTrigger: Boolean)
OnAfterInsertEvent(var Rec: Record Location; RunTrigger: Boolean)
OnBeforeModifyEvent(var Rec: Record Location; var xRec: Record Location; RunTrigger: Boolean)
OnAfterModifyEvent(var Rec: Record Location; var xRec: Record Location; RunTrigger: Boolean)
OnBeforeDeleteEvent(var Rec: Record Location; RunTrigger: Boolean)
OnAfterDeleteEvent(var Rec: Record Location; RunTrigger: Boolean)
OnBeforeRenameEvent(var Rec: Record Location; var xRec: Record Location; RunTrigger: Boolean)
OnAfterRenameEvent(var Rec: Record Location; var xRec: Record Location; RunTrigger: Boolean)
OnBeforeValidateEvent(var Rec: Record Location; var xRec: Record Location; CurrFieldNo: Integer)
per field, ElementName: field name
OnAfterValidateEvent(var Rec: Record Location; var xRec: Record Location; CurrFieldNo: Integer)
per field, ElementName: field name

Changes 7 in 28

List17181920212223242526272829
Fields11161212
Procedures1111122
Events6113
field(7314; "To-Production Bin Code"; Code[20])gone after 27
gone
field(7315; "From-Production Bin Code"; Code[20])gone after 27
gone
IsBinBWProdOutput(BinCode: Code[20]): Boolean26 to 27
gone
IsProdConsumpWhseHandlingTypeWarehousePick(): Booleannew in 28
added
[IntegrationEvent] OnValidateBinMandatoryOnAfterCheckBins(Location: Record Location)25 to 27
gone
[IntegrationEvent] OnValidateBinMandatoryOnAfterCheckBins(var Location: Record Location)new in 28
added

All 35 changes in 17-29