BPM to update warranty information during the shipment entry

Hello,

I am working on updating the warranty information at the time of shipment. Started development using the Data Directive In-Transaction on shipdtl table. The BPM seems to work but the BPM only update the Warrancy Code and the warranty description but not the Warranty Duration. Please see attachment.

Thanks

Hi John,

Trust you are well!

You can use following custom code in Data Directives. Also I have the code which I used to update the same values that may be you are looking for.

Let me know if I can be of further assistance.

CustomerShipmentWarrantyTabUpdate.txt (2.92 KB)

the code is already attached.

Thank you Vishal. Do you have any tips on how to calculate the expiration date? The expiration date is not being calculated.