Table 38 Purchase Header

Base Application, Microsoft.Purchases.Document

src/Layers/W1/BaseApp/Purchases/Document/PurchaseHeader.Table.al294 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

Buy-from Vendor No..OnValidate line 87, trigger

  1. 93raisesOnBeforeValidateBuyFromVendorNoIsHandled
  2. 98callsInitRecord
  3. 99callsTestStatusOpen
  4. 104callsCheckDropShipmentLineExists
  5. 105callsConfirmUpdateField
  6. 106callsInitFromVendor
  7. 109callsCheckReceiptInfo
  8. 110callsCheckPrepmtInfo
  9. 111callsCheckReturnInfo
  10. 120callsGetVend
  11. 121callsCheckBlockedVendOnDocs
  12. 122callsCodeunit 9178 Application Area Mgmt. IsSalesTaxEnabled
  13. 124raisesOnAfterCheckBuyFromVendor
  14. 128callsCopyBuyFromVendorAddressFieldsFromVendor
  15. 137validatesTable 38 Purchase Header Lead Time Calculation
  16. 142raisesOnValidateBuyFromVendorNoOnBeforeAssignResponsibilityCenterIsHandled
  17. 144callsCodeunit 5700 User Setup Management GetRespCenter
  18. 145callsValidateEmptySellToCustomerAndLocation
  19. 146raisesOnAfterCopyBuyFromVendorFieldsFromVendor
  20. 149callsReceivedPurchLinesExist
  21. 149callsReturnShipmentExist
  22. 157raisesOnValidateBuyFromVendorNoOnValidateBuyFromVendorNoOnBeforeValidatePayToVendor
  23. 159validatesTable 38 Purchase Header Pay-to Vendor No.
  24. 163validatesTable 38 Purchase Header Pay-to Vendor No.
  25. 168raisesOnValidateBuyFromVendorNoOnAfterValidatePayToVendor
  26. 170callsCopyPayToVendorAddressFieldsFromVendor
  27. 171callsIsCreditDocType
  28. 174callsCopyShipToVendorAddressFieldsFromVendor
  29. 178validatesTable 38 Purchase Header Location Code
  30. 181raisesOnValidateBuyFromVendorNoBeforeRecreateLines
  31. 188callsRecreatePurchLines
  32. 191callsCodeunit 170 Standard Codes Mgt. CheckCreatePurchRecurringLines
  33. 193raisesOnValidateBuyFromVendorNoOnAfterRecreateLines
  34. 196callsUpdateBuyFromCont
  35. 198raisesOnValidateBuyFromVendorNoOnAfterUpdateBuyFromCont
  36. 201callsRecallModifyAddressNotification
  37. 201callsGetModifyVendorAddressNotificationId
  38. 203validatesTable 38 Purchase Header Remit-to Code
  39. 205callsSelectDefaultRemitAddress
  40. 207callsCodeunit 5826 Matched Order Line Mgmt. ApplyVendorsReceiptOnInvoicePolicy

No..OnValidate line 215, trigger

  1. 218callsGetPurchSetup
  2. 219callsCodeunit 310 No. Series TestManual
  3. 219callsGetNoSeriesCode

Pay-to Vendor No..OnValidate line 231, trigger

  1. 236raisesOnBeforeValidatePayToVendorNoIsHandled
  2. 240callsTestStatusOpen
  3. 244callsConfirmUpdateField
  4. 245raisesOnValidatePayToVendorNoOnAfterConfirmed
  5. 249callsCheckReceiptInfo
  6. 250callsCheckPrepmtInfo
  7. 251callsCheckReturnInfo
  8. 257raisesOnValidatePayToVendorNoOnBeforeGetPayToVend
  9. 258callsGetVend
  10. 259callsCheckBlockedVendOnDocs
  11. 261callsCodeunit 48 PostingSetupManagement CheckVendPostingGroupPayablesAccount
  12. 262raisesOnAfterCheckPayToVendor
  13. 266callsCopyPayToVendorAddressFieldsFromVendor
  14. 272callsTable 23 Vendor GetPriceCalculationMethod
  15. 276raisesOnAfterCopyPayToVendorFieldsFromVendor
  16. 290callsSetPurchaserCode
  17. 291validatesTable 38 Purchase Header Payment Terms Code
  18. 292validatesTable 38 Purchase Header Prepmt. Payment Terms Code
  19. 293validatesTable 38 Purchase Header Payment Method Code
  20. 294validatesTable 38 Purchase Header Currency Code
  21. 295validatesTable 38 Purchase Header Creditor No.
  22. 296raisesOnValidatePurchaseHeaderPayToVendorNoOnBeforeCheckDocType
  23. 299validatesTable 38 Purchase Header Prepayment %
  24. 302callsReceivedPurchLinesExist
  25. 305callsCreateDimensionsFromValidatePayToVendorNo
  26. 307raisesOnValidatePaytoVendorNoBeforeRecreateLines
  27. 313raisesOnValidatePayToVendorNoOnBeforeRecreatePurchLinesIsHandled
  28. 315callsRecreatePurchLines
  29. 319callsUpdatePayToCont
  30. 323raisesOnValidatePayToVendorNoOnBeforeRecallModifyAddressNotification
  31. 325callsRecallModifyAddressNotification
  32. 325callsGetModifyPayToVendorAddressNotificationId

Pay-to Name.OnValidate line 335, trigger

  1. 340callsShouldSearchForVendorByName
  2. 341validatesTable 38 Purchase Header Pay-to Vendor No.
  3. 341callsTable 23 Vendor GetVendorNo

Pay-to Address.OnValidate line 354, trigger

  1. 356callsModifyPayToVendorAddress

Pay-to Address 2.OnValidate line 364, trigger

  1. 366callsModifyPayToVendorAddress

Pay-to City.OnLookup line 378, trigger

  1. 380callsLookupPostCode

Pay-to City.OnValidate line 383, trigger

  1. 388raisesOnBeforeValidatePayToCityIsHandled
  2. 390callsTable 225 Post Code ValidateCity
  3. 392callsModifyPayToVendorAddress

Pay-to Contact.OnLookup line 400, trigger

  1. 405callsLookupContact
  2. 407validatesTable 38 Purchase Header Pay-to Contact No.

Pay-to Contact.OnValidate line 411, trigger

  1. 413callsModifyPayToVendorAddress

Ship-to Code.OnValidate line 427, trigger

  1. 433raisesOnBeforeValidateShipToCodeIsHandled
  2. 437callsCheckShipToCodeChange
  3. 441callsSetShipToAddress
  4. 453validatesTable 38 Purchase Header Location Code
  5. 454raisesOnValidateShipToCodeOnAfterCopyFromShipToAddr
  6. 458callsSetShipToAddress
  7. 465validatesTable 38 Purchase Header Location Code
  8. 466raisesOnValidateShipToCodeOnAfterCopyFromSellToCust
  9. 469raisesOnAfterValidateShipToCode

Ship-to City.OnLookup line 501, trigger

  1. 503callsLookupPostCode

Ship-to City.OnValidate line 506, trigger

  1. 511raisesOnBeforeValidateShipToCityIsHandled
  2. 513callsTable 225 Post Code ValidateCity

Order Date.OnValidate line 528, trigger

  1. 533raisesOnBeforeValidateOrderDateIsHandled
  2. 540callsPriceMessageIfPurchLinesExist

Posting Date.OnValidate line 548, trigger

  1. 556raisesOnBeforeValidatePostingDateIsHandled
  2. 561callsTestNoSeriesDate
  3. 564callsTestNoSeriesDate
  4. 567callsTestNoSeriesDate
  5. 572callsTable 98 General Ledger Setup UpdateVATDate
  6. 573validatesTable 38 Purchase Header VAT Reporting Date
  7. 579callsValidateDocumentDateWithPostingDate
  8. 584callsPriceMessageIfPurchLinesExist
  9. 586raisesOnValidatePostingDateOnBeforeResetInvoiceDiscountValue
  10. 587callsResetInvoiceDiscountValue
  11. 590raisesOnValidatePostingDateOnBeforeCheckNeedUpdateCurrencyFactor
  12. 592callsUpdateCurrencyFactor
  13. 593callsGetCalledFromWhseDoc
  14. 594callsConfirmCurrencyFactorUpdate
  15. 596raisesOnValidatePostingDateOnAfterCheckNeedUpdateCurrencyFactor
  16. 599callsDeferralHeadersExist
  17. 600callsConfirmUpdateDeferralDate
  18. 602callsPurchLinesExist
  19. 603callsJobUpdatePurchLines

Expected Receipt Date.OnValidate line 611, trigger

  1. 616raisesOnBeforeValidateExpectedReceiptDateIsHandled
  2. 621callsUpdatePurchLinesByFieldNo

Payment Terms Code.OnValidate line 635, trigger

  1. 641callsIsCreditDocType
  2. 643raisesOnValidatePaymentTermsCodeOnBeforeValidateDueDateIsHandled
  3. 645validatesTable 38 Purchase Header Due Date
  4. 646validatesTable 38 Purchase Header Pmt. Discount Date
  5. 647validatesTable 38 Purchase Header Payment Discount %
  6. 650raisesOnValidatePaymentTermsCodeOnBeforeCalcDueDateIsHandled
  7. 654raisesOnValidatePaymentTermsCodeOnBeforeCalcPmtDiscDateIsHandled
  8. 658validatesTable 38 Purchase Header Payment Discount %
  9. 662raisesOnValidatePaymentTermsCodeOnBeforeValidateDueDateWhenBlankIsHandled
  10. 664validatesTable 38 Purchase Header Due Date
  11. 666raisesOnValidatePaymentTermsCodeOnBeforeValidatePmtDiscountWhenBlank
  12. 667validatesTable 38 Purchase Header Pmt. Discount Date
  13. 668validatesTable 38 Purchase Header Payment Discount %
  14. 672validatesTable 38 Purchase Header Prepmt. Payment Terms Code

Payment Discount %.OnValidate line 689, trigger

  1. 694raisesOnBeforeValidatePaymentDiscountPercentIsHandled
  2. 699callsTestStatusOpen
  3. 705validatesTable 38 Purchase Header VAT Base Discount %

Shipment Method Code.OnValidate line 719, trigger

  1. 724raisesOnBeforeValidateShipmentMethodCodeIsHandled
  2. 728callsTestStatusOpen

Location Code.OnValidate line 737, trigger

  1. 741raisesOnBeforeValidateLocationCodeIsHandled
  2. 745callsTestStatusOpen
  3. 749callsMessageIfPurchLinesExist
  4. 751callsUpdateShipToAddress
  5. 752callsUpdateInboundWhseHandlingTime
  6. 754callsCreateDimFromDefaultDim

Shortcut Dimension 1 Code.OnValidate line 765, trigger

  1. 767callsValidateShortcutDimCode

Shortcut Dimension 2 Code.OnValidate line 778, trigger

  1. 780callsValidateShortcutDimCode

Vendor Posting Group.OnValidate line 789, trigger

  1. 791callsCheckVendorPostingGroupChange

