Page 54 Purchase Order Subform

Base Application, Microsoft.Purchases.Document

src/Layers/W1/BaseApp/Purchases/Document/PurchaseOrderSubform.Page.al99 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

Type.OnValidate line 54, trigger

  1. 56callsNoOnAfterValidate
  2. 58callsUpdateEditableOnRow
  3. 59callsUpdateTypeText
  4. 60callsDeltaUpdateTotals

FilteredTypeField.OnValidate line 73, trigger

  1. 75callsTable 1670 Option Lookup Buffer SetCurrentType
  2. 76callsTable 1670 Option Lookup Buffer AutoCompleteLookup
  3. 77validatesTable 39 Purchase Line Type
  4. 78callsTable 1670 Option Lookup Buffer ValidateOption
  5. 79callsUpdateEditableOnRow
  6. 80callsUpdateTypeText
  7. 81callsDeltaUpdateTotals

No..OnValidate line 90, trigger

  1. 92callsTable 39 Purchase Line ShowShortcutDimCode
  2. 93callsNoOnAfterValidate
  3. 95callsUpdateTypeText
  4. 96callsDeltaUpdateTotals

Item Reference No..OnLookup line 108, trigger

  1. 113callsCodeunit 5720 Item Reference Management PurchaseReferenceNoLookUp
  2. 114callsInsertExtendedText
  3. 115callsNoOnAfterValidate
  4. 116callsDeltaUpdateTotals
  5. 117raisesOnItemReferenceNoOnLookup

Item Reference No..OnValidate line 121, trigger

  1. 123callsInsertExtendedText
  2. 124callsNoOnAfterValidate
  3. 125callsDeltaUpdateTotals

Variant Code.OnValidate line 150, trigger

  1. 154callsDeltaUpdateTotals
  2. 156callsTable 27 Item IsVariantMandatory

Gen. Bus. Posting Group.OnValidate line 169, trigger

  1. 171callsDeltaUpdateTotals

Gen. Prod. Posting Group.OnValidate line 179, trigger

  1. 181callsDeltaUpdateTotals

VAT Bus. Posting Group.OnValidate line 189, trigger

  1. 191callsForceTotalsCalculation
  2. 192callsDeltaUpdateTotals

VAT Prod. Posting Group.OnValidate line 200, trigger

  1. 202callsForceTotalsCalculation
  2. 203callsDeltaUpdateTotals

Description.OnValidate line 211, trigger

  1. 213callsTable 39 Purchase Line RestoreLookupSelection
  2. 215callsNoOnAfterValidate
  3. 220callsTable 39 Purchase Line ShowShortcutDimCode
  4. 221callsDeltaUpdateTotals

Description.OnAfterLookup line 224, trigger

  1. 226callsTable 39 Purchase Line SaveLookupSelection

Location Code.OnValidate line 257, trigger

  1. 259callsTable 39 Purchase Line ShowShortcutDimCode
  2. 260callsDeltaUpdateTotals

Quantity.OnValidate line 277, trigger

  1. 280callsDeltaUpdateTotals
  2. 281callsSetItemChargeFieldsStyle

Unit of Measure Code.OnValidate line 301, trigger

  1. 303callsDeltaUpdateTotals

Direct Unit Cost.OnValidate line 320, trigger

  1. 322callsDeltaUpdateTotals

Tax Area Code.OnValidate line 353, trigger

  1. 355callsDeltaUpdateTotals

Tax Group Code.OnValidate line 363, trigger

  1. 365callsDeltaUpdateTotals

Line Discount %.OnValidate line 381, trigger

  1. 383callsDeltaUpdateTotals

Line Amount.OnValidate line 393, trigger

  1. 395callsDeltaUpdateTotals

Line Discount Amount.OnValidate line 403, trigger

  1. 405callsDeltaUpdateTotals

Allow Invoice Disc..OnValidate line 438, trigger

  1. 440callsDeltaUpdateTotals

Inv. Discount Amount.OnValidate line 448, trigger

  1. 450callsDeltaUpdateTotals

Qty. to Receive.OnValidate line 463, trigger

  1. 465callsSetItemChargeFieldsStyle

Qty. to Invoice.OnValidate line 490, trigger

  1. 492callsSetItemChargeFieldsStyle

Matched Inv./Cr. Memo Lines.OnDrillDown line 539, trigger

  1. 543callsCodeunit 5826 Matched Order Line Mgmt. ShowMatchedInvoiceLines

Qty. to Assign.OnDrillDown line 566, trigger

  1. 569callsTable 39 Purchase Line ShowItemChargeAssgnt
  2. 570callsUpdateForm

