on 06-29-2007 3:33 PM
I had some problems about SBO Notification with Approvals...
The field Cost Profit is mandatory on the matrix in the Quotation (Object 23), so the system does not allow the addition if this field is blank...
However when I have a approval in the Sales Quotation, I can´t insert the document, even when field is not null.
Can someone help me?
Thanx
Follow below the code:
If ((Select OcrCode From QUT1 Where DocEntry = @list_of_cols_val_tab_del) = '' Or
(Select OcrCode From QUT1 Where DocEntry = @list_of_cols_val_tab_del) = NULL Or
(Select OcrCode From QUT1 Where DocEntry = @list_of_cols_val_tab_del) is NULL)
Begin
Set @error = 1;
Set @error_message = 'Please fill the field Cost Profit!'
End
Hi Raphael,
Remember that when you add a Sales Quotation through the approval procedure, it doesn't really is in the OQUT table, but it is added as a draft. So you should look in the OQUT and QUT1 tables.
Hope this helps,
Ian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
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.