tablePurchasing & Payablesofficial - Microsoftderived - from the source, no model text

Table 175 "Standard Vendor Purchase Code"

Base Application · Microsoft.Purchases.Document

Across versions

  1. BC23present
  2. BC24declaration changed
  3. BC251 events added, 1 events removed
  4. BC26unchanged
  5. BC272 events added
  6. BC287 fields changed
  7. BC29-30unchanged

Neighbourhood 7 connected objects and pages

Table 173 "Standard Purchase Code" (relates to)Standard Purchase CodeTable 23 "Vendor" (relates to)VendorTable 4 "Currency" (relates to)CurrencyPage 178 "Standard Vendor Purchase Codes" (pages and codeunits on it)Standard Vendor Purchase CodesCodeunit 378 "Transfer Extended Text" (calls, 2 links)Transfer Extended TextCodeunit 408 "DimensionManagement" (calls)DimensionManagementOverview of tasks to set up purchasing (Learn pages)Overview of tasks to set up …

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Purchases.Document · BC23-30 · source at ea08af5e · facts from BC29

Learn documents this table through its pages: Page 178 “Standard Vendor Purchase Codes” (1 Learn page).

Properties

Property Value
Caption Standard Vendor Purchase Code
DataClassification CustomerContent

Fields

Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

No. Name Type Explanation Notes
1 Vendor No. Δ BC28 Code[20] Specifies the number of the vendor to which the standard purchase code is assigned. TableRelation Table 23 “Vendor”; NotBlank
2 Code Δ BC28 Code[10] Specifies a standard purchase code from the Standard Purchase Code table. TableRelation Table 173 “Standard Purchase Code” (Standard Purchase Code); NotBlank
3 Description Δ BC28 Text[100] Specifies a description of the standard purchase code.
13 Currency Code Code[10] — TableRelation Table 4 “Currency”; not editable
15 Insert Rec. Lines On Quotes Δ BC28 Option Specifies how you want to use standard purchase codes on purchase quotes. OptionCaption: Manual,Automatic,Always Ask; DataClassification SystemMetadata
16 Insert Rec. Lines On Orders Δ BC28 Option Specifies how you want to use standard purchase codes on purchase orders. OptionCaption: Manual,Automatic,Always Ask; DataClassification SystemMetadata
17 Insert Rec. Lines On Invoices Δ BC28 Option Specifies how you want to use standard purchase codes on purchase invoices. OptionCaption: Manual,Automatic,Always Ask; DataClassification SystemMetadata
18 Insert Rec. Lines On Cr. Memos Δ BC28 Option Specifies how you want to use standard purchase codes on purchase credit memos. OptionCaption: Manual,Automatic,Always Ask; DataClassification SystemMetadata

Keys

  • Key1: Vendor No., Code (clustered)
  • Key2: Code, Currency Code

Events published

  • OnBeforeApplyStdCodesToPurchaseLines(var PurchLine: Record "Purchase Line"; StdPurchLine: Record "Standard Purchase Line") (integration)
  • OnAfterCombineDimensions(var PurchaseLine: Record "Purchase Line"; StdPurchaseLine: Record "Standard Purchase Line") (integration)
  • OnAfterApplyStdCodesToPurchaseLines(var StandardVendorPurchaseCode: Record "Standard Vendor Purchase Code"; var StandardPurchaseLine: Record "Standard Purchase Line"; var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; StandardPurchaseCode: Record "Standard Purchase Code") (integration)
  • OnApplyStdCodesToPurchaseLinesOnBeforeStdPurchLineFind(var StandardVendorPurchaseCode: Record "Standard Vendor Purchase Code"; var StandardPurchaseLine: Record "Standard Purchase Line"; var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; StandardPurchaseCode: Record "Standard Purchase Code") (integration)
  • OnApplyStdCodesToPurchaseLinesOnLoopStdPurchLine(var StandardVendorPurchaseCode: Record "Standard Vendor Purchase Code"; var StandardPurchaseLine: Record "Standard Purchase Line"; var PurchaseLine: Record "Purchase Line"; var PurchaseHeader: Record "Purchase Header"; var StandardPurchaseCode: Record "Standard Purchase Code"; var IsHandled: Boolean) + BC27 (integration)
  • OnApplyStdCodesToPurchaseLinesOnAfterPurchLineInsert(var PurchaseLine: Record "Purchase Line"; var PurchaseHeader: Record "Purchase Header"; var StandardPurchaseLine: Record "Standard Purchase Line") (integration)
  • OnInsertPurchLinesOnBeforeApplyStdVendPurchCodes(var StandardVendorPurchaseCode: Record "Standard Vendor Purchase Code"; var IsHandled: Boolean; var PurchaseHeader: Record "Purchase Header") + BC25 − BC25 (integration)
  • OnAfterSetFilterByAutomaticAndAlwaysAskCodes(var StandardVendorPurchaseCode: Record "Standard Vendor Purchase Code"; var PurchaseHeader: Record "Purchase Header") + BC27 (integration)

Procedures

  • InsertPurchLines(PurchHeader: Record "Purchase Header")
  • ApplyStdCodesToPurchaseLines(PurchHeader: Record "Purchase Header"; StdVendPurchCode: Record "Standard Vendor Purchase Code")
  • InsertExtendedText(PurchLine: Record "Purchase Line")
  • InsertExtendedText(PurchLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header")
  • GetNextLineNo(PurchLine: Record "Purchase Line"): Integer
  • SetFilterByAutomaticAndAlwaysAskCodes(PurchaseHeader: Record "Purchase Header")
  • IsInsertRecurringLinesOnDocumentAutomatic(PurchaseHeader: Record "Purchase Header"): Boolean
  • ShouldAutoInsertRecurringLinesOnDocument(PurchaseHeader: Record "Purchase Header"): Boolean

Plus 1 local procedures.

Triggers

OnRename

Relations

Pages and codeunits on this table

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.

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: "table", object_name: "Standard Vendor Purchase Code"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources