更新jbo

生成凭证
This commit is contained in:
G 2018-12-11 19:42:50 +08:00
parent 22740f94ef
commit 3497ea687b
3 changed files with 32 additions and 1 deletions

View File

@ -8,7 +8,7 @@
*/
String plan_date = DateAssistant.getToday();
ASObjectModel doTemp = new ASObjectModel("ViLcReviewAuditRentPlanList2");
ASObjectModel doTemp = new ASObjectModel("VI_PAYMENTCERTIFICATE");
// doTemp.setJboWhere(" O.AUDIT_STATE = 'N'");
//默认预查询
//只有计划日期未收款的都可以收款

View File

@ -4823,6 +4823,33 @@
</managerProperties>
</manager>
</class>
<class name="VI_PAYMENTCERTIFICATE" label="生成扣款凭证" keyAttributes="id">
<attributes>
<attribute name="id" label="id" type="STRING"/>
<attribute name="contract_number" label="合同编号" type="STRING"/>
<attribute name="customer_id" label="承租人编号" type="STRING"/>
<attribute name="CUSTOMER_NAME" label="承租人" type="STRING"/>
<attribute name="COLLECT_STATUS" label="收付状态" type="STRING"/>
<attribute name="COLLECT_MSG" label="收付信息" type="STRING"/>
<attribute name="plan_list" label="期次" type="STRING"/>
<attribute name="plan_date" label="计划日期" type="STRING"/>
<attribute name="fact_rent" label="计划租金" type="STRING"/>
<attribute name="fact_corpus" label="计划本金" type="STRING"/>
<attribute name="fact_interest" label="计划利息" type="STRING"/>
<attribute name="rent" label="未付租金" type="STRING"/>
<attribute name="corpus" label="未付本金" type="STRING"/>
<attribute name="interest" label="未付利息" type="STRING"/>
<attribute name="penalty" label="罚息" type="STRING"/>
<attribute name="bank_name" label="银行名称" type="STRING"/>
<attribute name="account" label="开户户名" type="STRING"/>
<attribute name="acc_number" label="银行账号" type="STRING"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="vi_paymentcertificate" />
</managerProperties>
</manager>
</class>
</package>
<package name="jbo.com.tenwa.lease.carbrand" >
<class name="LB_CLAIMS_BOOK_DETAIL" label="索赔申请书详情表" keyAttributes="ID">

View File

@ -4,6 +4,8 @@ package com.tenwa.lease.app.quartzmession;
import java.util.HashMap;
import java.util.Map;
import javax.swing.JOptionPane;
import jbo.voucher.LV_VOUCHER_CONFIG;
import com.amarsoft.are.jbo.BizObject;
@ -146,7 +148,9 @@ public class Checkfordeduction {
for(String voucherno:voucher_nos){
CreateVoucher(voucherno);
}
JOptionPane.showMessageDialog(null, "执行成功");
}catch (Exception e){
JOptionPane.showMessageDialog(null, "执行失败");
e.printStackTrace();
}