/***************************************************************\
* The skeleton of this class is generated by an automatic *
* code generator for NC product. It is based on Velocity. *
\***************************************************************/packagenc.vo.pub.pf;importnc.md.model.impl.MDEnum;importnc.md.model.IEnumValue;/**
* <b> 在此处简要描述此类的功能 </b>
* <p>
* 在此处添加此类的描述信息
* </p>
* 创建日期:
* @author
* @version NCPrj ??
*/publicclassBillStatusEnumextendsMDEnum{//审批未通过// private final static int NOPASS = 0;//审批通过// private final static int PASS = 1;//进行中// private final static int ONGOING = 2;//提交态// private final static int SUBMIT = 3;//自由态// private final static int NOSTATUS = -1;publicBillStatusEnum(IEnumValue enumvalue){super(enumvalue);}/**
* 自由
*/publicstaticfinalBillStatusEnumFREE=MDEnum.valueOf(BillStatusEnum.class,Integer.valueOf(IPfRetCheckInfo.NOSTATE));/**
* 已审批
*/publicstaticfinalBillStatusEnumAPPROVED=MDEnum.valueOf(BillStatusEnum.class,Integer.valueOf(IPfRetCheckInfo.PASSING));/**
* 提交
*/publicstaticfinalBillStatusEnumCOMMIT=MDEnum.valueOf(BillStatusEnum.class,Integer.valueOf(IPfRetCheckInfo.COMMIT));/**
* 正在审批
*/publicstaticfinalBillStatusEnumAPPROVING=MDEnum.valueOf(BillStatusEnum.class,Integer.valueOf(IPfRetCheckInfo.GOINGON));/**
* 审批不通过
*/publicstaticfinalBillStatusEnumNOPASS=MDEnum.valueOf(BillStatusEnum.class,Integer.valueOf(IPfRetCheckInfo.NOPASS));}
nc.ui.pubapp.uif2app.actions.pflow.ApproveStatus
packagenc.ui.pubapp.uif2app.actions.pflow;importnc.vo.pub.pf.IPfRetCheckInfo;publicclassApproveStatus{/* 审批通过 */// public final static int APPROVED = 1;publicstaticfinalintAPPROVED=IPfRetCheckInfo.PASSING;/* 审批中 */// public final static int APPROVING = 2;publicstaticfinalintAPPROVING=IPfRetCheckInfo.GOINGON;/* 自由 */// public final static int FREE = -1;publicstaticfinalintFREE=IPfRetCheckInfo.NOSTATE;/* 审批未通过 */// public final static int NOPASS = 0;publicstaticfinalintNOPASS=IPfRetCheckInfo.NOPASS;/* 已提交 态 */// public final static int COMMIT = 3;publicstaticfinalintCOMMIT=IPfRetCheckInfo.COMMIT;}
nc.vo.arap.pub.BillEnumCollection
packagenc.vo.arap.pub;/**
* 交易类型编码(名称) 主表名称(新的) 子表名称(新的) </br> D0(客户应收单) ar_recbill ar_recitem </br> 23D0(供应商应收单) ar_suprecbill ar_suprecitem </br> 23C0(暂沽应收) ar_estirecbill ar_estirecitem </br> 23B0(暂沽回冲应收)
* ar_estirecbill(重名) ar_estirecitem(重名) </br> D1(供应商应付单) ap_payablebill ap_payableitem </br> 23D1(客户应付单) ap_cuspayablebill ap_cuspayableitem </br> 23C1(暂估应付) ap_estipayablebill ap_estipayableitem
* </br> 23B1(暂沽回冲应付) ap_estipayablebill(重名)ap_estipayableitem(重名) </br> D2(客户收款单) ar_gatherbill ar_gatheritem </br> 23D2(供应商收款单) ar_supgatherbill ar_supgatheritem </br> D3(供应商付款单) ap_paybill
* ap_payitem </br> 23D3(客户付款单) ap_cuspaybill ap_cuspayitem </br>
*/publicclassBillEnumCollection{/**
* 节点名称 单据类型 单据名称 借贷方向 借贷数值 </br> 应收管理 F0 应收(客户) (借) 1 </br> F1 应付(供应商) (贷) -1 </br> 应收管理 F2 收款(客户) (贷) -1 </br> F3 付款(供应商) (借) 1 </br> F0S 供应商应收 (借) 1 </br> 应收管理 F1C 客户应付 (贷) -1 </br> F2S 供应商收款单
* (贷) -1 </br> 应收管理 F3C 客户付款单 (借) 1 </br> 应收管理 E0 暂估应收单 (借) 1 </br> E1 暂估应付单 (贷) -1 </br>
*/privateBillEnumCollection(){};/**
* 方向
*
* @author langsc1
*
*/publicenumDirection{DEBIT(1),/** 借 */CREDIT(-1)/** 贷 */// CHG(3);;publicfinalIntegerVALUE;Direction(int status){VALUE= status;}publicstaticDirectionvalueOf(Integer value){Direction ret =null;switch(value){case-1:
ret =CREDIT;break;case1:
ret =DEBIT;break;default:break;}return ret;}}/**
* 票据方向
*
*
*/publicenumBillDIRECTION{DEFAULT("none"),AR("ar"),AP("ap");publicfinalStringVALUE;BillDIRECTION(String status){VALUE= status;}publicStringgetValue(){returnVALUE;}publicstaticBillDIRECTIONvalueof(String value){BillDIRECTION ret =null;if(value.equals(DEFAULT.VALUE))
ret =DEFAULT;elseif(value.equals(AR.VALUE))
ret =AR;if(value.equals(AP.VALUE))
ret =AP;return ret;}}/**
* 支付状态
*
*
*/publicenumPayStatus{/** 未处理 */DEFAULT(0),/**
* 未支付
*/UNPayed(1),/**
* * 支付中
*/Paying(2),/**
* 支付完成
*/PayFinish(3),/**
* 支付失败
*/PayFail(4),/**
* 部分支付完成
*/SomePayFinish(20),/**
* 未收款
*/UnRecive(5),/**
* 收款中
*/Reciving(6),/**
* 收款完成
*/ReciveFinish(7),/**
* 收款失败
*/ReciveFail(8);// DEFAULT(0), SUCESS(1), FAILE(-1), PAYING(2), HAND(3), PARTHAND(4), ACCEPTFAILE(// 5), ARAPFAILE(-11), ARAPFING(12), ARAPSUCCED(11);publicfinalIntegerVALUE;PayStatus(int status){VALUE= status;}publicstaticPayStatusvalueof(Integer value){PayStatus ret =null;switch(value){case0:
ret =DEFAULT;break;case1:
ret =UNPayed;break;case2:
ret =Paying;break;case3:
ret =PayFinish;break;case4:
ret =PayFail;break;case5:
ret =UnRecive;break;case6:
ret =Reciving;break;case7:
ret =ReciveFinish;break;case8:
ret =ReciveFail;break;case20:
ret =SomePayFinish;break;default:break;}return ret;}}/**
* 支付方式
*
*
*/publicenumPayWay{NONE(0),SETTLE_HAND(3),NETPAY(5),CENTRPAY(10);publicfinalIntegerVALUE;PayWay(int value){VALUE= value;}publicstaticPayWayvalueof(Integer value){PayWay ret =null;switch(value){case0:
ret =NONE;break;case3:
ret =SETTLE_HAND;break;case5:
ret =NETPAY;break;case10:
ret =CENTRPAY;break;default:break;}return ret;}}/**
* 行类型
*/publicenumRowType{FILL(0),NOTFILL(1),SWITCHTO(5),AGENCY(21),LOAN(22),CASH(23),AGENT_BUSINESS(24),SELF_BUSSINESS(25);// 代理费 代垫 保证金 代收代付 自收自付publicfinalIntegerVALUE;RowType(int value){VALUE= value;}publicstaticRowTypevalueof(Integer value){RowType ret =null;switch(value){case0:
ret =FILL;break;case1:
ret =NOTFILL;break;case5:
ret =SWITCHTO;break;case21:
ret =AGENCY;break;case22:
ret =LOAN;break;case23:
ret =CASH;break;case24:
ret =AGENT_BUSINESS;break;case25:
ret =SELF_BUSSINESS;break;default:break;}return ret;}}/**
* 结算状态
*/publicenumSettlementState{DEFAULT(0),TRANSSUCCED(1),TRANSFAIL(-1),TRANSING(2),SomePayFinish(11);// 0 默认// 1 转账成功// -1 转账失败// 2 转账中// 11 部分publicfinalIntegerVALUE;SettlementState(int value){VALUE= value;}publicstaticSettlementStatevalueof(Integer value){SettlementState ret =null;switch(value){case0:
ret =DEFAULT;break;case1:
ret =TRANSSUCCED;break;case-1:
ret =TRANSFAIL;break;case2:
ret =TRANSING;break;case11:
ret =SomePayFinish;break;default:break;}return ret;}}/**
* 结算类型
*/publicenumSettlementType{NO(0),HAND(3),NETBANK(5),SETTLECENTER(10);publicfinalIntegerVALUE;SettlementType(int value){VALUE= value;}publicstaticSettlementTypevalueof(Integer value){SettlementType ret =null;switch(value){case0:
ret =NO;break;case3:
ret =HAND;break;case5:
ret =NETBANK;break;case10:
ret =SETTLECENTER;break;default:break;}return ret;}}/**
* 单据来源系统
*/publicenumFromSystem{AR(0),// 应收系统AP(1),// 应付系统CMP(2),// 现金管理SO(3),// 销售系统PO(4),// 采购系统FTS(5),// 资金结算NET(6),// 网上银行----dap_dapsystem中没有记录,CFBM(8),// 集中票据管理XTDJ(9),// 协同单据----dap_dapsystem中没有记录CDMA(10),// 银行信贷管理XBGL(12),// 项目管理----dap_dapsystem中没有记录TB(13),// 全面预算TO(16),// 内部交易WBJHPT(17),// 外部交换平台----dap_dapsystem中没有记录ZJJX(18),// 资金计息----dap_dapsystem中没有记录IC(19),// 库存管理CT(20),// 合同管理YS(24),// 运输----dap_dapsystem中没有记录PS(7),// 付款排程AM(104),// 资产管理WSBX(105),// 费用管理(网上报销)----dap_dapsystem中没有记录CR09(109);// Lease(6);publicfinalIntegerVALUE;FromSystem(int value){VALUE= value;}publicstaticFromSystemvalueof(Integer value){FromSystem ret =null;switch(value){case0:
ret =AR;break;case1:
ret =AP;break;case2:
ret =CMP;break;case3:
ret =SO;break;case4:
ret =PO;break;case5:
ret =FTS;break;case6:
ret =NET;break;case8:
ret =CFBM;break;case9:
ret =XTDJ;break;case10:
ret =CDMA;break;case12:
ret =XBGL;break;case13:
ret =TB;break;case16:
ret =TO;break;case17:
ret =WBJHPT;break;case18:
ret =ZJJX;break;case19:
ret =IC;break;case20:
ret =CT;break;case24:
ret =YS;break;case104:
ret =AM;break;case105:
ret =WSBX;break;default:break;}return ret;}}/**
* 单据来源系统
*/publicenumBillType{PURCHASE_ORDER("21"),// 采购合同PS_APPLY("36D1"),// 付款申请PS_PLANDETAIL("36D7"),// 付款排程SALES_ORDER("30");// 销售订单publicfinalStringVALUE;BillType(String value){VALUE= value;}}/**
* 生效标志
*/publicenumInureSign{/** 未生效 */NOINURE(0),/** 未生成凭证 */NOVOUCHER(5),/** 已生效 */OKINURE(10);publicfinalIntegerVALUE;InureSign(int value){VALUE= value;}publicstaticInureSignvalueof(Integer value){InureSign ret =null;if(null== value){
ret =NOINURE;return ret;}switch(value){case0:
ret =NOINURE;break;case5:
ret =NOVOUCHER;break;case10:
ret =OKINURE;break;default:
ret =NOINURE;break;}return ret;}}/**
* 往来对象
*/publicenumObjType{CUSTOMER(0),PERSON(3),DEP(2),SUPPLIER(1),CUSSUP(8);publicfinalIntegerVALUE;ObjType(int value){VALUE= value;}publicstaticObjTypevalueof(Integer value){ObjType ret =null;switch(value){case0:
ret =CUSTOMER;break;case1:
ret =SUPPLIER;break;case2:
ret =DEP;break;case3:
ret =PERSON;break;default:break;}return ret;}}/**
* 审核状态
*/publicenumCheckState{CHECKING(0),CHECKOK(1),CHECKNO(2),RETURN(3);publicfinalIntegerVALUE;CheckState(int value){VALUE= value;}publicstaticCheckStatevalueof(Integer value){CheckState ret =null;switch(value){case0:
ret =CHECKING;break;case1:
ret =CHECKOK;break;case2:
ret =CHECKNO;break;case3:
ret =RETURN;break;default:break;}return ret;}}/**
* 扣税类别
*/publicenumTaxType{TAXIN(0),TAXOUT(1),NOTAX(2);publicfinalIntegerVALUE;TaxType(int value){VALUE= value;}publicstaticTaxTypevalueof(Integer value){TaxType ret =null;switch(value){case0:
ret =TAXIN;break;case1:
ret =TAXOUT;break;case2:
ret =NOTAX;break;default:break;}return ret;}}/**
* 单据协同标志
*/publicenumBillCooperate{NOSUER(0),SURE(1);publicfinalIntegerVALUE;BillCooperate(int value){VALUE= value;}publicstaticBillCooperatevalueof(Integer value){BillCooperate ret =null;switch(value){case0:
ret =NOSUER;break;case1:
ret =SURE;break;default:break;}return ret;}}/**
* 并账类别
*/publicenumAccount{IN(0),OUT(1);publicfinalIntegerVALUE;Account(int value){VALUE= value;}publicstaticAccountvalueof(Integer value){Account ret =null;switch(value){case0:
ret =IN;break;case1:
ret =OUT;break;default:break;}return ret;}}publicenumBillSatus{/** 暂存状态 */Tempeorary(-99),/** 保存状态 */Save(-1),/** 已审核 */Audit(1),/** 删除 */Deleted(4),/** 挂起 */HangUp(6),/** 签字状态 */Sign(8),UnComfirm(9),Closing(10);publicfinalIntegerVALUE;BillSatus(int value){VALUE= value;}publicstaticBillSatusvalueof(int value){BillSatus ret =null;switch(value){case-99:
ret =Tempeorary;break;case-1:
ret =Save;break;case1:
ret =Audit;break;case4:
ret =Deleted;break;case6:
ret =HangUp;break;case8:
ret =Sign;break;case9:
ret =UnComfirm;break;case10:
ret =Closing;break;default:
ret =Save;break;}return ret;}}/*
public static BillSatus valueof(int value) {
BillSatus ret = null;
switch (value) {
case -99:
ret = Tempeorary;
break;
case -1:
ret = Save;
break;
case 1:
ret = Audit;
break;
case 2:
ret = AuditHandling;
break;
case 3:
ret = AuditHandlFail;
break;
case 4:
ret = Deleted;
break;
case 6:
ret = HangUp;
break;
case 8:
ret = Sign;
break;
case 9:
ret = UnComfirm;
break;
case 10:
ret = Closing;
break;
default:
ret = Save;
break;
}
return ret;
}
}
*/publicenumApproveStatus{/** 自由态 */NOSTATE(-1),/** 未通过 态 */NOPASS(0),/** 通过 态 */PASSING(1),/** 进行中 态 */GOINGON(2),/** 提交 态 */COMMIT(3);publicfinalIntegerVALUE;ApproveStatus(int value){VALUE= value;}publicstaticApproveStatusvalueof(int value){ApproveStatus ret =null;switch(value){case-1:
ret =NOSTATE;break;case0:
ret =NOPASS;break;case1:
ret =PASSING;break;case2:
ret =GOINGON;break;case3:
ret =COMMIT;break;default:
ret =NOSTATE;break;}return ret;}}// /**// * 付款性质 - 改成 预收 / 预付标志// * // */// public enum PreSign {// /** 预收标志 */// PreRec(1),//// /** 预付标志 */// prePay(-1);// public final Integer VALUE;//// PreSign(int value) {// VALUE = value;// }//// public PreSign valueof(int value) {// PreSign ret = null;// switch (value) {// case 1:// ret = PreSign.PreRec;// break;// case -1:// ret = PreSign.prePay;// break;// default:// break;// }// return ret;// }// }/**
* 付款性质 - 改成 预收 / 预付标志
*
*/publicenumPreSigns{/** 应收款/应付款 */notPre(0),/** 预收款、预付款 */isPre(1);publicfinalIntegerVALUE;PreSigns(int value){VALUE= value;}publicPreSignsvalueof(int value){PreSigns ret =null;switch(value){case0:
ret =PreSigns.notPre;break;case1:
ret =PreSigns.isPre;break;default:break;}return ret;}}/**
* 催款语气类别
*/publicenumNoticeType{ZL(1),YE(2);publicfinalIntegerVALUE;NoticeType(int value){VALUE= value;}publicstaticNoticeTypevalueof(Integer value){NoticeType ret =null;switch(value){case1:
ret =ZL;break;case2:
ret =YE;break;default:break;}return ret;}}/**
* 暂估 回冲标志
*
* @author miaohl
*
*/publicenumEstiType{ESTQR(0),// 暂估确认EST(1),// 暂估NOTEST(2);// 暂估回冲publicfinalIntegerVALUE;EstiType(int value){VALUE= value;}publicstaticEstiTypevalueof(Integer value){EstiType ret =null;switch(value){case0:
ret =ESTQR;break;case1:
ret =EST;break;case2:
ret =NOTEST;break;default:break;}return ret;}}publicenumCommissionPayStatus{// 待承付UnCommissionPay(0),// 承付中CommissionPaying(1),// 已承付CommissionPaySusscess(2);publicfinalIntegerVALUE;CommissionPayStatus(int status){VALUE= status;}}publicenumCommissionPayType{// 全额承付CommPayALL(0),// 全额拒付RefuseCommPay(1),// 部分承付CommPayPartly(2),// 强制全额承付ForceCommPayALL(3);publicfinalIntegerVALUE;CommissionPayType(int status){VALUE= status;}}publicenumBuySellType{// 国内销售IN_SELL(1),// 国内采购IN_BUY(2),// 出口销售OUT_SELL(3),// 进口采购OUT_BUY(4),// 不区分DEFAULT_TYPE(5);publicfinalIntegerVALUE;BuySellType(int status){VALUE= status;}}publicenumVoucherStatus{// 未生成凭证=1,已生成凭证=2,凭证已记账=3VOUCHER_NOT_GENERATE("1"),VOUCHER_GENERATED("2"),ACCOUNTING_VOUCHER("3");publicfinalStringVALUE;VoucherStatus(String status){VALUE= status;}}publicenumVerifyStatus{// 未核销=1,已核销=2,部分核销=3NOT_VERIFY("1"),VERIFIED("2"),PART_VERIFIED("3");publicfinalStringVALUE;VerifyStatus(String status){VALUE= status;}}// /**// * 单据大类// *// */// public enum BillClass {// /** 应收 */// YS("ys"),// /** 应付 */// YF("yf"),// /** 收款 */// SK("sk"),// /** 付款 */// FK("fk"),// /** 暂估应收 */// ZS("zs"),// /** 暂估应付 */// ZF("zf");// public final String VALUE;//// BillClass(String value) {// VALUE = value;// }// }}