BOS中如何在web端调用编码规则。。
1,362次浏览
编辑于2015年09月01日 15:34:38
public final String makeNumber(IObjectValue caller, String orgId) throws EASBizException, BOSException {
//获取单据编号
Boolean hasCodingRule = hasCodingRule(caller, orgId);
if (hasCodingRule) {
return iCodingRuleManager.getNumber(caller, orgId);
} else {
return "";
}
}
上面方法好像不可以。不知道为什么。。
推荐阅读