I'm creating a csharp application to input Customer number and get the Advance Payment Amount from Sage ACCPAC 6.0
I'm referring the below SQL for getting the value
SELECT SUM(AMTEXTNDHC) AS AMTEXTNDHC, IDCUST, IDRMIT
FROM ARPJD
WHERE (ACCTTYPE = 1) AND (IDCUST = '???')
GROUP BY IDCUST, IDRMIT
BUT THE CUSTOMER INQUIRY SCREEN VALUES AND THE QUERY RETURNED VALUES NOT MATCHING , so how will I able to compare to make to correct
Please help me on the SQL Query
I'm referring the below SQL for getting the value
SELECT SUM(AMTEXTNDHC) AS AMTEXTNDHC, IDCUST, IDRMIT
FROM ARPJD
WHERE (ACCTTYPE = 1) AND (IDCUST = '???')
GROUP BY IDCUST, IDRMIT
BUT THE CUSTOMER INQUIRY SCREEN VALUES AND THE QUERY RETURNED VALUES NOT MATCHING , so how will I able to compare to make to correct
Please help me on the SQL Query