project QadFinancials > class BCompany > business logic query CompanyCurrSSByIDCodeSSType
Description
Query on tables company, domain, domainproperties, companysharedset and sharedsettype
CompanyCurrSSByIDCodeSSType
Parameters
iiCompanyId | integer | Entity ID |
icSharedSetType | character | SharedSetType |
icCompanyCode | character | Entity Code |
query condition
each Company where
Company.Company_ID = iiCompanyId AND
Company.CompanyCode = icCompanyCode
each CompanySharedSet (inner-join) where
CompanySharedSet.Company_Id = iiCompanyId AND
CompanySharedSet.Company_ID = Company.Company_ID AND
first SharedSet (inner-join) where
SharedSet.SharedSet_ID = CompanySharedSet.SharedSet_ID AND
SharedSet.SharedSetTypeCode = icSharedSetType
first Domains (inner-join) where
Domains.Domain_ID = Company.Domain_ID AND
each DomainProperty (inner-join) where
DomainProperty.Domain_ID = Domains.Domain_ID AND
query resultset tqCompanyCurrSSByIDCodeSSType
field name | data type | db field | description |
tiCompanySharedSet_ID | integer | CompanySharedSet.CompanySharedSet_ID | Record ID |
tiCurrency_ID | integer | DomainProperty.Currency_ID | Base Currency |
tiDomain_ID | integer | Domains.Domain_ID | Record ID |
tiCompany_ID | integer | Company.Company_ID | Record ID |
tcCompanyCode | character | Company.CompanyCode | Entity Code |
tlCompanyIsActive | logical | Company.CompanyIsActive | Active |
tiSharedSet_ID | integer | CompanySharedSet.SharedSet_ID | Shared Set |
tcSharedSetCode | character | SharedSet.SharedSetCode | Shared Set Code |
tlSharedSetIsActive | logical | SharedSet.SharedSetIsActive | Active |
tcSharedSetTypeCode | character | SharedSet.SharedSetTypeCode | Shared Set Type |
Internal usage
QadFinancials