Notification occur each and every time whenever I'm updating the record in the table.
In this action action im updating the record which is working fine but my requirement is update the user quantity when user quantity <= Bom Quantity.
- In first if statement mentioned the this expression---> $page.variables.getLOOSE_PART.data[$current.index].user_quantity <= $page.variables.getLOOSE_PART.data[$current.index].bom_quantity
2. if condition is true it call the javascript function and call the PUT rest Api .
PageModule.prototype.findInArray = function(value,myarray,user_quantity,bom_quantity){
return myarray.find(record => record.serial_no === value);
};
3.If condition is false there i created one variable errorflag
when i click to edit the record each and every time i get the this notification. i want that only when i entered the user quantity more than bom quantity then this error should occur.
Tagged:
0