This commit is contained in:
Rizki
2026-02-11 17:34:10 +07:00
parent ec10b69585
commit 2dd3a8aa08

View File

@ -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){