P
Paulh0763
Guest
I have a client who imports order twice a day and the orders that are cancelled and locked get changed to shipped and remain locked. I was thinking a validation trigger or something I can use with a condition to prevent only these records from changing? I was thinking something like if(rbv_api.isImport() && '{!status#id#before}' == '3986115'){ rbv_api.setFieldValue("poster_order", {!id}, "status", "Cancelled") return "Cancelled" }else{ return "{!status#value}" } Not sure if I am accurate with my code?? Any input is appreciated thanks.
Continue reading...
Continue reading...