Currency Code.OnValidate line 800, trigger

  1. 807raisesOnBeforeValidateCurrencyCodeIsHandled
  2. 814callsTestStatusOpen
  3. 816callsResetInvoiceDiscountValue
  4. 819callsUpdateCurrencyFactor
  5. 822callsUpdateCurrencyFactor
  6. 825callsUpdateCurrencyFactor
  7. 827callsConfirmCurrencyFactorUpdate
  8. 830callsShouldCheckShowRecurringSalesLines
  9. 831callsCodeunit 170 Standard Codes Mgt. CheckShowPurchRecurringLinesNotification

Currency Factor.OnValidate line 842, trigger

  1. 844callsResetInvoiceDiscountValue
  2. 847callsUpdatePurchLinesByFieldNo

Prices Including VAT.OnValidate line 855, trigger

  1. 867raisesOnBeforeValidatePricesIncludingVATIsHandled
  2. 871callsTestStatusOpen
  3. 879callsGetHideValidationDialog
  4. 883callsCodeunit 27 Confirm Management GetResponseOrDefault
  5. 889raisesOnAfterConfirmPurchPrice
  6. 890callsTable 39 Purchase Line SetPurchHeader
  7. 892callsTable 4 Currency Initialize
  8. 897callsTable 39 Purchase Line CalcLineAmount
  9. 898callsTable 39 Purchase Line CalcLineAmount
  10. 899writesTable 39 Purchase Line Modify
  11. 909callsTable 39 Purchase Line UpdateAmounts
  12. 934callsUpdatePrepmtAmounts
  13. 936raisesOnValidatePricesIncludingVATOnBeforePurchLineModify
  14. 937writesTable 39 Purchase Line Modify
  15. 940raisesOnAfterChangePricesIncludingVAT

Invoice Disc. Code.OnValidate line 948, trigger

  1. 950callsTestStatusOpen
  2. 951callsMessageIfPurchLinesExist

Language Code.OnValidate line 960, trigger

  1. 962callsMessageIfPurchLinesExist

Purchaser Code.OnValidate line 977, trigger

  1. 982callsValidatePurchaserOnPurchHeader
  2. 985callsCodeunit 500 Enum Assignment Management GetPurchApprovalDocumentType
  3. 991callsCreateDimFromDefaultDim

Applies-to Doc. No..OnLookup line 1027, trigger

  1. 1035raisesOnBeforeLookupAppliesToDocNoIsHandled
  2. 1060callsPage 233 Apply Vendor Entries SetPurch
  3. 1065callsPage 233 Apply Vendor Entries GetVendLedgEntry
  4. 1066callsCodeunit 225 Gen. Jnl.-Apply CheckAgainstApplnCurrency
  5. 1070raisesOnAfterAppliesToDocNoOnLookup

Applies-to Doc. No..OnValidate line 1075, trigger

  1. 1080raisesOnBeforeValidateAppliesToDocNoIsHandled
  2. 1090callsSetAmountToApply
  3. 1091callsSetAmountToApply
  4. 1094callsSetAmountToApply
  5. 1097callsSetAmountToApply

Bal. Account No..OnValidate line 1107, trigger

  1. 1114callsTable 15 G/L Account CheckGLAcc

Vendor Shipment No..OnValidate line 1199, trigger

  1. 1206callsCodeunit 5772 Whse.-Purch. Release UpdateExternalDocNoForReleasedOrder

Vendor Invoice No..OnValidate line 1214, trigger

  1. 1220raisesOnBeforeValidateVendorInvoiceNoIsHandled
  2. 1225callsFindPostedDocumentWithSameExternalDocNo
  3. 1226callsShowExternalDocAlreadyExistNotification
  4. 1228callsRecallExternalDocAlreadyExistsNotification

Vendor Cr. Memo No..OnValidate line 1236, trigger

  1. 1242raisesOnBeforeValidateVendorCrMemoNoIsHandled
  2. 1247callsFindPostedDocumentWithSameExternalDocNo
  3. 1248callsShowExternalDocAlreadyExistNotification
  4. 1250callsRecallExternalDocAlreadyExistsNotification

Sell-to Customer No..OnValidate line 1263, trigger

  1. 1268raisesOnBeforeValidateSellToCustomerNoIsHandled
  2. 1283callsCheckSpecialOrderSalesLineLink
  3. 1288callsUpdateLocationCode
  4. 1290callsSetShipToCodeEmpty

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

  1. 1306callsTestStatusOpen
  2. 1310callsTable 250 Gen. Business Posting Group ValidateVatBusPostingGroup
  3. 1312raisesOnValidateGenBusPostingGroupOnAfterSetVATBusPostingGroup
  4. 1314callsRecreatePurchLines

Transaction Type.OnValidate line 1324, trigger

  1. 1326callsUpdatePurchLinesByFieldNo

Transport Method.OnValidate line 1335, trigger

  1. 1337callsUpdatePurchLinesByFieldNo

Buy-from Vendor Name.OnValidate line 1352, trigger

  1. 1359raisesOnBeforeValidateBuyFromVendorNameIsHandled
  2. 1361callsCodeunit 109 Lookup State Manager IsRecordSaved
  3. 1362callsCodeunit 109 Lookup State Manager ClearSavedRecord
  4. 1366callsCodeunit 109 Lookup State Manager IsRecordSaved
  5. 1367callsCodeunit 109 Lookup State Manager GetSavedRecord
  6. 1369callsCodeunit 109 Lookup State Manager ClearSavedRecord
  7. 1370validatesTable 38 Purchase Header Buy-from Vendor No.
  8. 1371raisesOnLookupBuyfromVendorNameOnAfterSuccessfulLookup
  9. 1375callsShouldSearchForVendorByName
  10. 1376validatesTable 38 Purchase Header Buy-from Vendor No.
  11. 1376callsTable 23 Vendor GetVendorNo

Buy-from Address.OnValidate line 1389, trigger

  1. 1391callsUpdatePayToAddressFromBuyFromAddress
  2. 1392callsModifyVendorAddress

Buy-from Address 2.OnValidate line 1400, trigger

  1. 1402callsUpdatePayToAddressFromBuyFromAddress
  2. 1403callsModifyVendorAddress

Buy-from City.OnLookup line 1415, trigger

  1. 1420raisesOnBuyFromCityOnBeforeOnLookupIsHandled
  2. 1423callsLookupPostCode

Buy-from City.OnValidate line 1426, trigger

  1. 1431raisesOnBeforeValidateBuyFromCityIsHandled
  2. 1433callsTable 225 Post Code ValidateCity
  3. 1435callsUpdatePayToAddressFromBuyFromAddress
  4. 1436callsModifyVendorAddress

Buy-from Contact.OnLookup line 1444, trigger

  1. 1446callsLookupBuyFromContact

Buy-from Contact.OnValidate line 1449, trigger

  1. 1451callsModifyVendorAddress

Pay-to Post Code.OnLookup line 1463, trigger

  1. 1465callsLookupPostCode

Pay-to Post Code.OnValidate line 1468, trigger

  1. 1473raisesOnBeforeValidatePayToPostCodeIsHandled
  2. 1475callsTable 225 Post Code ValidatePostCode
  3. 1477callsModifyPayToVendorAddress

Pay-to County.OnValidate line 1486, trigger

  1. 1488callsModifyPayToVendorAddress

Pay-to Country/Region Code.OnValidate line 1497, trigger

  1. 1501callsCodeunit 365 Format Address UseCounty
  2. 1503callsModifyPayToVendorAddress

Buy-from Post Code.OnLookup line 1515, trigger

  1. 1517callsBuyFromPostCodeOnBeforeLookupHandled
  2. 1520callsLookupPostCode

Buy-from Post Code.OnValidate line 1523, trigger

  1. 1528raisesOnBeforeValidateBuyFromPostCodeIsHandled
  2. 1530callsTable 225 Post Code ValidatePostCode
  3. 1532callsUpdatePayToAddressFromBuyFromAddress
  4. 1533callsModifyVendorAddress

Buy-from County.OnValidate line 1542, trigger

  1. 1544callsUpdatePayToAddressFromBuyFromAddress
  2. 1545callsModifyVendorAddress

Buy-from Country/Region Code.OnValidate line 1554, trigger

  1. 1558callsCodeunit 365 Format Address UseCounty
  2. 1560callsUpdatePayToAddressFromBuyFromAddress
  3. 1561callsModifyVendorAddress

Ship-to Post Code.OnLookup line 1573, trigger

  1. 1578raisesOnShipToPostCodeOnBeforeOnLookupIsHandled
  2. 1582callsLookupPostCode

Ship-to Post Code.OnValidate line 1585, trigger

  1. 1590raisesOnBeforeValidateShipToPostCodeIsHandled
  2. 1592callsTable 225 Post Code ValidatePostCode

Order Address Code.OnValidate line 1618, trigger

  1. 1623callsCopyAddressInfoFromOrderAddress
  2. 1625callsGetVend
  3. 1627raisesOnValidateOrderAddressCodeOnBeforeCopyBuyFromVendorAddressFieldsFromVendorIsHandled
  4. 1631callsCopyBuyFromVendorAddressFieldsFromVendor
  5. 1634raisesOnValidateOrderAddressCodeOnAfterCopyBuyFromVendorAddressFieldsFromVendor
  6. 1636callsIsCreditDocType
  7. 1639callsCopyShipToVendorAddressFieldsFromVendor
  8. 1643raisesOnValidateOrderAddressCodeOnBeforeUpdateLocationCodeIsHandled
  9. 1646validatesTable 38 Purchase Header Location Code

Entry Point.OnValidate line 1657, trigger

  1. 1659callsUpdatePurchLinesByFieldNo

Document Date.OnValidate line 1672, trigger

  1. 1675callsTable 98 General Ledger Setup UpdateVATDate
  2. 1676validatesTable 38 Purchase Header VAT Reporting Date
  3. 1680validatesTable 38 Purchase Header Payment Terms Code
  4. 1681validatesTable 38 Purchase Header Prepmt. Payment Terms Code

Area.OnValidate line 1691, trigger

  1. 1693callsUpdatePurchLinesByFieldNo

Transaction Specification.OnValidate line 1702, trigger

  1. 1704callsUpdatePurchLinesByFieldNo

Posting No. Series.OnLookup line 1737, trigger

  1. 1740callsGetPurchSetup
  2. 1741callsTable 38 Purchase Header TestNoSeries
  3. 1742callsCodeunit 310 No. Series LookupRelatedNoSeries
  4. 1742callsGetPostingNoSeriesCode
  5. 1743validatesTable 38 Purchase Header Posting No. Series

Posting No. Series.OnValidate line 1747, trigger

  1. 1750callsGetPurchSetup
  2. 1751callsTestNoSeries
  3. 1752callsCodeunit 310 No. Series TestAreRelated
  4. 1752callsGetPostingNoSeriesCode

Receiving No. Series.OnLookup line 1762, trigger

  1. 1767raisesOnBeforeLookupReceivingNoSeriesIsHandled
  2. 1772callsGetPurchSetup
  3. 1774callsCodeunit 310 No. Series LookupRelatedNoSeries
  4. 1775validatesTable 38 Purchase Header Receiving No. Series

