on 12-13-2007 1:07 PM
Hi all ,
I want to make Customer/Vendor reference number mandatory.
How can I do it?
Plz help ..
Regards
Amol A Mangalkar
What document are you adding, SO, PO,...?? It could be due to the wrong Object type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Amol,
Add this Code to the transaction Notification Stored Procedure. Change the Obj_type to the document type you want.
<i>OBJECT TYPE = 13 (A/R Invoice)
OBJECT TYPE = 15 (Delivery)
OBJECT TYPE = 17 (Sales Order)</i>
IF @object_type='13' AND (@transaction_type='A' or @transaction_type='U')
BEGIN
IF EXISTS (SELECT DOCENTRY FROM OINV WHERE (LEN(NUMATCARD)<1 OR NUMATCARD IS NULL) AND DOCENTRY= @list_of_cols_val_tab_del)
BEGIN
SELECT @Error = 1, @error_message = 'No Custromer Reference Entered'
END
END
Regards
Suda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
add an approval to kick off if its blank or
check the value of the field on the formdataevent before add.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.