分配客户的方法
String[] customer = { cuVO.getPk_customer() }; ICustAssignService cs = NCLocator.getInstance().lookup( ICustAssignService.class); cs.assignCustomerByPks(customer, father, new String[] { "GLOBLE00000000000000", "000112100000000009A0" }); nc.itf.bd.cust.assign.ICustAssignService
分配供应商
ISupplierAssignService cs = NCLocator.getInstance().lookup( ISupplierAssignService.class); cs.assignSupplierByPks(supplier, orgs, new String[] { "GLOBLE00000000000000", "000112100000000009A0" }); nc.itf.bd.supplier.assign.ISupplierAssignService
第一个参数是VO主键、第二个参数是要分配的组织的所有主键(数组)、最后一个参数数组中,第一个是全局主键、第二个是集团主键