Receiving No. Series.OnValidate line 1779, trigger

  1. 1784raisesOnBeforeValidateReceivingNoSeriesIsHandled
  2. 1789callsGetPurchSetup
  3. 1791callsCodeunit 310 No. Series TestAreRelated

Tax Area Code.OnValidate line 1802, trigger

  1. 1804callsTestStatusOpen
  2. 1805callsMessageIfPurchLinesExist

Tax Liable.OnValidate line 1813, trigger

  1. 1815callsTestStatusOpen
  2. 1816callsMessageIfPurchLinesExist

VAT Bus. Posting Group.OnValidate line 1825, trigger

  1. 1827callsTestStatusOpen
  2. 1831callsRecreatePurchLines

Applies-to ID.OnValidate line 1839, trigger

  1. 1852callsCodeunit 111 Vend. Entry-SetAppl.ID SetApplId

VAT Base Discount %.OnValidate line 1865, trigger

  1. 1871callsGetHideValidationDialog
  2. 1875raisesOnValidateVATBaseDiscountOnBeforeConfirmIsHandled
  3. 1894raisesOnValidateVATBaseAmountPercOnBeforeUpdatePurchAmountLinesIsHandled
  4. 1896callsUpdatePurchAmountLines

Send IC Document.OnValidate line 1923, trigger

  1. 1928raisesOnBeforeValidateSendICDocumentIsHandled

Prepayment %.OnValidate line 1996, trigger

  1. 2001callsUpdatePurchLinesByFieldNo

Prepayment No. Series.OnLookup line 2009, trigger

  1. 2014raisesOnBeforeLookupPrepmtNoSeriesIsHandled
  2. 2019callsGetPurchSetup
  3. 2021callsCodeunit 310 No. Series LookupRelatedNoSeries
  4. 2021callsGetPostingPrepaymentNoSeriesCode
  5. 2022validatesTable 38 Purchase Header Prepayment No. Series

Prepayment No. Series.OnValidate line 2026, trigger

  1. 2031raisesOnBeforeValidatePrepmtNoSeriesIsHandled
  2. 2036callsGetPurchSetup
  3. 2038callsCodeunit 310 No. Series TestAreRelated
  4. 2038callsGetPostingPrepaymentNoSeriesCode

Prepmt. Cr. Memo No. Series.OnLookup line 2059, trigger

  1. 2064raisesOnBeforeLookupPrepmtCrMemoNoSeriesIsHandled
  2. 2069callsGetPurchSetup
  3. 2071callsCodeunit 310 No. Series LookupRelatedNoSeries
  4. 2071callsGetPostingPrepaymentNoSeriesCode
  5. 2072validatesTable 38 Purchase Header Prepmt. Cr. Memo No. Series

Prepmt. Cr. Memo No. Series.OnValidate line 2076, trigger

  1. 2081raisesOnBeforeValidatePrepmtCrMemoNoSeriesIsHandled
  2. 2086callsGetPurchSetup
  3. 2088callsCodeunit 310 No. Series TestAreRelated
  4. 2088callsGetPostingPrepaymentNoSeriesCode

Prepmt. Payment Terms Code.OnValidate line 2108, trigger

  1. 2115callsIsCreditDocType
  2. 2117raisesOnValidatePrepmtPaymentTermsCodeOnCaseIfOnBeforeValidatePrepaymentDueDateIsHandled
  3. 2119validatesTable 38 Purchase Header Prepayment Due Date
  4. 2120validatesTable 38 Purchase Header Prepmt. Pmt. Discount Date
  5. 2121validatesTable 38 Purchase Header Prepmt. Payment Discount %
  6. 2124raisesOnValidatePaymentTermsCodeOnBeforeCalcDueDateIsHandled
  7. 2128raisesOnValidatePaymentTermsCodeOnBeforeCalcPmtDiscDateIsHandled
  8. 2132validatesTable 38 Purchase Header Prepmt. Payment Discount %
  9. 2136raisesOnValidatePrepmtPaymentTermsCodeOnCaseElseOnBeforeValidatePrepaymentDueDateIsHandled
  10. 2138validatesTable 38 Purchase Header Prepayment Due Date
  11. 2140validatesTable 38 Purchase Header Prepmt. Pmt. Discount Date
  12. 2141validatesTable 38 Purchase Header Prepmt. Payment Discount %

Prepmt. Payment Discount %.OnValidate line 2155, trigger

  1. 2160raisesOnBeforeValidatePrepmtPaymentDiscountPercentIsHandled
  2. 2165callsTestStatusOpen
  3. 2171validatesTable 38 Purchase Header VAT Base Discount %

Spend Request No..OnValidate line 2181, trigger

  1. 2190callsTable 6840 Spend Request ValidateSpendRequest
  2. 2194callsCodeunit 408 DimensionManagement GetCombinedDimensionSetID

Job Queue Status.OnLookup line 2216, trigger

  1. 2222callsTable 472 Job Queue Entry ShowStatusMsg

Incoming Document Entry No..OnValidate line 2236, trigger

  1. 2243callsTable 130 Incoming Document RemoveReferenceToWorkingDocument
  2. 2245callsTable 130 Incoming Document SetPurchDoc

Journal Templ. Name.OnValidate line 2269, trigger

  1. 2272callsTestNoSeries
  2. 2273validatesTable 38 Purchase Header Posting No. Series

VAT Reporting Date.OnValidate line 2282, trigger

  1. 2285callsInitVATDate

Dimension Set ID.OnLookup line 2324, trigger

  1. 2326callsShowDocDim

Dimension Set ID.OnValidate line 2329, trigger

  1. 2331callsCodeunit 408 DimensionManagement UpdateGlobalDimFromDimSetID

Campaign No..OnValidate line 2370, trigger

  1. 2372callsUpdatePurchLinesByFieldNo
  2. 2373callsCreateDimFromDefaultDim

Buy-from Contact No..OnLookup line 2382, trigger

  1. 2384callsBuyfromContactLookup

Buy-from Contact No..OnValidate line 2387, trigger

  1. 2391callsTestStatusOpen
  2. 2395callsTable 5050 Contact CheckIfPrivacyBlockedGeneric
  3. 2400callsConfirmUpdateField
  4. 2401callsInitFromContact
  5. 2409callsCheckContactRelatedToVendorCompany
  6. 2412callsUpdateBuyFromVend
  7. 2414callsUpdateBuyFromVendorTemplateCode

Pay-to Contact No..OnLookup line 2423, trigger

  1. 2430raisesOnBeforeLookupPayToContactNoIsHandled
  2. 2438callsTable 5054 Contact Business Relation FindByRelation
  3. 2447validatesTable 38 Purchase Header Pay-to Contact No.

Pay-to Contact No..OnValidate line 2451, trigger

  1. 2455callsTestStatusOpen
  2. 2459callsTable 5050 Contact CheckIfPrivacyBlockedGeneric
  3. 2464callsConfirmUpdateField
  4. 2465callsInitFromContact
  5. 2474callsCheckContactRelatedToVendorCompany
  6. 2477callsUpdatePayToVend

Buy-from Vendor Templ. Code.OnValidate line 2486, trigger

  1. 2490callsEnsureDocumentTypeIsQuote
  2. 2491callsTestStatusOpen
  3. 2497callsGetHideValidationDialog
  4. 2503callsInitFromTemplate
  5. 2512callsCopyFromNewBuyFromVendorTemplate
  6. 2518callsRecreatePurchLines

Pay-to Vendor Templ. Code.OnValidate line 2526, trigger

  1. 2531callsTestStatusOpen
  2. 2537callsGetHideValidationDialog
  3. 2543callsInitFromTemplate
  4. 2552callsInitFromPayToVendorTemplate
  5. 2554callsCreateDimFromDefaultDim
  6. 2560callsRecreatePurchLines

Responsibility Center.OnValidate line 2569, trigger

  1. 2571callsTestStatusOpen
  2. 2572callsCodeunit 5700 User Setup Management CheckRespCenter
  3. 2575callsCodeunit 5700 User Setup Management GetPurchasesFilter
  4. 2577callsUpdateLocationCode
  5. 2578callsUpdateInboundWhseHandlingTime
  6. 2580callsUpdateShipToAddress
  7. 2582callsCreateDimFromDefaultDim
  8. 2585callsRecreatePurchLines

Requested Receipt Date.OnValidate line 2639, trigger

  1. 2644raisesOnBeforeValidateRequestedReceiptDateIsHandled
  2. 2655callsUpdatePurchLinesByFieldNo

Promised Receipt Date.OnValidate line 2663, trigger

  1. 2668raisesOnBeforeValidatePromisedReceiptDateIsHandled
  2. 2672callsTestStatusOpen
  3. 2674callsUpdatePurchLinesByFieldNo

Lead Time Calculation.OnValidate line 2683, trigger

  1. 2685callsCodeunit 5404 Lead-Time Management CheckLeadTimeIsNotNegative
  2. 2688callsUpdatePurchLinesByFieldNo

Inbound Whse. Handling Time.OnValidate line 2697, trigger

  1. 2700callsUpdatePurchLinesByFieldNo

Return Shipment No. Series.OnLookup line 2722, trigger

  1. 2727raisesOnBeforeLookupReturnShipmentNoSeriesIsHandled
  2. 2732callsGetPurchSetup
  3. 2734callsCodeunit 310 No. Series LookupRelatedNoSeries
  4. 2735validatesTable 38 Purchase Header Return Shipment No. Series

Return Shipment No. Series.OnValidate line 2739, trigger

  1. 2744raisesOnBeforeValidateReturnShipmentNoSeriesIsHandled
  2. 2749callsGetPurchSetup
  3. 2751callsCodeunit 310 No. Series TestAreRelated

Receipt on Invoice.OnValidate line 2771, trigger

  1. 2775callsCodeunit 5826 Matched Order Line Mgmt. ApplyReceiptOnInvoiceToLines

Assigned User ID.OnValidate line 2789, trigger

  1. 2791callsCodeunit 5700 User Setup Management CheckRespCenter
  2. 2794callsCodeunit 5700 User Setup Management GetPurchasesFilter

Doc. Amount Incl. VAT.OnValidate line 2813, trigger

  1. 2824callsFindSuggestedPurchLine
  2. 2827callsTable 4 Currency Initialize
  3. 2829callsCodeunit 57 Document Totals CalculatePurchaseTotals
  4. 2830callsUpdateDocAmountVAT

Doc. Amount VAT.OnValidate line 2840, trigger

  1. 2851callsFindSuggestedPurchLine
  2. 2852callsTable 4 Currency Initialize
  3. 2854callsCodeunit 57 Document Totals CalculatePurchaseTotals
  4. 2855callsCalcDocAmountVAT
  5. 2858callsCheckDifferenceInclVAT

OnDelete line 2917, trigger

  1. 2926raisesOnBeforeOnDeleteIsHandled
  2. 2930callsCodeunit 5700 User Setup Management CheckRespCenter
  3. 2933callsCodeunit 5700 User Setup Management GetPurchasesFilter
  4. 2935callsCodeunit 5063 ArchiveManagement AutoArchivePurchDocument
  5. 2936callsCodeunit 364 PostPurch-Delete DeleteHeader
  6. 2939validatesTable 38 Purchase Header Applies-to ID
  7. 2940validatesTable 38 Purchase Header Incoming Document Entry No.
  8. 2942callsDeleteRecordInApprovalRequest
  9. 2945callsDeleteWarehouseRequest
  10. 2950callsDeletePurchaseLines
  11. 2952callsDeletePurchaseLines
  12. 2956writesTable 43 Purch. Comment Line DeleteAll
  13. 2961raisesOnBeforeShowPostedDocsToPrintCreatedMsg

