Page 50 Purchase Order
src/Layers/W1/BaseApp/Purchases/Document/PurchaseOrder.Page.al93 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
No..OnAssistEdit line 67, trigger
- 69callsTable 38 Purchase Header AssistEdit
Buy-from Vendor No..OnValidate line 81, trigger
- 83callsTable 38 Purchase Header PurchaseLinesEditable
- 84callsTable 38 Purchase Header OnAfterValidateBuyFromVendorNo
Buy-from Vendor Name.OnAfterLookup line 96, trigger
- 102validatesTable 38 Purchase Header Buy-from Vendor No.
- 105callsTable 38 Purchase Header PurchaseLinesEditable
Buy-from Vendor Name.OnValidate line 110, trigger
- 112callsTable 38 Purchase Header PurchaseLinesEditable
- 113callsTable 38 Purchase Header OnAfterValidateBuyFromVendorNo
Buy-from Country/Region Code.OnValidate line 184, trigger
- 186callsCodeunit 365 Format Address UseCounty
Buy-from Contact No..OnLookup line 196, trigger
- 198callsTable 38 Purchase Header BuyfromContactLookup
Buy-from Contact.OnLookup line 246, trigger
- 248callsTable 38 Purchase Header LookupBuyFromContact
Posting Date.OnValidate line 268, trigger
Job Queue Status.OnDrillDown line 366, trigger
- 372callsTable 472 Job Queue Entry ShowStatusMsg
Currency Code.OnAssistEdit line 403, trigger
- 408raisesOnBeforeCurrencyCodeOnAssistEditIsHandled
- 414callsPage 511 Change Exchange Rate SetParameter
- 416callsPage 511 Change Exchange Rate SetParameter
- 418validatesTable 38 Purchase Header Currency Factor
- 418callsPage 511 Change Exchange Rate GetParameter
- 419callsSaveInvoiceDiscountAmount
Currency Code.OnValidate line 424, trigger
- 427callsCodeunit 66 Purch - Calc Disc. By Type ApplyDefaultInvoiceDiscount
ShippingOptionWithLocation.OnValidate line 569, trigger
Ship-to Country/Region Code.OnValidate line 677, trigger
- 679callsCodeunit 365 Format Address UseCounty
PayToOptions.OnValidate line 710, trigger
- 713validatesTable 38 Purchase Header Pay-to Vendor No.
Pay-to Name.OnAfterLookup line 729, trigger
- 735validatesTable 38 Purchase Header Pay-to Vendor No.
Pay-to Country/Region Code.OnValidate line 823, trigger
- 825callsCodeunit 365 Format Address UseCounty
Remit-to Code.OnValidate line 884, trigger
- 886callsFillRemitToFields
Dimensions.OnAction line 1156, trigger
- 1158callsTable 38 Purchase Header ShowDocDim
Approvals.OnAction line 1205, trigger
- 1209callsCodeunit 1535 Approvals Mgmt. OpenApprovalsPurchase
DocAttach.OnAction line 1230, trigger
- 1236callsPage 1173 Document Attachment Details OpenForRecRef
Invoices.OnAction line 1262, trigger
- 1267callsCodeunit 74 Purch.-Get Receipt GetPurchOrderInvoices
- 1268runsPage 146 Posted Purchase Invoices
Get &Sales Order.OnAction line 1356, trigger
- 1362callsCodeunit 5702 Dist. Integration GetSpecialOrders
Approve.OnAction line 1382, trigger
- 1386callsCodeunit 1535 Approvals Mgmt. ApproveRecordApprovalRequest
Reject.OnAction line 1397, trigger
- 1401callsCodeunit 1535 Approvals Mgmt. RejectRecordApprovalRequest
Delegate.OnAction line 1412, trigger
- 1416callsCodeunit 1535 Approvals Mgmt. DelegateRecordApprovalRequest
Comment.OnAction line 1427, trigger
- 1431callsCodeunit 1535 Approvals Mgmt. GetApprovalComment
Release.OnAction line 1448, trigger
- 1450callsTable 38 Purchase Header PerformManualRelease
Reopen.OnAction line 1462, trigger
- 1466callsCodeunit 415 Release Purchase Document PerformManualReopen
CalculateInvoiceDiscount.OnAction line 1483, trigger
- 1485callsApproveCalcInvDisc
- 1486callsCodeunit 66 Purch - Calc Disc. By Type ResetRecalculateInvoiceDisc
GetRecurringPurchaseLines.OnAction line 1497, trigger
- 1501callsTable 175 Standard Vendor Purchase Code InsertPurchLines
Create Tracking Information.OnAction line 1511, trigger
- 1515callsCodeunit 6503 Item Tracking Doc. Management CreateTrackingInfo
CopyDocument.OnAction line 1527, trigger
- 1529callsTable 38 Purchase Header CopyDocument
MoveNegativeLines.OnAction line 1543, trigger
- 1546callsReport 6698 Move Negative Purchase Lines SetPurchHeader
- 1548callsReport 6698 Move Negative Purchase Lines ShowDocument
Action187.OnAction line 1576, trigger
- 1582callsCodeunit 5702 Dist. Integration GetSpecialOrders
Archive Document.OnAction line 1594, trigger
- 1596callsCodeunit 5063 ArchiveManagement ArchivePurchDocument
Send Intercompany Purchase Order.OnAction line 1608, trigger
- 1614callsCodeunit 1535 Approvals Mgmt. PrePostApprovalCheckPurch
- 1615callsCodeunit 427 ICInboxOutboxMgt SendPurchDoc
- 1616callsCodeunit 404 IC Feedback ShowIntercompanyMessage
Reject IC Purchase Order.OnAction line 1628, trigger
- 1632callsCodeunit 427 ICInboxOutboxMgt IsPurchaseHeaderFromIncomingIC
- 1635callsCodeunit 427 ICInboxOutboxMgt RejectAcceptedPurchaseHeader
IncomingDocCard.OnAction line 1651, trigger
- 1655callsTable 130 Incoming Document ShowCardFromEntryNo
SelectIncomingDoc.OnAction line 1666, trigger
- 1670validatesTable 38 Purchase Header Incoming Document Entry No.
- 1670callsTable 130 Incoming Document SelectIncomingDocument
IncomingDocAttachFile.OnAction line 1682, trigger
- 1686callsTable 133 Incoming Document Attachment NewAttachmentFromPurchaseDocument
RemoveIncomingDoc.OnAction line 1697, trigger
- 1703callsTable 130 Incoming Document RemoveLinkToRelatedRecord
- 1705writesTable 38 Purchase Header Modify(true)
SendApprovalRequest.OnAction line 1721, trigger
- 1725callsCodeunit 1535 Approvals Mgmt. CheckPurchaseApprovalPossible
- 1726callsCodeunit 1535 Approvals Mgmt. OnSendPurchaseDocForApproval
CancelApprovalRequest.OnAction line 1737, trigger
- 1742callsCodeunit 1535 Approvals Mgmt. OnCancelPurchaseApprovalRequest
- 1743callsCodeunit 1543 Workflow Webhook Management FindAndCancel
Create &Whse. Receipt.OnAction line 1774, trigger
- 1778callsTable 38 Purchase Header PerformManualRelease
- 1779callsCodeunit 5751 Get Source Doc. Inbound CreateFromPurchOrder
Create Inventor&y Put-away/Pick.OnAction line 1793, trigger
- 1795callsTable 38 Purchase Header PerformManualRelease
- 1796callsTable 38 Purchase Header CreateInvtPutAwayPick
Post.OnAction line 1815, trigger
- 1817callsPostDocument
Preview.OnAction line 1828, trigger
- 1830callsShowPreview
Post and &Print.OnAction line 1842, trigger
- 1844callsPostDocument
PostAndNew.OnAction line 1856, trigger
- 1858callsPostDocument
Test Report.OnAction line 1869, trigger
- 1871callsCodeunit 228 Test Report-Print PrintPurchHeader
Post &Batch.OnAction line 1882, trigger
Remove From Job Queue.OnAction line 1896, trigger
- 1898callsTable 38 Purchase Header CancelBackgroundPosting
Prepayment Test &Report.OnAction line 1913, trigger
- 1915callsCodeunit 228 Test Report-Print PrintPurchHeaderPrepmt
PostPrepaymentInvoice.OnAction line 1926, trigger
- 1931callsCodeunit 1535 Approvals Mgmt. PrePostApprovalCheckPurch
- 1932callsCodeunit 445 Purch.-Post Prepmt. (Yes/No) PostPrepmtInvoiceYN
Post and Print Prepmt. Invoic&e.OnAction line 1943, trigger
- 1948callsCodeunit 1535 Approvals Mgmt. PrePostApprovalCheckPurch
- 1949callsCodeunit 445 Purch.-Post Prepmt. (Yes/No) PostPrepmtInvoiceYN
PreviewPrepmtInvoicePosting.OnAction line 1959, trigger
PostPrepaymentCreditMemo.OnAction line 1972, trigger
- 1977callsCodeunit 1535 Approvals Mgmt. PrePostApprovalCheckPurch
- 1978callsCodeunit 445 Purch.-Post Prepmt. (Yes/No) PostPrepmtCrMemoYN
Post and Print Prepmt. Cr. Mem&o.OnAction line 1989, trigger
- 1994callsCodeunit 1535 Approvals Mgmt. PrePostApprovalCheckPurch
- 1995callsCodeunit 445 Purch.-Post Prepmt. (Yes/No) PostPrepmtCrMemoYN
PreviewPrepmtCrMemoPosting.OnAction line 2005, trigger
&Print.OnAction line 2024, trigger
- 2030callsTable 38 Purchase Header PrintRecords
Email.OnAction line 2041, trigger
- 2045callsCodeunit 229 Document-Print EmailPurchHeader
SendCustom.OnAction line 2056, trigger
- 2062callsTable 38 Purchase Header SendRecords
AttachAsPDF.OnAction line 2072, trigger
- 2079callsCodeunit 229 Document-Print PrintPurchaseHeaderToDocumentAttachment
OnAfterGetCurrRecord line 2264, trigger
- 2266callsSetControlAppearance
- 2270callsTable 38 Purchase Header GetStatusStyleText
- 2271callsTable 38 Purchase Header GetContactDetails
Category_Report.OnAfterGetRecord line 2274, trigger
- 2278callsCodeunit 427 ICInboxOutboxMgt IsPurchaseHeaderFromIncomingIC
- 2279callsCalculateCurrentShippingAndPayToOption
- 2280callsShowOverReceiptNotification
- 2281callsTable 38 Purchase Header GetContactDetails
- 2285raisesOnAfterOnAfterGetRecord
OnDeleteRecord line 2288, trigger
- 2291callsTable 38 Purchase Header ConfirmDeletion
OnInit line 2294, trigger
- 2298callsTable 312 Purchases & Payables Setup JobQueueActive
- 2299callsSetExtDocNoMandatoryCondition
- 2300callsCodeunit 9179 Application Area Mgmt. Facade IsLocationEnabled
- 2300callsCodeunit 9179 Application Area Mgmt. Facade IsAllDisabled
- 2301callsCodeunit 1563 Privacy Notice GetPrivacyNoticeApprovalState
- 2301callsCodeunit 6400 Flow Service Management GetPowerAutomatePrivacyNoticeId
OnNewRecord line 2304, trigger
- 2308callsCodeunit 109 Lookup State Manager IsRecordSaved
- 2309callsCodeunit 109 Lookup State Manager ClearSavedRecord
- 2311callsCodeunit 5700 User Setup Management GetPurchasesFilter
- 2313callsTable 38 Purchase Header SetBuyFromVendorFromFilter
- 2314callsTable 38 Purchase Header SelectDefaultRemitAddress
- 2317callsCalculateCurrentShippingAndPayToOption
OnOpenPage line 2325, trigger
- 2331callsSetOpenPage
- 2333callsActivateFields
- 2335callsCheckShowBackgrValidationNotification
- 2336callsCodeunit 427 ICInboxOutboxMgt IsPurchaseHeaderFromIncomingIC
- 2344callsCodeunit 427 ICInboxOutboxMgt ShowDuplicateICDocumentWarning
- 2353callsCodeunit 427 ICInboxOutboxMgt ShowDuplicateICDocumentWarning
- 2355callsCodeunit 799 VAT Reporting Date Mgt IsVATDateEnabled
OnQueryClosePage line 2359, trigger
- 2364callsShowReleaseNotification
- 2365callsCodeunit 1330 Instruction Mgt. ShowConfirmUnreleased
- 2368raisesOnQueryClosePageOnAfterCalcShowConfirmCloseUnposted
- 2370callsTable 38 Purchase Header ConfirmCloseUnposted
SetOpenPage line 2425, local
- 2429callsSetDocNoVisible
- 2430callsCodeunit 457 Environment Information IsSaaS
- 2432callsTable 38 Purchase Header SetSecurityFilterOnRespCenter
- 2438raisesOnAfterSetOpenPage
ActivateFields line 2441, local
- 2443callsCodeunit 365 Format Address UseCounty
- 2444callsCodeunit 365 Format Address UseCounty
- 2445callsCodeunit 365 Format Address UseCounty
- 2449callsTable 38 Purchase Header PurchaseLinesEditable
CallPostDocument line 2452
- 2454callsPostDocument
PostDocument line 2457, local
- 2465callsCodeunit 1320 Lines Instruction Mgt. PurchaseCheckAllLinesHaveQuantityAssigned
- 2467callsTable 38 Purchase Header SendToPosting
- 2478raisesOnPostDocumentOnAfterCalcDocumentIsScheduledForPosting
- 2484raisesOnPostDocumentBeforeNavigateAfterPostingIsHandled
- 2492callsCodeunit 1330 Instruction Mgt. IsEnabled
- 2492callsCodeunit 1330 Instruction Mgt. ShowPostedConfirmationMessageCode
- 2493callsShowPostedConfirmationMessage
- 2501validatesTable 38 Purchase Header Document Type
- 2502raisesOnPostDocumentOnBeforePurchaseHeaderInsert
- 2503writesTable 38 Purchase Header Insert(true)
- 2504runsPage 50 Purchase Order
SaveInvoiceDiscountAmount line 2514, protected
- 2519callsCodeunit 57 Document Totals PurchaseRedistributeInvoiceDiscountAmountsOnDocument
ShowPreview line 2549, local
- 2553callsCodeunit 91 Purch.-Post (Yes/No) Preview
ShowPrepmtInvoicePreview line 2556, local
- 2560callsCodeunit 445 Purch.-Post Prepmt. (Yes/No) Preview
ShowPrepmtCrMemoPreview line 2563, local
- 2567callsCodeunit 445 Purch.-Post Prepmt. (Yes/No) Preview
SetDocNoVisible line 2570, local
- 2574callsCodeunit 1400 DocumentNoVisibility PurchaseDocumentNoIsVisible
SetExtDocNoMandatoryCondition line 2577, local
- 2579callsTable 312 Purchases & Payables Setup GetRecordOnce
SetControlAppearance line 2583, local
- 2591callsSetExtDocNoMandatoryCondition
- 2592callsSetPostingGroupEditable
- 2594callsCodeunit 1535 Approvals Mgmt. HasOpenApprovalEntriesForCurrentUser
- 2595callsCodeunit 1535 Approvals Mgmt. HasOpenApprovalEntries
- 2596callsCodeunit 1535 Approvals Mgmt. CanCancelApprovalForRecord
- 2598callsCodeunit 1543 Workflow Webhook Management GetCanRequestAndCanCancel
- 2599callsTable 38 Purchase Header ShouldSearchForVendorByName
- 2600callsCodeunit 9070 Document Errors Mgt. BackgroundValidationEnabled
- 2602callsTable 38 Purchase Header PurchaseLinesEditable
- 2604raisesOnAfterSetControlAppearance
CheckShowBackgrValidationNotification line 2612, local
- 2616callsCodeunit 9070 Document Errors Mgt. CheckShowEnableBackgrValidationNotification
- 2617callsSetControlAppearance
ShowPostedConfirmationMessage line 2628, local
- 2638callsCodeunit 404 IC Feedback ShowIntercompanyMessage
- 2639callsCodeunit 1330 Instruction Mgt. ShowConfirm
- 2640callsCodeunit 1330 Instruction Mgt. ShowPostedConfirmationMessageCode
- 2642callsCodeunit 1330 Instruction Mgt. ShowPostedDocument
ValidateShippingOption line 2647, local
- 2652raisesOnBeforeValidateShippingOption
- 2659validatesTable 38 Purchase Header Sell-to Customer No.
- 2661validatesTable 38 Purchase Header Location Code
- 2664validatesTable 38 Purchase Header Sell-to Customer No.
ShowReleaseNotification line 2668, local
- 2672callsTable 38 Purchase Header TestStatusIsNotReleased
CalculateCurrentShippingAndPayToOption line 2687, local
- 2696raisesOnBeforeCalculateCurrentShippingAndPayToOption
- 2706callsTable 38 Purchase Header ShipToAddressEqualsCompanyShipToAddress
- 2712callsTable 38 Purchase Header BuyFromAddressEqualsPayToAddress
- 2714callsTable 38 Purchase Header BuyFromAddressEqualsPayToAddress
- 2723raisesOnAfterCalculateCurrentShippingAndPayToOption
ShowOverReceiptNotification line 2728, local
- 2732callsCodeunit 8510 Over-Receipt Mgt. ShowOverReceiptNotificationFromOrder
FillRemitToFields line 2735, local
- 2743callsCodeunit 365 Format Address VendorRemitToAddress