Hello everybody, I am not a scripting person, but ...
# suitescript
m
Hello everybody, I am not a scripting person, but I would like to start learning about it. I noticed I cannot create a Workflow for the "Inventory Detail" on the Item Receipt, and I would like to learn how to create a script to make "Expiration Date" mandatory for some Lot/Serial Items based on a field/flag on the Item record. I will appreciate any info you may share with me. Thank you in advance.
c
@mescalante Since subrecords like the inventory detail screen are not scriptable via client script, I would suggest using a saveRecord entry point script to review all inventory detail subrecords of all lines and validate the expiration dates accordingly. If you find one missing, you can show an alert message and return false from the saveRecord function. I do this for some bin validation.