Codeunit 170 "Standard Codes Mgt."
Base Application · Microsoft.Utilities
Across versions
- BC23-30present
Neighbourhood 5 connected objects and pages
Base Application · Microsoft.Utilities · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeGetPurchRecurringLines(var PurchaseHeader: Record "Purchase Header")(integration)OnBeforeCanCreatePurchRecurringLines(var PurchaseHeader: Record "Purchase Header"; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeCanCreateSalesRecurringLines(var SalesHeader: Record "Sales Header"; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeGetSalesRecurringLines(var SalesHeader: Record "Sales Header")(integration)OnBeforeShowGetSalesRecurringLinesNotification(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)(integration)OnBeforeShowGetPurchRecurringLinesNotification(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)(integration)OnBeforeCanGetPurchRecurringLines(var PurchaseHeader: Record "Purchase Header"; var ReturnValue: Boolean; var IsHandled: Boolean)(integration)
Event subscriptions
- OnAfterValidateSalesQuoteSellToCustomerName subscribes to Page “Sales Quote” OnAfterValidateEvent (Sell-to Customer Name)
- OnAfterValidateSalesQuoteSellToCustomerNo subscribes to Page “Sales Quote” OnAfterValidateEvent (Sell-to Customer No.)
- OnAfterValidateSalesOrderSellToCustomerName subscribes to Page “Sales Order” OnAfterValidateEvent (Sell-to Customer Name)
- OnAfterValidateSalesOrderSellToCustomerNo subscribes to Page “Sales Order” OnAfterValidateEvent (Sell-to Customer No.)
- OnAfterValidateSalesInvoiceSellToCustomerName subscribes to Page “Sales Invoice” OnAfterValidateEvent (Sell-to Customer Name)
- OnAfterValidateSalesInvoiceSellToCustomerNo subscribes to Page “Sales Invoice” OnAfterValidateEvent (Sell-to Customer No.)
- OnAfterValidateSalesCreditMemoSellToCustomerName subscribes to Page “Sales Credit Memo” OnAfterValidateEvent (Sell-to Customer Name)
- OnAfterValidateSalesCreditMemoSellToCustomerNo subscribes to Page “Sales Credit Memo” OnAfterValidateEvent (Sell-to Customer No.)
- OnAfterValidatePurchaseQuoteSellToVendorName subscribes to Page “Purchase Quote” OnAfterValidateEvent (Buy-from Vendor Name)
- OnAfterValidatePurchaseQuoteSellToVendorNo subscribes to Page “Purchase Quote” OnAfterValidateEvent (Buy-from Vendor No.)
- OnAfterValidatePurchaseInvoiceSellToVendorName subscribes to Page “Purchase Invoice” OnAfterValidateEvent (Buy-from Vendor Name)
- OnAfterValidatePurchaseInvoiceSellToVendorNo subscribes to Page “Purchase Invoice” OnAfterValidateEvent (Buy-from Vendor No.)
- OnAfterValidatePurchaseOrderSellToVendorName subscribes to Page “Purchase Order” OnAfterValidateEvent (Buy-from Vendor Name)
- OnAfterValidatePurchaseOrderSellToVendorNo subscribes to Page “Purchase Order” OnAfterValidateEvent (Buy-from Vendor No.)
- OnAfterValidatePurchaseCreditMemoSellToVendorName subscribes to Page “Purchase Credit Memo” OnAfterValidateEvent (Buy-from Vendor Name)
- OnAfterValidatePurchaseCreditMemoSellToVendorNo subscribes to Page “Purchase Credit Memo” OnAfterValidateEvent (Buy-from Vendor No.)
Procedures
CheckCreatePurchRecurringLines(var PurchHeader: Record "Purchase Header"): BooleanCheckCreateSalesRecurringLines(SalesHeader: Record "Sales Header")SetSkipRecurringLines(SkipRecurringLinesNew: Boolean)CanCreatePurchRecurringLines(var PurchHeader: Record "Purchase Header"): BooleanGetSalesRecurringLines(SalesHeader: Record "Sales Header")GetPurchRecurringLines(PurchHeader: Record "Purchase Header")CheckShowSalesRecurringLinesNotification(var SalesHeader: Record "Sales Header")CheckShowPurchRecurringLinesNotification(var PurchaseHeader: Record "Purchase Header")ShowGetSalesRecurringLinesNotification(SalesHeader: Record "Sales Header")ShowGetPurchRecurringLinesNotification(PurchHeader: Record "Purchase Header")GetSalesRecurringLinesNotificationId(): GuidGetPurchRecurringLinesNotificationId(): GuidGetSalesRecurringLinesFromNotification(Notification: Notification)GetPurchRecurringLinesFromNotification(Notification: Notification)CanGetSalesRecurringLines(var SalesHeader: Record "Sales Header"): BooleanCanGetPurchRecurringLines(var PurchHeader: Record "Purchase Header"): Boolean
Plus 5 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 1511 “Notification Lifecycle Mgt.” (2 calls:
ShowGetPurchRecurringLinesNotification → SendNotificationWithAdditionalContext,ShowGetSalesRecurringLinesNotification → SendNotificationWithAdditionalContext)
Called by
- Codeunit 87 “Blanket Sales Order to Order” (1 call:
CreateSalesHeader → SetSkipRecurringLines) - Codeunit 97 “Blanket Purch. Order to Order” (1 call:
CreatePurchHeader → SetSkipRecurringLines) - Table 36 “Sales Header” (1 call:
OnInsert → CheckCreateSalesRecurringLines) - Table 38 “Purchase Header” (1 call:
OnInsert → CheckCreatePurchRecurringLines)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Standard Codes Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.