(1)InvClientUtils
(2)ISCMBillCommonFacade iSCMBillCommonFacade = SCMBillCommonFacadeFactory.getLocalInstance(ctx);
protected IObjectValue _getCompanyInfo(Context ctx, BOSUuid bosUUid)
throws BOSException, EASBizException
{
if(bosUUid == null)
return null;
IOrgUnitRelation iUnitRel = OrgUnitRelationFactory.getLocalInstance(ctx);
OrgUnitCollection orgCol = iUnitRel.getToUnit(bosUUid.toString(), 4, 1);
CompanyOrgUnitInfo ret = (CompanyOrgUnitInfo)orgCol.get(0);
if(ret != null && ret.getBaseCurrency() != null && ret.getBaseCurrency().getName() == null)
try
{
ret.setBaseCurrency(CurrencyFactory.getLocalInstance(ctx).getCurrencyInfo(new ObjectUuidPK(ret.getBaseCurrency().getId())));
}
catch(Exception e) { }
return ret;
}
供应链重要工具类和接口
最新推荐文章于 2024-04-19 10:30:06 发布