parent
e433a31c33
commit
99a33936d8
|
|
@ -352,6 +352,10 @@ public class PaybillPushSapOperation extends AbstractOperationServicePlugIn impl
|
||||||
* 根据收/付款人类型,获取收/付款人编号
|
* 根据收/付款人类型,获取收/付款人编号
|
||||||
*/
|
*/
|
||||||
private String getCustomerOrSupplierNumber(String payeetype, DynamicObject bill,String type) {
|
private String getCustomerOrSupplierNumber(String payeetype, DynamicObject bill,String type) {
|
||||||
|
//客户(bd_customer)||供应商(bd_supplier)
|
||||||
|
if (!"bd_customer".equals(payeetype) && !"bd_supplier".equals(payeetype)) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
String customerOrsupnum = "";
|
String customerOrsupnum = "";
|
||||||
DynamicObject dynamicObject = BusinessDataServiceHelper.loadSingle(Long.valueOf(bill.getString(type)), payeetype);
|
DynamicObject dynamicObject = BusinessDataServiceHelper.loadSingle(Long.valueOf(bill.getString(type)), payeetype);
|
||||||
if (dynamicObject != null) {
|
if (dynamicObject != null) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue