upd
This commit is contained in:
@ -161,9 +161,7 @@ exports.createPOSAPold = ( req, res ) => {
|
||||
// form: formjson,
|
||||
};
|
||||
|
||||
console.log('resuri po =>', resuri)
|
||||
|
||||
// console.log(resuri);
|
||||
console.log("resuri PO =>", resuri);
|
||||
request(resuri, function (error, response) {
|
||||
console.log('response createPoSAP =>', response)
|
||||
if (error) {
|
||||
@ -185,7 +183,6 @@ exports.createPOSAPold = ( req, res ) => {
|
||||
});
|
||||
errcode = errcode.substring(0, errcode.length-2);
|
||||
errmsg = errmsg.substring(0, errmsg.length-3);
|
||||
console.log("Create PO Error =>", errmsg);
|
||||
|
||||
if(errmsg.length>0){
|
||||
poadapter.queryUpdatePoNumber(req,resdata['NUMBER']||resdata['EXPPURCHASEORDER'],errmsg,function(err,data){
|
||||
|
||||
Reference in New Issue
Block a user