OnInsert line 2966, trigger

  1. 2970raisesOnBeforeOnInsertIsHandled
  2. 2974callsInitInsert
  3. 2977callsSetBuyFromVendorFromFilter
  4. 2979callsGetFilterContNo
  5. 2980validatesTable 38 Purchase Header Buy-from Contact No.
  6. 2980callsGetFilterContNo
  7. 2983callsSetDefaultPurchaser
  8. 2986callsCodeunit 170 Standard Codes Mgt. CheckCreatePurchRecurringLines

OnRename line 2989, trigger

  1. 2994raisesOnBeforeOnRenameIsHandled

InitInsert line 3167

  1. 3174raisesOnBeforeInitInsertIsHandled
  2. 3177callsTestNoSeries
  3. 3178callsGetNoSeriesCode
  4. 3180callsCodeunit 310 No. Series AreRelated
  5. 3182callsCodeunit 310 No. Series GetNextNo
  6. 3186callsCodeunit 310 No. Series GetNextNo
  7. 3189raisesOnInitInsertOnBeforeInitRecord
  8. 3190callsInitRecord

InitRecord line 3196

  1. 3200callsGetPurchSetup
  2. 3202raisesOnBeforeInitRecordIsHandled
  3. 3206callsInitPostingNoSeries
  4. 3222callsInitVATDate
  5. 3224raisesOnInitRecordOnAfterAssignDates
  6. 3226callsValidateEmptySellToCustomerAndLocation
  7. 3228callsIsCreditDocType
  8. 3233callsInitPostingDescription
  9. 3235callsUpdateInboundWhseHandlingTime
  10. 3238raisesOnInitRecordOnBeforeAssignResponsibilityCenterIsHandled
  11. 3240callsCodeunit 5700 User Setup Management GetRespCenter
  12. 3241callsGetNextArchiveDocOccurrenceNo
  13. 3243raisesOnAfterInitRecord

InitNoSeries line 3246, local

  1. 3269raisesOnAfterInitNoSeries

InitPostingDescription line 3275

  1. 3280raisesOnBeforeInitPostingDescriptionIsHandled

InitVATDate line 3287, local

  1. 3289callsTable 98 General Ledger Setup GetVATDate

AssistEdit line 3308

  1. 3313raisesOnBeforeAssistEditIsHandled
  2. 3317callsGetPurchSetup
  3. 3318callsTestNoSeries
  4. 3319callsCodeunit 310 No. Series LookupRelatedNoSeries
  5. 3319callsGetNoSeriesCode
  6. 3320callsCodeunit 310 No. Series GetNextNo

TestNoSeries line 3328

  1. 3332callsGetPurchSetup
  2. 3334raisesOnBeforeTestNoSeriesIsHandled
  3. 3350callsTable 98 General Ledger Setup GetRecordOnce
  4. 3359callsTable 312 Purchases & Payables Setup GetRecordOnce
  5. 3360callsIsCreditDocType
  6. 3379raisesOnAfterTestNoSeries

GetNoSeriesCode line 3386

  1. 3391callsGetPurchSetup
  2. 3393raisesOnBeforeGetNoSeriesCodeIsHandled
  3. 3411raisesOnAfterGetNoSeriesCode
  4. 3416callsCodeunit 310 No. Series IsAutomatic
  5. 3419callsCodeunit 310 No. Series HasRelatedSeries
  6. 3420callsCodeunit 310 No. Series LookupRelatedNoSeries

GetNextArchiveDocOccurrenceNo line 3426, local

  1. 3432raisesOnBeforeGetNextArchiveDocOccurrenceNoIsHandled
  2. 3437callsCodeunit 5063 ArchiveManagement GetNextOccurrenceNo

GetPostingNoSeriesCode line 3440, local

  1. 3444callsGetPurchSetup
  2. 3446raisesOnBeforeGetPostingNoSeriesCodeIsHandled
  3. 3450callsTable 98 General Ledger Setup GetRecordOnce
  4. 3452callsIsCreditDocType
  5. 3461raisesOnAfterGetPostingNoSeriesCode

GetPostingPrepaymentNoSeriesCode line 3464, local

  1. 3466callsIsCreditDocType
  2. 3471raisesOnAfterGetPrepaymentPostingNoSeriesCode

ConfirmDeletion line 3499

  1. 3508raisesOnBeforeConfirmDeletionIsHandled
  2. 3516callsCodeunit 364 PostPurch-Delete InitDeleteHeader
  3. 3521callsCodeunit 27 Confirm Management GetResponseOrDefault
  4. 3524callsCodeunit 27 Confirm Management GetResponseOrDefault
  5. 3527callsCodeunit 27 Confirm Management GetResponseOrDefault
  6. 3530callsCodeunit 27 Confirm Management GetResponseOrDefault
  7. 3533callsCodeunit 27 Confirm Management GetResponseOrDefault
  8. 3536callsCodeunit 27 Confirm Management GetResponseOrDefault

GetPurchSetup line 3541, local

  1. 3544raisesOnAfterGetPurchSetup

GetVend line 3551

  1. 3556raisesOnBeforeGetVend

GetStatusStyleText line 3565

  1. 3572raisesOnAfterGetStatusStyleText

PurchLinesExist line 3579

  1. 3585raisesOnBeforePurchLinesExistIsHandled

LookupBuyFromContact line 3605

  1. 3613callsLookupContact
  2. 3615validatesTable 38 Purchase Header Buy-from Contact No.
  3. 3616raisesOnLookupBuyFromContactOnAfterValidateBuyFromContactNo

PerformManualRelease line 3621

  1. 3633callsCodeunit 1380 Batch Processing Mgt. BatchProcess

PerformManualRelease line 3638

  1. 3643raisesOnBeforePerformManualReleaseIsHandled
  2. 3646callsCodeunit 415 Release Purchase Document PerformManualRelease

PerformManualReopen line 3651

  1. 3660callsCodeunit 1380 Batch Processing Mgt. BatchProcess

RecreatePurchLines line 3672

  1. 3687raisesOnRecreatePurchLinesOnBeforePurchLinesExistsIsHandled
  2. 3691callsPurchLinesExist
  3. 3695raisesOnBeforeRecreatePurchLinesHandlerIsHandled
  4. 3700raisesOnRecreatePurchLinesOnBeforeConfirmIsHandled
  5. 3702callsGetHideValidationDialog
  6. 3705callsHasItemChargeAssignment
  7. 3709callsCodeunit 27 Confirm Management GetResponseOrDefault
  8. 3715writesTable 38 Purchase Header Modify
  9. 3716raisesOnBeforeRecreatePurchLines
  10. 3721raisesOnRecreatePurchLinesOnAfterPurchLineSetFilters
  11. 3723callsRecreateTempPurchLines
  12. 3724callsStorePurchCommentLineToTemp
  13. 3725callsDeletePurchCommentLines
  14. 3727callsTransferItemChargeAssgntPurchToTemp
  15. 3729callsDeletePurchLines
  16. 3733raisesOnRecreatePurchLinesOnBeforeTempPurchLineFindSet
  17. 3737callsTable 39 Purchase Line IsExtendedText
  18. 3738raisesOnRecreatePurchLinesOnAfterCalcShouldCreatePurchLines
  19. 3743validatesTable 39 Purchase Line Type
  20. 3744raisesOnRecreatePurchLinesOnAfterValidateType
  21. 3749validatesTable 39 Purchase Line No.
  22. 3751raisesOnRecreatePurchLinesOnBeforeTransferSavedFieldsIsHandled
  23. 3756callsTransferSavedFieldsDropShipment
  24. 3758callsTransferSavedFieldsSpecialOrder
  25. 3760callsTransferSavedFields
  26. 3764raisesOnRecreatePurchLinesOnBeforeInsertPurchLine
  27. 3765writesTable 39 Purchase Line Insert
  28. 3768raisesOnAfterRecreatePurchLine
  29. 3771callsRecreatePurchLinesFillItemChargeAssignment
  30. 3776writesTable 2000000026 Integer Insert
  31. 3780callsCodeunit 378 Transfer Extended Text PurchCheckIfAnyExtText
  32. 3781callsCodeunit 378 Transfer Extended Text InsertPurchExtText
  33. 3782raisesOnAfterTransferExtendedTextForPurchaseLineRecreation
  34. 3786callsRestorePurchCommentLine
  35. 3787raisesOnRecreatePurchLineOnAfterProcessAttachedToLineNo
  36. 3790raisesOnRecreatePurchLinesOnAfterProcessTempPurchLines
  37. 3792callsRestorePurchCommentLine
  38. 3794callsRecreateItemChargeAssgntPurch
  39. 3797writesTable 39 Purchase Line DeleteAll
  40. 3798raisesOnAfterDeleteAllTempPurchLines
  41. 3803raisesOnAfterRecreatePurchLines

StorePurchCommentLineToTemp line 3810

  1. 3816raisesOnBeforeStorePurchCommentLineToTempIsHandled
  2. 3825writesTable 43 Purch. Comment Line Insert

RestorePurchCommentLine line 3835

  1. 3846writesTable 43 Purch. Comment Line Insert

RecreatePurchLinesFillItemChargeAssignment line 3850, local

  1. 3852callsClearItemAssgntPurchFilter
  2. 3861writesTable 5805 Item Charge Assignment (Purch) Modify

RecreateItemChargeAssgntPurch line 3867, local

  1. 3871callsClearItemAssgntPurchFilter
  2. 3882validatesTable 5805 Item Charge Assignment (Purch) Qty. to Assign
  3. 3883writesTable 5805 Item Charge Assignment (Purch) Insert
  4. 3885writesTable 2000000026 Integer Delete
  5. 3889callsClearItemAssgntPurchFilter
  6. 3890writesTable 5805 Item Charge Assignment (Purch) DeleteAll

TransferSavedFields line 3893, local

  1. 3895raisesOnBeforeTransferSavedFields
  2. 3897validatesTable 39 Purchase Line Unit of Measure Code
  3. 3898validatesTable 39 Purchase Line Variant Code
  4. 3899raisesOnTransferSavedFieldsOnAfterSetVariantCode
  5. 3900callsTable 39 Purchase Line IsProdOrder
  6. 3902validatesTable 39 Purchase Line VAT Prod. Posting Group
  7. 3903validatesTable 39 Purchase Line Gen. Prod. Posting Group
  8. 3904validatesTable 39 Purchase Line Expected Receipt Date
  9. 3905validatesTable 39 Purchase Line Requested Receipt Date
  10. 3906validatesTable 39 Purchase Line Qty. per Unit of Measure
  11. 3908callsTransferSavedJobFields
  12. 3910validatesTable 39 Purchase Line Quantity
  13. 3912validatesTable 39 Purchase Line Direct Unit Cost
  14. 3914raisesOnAfterTransferSavedFields

