project QadFinancials > class BDeductionCat > business logic query DeductionCatLineForExcelInteg


Parameters


iiCompanyIdintegerCompany id


query condition


  each DeductionCatLine where

      first CostCentre (outer-join) where
CostCentre.SharedSet_Id = vi_COSTCENTRE_sharedset(iiCompanyId) AND
CostCentre.CostCentre_ID = DeductionCatLine.CostCentre_ID AND

      first Division (outer-join) where
Division.SharedSet_Id = vi_DIVISION_sharedset(iiCompanyId) AND
Division.Division_ID = DeductionCatLine.Division_ID AND

      first Domains (inner-join) where
Domains.Domain_ID = DeductionCatLine.Domain_ID AND

      first GL (outer-join) where
GL.SharedSet_Id = vi_GL_sharedset(iiCompanyId) AND
GL.GL_ID = DeductionCatLine.GL_ID AND

      first Journal1 (outer-join) where
Journal1.SharedSet_Id = vi_JOURNAL_sharedset(iiCompanyId) AND
Journal1.Journal_ID = DeductionCatLine.ExpenseJournal_ID AND

      first Journal2 (outer-join) where
Journal2.SharedSet_Id = vi_JOURNAL_sharedset(iiCompanyId) AND
Journal2.Journal_ID = DeductionCatLine.RechargeJournal_ID AND


query resultset tqDeductionCatLineForExcelInteg


field namedata typedb fielddescription
tiCostCentre_IDintegerDeductionCatLine.CostCentre_IDLink to CostCentre
tcCostCentreCodecharacterCostCentre.CostCentreCodeCost Center: A code that identifies the cost center.
tiDeductionCat_IDintegerDeductionCatLine.DeductionCat_IDLink to DeductionCat
tiDeductionCatLine_IDintegerDeductionCatLine.DeductionCatLine_IDRecord ID
tlDeductionCatLineIsAutoWOfflogicalDeductionCatLine.DeductionCatLineIsAutoWOffAuto Write-off
tdDeductionCatLineWOffLimitdecimalDeductionCatLine.DeductionCatLineWOffLimitWrite-off Limit
tiDivision_IDintegerDeductionCatLine.Division_IDLink to Division
tcDivisionCodecharacterDivision.DivisionCodeSub-Account
tiDomain_IDintegerDeductionCatLine.Domain_IDLink to Doamin
tcDomainCodecharacterDomains.DomainCodeDomain
tiExpenseJournal_IDintegerDeductionCatLine.ExpenseJournal_IDLink to ExpenseJournal
tiGL_IDintegerDeductionCatLine.GL_IDLink to GL
tcGLCodecharacterGL.GLCodeA code identifying the GL account.
tcJournalCodecharacterJournal1.JournalCodeA daybook code (maximum eight characters).
tcJournalCode1characterJournal2.JournalCodeA daybook code (maximum eight characters).
tiRechargeJournal_IDintegerDeductionCatLine.RechargeJournal_IDLink to RechargeJournal
tiSafStructure_IDintegerDeductionCatLine.SafStructure_IDLink to SafStructure
ti_sequenceintegercalculatedprimary index
tc_rowidcharactercalculated = rowid(DeductionCatLine),rowid(CostCentre),rowid(Division),rowid(Domains),rowid(GL),rowid(Journal1),rowid(Journal2)


Internal usage


QadFinancials
method BDeductionCat.ApiLoadDeductionCat