cancel
Showing results for 
Search instead for 
Did you mean: 

Special price for customer

MukeshSingh
Participant
0 Kudos

  Hi Expert,

We required approval query for A/R Invoice, If any customer define under special price list and his price in A/R Invoice not matching with special price list define master then going for approval.

Regards,

Mukesh Singh

Accepted Solutions (0)

Answers (2)

Answers (2)

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

Please note that, approval process only for header level, not on row level.

Thanks.

Former Member
0 Kudos

Hi,

Use this query

SELECT 'True' from OINV v inner join INV1 v1 on v.DocEntry =v1.DocEntry

inner join OSPP s1 on s1.CardCode=v.CardCode and s1.ItemCode=v1.ItemCode

where v1.Price <> s1.Price and v.DocNum=$[OINV.DocNum]

MukeshSingh
Participant
0 Kudos

Hi,

Your query not working, i think INV1 we need to put variable id?