TransferSavedJobFields line 3917, local

  1. 3922raisesOnBeforeTransferSavedJobFieldsIsHandled
  2. 3927validatesTable 39 Purchase Line Job No.
  3. 3928validatesTable 39 Purchase Line Job Task No.

TransferSavedFieldsDropShipment line 3939

  1. 3946raisesOnBeforeTransferSavedFieldsDropShipmentIsHandled
  2. 3954callsCodeunit 6620 Copy Document Mgt. TransfldsFromSalesToPurchLine
  3. 3960validatesTable 39 Purchase Line Inbound Whse. Handling Time
  4. 3961validatesTable 37 Sales Line Unit Cost (LCY)
  5. 3964writesTable 37 Sales Line Modify

TransferSavedFieldsSpecialOrder line 3967, local

  1. 3974raisesOnBeforeTransferSavedFieldsSpecialOrderIsHandled
  2. 3982callsCodeunit 6620 Copy Document Mgt. TransfldsFromSalesToPurchLine
  3. 3987validatesTable 39 Purchase Line Unit of Measure Code
  4. 3989validatesTable 39 Purchase Line Quantity
  5. 3991validatesTable 37 Sales Line Unit Cost (LCY)
  6. 3994raisesOnTransferSavedFieldsSpecialOrderOnBeforeSalesLineModify
  7. 3995writesTable 37 Sales Line Modify

MessageIfPurchLinesExist line 4005

  1. 4011raisesOnBeforeMessageIfPurchLinesExistIsHandled
  2. 4015callsPurchLinesExist
  3. 4015callsGetHideValidationDialog

PriceMessageIfPurchLinesExist line 4031

  1. 4038raisesOnBeforePriceMessageIfPurchLinesExistIsHandled
  2. 4042callsPurchLinesExist
  3. 4042callsGetHideValidationDialog
  4. 4048callsCodeunit 27 Confirm Management GetResponseOrDefault
  5. 4050callsUpdatePurchLinesByFieldNo

UpdateCurrencyFactor line 4064, local

  1. 4069raisesOnBeforeUpdateCurrencyFactor
  2. 4078raisesOnUpdateCurrencyFactorOnAfterCurrencyDateSet
  3. 4080callsCodeunit 1281 Update Currency Exchange Rates ExchangeRatesForCurrencyExist
  4. 4081callsTable 330 Currency Exchange Rate ExchangeRate
  5. 4083callsRecreatePurchLines
  6. 4085callsCodeunit 1281 Update Currency Exchange Rates ShowMissingExchangeRatesNotification
  7. 4089callsRecreatePurchLines
  8. 4092raisesOnAfterUpdateCurrencyFactor
  9. 4092callsGetHideValidationDialog

ConfirmCurrencyFactorUpdate line 4099

  1. 4104raisesOnBeforeConfirmUpdateCurrencyFactor
  2. 4105callsGetHideValidationDialog
  3. 4109raisesOnConfirmCurrencyFactorUpdateOnBeforeConfirmIsHandled
  4. 4114validatesTable 38 Purchase Header Currency Factor
  5. 4117raisesOnAfterConfirmUpdateCurrencyFactor

UpdateLocationCode line 4147

  1. 4152raisesOnBeforeUpdateLocationCodeIsHandled
  2. 4154validatesTable 38 Purchase Header Location Code
  3. 4154callsCodeunit 5700 User Setup Management GetLocation

UpdatePurchLines line 4164

  1. 4174callsUpdatePurchLinesByFieldNo
  2. 4176raisesOnAfterUpdatePurchLines

UpdatePurchAmountLines line 4179, local

  1. 4185raisesOnBeforeUpdatePurchLineAmountsIsHandled
  2. 4196writesTable 38 Purchase Header Modify
  3. 4198callsTable 39 Purchase Line UpdateAmounts
  4. 4199writesTable 39 Purchase Line Modify

UpdatePurchLinesByFieldNo line 4211

  1. 4220raisesOnBeforeUpdatePurchLinesByFieldNoIsHandled
  2. 4224callsPurchLinesExist
  3. 4239raisesOnUpdatePurchLinesByFieldNoOnAfterCalcShouldConfirmReservationDateConflict
  4. 4241callsConfirmReservationDateConflict
  5. 4248raisesOnUpdatePurchLinesByFieldNoOnBeforeModifyRec
  6. 4249writesTable 38 Purchase Header Modify
  7. 4254raisesOnUpdatePurchLinesByFieldNoOnAfterPurchLineSetFilters
  8. 4259raisesOnUpdatePurchLinesByFieldNoOnBeforeValidateFieldsIsHandled
  9. 4264validatesTable 39 Purchase Line Expected Receipt Date
  10. 4267validatesTable 39 Purchase Line Direct Unit Cost
  11. 4269validatesTable 39 Purchase Line Transaction Type
  12. 4271validatesTable 39 Purchase Line Transport Method
  13. 4273validatesTable 39 Purchase Line Entry Point
  14. 4275validatesTable 39 Purchase Line Area
  15. 4277validatesTable 39 Purchase Line Transaction Specification
  16. 4280validatesTable 39 Purchase Line Requested Receipt Date
  17. 4283validatesTable 39 Purchase Line Prepayment %
  18. 4286validatesTable 39 Purchase Line Promised Receipt Date
  19. 4289validatesTable 39 Purchase Line Lead Time Calculation
  20. 4292validatesTable 39 Purchase Line Inbound Whse. Handling Time
  21. 4295validatesTable 39 Purchase Line Deferral Code
  22. 4298validatesTable 39 Purchase Line Order Date
  23. 4299callsTable 39 Purchase Line UpdateDirectUnitCost
  24. 4303callsTable 39 Purchase Line UpdateDirectUnitCost
  25. 4305raisesOnUpdatePurchLinesByChangedFieldName
  26. 4307raisesOnUpdatePurchLinesByFieldNoOnBeforeLineModify
  27. 4308writesTable 39 Purchase Line Modify(true)
  28. 4309callsCodeunit 99000834 Purch. Line-Reserve VerifyChange
  29. 4312raisesOnAfterUpdatePurchLinesByFieldNo

ConfirmReservationDateConflict line 4330

  1. 4337raisesOnBeforeConfirmResvDateConflictIsHandled
  2. 4341callsCodeunit 99000831 Reservation Engine Mgt. ResvExistsForPurchHeader
  3. 4342callsCodeunit 27 Confirm Management GetResponseOrDefault

CreateDim line 4353

  1. 4360raisesOnBeforeCreateDimIsHandled
  2. 4370callsCodeunit 408 DimensionManagement GetRecDefaultDimID
  3. 4373raisesOnCreateDimOnBeforeUpdateLines
  4. 4375callsGetHideValidationDialog
  5. 4376callsCouldDimensionsBeKept
  6. 4377callsConfirmKeepExistingDimensions
  7. 4379callsCodeunit 408 DimensionManagement UpdateGlobalDimFromDimSetID
  8. 4382raisesOnCreateDimOnAfterConfirmKeepExisting
  9. 4384callsPurchLinesExist
  10. 4385writesTable 38 Purchase Header Modify
  11. 4386callsUpdateAllLineDim

ConfirmKeepExistingDimensions line 4391, local

  1. 4396raisesOnBeforeConfirmKeepExistingDimensionsIsHandled

CouldDimensionsBeKept line 4407

  1. 4412raisesOnBeforeCouldDimensionsBeKeptIsHandled
  2. 4430raisesOnAfterCouldDimensionsBeKept

ValidateShortcutDimCode line 4441

  1. 4447raisesOnBeforeValidateShortcutDimCodeIsHandled
  2. 4452callsCodeunit 408 DimensionManagement ValidateShortcutDimValues
  3. 4454writesTable 38 Purchase Header Modify
  4. 4457raisesOnValidateShortcutDimCodeOnBeforeUpdateAllLineDim
  5. 4459writesTable 38 Purchase Header Modify
  6. 4460callsPurchLinesExist
  7. 4461callsUpdateAllLineDim
  8. 4464raisesOnAfterValidateShortcutDimCode

ValidateDocumentDateWithPostingDate line 4467, local

  1. 4472raisesOnBeforeValidateDocumentDateWithPostingDateIsHandled
  2. 4476validatesTable 38 Purchase Header Document Date

UpdateShipToAddress line 4513

  1. 4518raisesOnBeforeUpdateShipToAddressIsHandled
  2. 4522callsIsCreditDocType
  3. 4523raisesOnAfterUpdateShipToAddress
  4. 4528callsSetShipToAddress
  5. 4533raisesOnUpdateShipToAddressOnAfterCopyFromLocation
  6. 4539callsSetShipToAddress
  7. 4545raisesOnUpdateShipToAddressOnAfterCopyFromCompany
  8. 4548raisesOnAfterUpdateShipToAddress

DeletePurchaseLines line 4551, local

  1. 4557raisesOnBeforeDeletePurchaseLinesIsHandled
  2. 4562callsCodeunit 99000845 Reservation Management DeleteDocumentReservation
  3. 4563callsGetHideValidationDialog
  4. 4565callsTable 39 Purchase Line SuspendStatusCheck
  5. 4566writesTable 39 Purchase Line Delete(true)

DeleteRecordInApprovalRequest line 4571, local

  1. 4576raisesOnBeforeDeleteRecordInApprovalRequestIsHandled
  2. 4580callsCodeunit 1535 Approvals Mgmt. OnDeleteRecordInApprovalRequest

CheckReceiptInfo line 4591, local

  1. 4596raisesOnBeforeCheckReceiptInfoIsHandled

CheckShipToCodeChange line 4656, local

  1. 4661raisesOnBeforeCheckShipToCodeChangeIsHandled

CheckShipToCode line 4691, local

  1. 4696raisesOnBeforeCheckShipToCodeIsHandled

UpdateBuyFromCont line 4710

  1. 4717callsCodeunit 1630 Office Management GetContact
  2. 4718callsSetHideValidationDialog
  3. 4719callsUpdateBuyFromVend
  4. 4720callsSetHideValidationDialog
  5. 4726callsTable 5054 Contact Business Relation GetContactNo
  6. 4732callsTable 5050 Contact CheckIfPrivacyBlockedGeneric
  7. 4734raisesOnAfterUpdateBuyFromCont

UpdatePayToCont line 4752, local

  1. 4762callsTable 5054 Contact Business Relation GetContactNo
  2. 4768callsTable 5050 Contact CheckIfPrivacyBlockedGeneric
  3. 4770raisesOnAfterUpdatePayToCont

UpdateBuyFromVend line 4773, local

  1. 4784raisesOnUpdateBuyFromVendOnAfterGetContact
  2. 4800callsTable 5054 Contact Business Relation FindByContact
  3. 4803callsTable 5054 Contact Business Relation FindByContact
  4. 4812validatesTable 38 Purchase Header Buy-from Vendor No.
  5. 4817callsGetContactAsCompany
  6. 4822callsSetShipToAddress
  7. 4827validatesTable 38 Purchase Header Buy-from Vendor Templ. Code
  8. 4827callsTable 5050 Contact FindNewVendorTemplate
  9. 4829callsContactIsNotRelatedToVendorError
  10. 4833raisesOnCheckBuyFromContactOnAfterFindByContact
  11. 4835callsUpdateBuyFromVendContact
  12. 4840callsGetContactAsCompany
  13. 4842callsGetContactAsCompany
  14. 4855validatesTable 38 Purchase Header Pay-to Contact No.
  15. 4857raisesOnAfterUpdateBuyFromVend

