What's new in Customer Journeys?

Connect and learn more!
Notification occur each and every time whenever I'm updating the record in the table. — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Notification occur each and every time whenever I'm updating the record in the table.

Received Response
42
Views
1
Comments


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.

  1. 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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!