Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SELECT Batch_no
SCAN
TEXT TO stra NOSHOW
SELECT cBatchNo,nPoDtlID,cPoLine,nBatchInvId,nSuplID,cSuplName,cPaymentCurr,nInvValue,nConvRate,cTag FROM MAS.dbo.vAcp_All_InvDtl WHERE nPoDtlID=?Batch_no.nPoDtlID AND cBatchNo NOT in (select cBatchNo from MAS.dbo.Acp_FinalPayment)
ENDTEXT
Use In Select('tempOutstanding')
SELECT Batch_no
SCAN
SQLEXEC(hndOps,stra,'_TempO')
If NOT Used('tempOutstanding')
Select * From _TempO Into Cursor tempOutstanding READWRITE
Else
SELECT tempOutstanding
APPEND FROM DBF('_TempO')
Endif
ENDSCAN
ENDSCAN