Commit ee57260c by wangguangchao

actmod0011提交

parent 331171b9
static void getActTypField(String tbltyp,Argument<String> nottyp,Argument<String> repTyp,Argument<String> term_id,Argument<String> term_nam,Argument<String> seqNo,Argument<String> prttyp,Argument<String> nam) {
//-------------------------------------------
// 获取账户信息的函数
// TBLTYP CodeTable ACTMIX 的TBL
// NOTTYP 返回新旧帐号类型 N 新帐号 O旧帐号 M 新旧帐号并存
// RepTyp 账号中机构位的生成规则 R 用当前机构替换 G 使用EXTACT中的机构 C 客户类账号
// term_id 科目代码 账号中的科目号位 5位 新帐号需要去掉前1位 08开头的仅仅取头3位
// term_nam 科目号 账号对应的科目号,打印传票时使用
// SEQNo 顺序号
// PRTTYP 传票打印类型
// NAM 该科目的名称
//-------------------------------------------
nottyp.value = "";
repTyp.value = "";
term_id.value = "";
seqNo.value = "";
prttyp.value = "";
nam.value = "";
String txt = Platform.getCodetableLabelOfTd( tbltyp, "ACTMIX", Platform.getLang() );
if( ! Platform.isEmpty( txt ) ) {
nottyp.value = Platform.mid( txt, 1, 1 );
repTyp.value = Platform.mid( txt, 2, 1 );
term_id.value = Platform.mid( txt, 4, 5 );
term_nam.value = Platform.mid( txt, 10, 6 );
seqNo.value = Platform.mid( txt, 17, 1 );
prttyp.value = Platform.mid( txt, 19, 2 );
nam.value = Platform.mid( txt, 22, -1 );
}
}
\ No newline at end of file
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