project QadFinancials > class BDivision > business logic query DivisionByMatchingDivisionCode

Description

GLByMatchingGLCode; query that returns the Code and ID of Divisions and that has a condition on Code with the matching operator.


Parameters


iiCompanyIdintegerCompany id
icDivisionCodecharacterDivisionCode that is in the condition with the matches-operator


query condition


  each Division where
Division.SharedSet_Id = vi_DIVISION_sharedset(iiCompanyId) AND
Division.DivisionCode matches icDivisionCode


query resultset tqDivisionByMatchingDivisionCode


field namedata typedb fielddescription
tiDivision_IDintegerDivision.Division_IDRecord ID
tcDivisionCodecharacterDivision.DivisionCodeSub-Account


Internal usage


QadFinancials
method BCashReport.ValidateRecalculateParams
method BGLMask.ApiGetGLMasks