How to add custom method before saving like if that method will succeed then call the save if error then show some error message in recordlistview saving in cell
How to add custom method before saving like if that method will succeed then call the save if error then show some error message in recordlistview saving in cell
Hello Jurie Tylier Pedrogas ,
Based on your description, I believe you will benefit from reviewing the field validation documentation available here:
That will be specific of the record view.
If this doesn’t address your needs, could you clarify the specific business problem you’re trying to solve?
This will help us provide a more informed and tailored answer.
I am considering the dependency actions that might cover your use-case.
I hope this helps,
Cheers,
André
this is how i add the addValidationTask in recordlistview but it seem checkProducts are not loggging
this is how i add the addValidationTask in recordlistview but it seem checkProducts are not loggging
Hello Jurie Tylier Pedrogas ,
Thank you for sharing this code snippet!
• Can you confirm if this is part of the Products (QLI) module?
If not, which module does it belong to?
• Could you also clarify the path of your custom .js file?
• It would be very helpful if you could share a screenshot of the specific location where you want to add this validation. This will help ensure that extending the RecordlistView is the correct approach.
• Lastly, could you share more details about the validation you want to implement?
I’m curious if a Dependency Action could achieve the same result.
If yes, this might work across all views, offering a simpler and more flexible solution.
Looking forward to your response!
Cheers,
André