Company Class
Properties Methods Events Configuration Settings Errors
The Company component is used to retrieve information about the QuickBooks company.
Syntax
Company
Remarks
To retrieve information about the QuickBooks company, simply invoke Get. A variety of information will be returned, and may be accessed via read-only properties such as CompanyName, Address, etc. Note that the class allows only read-only access to company information; any changes must be done from within the QuickBooks UI.
The QuickBooks connection may be configured as with other classs in the package.
Property List
The following is the full list of the properties of the class with short descriptions. Click on the links for further details.
Address | Company address. |
CompanyName | Company name. |
CompanyType | The type of company. |
EIN | The EIN of the company. |
Company email address. | |
Fax | Company fax number. |
FileId | Identifies a company file. |
FirstMonthFiscal | The first month in the company's fiscal year. |
FirstMonthTax | The first month in the company's tax year. |
LegalAddress | Legal company address. |
LegalName | Legal company name. |
OwnerId | The Id of an application. |
Phone | Company phone number. |
QBConnectionString | An aggregate consisting of various QuickBooks connection properties. |
QBRequestAggregate | The request aggregate. |
QBRequestMode | Defines whether the request is made online or stored offline. |
QBResponseAggregate | The last QBXML response aggregate received from QuickBooks. |
QBXMLVersion | The version of QBXML used in the outgoing message. |
ServiceCount | The number of records in the Service arrays. |
ServiceDomain | Indicates the provider of the service that the company is (or has been) subscribed to. |
ServiceName | The name of the Intuit service that the company is (or has been) subscribed to. |
ServiceStatus | The status of the Intuit service that the company is (or has been) subscribed to. |
ShipToAddress | Company shipping address. |
SSN | The SSN of the company. |
TaxForm | The tax form used by the company. |
Website | Company website URL. |
Method List
The following is the full list of the methods of the class with short descriptions. Click on the links for further details.
Config | Sets or retrieves a configuration setting . |
Get | Gets the company information from QuickBooks. |
Event List
The following is the full list of the events fired by the class with short descriptions. Click on the links for further details.
Error | Information about errors during data delivery. |
SSLServerAuthentication | Fired after the server presents its certificate to the client. |
SSLStatus | Shows the progress of the secure connection. |
Status | Shows the progress of the QuickBooks connection. |
Warning | Fired when a warning occurs. |
Configuration Settings
The following is a list of configuration settings for the class with short descriptions. Click on the links for further details.
SendRawXML | Sends specified XML to quickbooks without modification. |
AppendAfter | Appends an XML tag after the specified QBXML element. |
StopOnError | Specifies how QuickBooks is to proceed if an error occurs in processing of the current request. |
SSLAcceptServerCert | The SSL certificate being used by the Remote Connector. |
SSLAcceptServerCertFile | The SSL certificate file being used by the Remote Connector. |
EnforceMaxLength | Indicates whether to enforce max lengths for QB Fields. |
AuthFlags | Connection Flags (use for QuickBooks Simple Start). |
GetHighestVersion | Highest QBXMLVersion supported by the installed instance of QuickBooks. |
GetSupportedVersions | Returns a list of QBXMLVersions that are supported by QuickBooks. |
GetRequestProcessorDLLVersion | Returns the version of the QB Request Processor that is installed on your system. |
IsReadOnly | This causes the QuickBooks authorization dialog to display text informing the user that its access will be read-only. |
UnattendedModePref | Whether connecting while QuickBooks is closed is required or optional for the user. |
PersonalDataPref | Whether the connecting application will require access to personal data such as SSN or credit card information. |
QBOpenCompanyFile | The file currently open in QuickBooks. |
QBConnectionMode | The mode of connection to QuickBooks. |
QBFileStatus | The status of the company file as it pertains to accepting connections. |
WarningCodes | A comma-separated list of QuickBooks warning codes that should not result in an exception. |
CodePage | The system code page used for Unicode to Multibyte translations. |