cancel
Showing results for 
Search instead for 
Did you mean: 

Approval Template when creating marketing documents from a certain Item group

0 Kudos

Hi Experts!

Is there a query for an approval template that whenever a certain marketing document is created using a certain item from an item code, an approval would be required before it would successfully be added?

For example, when a accounting staff creates a PO using an item from "Supplies" item group, an approval would pop out.

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member233854
Active Contributor
0 Kudos

Hi Nikkita,

Here what you need

SELECT 'TRUE' FROM OITM INNER JOIN OITB ON OITM.ItmsGrpCod = OITB.ItmsGrpCod WHERE ItemCode = $[$38.1.0] AND OITB.ItmsGrpNam = 'Supplies'

Regards,

Danilo