Skip to Content
Former Member
Jun 09, 2010 at 07:31 AM

Approval process QUERY - Please help guys....


Hello Experts,

I have found some threads in this subject but non of them seem to work for me.

My need is :

when my employee tries to turn an order into an Invoice witch its card is set to groupname of 'over seas clients' the invoice will not be produced and the approval pop up will show.

this is what i tryed :

SELECT distinct 'true' FROM OINV T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode INNER JOIN OCRG T2 ON T1.GroupCode = T2.GroupCode AND T2.GroupName 'Over seas clients' where T0.CardCode = $[$4.0.0]

nothing happens and the approval pop up never shows up.

Could someone Please help me with this query?

Thanks alot