project QadFinancials > class BUnit > business logic query UnitPrim
Description
PrimUnit; query that can be used to find the logical key based on the prim-key and vice-versa.
Parameters
| iiUnitID | integer | UM ID |
| icUnitCode | character | UM Code |
query condition
each Unit where
Unit.Unit_ID = iiUnitID AND
Unit.UnitCode = icUnitCode
query resultset tqUnitPrim
| field name | data type | db field | description |
| tiUnit_ID | integer | Unit.Unit_ID | Record ID |
| tcUnitCode | character | Unit.UnitCode | Unit of Measure |
Internal usage
QadFinancials