|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Company
The Company
interface provides details of the company set up in
Common Services Company Profile.
An object of this class can be obtained from Program object's
getCompany()
method. The object is immutable and
reflects the state of the data when getCompany() was called.
Nested Class Summary | |
---|---|
static class |
Company.HandleSituation
The HandleSituation enumeration indicates how certain error
situations should be handled. |
Method Summary | |
---|---|
java.lang.String |
getAddress1()
Gets the first line of the address. |
java.lang.String |
getAddress2()
Gets the second line of the address. |
java.lang.String |
getAddress3()
Gets the third line of the address. |
java.lang.String |
getAddress4()
Gets the fourth line of the address. |
java.lang.String |
getBranchCode()
Gets the branch code of the company |
java.lang.String |
getCity()
Gets the city of the address. |
java.lang.String |
getContact()
Gets the name of the contact person |
java.lang.String |
getCountry()
Gets the country of the company. |
java.lang.String |
getCountryCode()
Gets the country code of the company |
java.lang.String |
getFax()
Gets the fax number |
int |
getFiscalPeriods()
Gets the number of fiscal periods in a fiscal year. |
int |
getFourPeriodQuarter()
Gets the quarter number with 4 periods, if the company uses 13 periods in a fiscal year. |
Company.HandleSituation |
getHandleInactiveGLAccounts()
Gets a value indicating how inactive GL accounts should be handled. |
Company.HandleSituation |
getHandleLockedFiscalPeriods()
Gets a value indicating how locked fiscal periods should be handled. |
Company.HandleSituation |
getHandleNonexistentGLAccounts()
Gets a value indicating how nonexistent GL accounts should be handled. |
java.lang.String |
getHomeCurrency()
Gets the home currency code of the company |
java.lang.String |
getLocationCode()
Gets the location code |
java.lang.String |
getLocationType()
Gets the location type |
java.lang.String |
getName()
Gets the company name. |
java.lang.String |
getOrgID()
Gets the organization ID of the company. |
java.lang.String |
getPhone()
Gets the phone number |
java.lang.String |
getPhoneMask()
Gets the display mask for the phone or fax number. |
java.lang.String |
getPostcode()
Gets the zip code/postal code. |
java.lang.String |
getRateType()
Gets the default rate type code |
java.lang.String |
getReportingCurrency()
Gets the currency to include in financial reports, if the home currency is Euro. |
int |
getSessionWarnDays()
Gets the maximum number of days a transaction date can deviate from the session date before the system should issue a warning. |
java.lang.String |
getState()
Gets the state of the address. |
boolean |
isEuroCurrency()
Gets a value indicating whether or not the home currency is a Euro currency. |
boolean |
isMulticurrency()
Gets a value indicating whether or not the company is set up to use multicurrency. |
boolean |
isPhoneFormatted()
Gets a value indicating whether or not the phone numbers should be formatted. |
Method Detail |
---|
java.lang.String getAddress1()
java.lang.String getAddress2()
java.lang.String getAddress3()
java.lang.String getAddress4()
java.lang.String getBranchCode()
java.lang.String getCity()
java.lang.String getContact()
java.lang.String getCountry()
java.lang.String getCountryCode()
java.lang.String getFax()
int getFiscalPeriods()
int getFourPeriodQuarter()
If getFiscalPeriods()
returns 12 then a value will still be
returned but will be meaningless.
Company.HandleSituation getHandleInactiveGLAccounts()
Company.HandleSituation getHandleLockedFiscalPeriods()
Company.HandleSituation getHandleNonexistentGLAccounts()
java.lang.String getHomeCurrency()
java.lang.String getLocationCode()
java.lang.String getLocationType()
java.lang.String getName()
java.lang.String getOrgID()
java.lang.String getPhone()
java.lang.String getPhoneMask()
If isPhoneFormatted()
returns false a value will still be
returned.
java.lang.String getPostcode()
java.lang.String getRateType()
java.lang.String getReportingCurrency()
If isEuroCurrency()
returns false a value is still returned, but
should not be used.
int getSessionWarnDays()
java.lang.String getState()
boolean isEuroCurrency()
true
if, and only if, the home currency is a Euro
currency.boolean isMulticurrency()
true
if, and only if, the company is set up to use
multicurrency.boolean isPhoneFormatted()
getPhoneMask()
.
true
if, and only if, phone numbers should be formatted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |