cancel
Showing results for 
Search instead for 
Did you mean: 

Paid and Open AR Reserve invoice

millicentdark
Contributor
0 Kudos

Hi experts,

I want to create a validation on the Delivery with a copy from AR Reserve invoice documents. I want to know from my delivery, how do i determine or a unique identifier to show me that my AR Reserve invoice is paid and an identifier to show if the AR Reserve invoice picked is open but no closed or paid.

Anyone with an idea how to determine these two identifiers so i can create my validation.

Quick response will be appreciated

Regards

Justice

Accepted Solutions (0)

Answers (1)

Answers (1)

frank_wang6
Active Contributor
0 Kudos

SELECT *

FROM OINV T0

WHERE T0.CANCELED = 'N'

AND T0.DocStatus = 'C' --Paid or not

AND T0.InvntSttus = 'O' -- deliveried or not

AND T0.isIns = 'Y' -- is reserved invoice