Table "Company Information"
Properties
| Name | Value |
|---|---|
| Caption | Company Information |
| InherentEntitlements | X |
| InherentPermissions | X |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "Primary Key" | Code[10] | |
| Name | Text[100] | Specifies the company's name and corporate form. For example, Inc. or Ltd. |
| "Name 2" | Text[50] | |
| Address | Text[100] | Specifies the company's address. |
| "Address 2" | Text[50] | Specifies additional address information. |
| City | Text[30] | Specifies the company's city. |
| "Phone No." | Text[30] | Specifies the company's telephone number. |
| "Phone No. 2" | Text[30] | |
| "Telex No." | Text[30] | |
| "Fax No." | Text[30] | Specifies the company's fax number. |
| "Giro No." | Text[20] | Specifies the company's giro number. |
| "Bank Name" | Text[100] | Specifies the name of the bank the company uses. |
| "Bank Branch No." | Text[20] | Specifies the bank's branch number. |
| "Bank Account No." | Text[30] | Specifies the company's bank account number. |
| "Payment Routing No." | Text[20] | Specifies the company's payment routing number. |
| "Customs Permit No." | Text[10] | |
| "Customs Permit Date" | Date | |
| "VAT Registration No." | Text[20] | Specifies the company's VAT registration number. |
| "Registration No." | Text[20] | Specifies the company's registration number. You can enter a maximum of 20 characters, both numbers and letters. |
| "Telex Answer Back" | Text[20] | |
| "Ship-to Name" | Text[100] | Specifies the name of the location to which items for the company should be shipped. |
| "Ship-to Name 2" | Text[50] | |
| "Ship-to Address" | Text[100] | Specifies the address of the location to which items for the company should be shipped. |
| "Ship-to Address 2" | Text[50] | Specifies an additional part of the ship-to address, in case it is a long address. |
| "Ship-to City" | Text[30] | Specifies the city of the company's ship-to address. |
| "Ship-to Contact" | Text[100] | Specifies the name of the contact person at the address that the items are shipped to. |
| "Location Code" | Code[10] | Specifies the location code that corresponds to the company's ship-to address. |
| Picture | Blob | Specifies the picture that has been set up for the company, such as a company logo. |
| "Post Code" | Code[20] | Specifies the postal code. |
| County | Text[30] | Specifies the state, province or county of the company's address. |
| "Ship-to Post Code" | Code[20] | Specifies the postal code of the address that the items are shipped to. |
| "Ship-to County" | Text[30] | Specifies the county of the company's shipping address. |
| "E-Mail" | Text[80] | Specifies the company's email address. |
| "Home Page" | Text[255] | Specifies your company's web site. |
| "Country/Region Code" | Code[10] | Specifies the country/region of the address. |
| "Ship-to Country/Region Code" | Code[10] | Specifies the country/region code of the address that the items are shipped to. |
| IBAN | Code[50] | Specifies the international bank account number of your primary bank account. |
| "SWIFT Code" | Code[20] | Specifies the SWIFT code (international bank identifier code) of your primary bank. |
| "Industrial Classification" | Text[30] | Specifies the company's industrial classification code. |
| "System Indicator" | Option | Specifies how you want to use the Company Badge when you are working with different companies of Business Central. |
| "Custom System Indicator Text" | Text[250] | |
| "System Indicator Style" | Option | Specifies if you want to apply a certain style to the Company Badge. Having different styles on badges can make it easier to recognize the company that you are currently working with. |
| "Allow Blank Payment Info." | Boolean | Specifies if you are allowed to create a sales invoice without filling the setup fields on this FastTab. |
| "Contact Person" | Text[50] | Specifies the name of the contact person in your company. |
| "Ship-to Phone No." | Text[30] | Specifies the telephone number of the company's shipping address. |
| GLN | Code[13] | Specifies your company in connection with electronic document exchange. |
| "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. |
| "Use GLN in Electronic Document" | Boolean | Specifies whether the GLN is used in electronic documents as a party identification number. |
| "Picture - Last Mod. Date Time" | DateTime | |
| "Last Modified Date Time" | DateTime | |
| "Created DateTime" | DateTime | |
| "Demo Company" | Boolean | |
| "Alternative Language Code" | Code[10] | |
| "Default Language Code" | Code[10] | Specifies a default language code to be used for e.g. printing sales and purchase documents instead of the user language. |
| "Brand Color Value" | Code[10] | |
| "Brand Color Code" | Code[20] | |
| "Responsibility Center" | Code[10] | Specifies the code for the default responsibility center. |
| "Check-Avail. Period Calc." | DateFormula | Specifies a date formula that defines the length of the period after the planned shipment date on demand lines in which the system checks availability for the demand line in question. |
| "Check-Avail. Time Bucket" | Enum Microsoft.Foundation.Enums."Analysis Period Type" | Specifies how frequently the system checks supply-demand events to discover if the item on the demand line is available on its shipment date. |
| "Base Calendar Code" | Code[10] | Specifies the code for the base calendar that you want to assign to your company. |
| "Cal. Convergence Time Frame" | DateFormula | Specifies how dates based on calendar and calendar-related documents are calculated. |
| 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
CheckIBAN
procedure CheckIBAN(IBANCode: Code[100])
Parameters
| Name | Type | Description |
|---|---|---|
| IBANCode | Code[100] |
ConvertIBAN
procedure ConvertIBAN(var IBANCode: Code[100])
Parameters
| Name | Type | Description |
|---|---|---|
| IBANCode | Code[100] |
CalcModulus
procedure CalcModulus(Number: Code[10]; Modulus97: Integer): Code[10]
Parameters
| Name | Type | Description |
|---|---|---|
| Number | Code[10] | |
| Modulus97 | Integer |
Returns
| Type | Description |
|---|---|
| Code[10] |
ConvertLetter
procedure ConvertLetter(var IBANCode: Code[100]; Letter: Code[1]; LetterPlace: Integer): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| IBANCode | Code[100] | |
| Letter | Code[1] | |
| LetterPlace | Integer |
Returns
| Type | Description |
|---|---|
| Boolean |
IsDigit
procedure IsDigit(LetterChar: Char): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| LetterChar | Char |
Returns
| Type | Description |
|---|---|
| Boolean |
IBANError
procedure IBANError(WrongIBAN: Text)
Parameters
| Name | Type | Description |
|---|---|---|
| WrongIBAN | Text |
DisplayMap
procedure DisplayMap()
GetRegistrationNumber
procedure GetRegistrationNumber(): Text
Returns
| Type | Description |
|---|---|
| Text |
GetRegistrationNumberLbl
procedure GetRegistrationNumberLbl(): Text
Returns
| Type | Description |
|---|---|
| Text |
GetVATRegistrationNumber
procedure GetVATRegistrationNumber(): Text
Returns
| Type | Description |
|---|---|
| Text |
GetVATRegistrationNumberLbl
procedure GetVATRegistrationNumberLbl(): Text
Returns
| Type | Description |
|---|---|
| Text |
GetRecordOnce
procedure GetRecordOnce()
VerifyAndSetPaymentInfo
procedure VerifyAndSetPaymentInfo()
GetSystemIndicator
procedure GetSystemIndicator(var Text: Text[250]; var Style: Option)
Parameters
| Name | Type | Description |
|---|---|---|
| Text | Text[250] | |
| Style | Option |
GetCountryRegionCode
procedure GetCountryRegionCode(CountryRegionCode: Code[10]): Code[10]
Parameters
| Name | Type | Description |
|---|---|---|
| CountryRegionCode | Code[10] |
Returns
| Type | Description |
|---|---|
| Code[10] |
GetCompanyCountryRegionCode
procedure GetCompanyCountryRegionCode(): Code[10]
Returns
| Type | Description |
|---|---|
| Code[10] |
GetDevBetaModeTxt
procedure GetDevBetaModeTxt(): Text[250]
Returns
| Type | Description |
|---|---|
| Text[250] |
GetContactUsText
procedure GetContactUsText(): Text
Returns
| Type | Description |
|---|---|
| Text |
FormatVATRegistrationNo
procedure FormatVATRegistrationNo(VATRegistrationNo: Text; CountryCode: Code[10]): Text
Parameters
| Name | Type | Description |
|---|---|---|
| VATRegistrationNo | Text | |
| CountryCode | Code[10] |
Returns
| Type | Description |
|---|---|
| Text |
SetPictureFromBlob
procedure SetPictureFromBlob(TempBlob: Codeunit "Temp Blob")
Parameters
| Name | Type | Description |
|---|---|---|
| TempBlob | Codeunit System.Utilities."Temp Blob" |
Events
OnAfterGetSystemIndicator
[IntegrationEvent(False,False)]
local procedure OnAfterGetSystemIndicator(var Text: Text[250]; var Style: Option)
Parameters
| Name | Type | Description |
|---|---|---|
| Text | Text[250] | |
| Style | Option |
OnBeforeIBANError
[IntegrationEvent(True,False)]
local procedure OnBeforeIBANError(var IsHandled: Boolean; WrongIBAN: Text)
Parameters
| Name | Type | Description |
|---|---|---|
| IsHandled | Boolean | |
| WrongIBAN | Text |
OnAfterGetRegistrationNumber
[IntegrationEvent(True,False)]
local procedure OnAfterGetRegistrationNumber(var Result: Text)
Parameters
| Name | Type | Description |
|---|---|---|
| Result | Text |
OnAfterGetRegistrationNumberLbl
[IntegrationEvent(True,False)]
local procedure OnAfterGetRegistrationNumberLbl(var Result: Text)
Parameters
| Name | Type | Description |
|---|---|---|
| Result | Text |
OnAfterGetVATRegistrationNumber
[IntegrationEvent(True,False)]
local procedure OnAfterGetVATRegistrationNumber(var Result: Text)
Parameters
| Name | Type | Description |
|---|---|---|
| Result | Text |
OnBeforeGetVATRegistrationNumberLbl
[IntegrationEvent(True,False)]
local procedure OnBeforeGetVATRegistrationNumberLbl(var Result: Text; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Result | Text | |
| IsHandled | Boolean |
OnBeforeCheckIBAN
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckIBAN(IBANCode: Code[100])
Parameters
| Name | Type | Description |
|---|---|---|
| IBANCode | Code[100] |
OnBeforeValidateCity
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateCity(var CompanyInformation: Record "Company Information"; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| CompanyInformation | Table Microsoft.Foundation.Company."Company Information" | |
| IsHandled | Boolean |
OnBeforeValidatePostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidatePostCode(var CompanyInformation: Record "Company Information"; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| CompanyInformation | Table Microsoft.Foundation.Company."Company Information" | |
| IsHandled | Boolean |
OnBeforeValidateShipToCity
Obsolete
This element will become obsolete from version 27.0. This event is never raised.
[Obsolete(This event is never raised.,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShipToCity(var CompanyInformation: Record "Company Information"; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| CompanyInformation | Table Microsoft.Foundation.Company."Company Information" | |
| IsHandled | Boolean |
OnBeforeValidateShipToPostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShipToPostCode(var CompanyInformation: Record "Company Information"; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| CompanyInformation | Table Microsoft.Foundation.Company."Company Information" | |
| IsHandled | Boolean |