UpdatePayToVend line 4860, local

  1. 4871raisesOnUpdatePayToVendOnAfterGetContact
  2. 4886raisesOnUpdatePayToVendOnBeforeFindByContact
  3. 4888callsTable 5054 Contact Business Relation FindByContact
  4. 4891callsTable 5054 Contact Business Relation FindByContact
  5. 4896validatesTable 38 Purchase Header Pay-to Vendor No.
  6. 4903callsGetContactAsCompany
  7. 4915validatesTable 38 Purchase Header Currency Code
  8. 4920validatesTable 38 Purchase Header Pay-to Vendor Templ. Code
  9. 4920callsTable 5050 Contact FindNewVendorTemplate
  10. 4922callsContactIsNotRelatedToVendorError
  11. 4924raisesOnAfterUpdatePayToVend

ContactIsNotRelatedToVendorError line 4927, local

  1. 4932raisesOnBeforeContactIsNotRelatedToVendorErrorIsHandled

CreateInvtPutAwayPick line 4942

  1. 4957runsReport 7323 Create Invt Put-away/Pick/Mvmt

ShowDocDim line 4964

  1. 4970raisesOnBeforeShowDocDimIsHandled
  2. 4976callsCodeunit 408 DimensionManagement EditDimensionSet
  3. 4979raisesOnShowDocDimOnAfterSetDimensionSetID
  4. 4982raisesOnShowDocDimOnBeforePurchHeaderModify
  5. 4983writesTable 38 Purchase Header Modify
  6. 4984callsPurchLinesExist
  7. 4985callsUpdateAllLineDim

UpdateAllLineDim line 4994

  1. 5004raisesOnBeforeUpdateAllLineDimIsHandled
  2. 5010callsGetHideValidationDialog
  3. 5012raisesOnUpdateAllLineDimOnBeforeConfirmUpdateAllLineDim
  4. 5013callsCodeunit 27 Confirm Management GetResponseOrDefault
  5. 5020raisesOnUpdateAllLineDimOnAfterPurchLineSetFilters
  6. 5024raisesOnUpdateAllLineDimOnBeforeGetPurchLineNewDimsetID
  7. 5025callsCodeunit 408 DimensionManagement GetDeltaDimSetID
  8. 5026raisesOnUpdateAllLineDimOnAfterGetPurchLineNewDimsetID
  9. 5031callsGetHideValidationDialog
  10. 5032callsVerifyReceivedShippedItemLineDimChange
  11. 5034callsCodeunit 408 DimensionManagement UpdateGlobalDimFromDimSetID
  12. 5037raisesOnUpdateAllLineDimOnBeforePurchLineModify
  13. 5038writesTable 39 Purchase Line Modify

VerifyReceivedShippedItemLineDimChange line 5043, local

  1. 5045callsTable 39 Purchase Line IsReceivedShippedItemDimChanged
  2. 5047callsTable 39 Purchase Line ConfirmReceivedShippedItemDimChange

SetAmountToApply line 5059

  1. 5063raisesOnBeforeSetAmountToApply
  2. 5072raisesOnSetAmountToApplyAfterOnCalcRemainingAmount
  3. 5078runsCodeunit 113 Vend. Entry-Edit

SetShipToForSpecOrder line 5086

  1. 5090callsSetShipToAddress
  2. 5099callsSetShipToAddress
  3. 5108raisesOnAfterSetShipToForSpecOrder

JobUpdatePurchLines line 5111, local

  1. 5117callsTable 39 Purchase Line SetPurchHeader
  2. 5119callsJobUpdatePurchaseLine

JobUpdatePurchaseLine line 5124, local

  1. 5129raisesOnBeforeJobUpdatePurchaseLineIsHandled
  2. 5134callsTable 39 Purchase Line JobSetCurrencyFactor
  3. 5135callsTable 39 Purchase Line CreateTempJobJnlLine
  4. 5136callsTable 39 Purchase Line UpdateJobPrices
  5. 5137writesTable 39 Purchase Line Modify

GetPstdDocLinesToReverse line 5144

  1. 5150raisesOnBeforeGetPstdDocLinesToReverseIsHandled
  2. 5154callsGetVend
  3. 5155callsPage 5855 Posted Purchase Document Lines SetToPurchHeader
  4. 5159callsPage 5855 Posted Purchase Document Lines CopyLineToDoc
  5. 5163raisesOnAfterGetPstdDocLinesToReverse

SetSecurityFilterOnRespCenter line 5174

  1. 5179raisesOnBeforeSetSecurityFilterOnRespCenterIsHandled
  2. 5180callsCodeunit 5700 User Setup Management GetPurchasesFilter
  3. 5182callsCodeunit 5700 User Setup Management GetPurchasesFilter
  4. 5187raisesOnAfterSetSecurityFilterOnRespCenter

CalcInvDiscForHeader line 5193

  1. 5199raisesOnBeforeCalcInvDiscForHeaderIsHandled
  2. 5203callsGetPurchSetup
  3. 5205callsCodeunit 70 Purch.-Calc.Discount CalculateIncDiscForHeader

AddShipToAddress line 5215

  1. 5246callsSetShipToAddress
  2. 5255raisesOnAfterAddShipToAddress

BuyFromPostCodeOnBeforeLookupHandled line 5258, local

  1. 5260raisesOnBeforeBuyFromPostCodeOnBeforeLookupHandledIsHandled

CopyAddressInfoFromOrderAddress line 5263, local

  1. 5270raisesOnCopyAddressInfoFromOrderAddressOnBeforeCopyBuyFromVendorAddressFieldsFromOrderAddressIsHandled
  2. 5283callsIsCreditDocType
  3. 5284callsSetShipToAddress
  4. 5290raisesOnAfterCopyAddressInfoFromOrderAddress

CheckDropShipmentLineExists line 5326, local

  1. 5332raisesOnBeforeCheckDropShipmentLineExistsIsHandled

QtyToReceiveIsZero line 5346

  1. 5352raisesOnQtyToReceiveIsZeroOnAfterSetFilters

IsApprovedForPosting line 5361

  1. 5366callsCodeunit 1535 Approvals Mgmt. PrePostApprovalCheckPurch
  2. 5367callsTestPurchasePrepayment
  3. 5370callsCodeunit 441 Prepayment Mgt. TestPurchasePayment
  4. 5372raisesOnIsApprovedForPostingOnBeforeErrorIsHandled
  5. 5376raisesOnAfterIsApprovedForPosting

IsApprovedForPostingBatch line 5385

  1. 5387callsApprovedForPostingBatch
  2. 5388raisesOnAfterIsApprovedForPostingBatch

ApprovedForPostingBatch line 5392, local

  1. 5396callsCodeunit 1535 Approvals Mgmt. PrePostApprovalCheckPurch
  2. 5397callsTestPurchasePrepayment
  3. 5398callsCodeunit 441 Prepayment Mgt. TestPurchasePayment

IsTotalValid line 5411

  1. 5421raisesOnBeforeIsTotalValidIsHandled
  2. 5444raisesOnBeforeCheckIsTotalValidIsHandled
  3. 5449callsCodeunit 57 Document Totals PurchaseCalculateTotalsWithInvoiceRounding

SendToPosting line 5463

  1. 5471raisesOnBeforeSendToPostingIsHandled
  2. 5475callsIsApprovedForPosting
  3. 5479callsCodeunit 28 Error Message Management Activate
  4. 5480callsCodeunit 28 Error Message Management PushContext
  5. 5484callsDeleteWarehouseRequest
  6. 5485callsCodeunit 29 Error Message Handler ShowErrors

DeleteWarehouseRequest line 5489, local

  1. 5495writesTable 5765 Warehouse Request DeleteAll(true)

CancelBackgroundPosting line 5501

  1. 5505callsCodeunit 98 Purchase Post via Job Queue CancelQueueEntry

GetDocTypeTxt line 5512

  1. 5516callsCodeunit 452 Report Distribution Management GetFullDocumentTypeText

AddSpecialOrderToAddress line 5525

  1. 5531raisesOnBeforeAddSpecialOrderToAddressIsHandled
  2. 5536callsPurchLinesExist
  3. 5538callsTable 38 Purchase Header SetShipToForSpecOrder
  4. 5556callsSetShipToForSpecOrder
  5. 5558raisesOnAfterAddSpecialOrderToAddress

CreateDimSetForPrepmtAccDefaultDim line 5579

  1. 5587raisesOnBeforeCreateDimSetForPrepmtAccDefaultDimIsHandled
  2. 5596callsCollectParamsInBufferForCreateDimSet
  3. 5602callsInitPurchaseLineDefaultDimSource
  4. 5603raisesOnCreateDimSetForPrepmtAccDefaultDimOnBeforeTempPurchaseLineCreateDim
  5. 5604callsTable 39 Purchase Line CreateDim

InitPurchaseLineDefaultDimSource line 5608, local

  1. 5614raisesOnBeforeInitPurchaseLineDefaultDimSourceIsHandled
  2. 5618callsCodeunit 408 DimensionManagement AddDimSource
  3. 5619callsCodeunit 408 DimensionManagement AddDimSource
  4. 5620callsCodeunit 408 DimensionManagement AddDimSource
  5. 5622raisesOnAfterInitPurchaseLineDefaultDimSource

CollectParamsInBufferForCreateDimSet line 5625, local

  1. 5637raisesCollectParamsInBufferForCreateDimSetOnBeforeInsertTempPurchaseLineInBuffer
  2. 5638callsInsertTempPurchaseLineInBuffer
  3. 5644raisesOnCollectParamsInBufferForCreateDimSetOnAfterSetTempPurchLineFilters
  4. 5646callsInsertTempPurchaseLineInBuffer

InsertTempPurchaseLineInBuffer line 5650, local

  1. 5662raisesOnInsertTempPurchLineInBufferOnBeforeTempPurchLineInsert
  2. 5663writesTable 39 Purchase Line Insert

TransferItemChargeAssgntPurchToTemp line 5671

  1. 5676raisesOnBeforeTransferItemChargeAssgntPurchToTempIsHandled
  2. 5685writesTable 5805 Item Charge Assignment (Purch) Insert
  3. 5687writesTable 5805 Item Charge Assignment (Purch) DeleteAll

PrepareOpeningDocumentStatistics line 5695

  1. 5705callsCalcInvDiscForHeader
  2. 5706callsIsOrderDocument
  3. 5707callsCreateDimSetForPrepmtAccDefaultDim
  4. 5709raisesOnAfterPrepareOpeningDocumentStatistics

CheckPurchasePostRestrictions line 5734

  1. 5736raisesOnCheckPurchasePostRestrictions

CheckPurchaseReleaseRestrictions line 5747

  1. 5751raisesOnCheckPurchaseReleaseRestrictions
  2. 5752callsCodeunit 1535 Approvals Mgmt. PrePostApprovalCheckPurch