Item Charge Qty. to Handle.OnDrillDown line 579, trigger

  1. 582callsTable 39 Purchase Line ShowItemChargeAssgnt
  2. 583callsUpdateForm

Qty. Assigned.OnDrillDown line 591, trigger

  1. 594callsTable 39 Purchase Line ShowItemChargeAssgnt
  2. 595callsUpdateForm

Allocation Account No..OnValidate line 603, trigger

  1. 607callsCodeunit 2679 Purchase Alloc. Acc. Mgt. VerifySelectedAllocationAccountNo

Job No..OnValidate line 615, trigger

  1. 617callsTable 39 Purchase Line ShowShortcutDimCode

Job Task No..OnValidate line 625, trigger

  1. 627callsTable 39 Purchase Line ShowShortcutDimCode

Deferral Code.OnAssistEdit line 757, trigger

  1. 761callsTable 39 Purchase Line ShowDeferralSchedule

ShortcutDimCode3.OnValidate line 783, trigger

  1. 785callsTable 39 Purchase Line ValidateShortcutDimCode
  2. 787raisesOnAfterValidateShortcutDimCode

ShortcutDimCode4.OnValidate line 799, trigger

  1. 801callsTable 39 Purchase Line ValidateShortcutDimCode
  2. 803raisesOnAfterValidateShortcutDimCode

ShortcutDimCode5.OnValidate line 815, trigger

  1. 817callsTable 39 Purchase Line ValidateShortcutDimCode
  2. 819raisesOnAfterValidateShortcutDimCode

ShortcutDimCode6.OnValidate line 831, trigger

  1. 833callsTable 39 Purchase Line ValidateShortcutDimCode
  2. 835raisesOnAfterValidateShortcutDimCode

ShortcutDimCode7.OnValidate line 847, trigger

  1. 849callsTable 39 Purchase Line ValidateShortcutDimCode
  2. 851raisesOnAfterValidateShortcutDimCode

ShortcutDimCode8.OnValidate line 863, trigger

  1. 865callsTable 39 Purchase Line ValidateShortcutDimCode
  2. 867raisesOnAfterValidateShortcutDimCode

AmountBeforeDiscount.OnValidate line 978, trigger

  1. 980callsCodeunit 57 Document Totals PurchaseDocTotalsNotUpToDate

Invoice Discount Amount.OnValidate line 993, trigger

  1. 995callsValidateInvoiceDiscountAmount
  2. 996callsCodeunit 57 Document Totals PurchaseDocTotalsNotUpToDate

Invoice Disc. Pct..OnValidate line 1008, trigger

  1. 1010callsCodeunit 57 Document Totals CalcTotalPurchAmountOnlyDiscountAllowed
  2. 1012callsValidateInvoiceDiscountAmount
  3. 1013callsCodeunit 57 Document Totals PurchaseDocTotalsNotUpToDate

SelectMultiItems.OnAction line 1069, trigger

  1. 1071callsTable 39 Purchase Line SelectMultipleItems

Event.OnAction line 1090, trigger

  1. 1092callsCodeunit 99000973 Purch. Availability Mgt. ShowItemAvailabilityFromPurchLine

Period.OnAction line 1102, trigger

  1. 1104callsCodeunit 99000973 Purch. Availability Mgt. ShowItemAvailabilityFromPurchLine

Variant.OnAction line 1114, trigger

  1. 1116callsCodeunit 99000973 Purch. Availability Mgt. ShowItemAvailabilityFromPurchLine

Location.OnAction line 1127, trigger

  1. 1129callsCodeunit 99000973 Purch. Availability Mgt. ShowItemAvailabilityFromPurchLine

BOM Level.OnAction line 1151, trigger

  1. 1153callsCodeunit 99000973 Purch. Availability Mgt. ShowItemAvailabilityFromPurchLine

Reservation Entries.OnAction line 1166, trigger

  1. 1168callsTable 39 Purchase Line ShowReservationEntries

Item Tracking Lines.OnAction line 1180, trigger

  1. 1182callsTable 39 Purchase Line OpenItemTrackingLines

Dimensions.OnAction line 1194, trigger

  1. 1196callsTable 39 Purchase Line ShowDimensions

Co&mments.OnAction line 1206, trigger

  1. 1208callsTable 39 Purchase Line ShowLineComments

ItemChargeAssignment.OnAction line 1220, trigger

  1. 1222callsTable 39 Purchase Line ShowItemChargeAssgnt
  2. 1223callsSetItemChargeFieldsStyle

DocumentLineTracking.OnAction line 1232, trigger

  1. 1234callsShowDocumentLineTracking

