Previous Topic

Next Topic

Book Contents

Book Index

Company Object

Navigator > Script > Script Viewer Script Editor > MenuPopup Objects (Alt+J) > Company

Navigator > Setup > Form Designer > Code tab > MenuPopup Objects (Alt+J) > Company

The Company object reports details of the Company.

Select a field form the list, and it will be inserted into the Code window. For example, if you click the Name field, Company.Name will be inserted in the code window. Fields available are:

Field

Description

Address1 - 5

Company Address fields set in Company Details.

BaseCurrencyCode

Company Base Currency based on the Country.

CompanyCode

Company Code set in Company Details.

CompanyMenuCode

Company Code that appears in the Company Menu.

CompanyMenuName

Company Name that appears in the Company Menu.

CompanyName

Company Name set in Company Details.

CompanyNo

Business No for the base Tax Regime set in Tax Regime Settings.

CompanyType

Company Type, either Live, Test or Demo.

CountryCode

Country Code selected when the Company was created.

CountryName

Country Name selected when the Company was created.

DataPath

Location of the data folder containing the Company Data.

EmailAddress

Email Address set in Company Details.

GSTNo

The Tax No for the base Tax Regime set in Tax Regime Settings.

Name

Company Name set in Company Details.

PhoneNos

Phone Nos set in Company Details.

PostalAddress

Postal Address set in Company Details.

PostCode

Post Code set in Company Details.

TaxRegimeName

The base Tax Regime selected when the Company was created.

TradingName

Trading Name set in Company Details.

WebAddress

Web Address set in Company Details.

Methods available to the Company Object are:

Method

Description

ExpandNavigator

Expand the navigator if it is docked and minimised.

GetPropertyValue

Returns the value of a property of the component.

MinimiseNavigator

Minimise the navigator if it is docked and not minimised.

PropertyType

Returns the type of a property for the component.

SetPropertyValue

Sets the value of a property of the component.