<bm:fieldname="receipt_type_des"expression="(select v.code_value_name from sys_code_values_v v where v.code='RECEIPT_TYPE' and v.code_value=t1.receipt_type)"/>
<bm:fieldname="receipt_type_des"expression="(select v.code_value_name from sys_code_values_v v where v.code='RECEIPT_TYPE' and v.code_value=t1.receipt_type)"/>
<bm:fieldname="ref_contract_id"/>
<bm:fieldname="ref_contract_id"/>
<bm:fieldname="contract_number"expression="(select cc.contract_number from con_contract cc where cc.contract_id = t1.ref_contract_id)"/>
<bm:fieldname="contract_number"expression="(select cc.contract_number from con_contract cc where cc.contract_id = t1.ref_contract_id)"/>
<bm:fieldname="full_name"expression="(decode(select cc.division from con_contract cc where cc.contract_id=t1.ref_contract_id),
'70',(select ccli.type_name from con_contract_lease_item ccli where ccli.contract_id=t1.ref_contract_id and rownum=1),
'92',(select ccli.type_name from con_contract_lease_item ccli where ccli.contract_id=t1.ref_contract_id and rownum=1),
(select ccli.full_name from con_contract_lease_item ccli where ccli.contract_id=t1.ref_contract_id and rownum=1) )"/>
<bm:fieldname="collection_classes"/>
<bm:fieldname="collection_classes"/>
<bm:fieldname="collection_classes_desc"expression="(select v.code_value_name from sys_code_values_v v where v.code = 'DS_COLLECTION_CLASSES' and v.code_value =t1.collection_classes)"forInsert="false"forUpdate="false"/>
<bm:fieldname="collection_classes_desc"expression="(select v.code_value_name from sys_code_values_v v where v.code = 'DS_COLLECTION_CLASSES' and v.code_value =t1.collection_classes)"forInsert="false"forUpdate="false"/>
<bm:fieldname="confirmed_flag_desc"expression="(select v.code_value_name from sys_code_values_v v where v.code = 'CONFIRMED_FLAG' and v.code_value =t1.confirmed_flag)"forInsert="false"forUpdate="false"/>
<bm:fieldname="confirmed_flag_desc"expression="(select v.code_value_name from sys_code_values_v v where v.code = 'CONFIRMED_FLAG' and v.code_value =t1.confirmed_flag)"forInsert="false"forUpdate="false"/>