Table Vendor
Properties
| Name | Value |
|---|---|
| Caption | Vendor |
| DataCaptionFields | 1,2 |
| DrillDownPageID | Page Microsoft.Purchases.Vendor."Vendor List" |
| LookupPageID | Page Microsoft.Purchases.Vendor."Vendor Lookup" |
| Permissions | TableData "Vendor Ledger Entry" = r, TableData "Price List Header" = rd, TableData "Price List Line" = rd, TableData "Purchase Price" = rd, TableData "Purchase Line Discount" = rd, TableData "Purchase Price Access" = rd, TableData "Purchase Discount Access" = rd, tabledata Language = r, tabledata "Language Selection" = r |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "No." | Code[20] | Specifies the number of the vendor. The field is either filled automatically from a defined number series, or you enter the number manually because you have enabled manual number entry in the number-series setup. |
| Name | Text[100] | Specifies the vendor's name. You can enter a maximum of 30 characters, both numbers and letters. |
| "Search Name" | Code[100] | Specifies an alternate name that you can use to search for the record in question when you cannot remember the value in the Name field. |
| "Name 2" | Text[50] | Specifies an additional part of the name. |
| Address | Text[100] | Specifies the vendor street address. |
| "Address 2" | Text[50] | Specifies additional address information. |
| City | Text[30] | Specifies the vendor's city. |
| Contact | Text[100] | Specifies the name of the person you regularly contact when you do business with this vendor. |
| "Phone No." | Text[30] | Specifies the vendor's telephone number. |
| "Telex No." | Text[20] | |
| "Our Account No." | Text[20] | Specifies your account number with the vendor, if you have one. |
| "Territory Code" | Code[10] | |
| "Global Dimension 1 Code" | Code[20] | |
| "Global Dimension 2 Code" | Code[20] | |
| "Budgeted Amount" | Decimal | |
| "Vendor Posting Group" | Code[20] | Specifies the vendor's market type to link business transactions made for the vendor with the appropriate account in the general ledger. |
| "Currency Code" | Code[10] | Specifies the currency code that is inserted by default when you create purchase documents or journal lines for the vendor. |
| "Language Code" | Code[10] | Specifies the language that is used when translating specified text on documents to foreign business partner, such as an item description on an order confirmation. |
| "Registration Number" | Text[50] | Specifies the registration number of the vendor. You can enter a maximum of 20 characters, both numbers and letters. |
| "Statistics Group" | Integer | Specifies the statistics group. |
| "Payment Terms Code" | Code[10] | Specifies a formula that calculates the payment due date, payment discount date, and payment discount amount. |
| "Fin. Charge Terms Code" | Code[10] | Specifies the code for the involved finance charges in case of late payment. |
| "Purchaser Code" | Code[20] | Specifies which purchaser is assigned to the vendor. |
| "Shipment Method Code" | Code[10] | Specifies the delivery conditions of the related shipment, such as free on board (FOB). |
| "Shipping Agent Code" | Code[10] | |
| "Invoice Disc. Code" | Code[20] | Specifies the vendor's invoice discount code. When you set up a new vendor card, the number you have entered in the No. field is automatically inserted. |
| "Country/Region Code" | Code[10] | Specifies the country/region of the address. |
| Comment | Boolean | |
| Blocked | Enum Microsoft.Purchases.Vendor."Vendor Blocked" | Specifies whether transactions with this vendor are restricted. Use this field to control vendor activity, such as temporarily halting payments or fully blocking a vendor due to compliance or business decisions. The field can have one of the following values: (blank) - No restrictions, all transactions are allowed. All - All transactions with this vendor are blocked. You cannot create or post any documents or journals with the vendor. Payment - Only payment transactions are blocked. You can still create and post purchase documents, but you cannot make payments to the vendor. |
| "Pay-to Vendor No." | Code[20] | Specifies the number of a different vendor whom you pay for products delivered by the vendor on the vendor card. |
| Priority | Integer | Specifies the importance of the vendor when suggesting payments using the Suggest Vendor Payments function. |
| "Payment Method Code" | Code[10] | Specifies how to make payment, such as with bank transfer, cash, or check. |
| "Format Region" | Text[80] | Specifies the region format to be used on printouts for this vendor. |
| "First Transaction Date" | Date | Specifies the date of the first transaction with the vendor. |
| "Last Modified Date Time" | DateTime | |
| "Last Date Modified" | Date | Specifies when the vendor card was last modified. |
| "Date Filter" | Date | |
| "Global Dimension 1 Filter" | Code[20] | |
| "Global Dimension 2 Filter" | Code[20] | |
| Balance | Decimal | |
| "Balance (LCY)" | Decimal | |
| "Net Change" | Decimal | |
| "Net Change (LCY)" | Decimal | |
| "Purchases (LCY)" | Decimal | |
| "Inv. Discounts (LCY)" | Decimal | |
| "Pmt. Discounts (LCY)" | Decimal | |
| "Balance Due" | Decimal | |
| "Balance Due (LCY)" | Decimal | |
| Payments | Decimal | |
| "Invoice Amounts" | Decimal | |
| "Cr. Memo Amounts" | Decimal | |
| "Finance Charge Memo Amounts" | Decimal | |
| "Payments (LCY)" | Decimal | |
| "Inv. Amounts (LCY)" | Decimal | |
| "Cr. Memo Amounts (LCY)" | Decimal | |
| "Fin. Charge Memo Amounts (LCY)" | Decimal | |
| "Outstanding Orders" | Decimal | |
| "Amt. Rcd. Not Invoiced" | Decimal | |
| "Application Method" | Enum Microsoft.Finance.ReceivablesPayables."Application Method" | Specifies how to apply payments to entries for this vendor. |
| "Prices Including VAT" | Boolean | Specifies if the Unit Price and Line Amount fields on document lines should be shown with or without VAT. |
| "Fax No." | Text[30] | Specifies the vendor's fax number. |
| "Telex Answer Back" | Text[20] | |
| "VAT Registration No." | Text[20] | Specifies the vendor's VAT registration number. |
| "Gen. Bus. Posting Group" | Code[20] | Specifies the vendor's trade type to link transactions made for this vendor with the appropriate general ledger account according to the general posting setup. |
| GLN | Code[13] | Specifies the vendor in connection with electronic document receiving. |
| "Post Code" | Code[20] | Specifies the postal code. |
| County | Text[30] | Specifies the state, province or county as a part of the address. |
| "EORI Number" | Text[40] | Specifies the Economic Operators Registration and Identification number that is used when you exchange information with the customs authorities due to trade into or out of the European Union. |
| "Debit Amount" | Decimal | |
| "Credit Amount" | Decimal | |
| "Debit Amount (LCY)" | Decimal | |
| "Credit Amount (LCY)" | Decimal | |
| "E-Mail" | Text[80] | Specifies the vendor's email address. |
| "Home Page" | Text[255] | Specifies the vendor's web site. |
| "Reminder Amounts" | Decimal | |
| "Reminder Amounts (LCY)" | Decimal | |
| "No. Series" | Code[20] | |
| "Tax Area Code" | Code[20] | Specifies a tax area code for the company. |
| "Tax Liable" | Boolean | Specifies if the customer is liable for sales tax. |
| "VAT Bus. Posting Group" | Code[20] | Specifies the VAT specification of the involved customer or vendor to link transactions made for this record with the appropriate general ledger account according to the VAT posting setup. |
| "Currency Filter" | Code[10] | |
| "Outstanding Orders (LCY)" | Decimal | |
| "Amt. Rcd. Not Invoiced (LCY)" | Decimal | |
| "Block Payment Tolerance" | Boolean | Specifies if the vendor allows payment tolerance. |
| "Pmt. Disc. Tolerance (LCY)" | Decimal | |
| "Pmt. Tolerance (LCY)" | Decimal | |
| "IC Partner Code" | Code[20] | Specifies the vendor's intercompany partner code. |
| Refunds | Decimal | |
| "Refunds (LCY)" | Decimal | |
| "Other Amounts" | Decimal | |
| "Other Amounts (LCY)" | Decimal | |
| "Prepayment %" | Decimal | Specifies a prepayment percentage that applies to all orders for this vendor, regardless of the items or services on the order lines. |
| "Outstanding Invoices" | Decimal | |
| "Outstanding Invoices (LCY)" | Decimal | |
| "Pay-to No. Of Archived Doc." | Integer | |
| "Buy-from No. Of Archived Doc." | Integer | |
| "Partner Type" | Enum Microsoft.Foundation.Enums."Partner Type" | Specifies if the vendor is a person or a company. |
| "Intrastat Partner Type" | Enum Microsoft.Foundation.Enums."Partner Type" | Specifies for Intrastat reporting if the vendor is a person or a company. |
| "Exclude from Pmt. Practices" | Boolean | Specifies that the vendor must be excluded from Payment Practices calculations. |
| "Company Size Code" | Code[20] | Specifies the size of the vendor's company. |
| Image | Media | Specifies the picture of the vendor, for example, a logo. |
| "Privacy Blocked" | Boolean | Specifies whether to limit access to data for the data subject during daily operations. This is useful, for example, when protecting data from changes while it is under privacy review. |
| "Disable Search by Name" | Boolean | Specifies that you can change the vendor name on open purchase documents. The change applies only to the documents. |
| "Creditor No." | Code[20] | Specifies the number of the vendor. |
| "Allow Multiple Posting Groups" | Boolean | Specifies if multiple posting groups can be used for posting business transactions for this vendor. |
| "Self-Billing Agreement" | Boolean | Specifies the value of the Self-Billing Agreement field. |
| "Self-Billing Invoice Nos." | Code[20] | Specifies the number series that is used to assign numbers to self-billed purchase invoices for this vendor. If it is empty, the number series from the Posted Self-Billing Inv. Nos. field in Purchases & Payables Setup is used. |
| "Preferred Bank Account Code" | Code[20] | Specifies the vendor bank account that will be used by default on payment journal lines for export to a payment bank file. |
| "Coupled to CRM" | Boolean | |
| "Coupled to Dataverse" | Boolean | Specifies that the vendor is coupled to an account in Dataverse. |
| "Cash Flow Payment Terms Code" | Code[10] | Specifies a payment term that will be used for calculating cash flow. |
| "Primary Contact No." | Code[20] | Specifies the primary contact number for the vendor. |
| "Mobile Phone No." | Text[30] | Specifies the vendor's mobile telephone number. |
| "Responsibility Center" | Code[10] | Specifies the code of the responsibility center, such as a distribution hub, that is associated with the involved user, company, customer, or vendor. |
| "Location Code" | Code[10] | Specifies the warehouse location where items from the vendor must be received by default. |
| "Lead Time Calculation" | DateFormula | Specifies a date formula for the amount of time it takes to replenish the item. |
| "Price Calculation Method" | Enum Microsoft.Pricing.Calculation."Price Calculation Method" | Specifies the default price calculation method. |
| "No. of Pstd. Receipts" | Integer | Specifies the number of posted purchase receipts that exist for the vendor. |
| "No. of Pstd. Invoices" | Integer | Specifies the number of posted purchase invoices that exist for the vendor. |
| "No. of Pstd. Return Shipments" | Integer | Specifies the number of posted return shipments that exist for the vendor. |
| "No. of Pstd. Credit Memos" | Integer | Specifies the number of posted purchase credit memos that exist for the vendor. |
| "Pay-to No. of Orders" | Integer | Specifies the number of posted orders that exist for the customer. |
| "Pay-to No. of Invoices" | Integer | Specifies the amount that relates to invoices. |
| "Pay-to No. of Return Orders" | Integer | Specifies how many return orders have been registered for the customer when the customer acts as the pay-to customer. |
| "Pay-to No. of Credit Memos" | Integer | Specifies the amount that relates to credit memos. |
| "Pay-to No. of Pstd. Receipts" | Integer | Specifies the number of posted receipts that exist for the vendor. |
| "Pay-to No. of Pstd. Invoices" | Integer | Specifies the amount that relates to posted invoices. |
| "Pay-to No. of Pstd. Return S." | Integer | Specifies the number of posted return shipments that exist for the vendor. |
| "Pay-to No. of Pstd. Cr. Memos" | Integer | Specifies the amount that relates to credit memos. |
| "No. of Quotes" | Integer | Specifies the number of purchase quotes that exist for the vendor. |
| "No. of Blanket Orders" | Integer | Specifies the number of purchase blanket orders that exist for the vendor. |
| "No. of Orders" | Integer | Specifies the number of purchase orders that exist for the vendor. |
| "No. of Invoices" | Integer | Specifies the number of unposted purchase invoices that exist for the vendor. |
| "No. of Return Orders" | Integer | Specifies the number of purchase return orders that exist for the vendor. |
| "No. of Credit Memos" | Integer | Specifies the number of unposted purchase credit memos that exist for the vendor. |
| "No. of Order Addresses" | Integer | |
| "Pay-to No. of Quotes" | Integer | Specifies the number of quotes that exist for the vendor. |
| "Pay-to No. of Blanket Orders" | Integer | Specifies the number of blanket orders. |
| "No. of Incoming Documents" | Integer | Specifies incoming documents, such as vendor invoices in PDF or as image files, that you can manually or automatically convert to document records, such as purchase invoices. The external files that represent incoming documents can be attached at any process stage, including to posted documents and to the resulting vendor, customer, and general ledger entries. |
| "Base Calendar Code" | Code[10] | Specifies a customizable calendar for delivery planning that holds the vendor's working days and holidays. |
| "Document Sending Profile" | Code[20] | Specifies the preferred method of sending documents to this vendor, so that you do not have to select a sending option every time that you post and send a document to the vendor. Documents to this vendor will be sent using the specified sending profile and will override the default document sending profile. |
| "Validate EU Vat Reg. No." | Boolean | |
| "Copy Buy-from Add. to Qte From" | Enum Microsoft.CRM.Contact."Contact Type" | Specifies which vendor address is inserted on purchase quotes that you create for the vendor. |
| "Currency Id" | Guid | |
| "Payment Terms Id" | Guid | |
| "Payment Method Id" | Guid | |
| "Over-Receipt Code" | Code[20] | Specifies the policy that will be used for the vendor if more items than ordered are received. |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemCreatedByUserName | Text[50] | |
| SystemCreatedByFullName | Text[80] | |
| SystemModifiedByUserName | Text[50] | |
| SystemModifiedByFullName | Text[80] | |
| SystemRowVersion | BigInteger |
Methods
AssistEdit
procedure AssistEdit(OldVend: Record Vendor): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| OldVend | Table Microsoft.Purchases.Vendor.Vendor |
Returns
| Type | Description |
|---|---|
| Boolean |
ValidateShortcutDimCode
procedure ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
| Name | Type | Description |
|---|---|---|
| FieldNumber | Integer | |
| ShortcutDimCode | Code[20] |
ShowContact
procedure ShowContact()
SetInsertFromContact
procedure SetInsertFromContact(FromContact: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| FromContact | Boolean |
CheckBlockedVendOnDocs
procedure CheckBlockedVendOnDocs(Vend2: Record Vendor; Transaction: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vend2 | Table Microsoft.Purchases.Vendor.Vendor | |
| Transaction | Boolean |
CheckBlockedVendOnJnls
procedure CheckBlockedVendOnJnls(Vend2: Record Vendor; DocType: Enum "Gen. Journal Document Type"; Transaction: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vend2 | Table Microsoft.Purchases.Vendor.Vendor | |
| DocType | Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type" | |
| Transaction | Boolean |
CreateAndShowNewInvoice
procedure CreateAndShowNewInvoice()
CreateAndShowNewCreditMemo
procedure CreateAndShowNewCreditMemo()
CreateAndShowNewPurchaseOrder
procedure CreateAndShowNewPurchaseOrder()
VendBlockedErrorMessage
procedure VendBlockedErrorMessage(Vend2: Record Vendor; Transaction: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vend2 | Table Microsoft.Purchases.Vendor.Vendor | |
| Transaction | Boolean |
VendPrivacyBlockedErrorMessage
procedure VendPrivacyBlockedErrorMessage(Vend2: Record Vendor; Transaction: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vend2 | Table Microsoft.Purchases.Vendor.Vendor | |
| Transaction | Boolean |
GetPrivacyBlockedGenericErrorText
procedure GetPrivacyBlockedGenericErrorText(Vend2: Record Vendor): Text[250]
Parameters
| Name | Type | Description |
|---|---|---|
| Vend2 | Table Microsoft.Purchases.Vendor.Vendor |
Returns
| Type | Description |
|---|---|
| Text[250] |
DisplayMap
procedure DisplayMap()
CalcOverDueBalance
procedure CalcOverDueBalance(): Decimal
Returns
| Type | Description |
|---|---|
| Decimal |
GetInvoicedPrepmtAmountLCY
procedure GetInvoicedPrepmtAmountLCY(): Decimal
Returns
| Type | Description |
|---|---|
| Decimal |
GetPriceCalculationMethod
procedure GetPriceCalculationMethod(): Enum "Price Calculation Method"
Returns
| Type | Description |
|---|---|
| Enum Microsoft.Pricing.Calculation."Price Calculation Method" |
GetTotalAmountLCY
procedure GetTotalAmountLCY(): Decimal
Returns
| Type | Description |
|---|---|
| Decimal |
HasAddress
procedure HasAddress(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
GetBalanceAsCustomer
procedure GetBalanceAsCustomer(var LinkedCustomerNo: Code[20]): Decimal
Parameters
| Name | Type | Description |
|---|---|---|
| LinkedCustomerNo | Code[20] |
Returns
| Type | Description |
|---|---|
| Decimal |
GetLinkedCustomer
procedure GetLinkedCustomer(): Code[20]
Returns
| Type | Description |
|---|---|
| Code[20] |
GetVendorNo
procedure GetVendorNo(VendorText: Text[100]): Code[20]
Parameters
| Name | Type | Description |
|---|---|---|
| VendorText | Text[100] |
Returns
| Type | Description |
|---|---|
| Code[20] |
GetVendorNoOpenCard
procedure GetVendorNoOpenCard(VendorText: Text[100]; ShowVendorCard: Boolean): Code[20]
Parameters
| Name | Type | Description |
|---|---|---|
| VendorText | Text[100] | |
| ShowVendorCard | Boolean |
Returns
| Type | Description |
|---|---|
| Code[20] |
SelectVendor
procedure SelectVendor(var Vendor: Record Vendor): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor |
Returns
| Type | Description |
|---|---|
| Boolean |
OpenVendorLedgerEntries
procedure OpenVendorLedgerEntries(FilterOnDueEntries: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| FilterOnDueEntries | Boolean |
GetInsertFromContact
procedure GetInsertFromContact(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
GetInsertFromTemplate
procedure GetInsertFromTemplate(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
SetInsertFromTemplate
procedure SetInsertFromTemplate(FromTemplate: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| FromTemplate | Boolean |
SetAddress
procedure SetAddress(VendorAddress: Text[100]; VendorAddress2: Text[50]; VendorPostCode: Code[20]; VendorCity: Text[30]; VendorCounty: Text[30]; VendorCountryCode: Code[10]; VendorContact: Text[100])
Parameters
| Name | Type | Description |
|---|---|---|
| VendorAddress | Text[100] | |
| VendorAddress2 | Text[50] | |
| VendorPostCode | Code[20] | |
| VendorCity | Text[30] | |
| VendorCounty | Text[30] | |
| VendorCountryCode | Code[10] | |
| VendorContact | Text[100] |
ToPriceSource
procedure ToPriceSource(var PriceSource: Record "Price Source")
Parameters
| Name | Type | Description |
|---|---|---|
| PriceSource | Table Microsoft.Pricing.Source."Price Source" |
VATRegistrationValidation
procedure VATRegistrationValidation()
UpdateCurrencyId
procedure UpdateCurrencyId()
UpdatePaymentTermsId
procedure UpdatePaymentTermsId()
UpdatePaymentMethodId
procedure UpdatePaymentMethodId()
SetForceUpdateContact
procedure SetForceUpdateContact(NewForceUpdateContact: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| NewForceUpdateContact | Boolean |
FindVendorByVATRegistrationNo
procedure FindVendorByVATRegistrationNo(VATRegistrationNo: Text[20]): Code[20]
Parameters
| Name | Type | Description |
|---|---|---|
| VATRegistrationNo | Text[20] |
Returns
| Type | Description |
|---|---|
| Code[20] |
UpdateReferencedIds
procedure UpdateReferencedIds()
GetReferencedIds
procedure GetReferencedIds(TempField: __MissingTypeSymbol__)
Parameters
| Name | Type | Description |
|---|---|---|
| TempField | __MissingTypeSymbol__ |
CheckAllowMultiplePostingGroups
procedure CheckAllowMultiplePostingGroups()
FormatVATRegistrationNo
procedure FormatVATRegistrationNo(VATRegistrationNo: Text; CountryCode: Code[10]): Text
Parameters
| Name | Type | Description |
|---|---|---|
| VATRegistrationNo | Text | |
| CountryCode | Code[10] |
Returns
| Type | Description |
|---|---|
| Text |
Events
OnAfterHasAddress
[IntegrationEvent(False,False)]
local procedure OnAfterHasAddress(Vendor: Record Vendor; var Result: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| Result | Boolean |
OnAfterValidateCity
[IntegrationEvent(False,False)]
local procedure OnAfterValidateCity(var Vendor: Record Vendor; xVendor: Record Vendor)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| xVendor | Table Microsoft.Purchases.Vendor.Vendor |
OnAfterValidateNo
[IntegrationEvent(False,False)]
local procedure OnAfterValidateNo(var Vendor: Record Vendor; xVendor: Record Vendor)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| xVendor | Table Microsoft.Purchases.Vendor.Vendor |
OnAfterValidatePostCode
[IntegrationEvent(False,False)]
local procedure OnAfterValidatePostCode(var Vendor: Record Vendor; xVendor: Record Vendor)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| xVendor | Table Microsoft.Purchases.Vendor.Vendor |
OnAfterValidateShortcutDimCode
[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var Vendor: Record Vendor; xVendor: Record Vendor; FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| xVendor | Table Microsoft.Purchases.Vendor.Vendor | |
| FieldNumber | Integer | |
| ShortcutDimCode | Code[20] |
OnAfterLookupCity
[IntegrationEvent(False,False)]
local procedure OnAfterLookupCity(var Vendor: Record Vendor; var PostCodeRec: Record "Post Code")
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| PostCodeRec | Table Microsoft.Foundation.Address."Post Code" |
OnAfterLookupPostCode
[IntegrationEvent(False,False)]
local procedure OnAfterLookupPostCode(var Vendor: Record Vendor; var PostCodeRec: Record "Post Code")
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| PostCodeRec | Table Microsoft.Foundation.Address."Post Code" |
OnAfterOnInsert
[IntegrationEvent(False,False)]
local procedure OnAfterOnInsert(var Vendor: Record Vendor)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor |
OnAssistEditOnBeforeExit
[IntegrationEvent(False,False)]
local procedure OnAssistEditOnBeforeExit(var Vendor: Record Vendor)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor |
OnBeforeIsContactUpdateNeeded
[IntegrationEvent(False,False)]
local procedure OnBeforeIsContactUpdateNeeded(Vendor: Record Vendor; xVendor: Record Vendor; var UpdateNeeded: Boolean; ForceUpdateContact: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| xVendor | Table Microsoft.Purchases.Vendor.Vendor | |
| UpdateNeeded | Boolean | |
| ForceUpdateContact | Boolean |
OnBeforeCheckBlockedVend
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckBlockedVend(Vendor: Record Vendor; Source: Option; DocType: Option; Transaction: Boolean; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| Source | Option | |
| DocType | Option | |
| Transaction | Boolean | |
| IsHandled | Boolean |
OnBeforeCheckOutstandingPurchaseDocuments
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckOutstandingPurchaseDocuments(Vendor: Record Vendor; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| IsHandled | Boolean |
OnBeforeCreateNewVendor
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateNewVendor(VendorName: Text[100]; ShowVendorCard: Boolean; var Result: Code[20]; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| VendorName | Text[100] | |
| ShowVendorCard | Boolean | |
| Result | Code[20] | |
| IsHandled | Boolean |
OnBeforeGetVendorNoOpenCard
[IntegrationEvent(False,False)]
local procedure OnBeforeGetVendorNoOpenCard(VendorText: Text; ShowVendorCard: Boolean; var VendorNo: Code[20]; var IsHandled: Boolean; var ShowCreateVendorOption: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| VendorText | Text | |
| ShowVendorCard | Boolean | |
| VendorNo | Code[20] | |
| IsHandled | Boolean | |
| ShowCreateVendorOption | Boolean |
OnBeforeCalcOverdueBalance
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcOverdueBalance(var Vendor: Record Vendor; var OverdueBalance: Decimal; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| OverdueBalance | Decimal | |
| IsHandled | Boolean |
OnBeforeGetInvoicedPrepmtAmountLCY
[IntegrationEvent(False,False)]
local procedure OnBeforeGetInvoicedPrepmtAmountLCY(var Vendor: Record Vendor; var InvoicedPrepmtAmountLCY: Decimal; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| InvoicedPrepmtAmountLCY | Decimal | |
| IsHandled | Boolean |
OnBeforeGetTotalAmountLCY
[IntegrationEvent(False,False)]
local procedure OnBeforeGetTotalAmountLCY(var Vendor: Record Vendor; var TotalAmountLCY: Decimal; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| TotalAmountLCY | Decimal | |
| IsHandled | Boolean |
OnAfterSetLastModifiedDateTime
[IntegrationEvent(False,False)]
local procedure OnAfterSetLastModifiedDateTime(var Vendor: Record Vendor)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor |
OnBeforeOnInsert
[IntegrationEvent(False,False)]
local procedure OnBeforeOnInsert(var Vendor: Record Vendor; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| IsHandled | Boolean |
OnBeforeOnRename
[IntegrationEvent(False,False)]
local procedure OnBeforeOnRename(var Vendor: Record Vendor; xVendor: Record Vendor; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| xVendor | Table Microsoft.Purchases.Vendor.Vendor | |
| IsHandled | Boolean |
OnBeforeOpenVendorLedgerEntries
[IntegrationEvent(False,False)]
local procedure OnBeforeOpenVendorLedgerEntries(var Vendor: Record Vendor; var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| DetailedVendorLedgEntry | Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry" |
OnBeforeLookupCity
[IntegrationEvent(False,False)]
local procedure OnBeforeLookupCity(var Vendor: Record Vendor; var PostCodeRec: Record "Post Code")
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| PostCodeRec | Table Microsoft.Foundation.Address."Post Code" |
OnBeforeLookupPostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeLookupPostCode(var Vendor: Record Vendor; var PostCodeRec: Record "Post Code")
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| PostCodeRec | Table Microsoft.Foundation.Address."Post Code" |
OnBeforeSetDefaultPurchaser
[IntegrationEvent(False,False)]
local procedure OnBeforeSetDefaultPurchaser(var Vendor: Record Vendor; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| IsHandled | Boolean |
OnBeforeValidateCity
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateCity(var Vendor: Record Vendor; var PostCodeRec: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| PostCodeRec | Table Microsoft.Foundation.Address."Post Code" | |
| CurrentFieldNo | Integer | |
| IsHandled | Boolean |
OnBeforeValidatePostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidatePostCode(var Vendor: Record Vendor; var PostCodeRec: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| PostCodeRec | Table Microsoft.Foundation.Address."Post Code" | |
| CurrentFieldNo | Integer | |
| IsHandled | Boolean |
OnBeforeValidateVATRegistrationNo
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateVATRegistrationNo(var Rec: Record Vendor; xRec: Record Vendor; CurrFieldNo: Integer; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Rec | Table Microsoft.Purchases.Vendor.Vendor | |
| xRec | Table Microsoft.Purchases.Vendor.Vendor | |
| CurrFieldNo | Integer | |
| IsHandled | Boolean |
OnBeforeValidateShortcutDimCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var Vendor: Record Vendor; var xVendor: Record Vendor; FieldNumber: Integer; var ShortcutDimCode: Code[20]; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| xVendor | Table Microsoft.Purchases.Vendor.Vendor | |
| FieldNumber | Integer | |
| ShortcutDimCode | Code[20] | |
| IsHandled | Boolean |
OnBeforeVATRegistrationValidation
[IntegrationEvent(False,False)]
local procedure OnBeforeVATRegistrationValidation(var Vendor: Record Vendor; var IsHandled: Boolean; CurrFieldNo: Integer)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| IsHandled | Boolean | |
| CurrFieldNo | Integer |
OnGetVendorNoOpenCardOnBeforeVendorFindSet
[IntegrationEvent(False,False)]
local procedure OnGetVendorNoOpenCardOnBeforeVendorFindSet(var Vendor: Record Vendor)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor |
OnGetVendorNoOpenCardOnAfterVendorSetFilterFromStart
[IntegrationEvent(False,False)]
local procedure OnGetVendorNoOpenCardOnAfterVendorSetFilterFromStart(var Vendor: Record Vendor)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor |
OnGetVendorNoOpenCardOnAfterSetVendorWithoutQuote
[IntegrationEvent(False,False)]
local procedure OnGetVendorNoOpenCardOnAfterSetVendorWithoutQuote(var Vendor: Record Vendor)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor |
OnGetVendorNoOpenCardonAfterSetvendorFilters
[IntegrationEvent(False,False)]
local procedure OnGetVendorNoOpenCardonAfterSetvendorFilters(var Vendor: Record Vendor; var VendorFilterContains: Text)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| VendorFilterContains | Text |
OnMarkVendorsWithSimilarNameOnBeforeVendorFindSet
[IntegrationEvent(False,False)]
local procedure OnMarkVendorsWithSimilarNameOnBeforeVendorFindSet(var Vendor: Record Vendor)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor |
OnBeforeShowContact
[IntegrationEvent(False,False)]
local procedure OnBeforeShowContact(var Vendor: Record Vendor)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor |
OnShowContactOnAfterCalcShouldExit
[IntegrationEvent(False,False)]
local procedure OnShowContactOnAfterCalcShouldExit(var Vendor: Record Vendor; var ContactPageID: Integer; var ShouldExit: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| ContactPageID | Integer | |
| ShouldExit | Boolean |
OnShowContactOnBeforeOpenContactCard
[IntegrationEvent(False,False)]
local procedure OnShowContactOnBeforeOpenContactCard(var Contact: Record Contact; var ContactPageID: Integer)
Parameters
| Name | Type | Description |
|---|---|---|
| Contact | Table Microsoft.CRM.Contact.Contact | |
| ContactPageID | Integer |
OnShowContactOnBeforeOpenContactList
[IntegrationEvent(False,False)]
local procedure OnShowContactOnBeforeOpenContactList(var Contact: Record Contact; var ContactPageID: Integer)
Parameters
| Name | Type | Description |
|---|---|---|
| Contact | Table Microsoft.CRM.Contact.Contact | |
| ContactPageID | Integer |
OnGetBalanceAsCustomerOnBeforeCalcBalance
[IntegrationEvent(False,False)]
local procedure OnGetBalanceAsCustomerOnBeforeCalcBalance(var Customer: Record Customer)
Parameters
| Name | Type | Description |
|---|---|---|
| Customer | Table Microsoft.Sales.Customer.Customer |
OnValidatePricesIncludingVATOnAfterGetVATPostingSetup
[IntegrationEvent(False,False)]
local procedure OnValidatePricesIncludingVATOnAfterGetVATPostingSetup(var VATPostingSetup: Record "VAT Posting Setup")
Parameters
| Name | Type | Description |
|---|---|---|
| VATPostingSetup | Table Microsoft.Finance.VAT.Setup."VAT Posting Setup" |
OnBeforeValidateRegistrationNumber
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateRegistrationNumber(var Vendor: Record Vendor; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| IsHandled | Boolean |
OnBeforeCheckAllowMultiplePostingGroups
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckAllowMultiplePostingGroups(var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| IsHandled | Boolean |
OnGetVendorNoOpenCardOnAfterMarkCustomersWithSimilarName
[IntegrationEvent(False,False)]
local procedure OnGetVendorNoOpenCardOnAfterMarkCustomersWithSimilarName(var Vendor: Record Vendor)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor |
OnGetVendorNoOpenCardOnBeforeSelectVendor
[IntegrationEvent(False,False)]
local procedure OnGetVendorNoOpenCardOnBeforeSelectVendor(var Vendor: Record Vendor)
Parameters
| Name | Type | Description |
|---|---|---|
| Vendor | Table Microsoft.Purchases.Vendor.Vendor |
OnOpenVendorLedgerEntriesOnBeforeDrillDownEntries
[IntegrationEvent(False,False)]
local procedure OnOpenVendorLedgerEntriesOnBeforeDrillDownEntries(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; FilterOnDueEntries: Boolean; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| DetailedVendorLedgEntry | Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry" | |
| FilterOnDueEntries | Boolean | |
| IsHandled | Boolean |