DeferralSchedule.OnAction line 1245, trigger

  1. 1247callsTable 39 Purchase Line ShowDeferralSchedule

RedistributeAccAllocations.OnAction line 1259, trigger

  1. 1266callsPage 2678 Redistribute Acc. Allocations SetParentSystemId
  2. 1267callsPage 2678 Redistribute Acc. Allocations SetParentTableId

ReplaceAllocationAccountWithLines.OnAction line 1280, trigger

  1. 1287callsCodeunit 2679 Purchase Alloc. Acc. Mgt. CreateLinesFromAllocationAccountLine
  2. 1288writesTable 39 Purchase Line Delete

DocAttach.OnAction line 1299, trigger

  1. 1305callsPage 1173 Document Attachment Details OpenForRecRef

MatchedInvoiceLines.OnAction line 1316, trigger

  1. 1320callsCodeunit 5826 Matched Order Line Mgmt. ShowMatchedInvoiceLines

E&xplode BOM.OnAction line 1337, trigger

  1. 1339callsExplodeBOM

Insert Ext. Texts.OnAction line 1350, trigger

  1. 1352callsInsertExtendedText

Attach to Inventory Item Line.OnAction line 1364, trigger

  1. 1369callsTable 39 Purchase Line AttachToInventoryItemLine

Reserve.OnAction line 1381, trigger

  1. 1384callsTable 39 Purchase Line ShowReservation

OrderTracking.OnAction line 1395, trigger

  1. 1397callsTable 39 Purchase Line ShowOrderTracking

Sales &Order.OnAction line 1417, trigger

  1. 1419callsOpenSalesOrderForm

Action1901038504.OnAction line 1435, trigger

  1. 1437callsOpenSpecOrderSalesOrderForm

ShowLinesWithErrors.OnAction line 1479, trigger

  1. 1481callsTable 39 Purchase Line SwitchLinesWithErrorsFilter

ShowAllLines.OnAction line 1493, trigger

  1. 1495callsTable 39 Purchase Line SwitchLinesWithErrorsFilter

EditInExcel.OnAction line 1512, trigger

  1. 1517callsCodeunit 1490 Edit in Excel Filters AddFieldV2
  2. 1519callsCodeunit 1481 Edit in Excel EditPageInExcel

OnAfterGetCurrRecord line 1531, trigger

  1. 1533callsGetTotalsPurchaseHeader
  2. 1534callsCalculateTotals
  3. 1535callsUpdateEditableOnRow
  4. 1536callsUpdateTypeText
  5. 1537callsSetItemChargeFieldsStyle

EditInExcel.OnAfterGetRecord line 1540, trigger

  1. 1544callsTable 39 Purchase Line ShowShortcutDimCode
  2. 1545callsUpdateTypeText
  3. 1546callsSetItemChargeFieldsStyle
  4. 1548callsTable 27 Item IsVariantMandatory

OnDeleteRecord line 1551, trigger

  1. 1558raisesOnBeforeOnDeleteRecordIsHandled
  2. 1562callsTable 39 Purchase Line ItemExists
  3. 1564callsCodeunit 99000834 Purch. Line-Reserve DeleteLineConfirm
  4. 1566raisesOnBeforeDeleteReservationEntries
  5. 1567callsCodeunit 99000834 Purch. Line-Reserve DeleteLine
  6. 1569callsCodeunit 57 Document Totals PurchaseDocTotalsNotUpToDate

OnFindRecord line 1572, trigger

  1. 1574callsCodeunit 57 Document Totals PurchaseCheckAndClearTotals

OnInit line 1578, trigger

  1. 1584callsTable 1670 Option Lookup Buffer FillLookupBuffer
  2. 1585callsCodeunit 9179 Application Area Mgmt. Facade IsFoundationEnabled
  3. 1586callsTable 4 Currency InitRoundingPrecision

OnModifyRecord line 1589, trigger

  1. 1591callsCodeunit 57 Document Totals PurchaseCheckIfDocumentChanged

OnNewRecord line 1594, trigger

  1. 1596callsTable 39 Purchase Line InitType
  2. 1597callsSetDefaultType
  3. 1600callsUpdateTypeText

OnOpenPage line 1603, trigger

  1. 1607callsCodeunit 2675 Allocation Account Mgt. UseAllocationAccountNoField
  2. 1608callsSetOpenPage
  3. 1610callsSetDimensionsVisibility
  4. 1611callsSetOverReceiptControlsVisibility
  5. 1612callsSetItemReferenceVisibility

SetOpenPage line 1668, local

  1. 1674raisesOnBeforeSetOpenPage
  2. 1676callsCodeunit 6723 Server Setting GetIsSaasExcelAddinEnabled
  3. 1678callsCodeunit 9070 Document Errors Mgt. BackgroundValidationEnabled
  4. 1681callsCodeunit 6200 Non-Deductible VAT ShowNonDeductibleVATInLines

ApproveCalcInvDisc line 1684

  1. 1686runsCodeunit 71 Purch.-Disc. (Yes/No)
  2. 1687callsCodeunit 57 Document Totals PurchaseDocTotalsNotUpToDate

ValidateInvoiceDiscountAmount line 1690, local

  1. 1698callsTable 38 Purchase Header InvoicedLineExists
  2. 1699callsCodeunit 27 Confirm Management GetResponseOrDefault
  3. 1702callsCodeunit 57 Document Totals PurchaseDocTotalsNotUpToDate
  4. 1703callsCodeunit 66 Purch - Calc Disc. By Type ApplyInvDiscBasedOnAmt

ExplodeBOM line 1707, local

  1. 1711runsCodeunit 73 Purch.-Explode BOM
  2. 1712callsCodeunit 57 Document Totals PurchaseDocTotalsNotUpToDate

OpenSalesOrderForm line 1715, local

  1. 1722raisesOnBeforeOpenSalesOrderFormIsHandled

InsertExtendedText line 1733

  1. 1741raisesOnBeforeInsertExtendedTextIsHandled
  2. 1745callsCodeunit 378 Transfer Extended Text PurchCheckIfAnyExtText
  3. 1747callsCodeunit 378 Transfer Extended Text InsertPurchExtText
  4. 1749callsCodeunit 378 Transfer Extended Text MakeUpdate
  5. 1750callsUpdateForm

ShowTracking line 1753

  1. 1755callsTable 39 Purchase Line ShowOrderTracking

OpenSpecOrderSalesOrderForm line 1758, protected

  1. 1765raisesOnBeforeOpenSpecOrderSalesOrderFormIsHandled

NoOnAfterValidate line 1781

  1. 1783callsUpdateEditableOnRow
  2. 1784callsInsertExtendedText
  3. 1790raisesOnAfterNoOnAfterValidate

ShowDocumentLineTracking line 1793

  1. 1798callsPage 6560 Document Line Tracking SetSourceDoc

RedistributeTotalsOnAfterValidate line 1803

  1. 1810callsCodeunit 57 Document Totals PurchaseRedistributeInvoiceDiscountAmounts

GetTotalsPurchaseHeader line 1814, local

  1. 1816callsCodeunit 57 Document Totals GetTotalPurchaseHeaderAndCurrency

CalculateTotals line 1824

  1. 1829raisesOnBeforeCalculateTotalsIsHandled
  2. 1836callsCodeunit 57 Document Totals PurchaseCheckIfDocumentChanged
  3. 1837callsCodeunit 57 Document Totals CalculatePurchaseSubPageTotals
  4. 1839callsCodeunit 57 Document Totals RefreshPurchaseLine

DeltaUpdateTotals line 1842

  1. 1847raisesOnBeforeDeltaUpdateTotals
  2. 1848callsCodeunit 57 Document Totals PurchaseDeltaUpdateTotals
  3. 1849callsCheckSendLineInvoiceDiscountResetNotification

ForceTotalsCalculation line 1852

  1. 1854callsCodeunit 57 Document Totals PurchaseDocTotalsNotUpToDate

CheckSendLineInvoiceDiscountResetNotification line 1857, local

  1. 1862raisesOnBeforeCheckSendLineInvoiceDiscountResetNotificationIsHandled
  2. 1867callsTable 39 Purchase Line SendLineInvoiceDiscountResetNotification

UpdateEditableOnRow line 1870

  1. 1875callsTable 39 Purchase Line IsInventoriableItem
  2. 1882raisesOnAfterUpdateEditableOnRow

UpdateTypeText line 1885

  1. 1892raisesOnBeforeUpdateTypeText
  2. 1895callsTable 1670 Option Lookup Buffer FormatOption

SetItemChargeFieldsStyle line 1898, local

  1. 1902callsTable 39 Purchase Line AssignedItemCharge

SetDimensionsVisibility line 1917, local

  1. 1930callsCodeunit 408 DimensionManagement UseShortcutDims
  2. 1935raisesOnAfterSetDimensionsVisibility

SetDefaultType line 1938, local

  1. 1943raisesOnBeforeSetDefaultTypeIsHandled
  2. 1948callsTable 39 Purchase Line GetDefaultLineType

SetOverReceiptControlsVisibility line 1951, local

  1. 1955callsCodeunit 8510 Over-Receipt Mgt. IsOverReceiptAllowed