Admin_BillType abt = Admin_BillTypeBLL.GetEntity(AFBPConvertor.IntParse(BillType.SelectedItem.Value));

Admin_BillType abt = Admin_BillTypeBLL.GetEntity(AFBPConvertor.IntParse(BillType.SelectedItem.Value));
object[] obj = new object[1];
obj[0] = new object[]{
    "Admin_BillType","Code",abt!=null?abt.Code:""
};
BillCode.Value = Ulti.EncodeString("Purchasing_Contract", "BillCode", obj);
posted @ 2012-05-10 09:26  AccERP  阅读(212)  评论(0编辑  收藏  举报