Table "Vendor Templ."
Properties
| Name | Value |
|---|---|
| Caption | Vendor Template |
| LookupPageID | Page Microsoft.Purchases.Vendor."Vendor Templ. List" |
| DrillDownPageID | Page Microsoft.Purchases.Vendor."Vendor Templ. List" |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| Code | Code[20] | Specifies the code of the template. |
| Description | Text[100] | Specifies the description of the template. |
| Address | Text[100] | Specifies the vendor's address. |
| "Address 2" | Text[50] | Specifies additional address information. |
| City | Text[30] | Specifies the vendor's city. |
| "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 default currency on purchase documents or journal lines that you create 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. |
| "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 how the vendor calculates finance charges. |
| "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. |
| 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 payments, such as with bank transfers or by cash or check. |
| "Format Region" | Text[80] | Specifies the region format to be used on printouts for this vendor. |
| "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. |
| "E-Mail" | Text[80] | Specifies the vendor's email address. |
| "Home Page" | Text[255] | Specifies the vendor's web site. |
| "No. Series" | Code[20] | Specifies the number series that will be used to assign numbers to vendors. |
| "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. |
| "Block Payment Tolerance" | Boolean | Specifies whether to allow a payment tolerance for the vendor. |
| "Prepayment %" | Decimal | Specifies a prepayment percentage that applies to all orders for this vendor, regardless of the items or services on the order lines. |
| "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 vendor name in the document. |
| "Creditor No." | Code[20] | Specifies the number of the vendor. |
| "Cash Flow Payment Terms Code" | Code[10] | Specifies a payment term that will be used for calculating cash flow. |
| "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. |
| "Contact Type" | Enum Microsoft.CRM.Contact."Contact Type" | Specifies the type of contact that will be used to create a vendor with the template. |
| "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. |
| "Price Calculation Method" | Enum Microsoft.Pricing.Calculation."Price Calculation Method" | Specifies the default price calculation method. |
| "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. |
| "Validate EU Vat Reg. No." | Boolean | Specifies if the VAT registration number will be specified in the EU VAT Registration No. Check page so that it is validated against the VAT registration number validation service. |
| "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. |
| "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
CopyFromTemplate
procedure CopyFromTemplate(SourceVendorTempl: Record "Vendor Templ.")
Parameters
| Name | Type | Description |
|---|---|---|
| SourceVendorTempl | Table Microsoft.Purchases.Vendor."Vendor Templ." |
Events
OnAfterCopyFromTemplate
[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromTemplate(SourceVendorTempl: Record "Vendor Templ."; var VendorTempl: Record "Vendor Templ.")
Parameters
| Name | Type | Description |
|---|---|---|
| SourceVendorTempl | Table Microsoft.Purchases.Vendor."Vendor Templ." | |
| VendorTempl | Table Microsoft.Purchases.Vendor."Vendor Templ." |
OnCopyTemplateOnBeforeModify
[IntegrationEvent(False,False)]
local procedure OnCopyTemplateOnBeforeModify(SourceVendorTempl: Record "Vendor Templ."; SavedVendorTempl: Record "Vendor Templ."; var VendorTempl: Record "Vendor Templ.")
Parameters
| Name | Type | Description |
|---|---|---|
| SourceVendorTempl | Table Microsoft.Purchases.Vendor."Vendor Templ." | |
| SavedVendorTempl | Table Microsoft.Purchases.Vendor."Vendor Templ." | |
| VendorTempl | Table Microsoft.Purchases.Vendor."Vendor Templ." |