Hi All........
I want to make Validation on Status Field on Sales Order.
When I moving One Sales Order to Another I am Checking Sales Order Status = Released and IF Status is not Released then
It will Give an error and After that user can change Status = released
But When I got error and after pressing ok then sales order form is closed I dont want to close Sales Order Form.
and I also put message instead of error but through message sales order is not closed but record move to next record. This i dont want to do.
Thanks..............
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I am Writing Code on OnQueryCloseForm this is done Perfectly.
When Status is not Released The Form is not Close till Status is not become released.
I also Write Code on OnNextRecord Trigger and OnBeforePutRecord But When I move to One Sales Order to Another and If First Sales Order Status is Open then Error Show and Form is Closed. But Don't Want to Close the Form.
I am Also Try on Onafterrecord and Onaftergetcurrrecord....
The easiest is on the OnQueryCloseForm()-trigger.
Check the persons orders and if you see an order that should be released, give a message (NOT an error), position to that order and return FALSE so the form does not close.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!