does anyone know how I can prevent a Purchase Order being entered with an order date in the future
thanks
Hi,
There are two ways how to do this.
1) a. Create a control table, set the control type to Expression. (Setup>General parameters>Control tables)
b. In the Expression field add VALEUR <= date$
c. In the message field either add a message or add a message from a local menu using the mess() function.
d. Open the POH0 screen in the screen dictionary and in the ORDDAT field select the control created in the previous steps, save and validate. (Development>Processing dictionary>Screens>Screens)
e. Validate the transaction screen (Setup>Purchasing>Entry transactions>Orders)
2) In the screen dictionary add a control action in the ORDDAT field. Add some code in the Specific Processing file (SPEPOH)
thanks Israel. I'll use the control table option as I'm not good enough with the free coding to edit the SPE
just tested the PO import and its working perfectly (I used Import/Batch rather than interactive in the control table)
thanks again
*Community Hub is the new name for Sage City