Hi,
Can someone provide LPL code on how to handle the following situation. On the PO main form, when someone hits manual approve for a PO, we want to add some LPL code for an exit rule on the manual approve action where the code would check to see what fields changed during the previous save action and if only certain fields changed like delivery date then we would allow the manual approve to occur, but if other fields changed a warning message would appear saying you cannot manually approve the PO - must go through the normal approval process.
The ultimate goal would be to allow for some minor changes to the PO without having to go through the PO approval process a 2nd or 3rd time, but if the PO change was big enough like a price change then manual approve wouldn't be allowed.
What is the LPL code or syntax that shows a change occurred to a field on the form and can the developer know what exact fields changed to store it or reference it later to make that if case on the manual approve action.
If delivery date changed then allow manual approval
else
warning message - don't allow manual approval
Thanks.
Jeff