SetStatus line 5759

  1. 5762writesTable 38 Purchase Header Modify

TriggerOnAfterPostPurchaseDoc line 5773

  1. 5777callsCodeunit 90 Purch.-Post OnAfterPostPurchaseDoc

ConfirmUpdateDeferralDate line 5796, local

  1. 5798callsGetHideValidationDialog
  2. 5803callsUpdatePurchLinesByFieldNo

ConfirmUpdateField line 5806, local

  1. 5811raisesOnBeforeConfirmUpdateFieldIsHandled
  2. 5815callsGetHideValidationDialog
  3. 5818callsGetUpdatedFieldCaption

IsCreditDocType line 5847

  1. 5852raisesOnBeforeIsCreditDocType

SetBuyFromVendorFromFilter line 5863

  1. 5867callsGetFilterVendNo
  2. 5870callsGetFilterVendNo
  3. 5875validatesTable 38 Purchase Header Buy-from Vendor No.
  4. 5878raisesOnAfterSetBuyFromVendorFromFilter

HasBuyFromAddress line 5907

  1. 5912raisesOnBeforeHasBuyFromAddressIsHandled

HasShipToAddress line 5940

  1. 5945raisesOnBeforeHasShipToAddressIsHandled

HasPayToAddress line 5975

  1. 5980raisesOnBeforeHasPayToAddressIsHandled

CopyBuyFromVendorAddressFieldsFromVendor line 6018, local

  1. 6020callsBuyFromVendorIsReplaced
  2. 6020callsShouldCopyAddressFromBuyFromVendor
  3. 6028raisesOnAfterCopyBuyFromVendorAddressFieldsFromVendor

CopyShipToVendorAddressFieldsFromVendor line 6032, local

  1. 6034callsBuyFromVendorIsReplaced
  2. 6034callsHasShipToAddress
  3. 6040validatesTable 38 Purchase Header Ship-to Country/Region Code
  4. 6042raisesOnAfterCopyShipToVendorAddressFieldsFromVendor

CopyPayToVendorAddressFieldsFromVendor line 6046, local

  1. 6048callsPayToVendorIsReplaced
  2. 6048callsShouldCopyAddressFromPayToVendor
  3. 6056raisesOnAfterCopyPayToVendorAddressFieldsFromVendor

ShouldCopyAddressFromBuyFromVendor line 6083, local

  1. 6085callsHasBuyFromAddress
  2. 6085callsTable 23 Vendor HasAddress

ShouldCopyAddressFromPayToVendor line 6088, local

  1. 6090callsHasPayToAddress
  2. 6090callsTable 23 Vendor HasAddress

ShouldSearchForVendorByName line 6098

  1. 6104raisesOnBeforeShouldSearchForVendorByNameIsHandled
  2. 6111callsGetPurchSetup

CopyBuyFromAddressToPayToAddress line 6135

  1. 6144raisesOnAfterCopyBuyFromAddressToPayToAddress

UpdatePayToAddressFromBuyFromAddress line 6148, local

  1. 6150callsPayToAddressEqualsOldBuyFromAddress
  2. 6176raisesOnAfterUpdatePayToAddressFromBuyFromAddress

PayToAddressEqualsOldBuyFromAddress line 6179, local

  1. 6187raisesOnAfterPayToAddressEqualsOldBuyFromAddress

ConfirmCloseUnposted line 6194

  1. 6200raisesOnBeforeConfirmCloseUnpostedIsHandled
  2. 6204callsPurchLinesExist
  3. 6205callsCodeunit 1330 Instruction Mgt. IsUnpostedEnabledForRecord
  4. 6206callsCodeunit 1330 Instruction Mgt. ShowConfirm
  5. 6206callsCodeunit 1330 Instruction Mgt. QueryPostOnCloseCode

InitFromPurchHeader line 6214

  1. 6223callsSetShipToAddress
  2. 6230raisesOnInitFromPurchHeader

InitFromVendor line 6233, local

  1. 6240raisesOnInitFromVendorOnBeforeInit
  2. 6243raisesOnInitFromVendorOnBeforeInitRecord
  3. 6244callsInitRecord
  4. 6245callsInitNoSeries
  5. 6249raisesOnAfterInitFromVendor

InitFromContact line 6252, local

  1. 6259raisesOnInitFromContactOnBeforeInit
  2. 6261callsGetPurchSetup
  3. 6263raisesOnInitFromContactOnBeforeInitRecord
  4. 6264callsInitRecord
  5. 6265callsInitNoSeries

LookupContact line 6270, local

  1. 6274callsTable 5054 Contact Business Relation FindByRelation

BuyfromContactLookup line 6286

  1. 6293raisesOnBeforeLookupBuyFromContactNoIsHandled
  2. 6301callsTable 5054 Contact Business Relation FindByRelation
  3. 6311validatesTable 38 Purchase Header Buy-from Contact No.

SendRecords line 6325

  1. 6333raisesOnBeforeSendRecordsIsHandled
  2. 6337callsCheckMixedDropShipment
  3. 6338raisesOnSendRecordsOnAfterCheckMixedDropShipment
  4. 6340callsGetReportSelectionsUsageFromDocumentType
  5. 6343raisesOnSendRecordsOnBeforeSendVendorRecordsIsHandled
  6. 6345callsTable 60 Document Sending Profile SendVendorRecords

PrintRecords line 6357

  1. 6364raisesOnBeforePrintRecordsIsHandled
  2. 6368callsCheckMixedDropShipment
  3. 6369raisesOnPrintRecordsOnAfterCheckMixedDropShipment
  4. 6372raisesOnPrintRecordsOnBeforeTrySendToPrinterVendorIsHandled
  5. 6374callsTable 60 Document Sending Profile TrySendToPrinterVendor

SendProfile line 6387

  1. 6394raisesOnBeforeSendProfileIsHandled
  2. 6398callsCheckMixedDropShipment
  3. 6399callsGetReportSelectionsUsageFromDocumentType
  4. 6401raisesOnSendProfileOnBeforeSendVendorIsHandled
  5. 6403callsTable 60 Document Sending Profile SendVendor

CheckMixedDropShipment line 6408, local

  1. 6410callsHasMixedDropShipment

HasMixedDropShipment line 6414, local

  1. 6420raisesOnBeforeHasMixedDropShipmentIsHandled
  2. 6435callsTable 39 Purchase Line IsInventoriableItem

SetDefaultPurchaser line 6442, local

  1. 6448raisesOnBeforeSetDefaultPurchaserIsHandled
  2. 6452callsGetUserSetupPurchaserCode
  3. 6455callsTable 13 Salesperson/Purchaser VerifySalesPersonPurchaserPrivacyBlocked
  4. 6456validatesTable 38 Purchase Header Purchaser Code

GetUserSetupPurchaserCode line 6463

  1. 6469raisesOnBeforeGetUserSetupPurchaserCodeIsHandled

InitPostingNoSeries line 6479

  1. 6483callsTable 98 General Ledger Setup GetRecordOnce
  2. 6486callsIsCreditDocType
  3. 6496callsIsCreditDocType
  4. 6504callsCodeunit 310 No. Series IsAutomatic
  5. 6506callsCodeunit 310 No. Series IsAutomatic
  6. 6509callsCodeunit 310 No. Series IsAutomatic
  7. 6511callsCodeunit 310 No. Series IsAutomatic
  8. 6520callsCodeunit 310 No. Series IsAutomatic
  9. 6523callsCodeunit 310 No. Series IsAutomatic
  10. 6528callsCodeunit 310 No. Series IsAutomatic
  11. 6530callsCodeunit 310 No. Series IsAutomatic
  12. 6538callsCodeunit 310 No. Series IsAutomatic
  13. 6541callsCodeunit 310 No. Series IsAutomatic
  14. 6546raisesOnAfterInitPostingNoSeries

SetShipToCodeEmpty line 6549, local

  1. 6554raisesOnBeforeSetShipToCodeEmptyIsHandled
  2. 6558validatesTable 38 Purchase Header Ship-to Code

OnAfterValidateBuyFromVendorNo line 6567

  1. 6573callsSelectDefaultRemitAddress

SelectDefaultRemitAddress line 6580

  1. 6588validatesTable 38 Purchase Header Remit-to Code

BatchConfirmUpdateDeferralDate line 6601

  1. 6607callsDeferralHeadersExist
  2. 6618callsConfirmUpdateDeferralDate
  3. 6625callsUpdatePurchLinesByFieldNo

BatchConfirmUpdatePostingDate line 6630

  1. 6636callsDeferralHeadersExist
  2. 6641validatesTable 38 Purchase Header Currency Code
  3. 6645callsSetReplaceDocumentDate
  4. 6646validatesTable 38 Purchase Header Document Date

ModifyPayToVendorAddress line 6663, local

  1. 6669raisesOnBeforeModifyPayToVendorAddressIsHandled
  2. 6673callsGetPurchSetup
  3. 6676callsIsCreditDocType
  4. 6679callsHasPayToAddress
  5. 6679callsHasDifferentPayToAddress
  6. 6680callsShowModifyAddressNotification
  7. 6680callsGetModifyPayToVendorAddressNotificationId

ModifyVendorAddress line 6686, local

  1. 6692raisesOnBeforeModifyVendorAddressIsHandled
  2. 6696callsGetPurchSetup
  3. 6699callsIsCreditDocType
  4. 6701callsHasBuyFromAddress
  5. 6701callsHasDifferentBuyFromAddress
  6. 6702callsShowModifyAddressNotification
  7. 6702callsGetModifyVendorAddressNotificationId

ShowModifyAddressNotification line 6708, local

  1. 6714callsTable 1518 My Notifications IsEnabled
  2. 6726callsCodeunit 1511 Notification Lifecycle Mgt. SendNotification

RecallModifyAddressNotification line 6736

  1. 6741callsIsCreditDocType
  2. 6741callsTable 1518 My Notifications IsEnabled

SetModifyVendorAddressNotificationDefaultState line 6801

  1. 6805callsTable 1518 My Notifications InsertDefault
  2. 6805callsGetModifyVendorAddressNotificationId

SetModifyPayToVendorAddressNotificationDefaultState line 6816

  1. 6820callsTable 1518 My Notifications InsertDefault
  2. 6820callsGetModifyPayToVendorAddressNotificationId

SetShowExternalDocAlreadyExistNotificationDefaultState line 6828

  1. 6832callsTable 1518 My Notifications InsertDefault
  2. 6832callsGetShowExternalDocAlreadyExistNotificationId

DontNotifyCurrentUserAgain line 6840

  1. 6844callsTable 1518 My Notifications Disable
  2. 6846callsGetModifyVendorAddressNotificationId
  3. 6847callsTable 1518 My Notifications InsertDefault
  4. 6849callsGetModifyPayToVendorAddressNotificationId
  5. 6850callsTable 1518 My Notifications InsertDefault

HasDifferentBuyFromAddress line 6855, local

  1. 6864raisesOnAfterHasDifferentBuyFromAddress

HasDifferentPayToAddress line 6867, local

  1. 6876raisesOnAfterHasDifferentPayToAddress

