cancel
Showing results for 
Search instead for 
Did you mean: 

Make a approval that when a property is true for a BP that sales orders has to be approved

jbrotto
Active Contributor
0 Kudos

How would I write a query to make a sales order goes through an approval based on business partner property.

View Entire Topic
Former Member
0 Kudos

Hi Jonathan,

Try this:

SELECT DISTINCT 'TRUE' FROM OCRD A

Where A.QryGroup1='Y' and A.CardCode=$[ORDR.CardCode.0]

Just change the A.QryGroup1 if this is not the BP Property you're after.

Regards,

JP