on 08-14-2023 4:52 AM
Hello Guys,
I had written a query approval that whenever the Delivery Doctotal is Less than the Customer Commitment it should promt to approval.
Error is "Could not commit transaction. Error -1 detected during transaction (RDR1).
Both query i did below are giving me error.
1.
SELECT distinct 'True' from ODLN where $[$29.0.Number] < $[OCRD."DebtLine"]
2.
SELECT distinct 'True' FROM ODLN T0 INNER JOIN OCRD T1 ON T0."CardCode" = T1."CardCode" where $[$29.0.Number] < $[OCRD."DebtLine"]
Please help me solve this problem.
Thanks a lot.
I guess this answer my question.
SELECT distinct 'True' from ODLN where CAST ($[ODLN."DocTotal"] as DECIMAL) < $[OCRD."DebtLine"]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
7 | |
7 | |
5 | |
5 | |
4 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.