SetWarnZeroQuantityPurchasePosting line 6885

  1. 6889callsTable 1518 My Notifications InsertDefault
  2. 6889callsGetWarnWhenZeroQuantityPurchaseLinePosting

FindPostedDocumentWithSameExternalDocNo line 6899

  1. 6903callsCodeunit 1312 Vendor Mgt. SetFilterForExternalDocNo
  2. 6904callsGetGenJnlDocumentType

FilterPartialReceived line 6914

  1. 6928callsHasReceivedLines

FilterPartialInvoiced line 6945

  1. 6959callsHasInvoicedLines

ShowExternalDocAlreadyExistNotification line 6992, local

  1. 6999callsTable 1518 My Notifications IsEnabled
  2. 6999callsGetShowExternalDocAlreadyExistNotificationId
  3. 7002callsCodeunit 1330 Instruction Mgt. CreateMissingMyNotificationsWithDefaultState
  4. 7002callsGetShowExternalDocAlreadyExistNotificationId
  5. 7004callsIsDocAlreadyExistNotificationEnabled
  6. 7007callsGetShowExternalDocAlreadyExistNotificationId
  7. 7015callsCodeunit 1511 Notification Lifecycle Mgt. SendNotificationWithAdditionalContext
  8. 7016callsGetShowExternalDocAlreadyExistNotificationId

RecallExternalDocAlreadyExistsNotification line 7034, local

  1. 7038callsIsDocAlreadyExistNotificationEnabled
  2. 7041callsCodeunit 1511 Notification Lifecycle Mgt. RecallNotificationsForRecordWithAdditionalContext
  3. 7042callsGetShowExternalDocAlreadyExistNotificationId

IsDocAlreadyExistNotificationEnabled line 7050

  1. 7054callsCodeunit 1330 Instruction Mgt. IsMyNotificationEnabled
  2. 7054callsGetShowExternalDocAlreadyExistNotificationId

ShipToAddressEqualsCompanyShipToAddress line 7062

  1. 7067callsIsShipToAddressEqualToCompanyShipToAddress

IsShipToAddressEqualToCompanyShipToAddress line 7070, local

  1. 7082raisesOnAfterIsShipToAddressEqualToCompanyShipToAddress

BuyFromAddressEqualsShipToAddress line 7089

  1. 7100raisesOnAfterBuyFromAddressEqualsShipToAddress

BuyFromAddressEqualsPayToAddress line 7107

  1. 7119raisesOnAfterBuyFromAddressEqualsPayToAddress

SetPurchaserCode line 7122, local

  1. 7127raisesOnBeforeSetPurchaserCodeIsHandled
  2. 7132callsGetUserSetupPurchaserCode
  3. 7134callsTable 13 Salesperson/Purchaser VerifySalesPersonPurchaserPrivacyBlocked

ValidatePurchaserOnPurchHeader line 7148

  1. 7152callsTable 13 Salesperson/Purchaser VerifySalesPersonPurchaserPrivacyBlocked
  2. 7156callsTable 13 Salesperson/Purchaser GetPrivacyBlockedTransactionText
  3. 7162callsTable 13 Salesperson/Purchaser GetPrivacyBlockedGenericText

GetReportSelectionsUsageFromDocumentType line 7168, local

  1. 7174callsCodeunit 452 Report Distribution Management GetFullDocumentTypeText
  2. 7192raisesOnAfterGetReportSelectionsUsageFromDocumentType

ValidateEmptySellToCustomerAndLocation line 7221

  1. 7226raisesOnBeforeValidateEmptySellToCustomerAndLocationIsHandled
  2. 7228validatesTable 38 Purchase Header Sell-to Customer No.
  3. 7231callsGetVend
  4. 7232callsUpdateLocationCode
  5. 7235raisesOnAfterValidateEmptySellToCustomerAndLocation

CheckForBlockedLines line 7241

  1. 7273callsTable 156 Resource CheckResourcePrivacyBlocked

TestStatusIsNotPendingApproval line 7284

  1. 7288raisesOnTestStatusIsNotPendingApproval

TestStatusIsNotPendingPrepayment line 7295

  1. 7299raisesOnTestStatusIsNotPendingPrepayment

TestStatusIsNotReleased line 7306

  1. 7310raisesOnTestStatusIsNotReleased

TestStatusOpen line 7319

  1. 7321raisesOnBeforeTestStatusOpen
  2. 7328raisesOnAfterTestStatusOpen

UpdateInboundWhseHandlingTime line 7350

  1. 7360raisesOnAfterUpdateInboundWhseHandlingTime

GetFullDocTypeTxt line 7367

  1. 7371raisesOnBeforeGetFullDocTypeTxtIsHandled

LookupPostCode line 7379, local

  1. 7384callsTable 225 Post Code LookupPostCode
  2. 7385raisesOnLookupPostCode

CopyDocument line 7394

  1. 7400raisesOnBeforeCopyDocumentIsHandled
  2. 7404callsReport 492 Copy Purchase Document SetPurchHeader

CheckContactRelatedToVendorCompany line 7408, local

  1. 7415raisesOnBeforeCheckContactRelatedToVendorCompanyIsHandled
  2. 7420callsTable 5054 Contact Business Relation FindByRelation

CheckBlockedVendOnDocs line 7425, local

  1. 7430raisesOnBeforeCheckBlockedVendOnDocsIsHandled
  2. 7434callsTable 23 Vendor CheckBlockedVendOnDocs

LookupBuyFromVendorName line 7442

  1. 7454callsTable 23 Vendor SelectVendor
  2. 7460callsCodeunit 109 Lookup State Manager SaveRecord

LookupPayToVendorName line 7470

  1. 7482callsTable 23 Vendor SelectVendor
  2. 7488callsCodeunit 109 Lookup State Manager SaveRecord

CheckVendorPostingGroupChange line 7493, local

  1. 7500raisesOnBeforeCheckVendorPostingGroupChangeIsHandled
  2. 7507callsGetPurchSetup

RecreateTempPurchLines line 7523

  1. 7526callsTestPurchLineFieldsBeforeRecreate
  2. 7530writesTable 39 Purchase Line Modify
  3. 7532raisesOnRecreatePurchLinesOnBeforeTempPurchLineInsert
  4. 7533callsIsServiceChargeLine
  5. 7534writesTable 39 Purchase Line Insert
  6. 7535raisesOnRecreateTempPurchLinesOnAfterTempPurchLineInsert

IsServiceChargeLine line 7539, local

  1. 7543callsTable 39 Purchase Line IsServiceCharge

TestPurchLineFieldsBeforeRecreate line 7547, local

  1. 7554raisesOnBeforeTestPurchLineFieldsBeforeRecreateIsHandled
  2. 7564callsCodeunit 5826 Matched Order Line Mgmt. IsLineMatched
  3. 7569raisesOnRecreatePurchLinesOnDropShipmentSpecialOrderIsHandled
  4. 7579callsCheckShipToCode

DeletePurchCommentLines line 7588

  1. 7594raisesOnBeforeDeletePurchCommentLinesIsHandled
  2. 7598callsTable 43 Purch. Comment Line DeleteComments

DeletePurchLines line 7608

  1. 7613raisesOnBeforeDeletePurchLinesIsHandled
  2. 7617writesTable 39 Purchase Line DeleteAll(true)

UpdatePrepmtAmounts line 7646, local

  1. 7650callsTable 4 Currency Initialize

CreateDimensionsFromValidatePayToVendorNo line 7671, local

  1. 7676raisesOnBeforeCreateDimensionsFromValidatePayToVendorNoIsHandled
  2. 7680callsCreateDimFromDefaultDim

CreateDimFromDefaultDim line 7687

  1. 7691callsInitDefaultDimensionSources
  2. 7692callsCreateDim

InitDefaultDimensionSources line 7695, local

  1. 7697callsCodeunit 408 DimensionManagement AddDimSource
  2. 7698callsCodeunit 408 DimensionManagement AddDimSource
  3. 7699callsCodeunit 408 DimensionManagement AddDimSource
  4. 7700callsCodeunit 408 DimensionManagement AddDimSource
  5. 7701callsCodeunit 408 DimensionManagement AddDimSource
  6. 7702callsCodeunit 408 DimensionManagement AddDimSource
  7. 7704raisesOnAfterInitDefaultDimensionSources

PurchaseLinesEditable line 7721

  1. 7728raisesOnAfterPurchaseLinesEditable

GetQtyReservedFromStockState line 7731, internal

  1. 7736callsCodeunit 99000834 Purch. Line-Reserve GetReservedQtyFromInventory
  2. 7740callsCalculateReservableOutstandingQuantityBase

TestPurchasePrepayment line 7760

  1. 7764callsCodeunit 441 Prepayment Mgt. TestPurchasePrepayment

UpdateDocAmountVAT line 7813, local

  1. 7815callsCalcDocAmountVAT

SendICPurchaseDoc line 7818

  1. 7824callsCodeunit 1535 Approvals Mgmt. PrePostApprovalCheckPurch
  2. 7825callsCodeunit 427 ICInboxOutboxMgt SendPurchDoc

UpdatePurchaseOrderLineIfExist line 7829

  1. 7841raisesOnBeforeUpdatePurchaseOrderLineIfExistIsHandled
  2. 7845callsCodeunit 1313 Correct Posted Purch. Invoice UpdatePurchaseOrderLineIfExist

CheckVendorCreated line 7870, internal

  1. 7879callsCodeunit 27 Confirm Management GetResponseOrDefault
  2. 7885callsGetContact
  3. 7887callsCreateVendorFromBuyFromVendorTemplate
  4. 7895callsGetContact
  5. 7897callsCreateVendorFromPayToVendorTemplate

SelectPurchaseHeaderNewVendorTemplate line 7914, internal

  1. 7923callsTable 5050 Contact ContactToVendBusinessRelationExist
  2. 7924callsCodeunit 27 Confirm Management GetResponse
  3. 7927callsTable 5050 Contact LookupNewVendorTemplate

CreateVendorFromBuyFromVendorTemplate line 7931, local

  1. 7933callsTable 5050 Contact CreateVendorFromTemplate

CreateVendorFromPayToVendorTemplate line 7936, local

  1. 7938callsTable 5050 Contact CreateVendorFromTemplate

InitFromTemplate line 7952, local

  1. 7964callsGetPurchSetup
  2. 7966callsInitRecord
  3. 7967callsInitNoSeries

CopyFromNewBuyFromVendorTemplate line 7973, local

  1. 7975callsCodeunit 9178 Application Area Mgmt. IsSalesTaxEnabled
  2. 7981validatesTable 38 Purchase Header Pay-to Vendor Templ. Code

InitFromPayToVendorTemplate line 7984, local

  1. 7989validatesTable 38 Purchase Header Payment Terms Code
  2. 7990validatesTable 38 Purchase Header Payment Method Code

UpdateBuyFromVendorTemplateCode line 8007, local

  1. 8009callsGetFilterContNo
  2. 8010validatesTable 38 Purchase Header Buy-from Vendor Templ. Code
  3. 8010callsSelectPurchaseHeaderNewVendorTemplate

GetContactDetails line 8020

  1. 8022callsTable 5050 Contact GetOrClear
  2. 8023callsTable 5050 Contact GetOrClear