Commit 79eadde1 authored by 38823's avatar 38823

非银企业直联凭证传输问题修复

parent a926b536
......@@ -67,7 +67,7 @@
<bm:field name="reversed_19_flag"/>
<bm:field name="immediately_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="IMMEDIATELY_FLAG" prompt="HLS_JOURNAL_HEADER_V.IMMEDIATELY_FLAG"/>
<bm:field name="immediately_flag_desc" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="IMMEDIATELY_FLAG_DESC" prompt="HLS_JOURNAL_HEADER_V.IMMEDIATELY_FLAG_DESC"/>
<bm:field name="division" expression="(select hj.division from hls_payment_je_v hj where hj.journal_header_id = t1.journal_header_id)"/>
</bm:fields>
<bm:features>
......
......@@ -282,8 +282,10 @@
return;
}
if(records[i].get('je_transaction_code') == 'HL_PAYMENT_FEE' && records[i].get('immediately_flag') == 'N'){
Leaf.showMessage('${l:HLS.PROMPT}','应付账款(建机)类凭证需要在付款凭证申请工作流CFO节点审批通过后才可以传输!');
return;;
if(!Ext.isEmpty(records[i].get('division')) && records[i].get('division') != '70' &&records[i].get('division') != '92'){
Leaf.showMessage('${l:HLS.PROMPT}','应付账款(建机)类凭证需要在付款凭证申请工作流CFO节点审批通过后才可以传输!');
return;
}
}
je_detail_count = Number(records[i].get('je_detail_count'));
count = je_detail_count + Number(count);
......
......@@ -340,8 +340,10 @@
return;
}
if(records[i].get('je_transaction_code') == 'HL_PAYMENT_FEE' && records[i].get('immediately_flag') == 'N'){
Leaf.showMessage('${l:HLS.PROMPT}','应付账款(建机)类凭证需要在付款凭证申请工作流CFO节点审批通过后才可以传输!');
return;;
if(!Ext.isEmpty(records[i].get('division')) && records[i].get('division') != '70' &&records[i].get('division') != '92'){
Leaf.showMessage('${l:HLS.PROMPT}','应付账款(建机)类凭证需要在付款凭证申请工作流CFO节点审批通过后才可以传输!');
return;
}
}
je_detail_count = Number(records[i].get('je_detail_count'));
count = je_detail_count + Number(count);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment