 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001206 post PendingInvicesDO 2 MED-171001229 post PendingInvicesDO 2 MED-171001228 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174000839 post PendingInvicesDO 2 MED-171001229 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001228 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001229 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7201510-f44c-4cdb-9a66-d4f43a57e3f2' LIMIT 1 Date : 2025-05-21T18:41:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdced2b2-73f6-4609-8cad-e4bff9ae5063' LIMIT 1 Date : 2025-05-21T18:41:34  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7201510-f44c-4cdb-9a66-d4f43a57e3f2' LIMIT 1 Date : 2025-05-21T18:41:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdced2b2-73f6-4609-8cad-e4bff9ae5063' LIMIT 1 Date : 2025-05-21T18:41:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-21T18:41:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001207 post PendingInvicesDO 2 MED-171001124 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001124 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001124' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001124' OR OrderId='MED-171001124' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-21T19:04:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001208 post PendingInvicesDO 2 MED-171001231 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001231 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bfaabf54-6815-4b98-b1ec-2a41c8f5476b' LIMIT 1 Date : 2025-05-21T20:03:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T20:03:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001209 post PendingInvicesDO 2 MED-171001232 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001232 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e4c88ba-8dde-4864-8206-c63cc4ea62ce' LIMIT 1 Date : 2025-05-22T07:54:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T07:54:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001210 post PendingInvicesDO 2 MED-171001233 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001233 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eec28664-572f-4322-a6df-28b465e0ab8a' LIMIT 1 Date : 2025-05-22T08:38:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T08:38:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001212 post PendingInvicesDO 2 MED-171001235 post PendingInvicesDO 2 MED-171001234 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001211 post PendingInvicesDO 2 MED-171001235 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001234 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001235 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3127df4b-91dd-41f9-aeec-e3e9209f5e36' LIMIT 1 Date : 2025-05-22T09:13:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0732a3a7-60a4-49b0-a215-11e63d4ba1f2' LIMIT 1 Date : 2025-05-22T09:13:46  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3127df4b-91dd-41f9-aeec-e3e9209f5e36' LIMIT 1 Date : 2025-05-22T09:13:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0732a3a7-60a4-49b0-a215-11e63d4ba1f2' LIMIT 1 Date : 2025-05-22T09:13:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-22T09:13:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001213 post PendingInvicesDO 2 MED-171001236 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001236 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='805c4825-fb0d-415e-b2fc-1db9c0dcc3cf' LIMIT 1 Date : 2025-05-22T09:33:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T09:33:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001214 post PendingInvicesDO 2 MED-171001241 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001241 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dec35b29-b550-44c7-aee7-864a13a82b29' LIMIT 1 Date : 2025-05-22T12:06:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T12:06:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001216 post PendingInvicesDO 2 MED-171001243 post PendingInvicesDO 2 MED-171001242 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001215 post PendingInvicesDO 2 MED-171001243 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001242 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001243 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cdae5a2a-e38c-4347-86b5-026fb5821384' LIMIT 1 Date : 2025-05-22T12:29:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ab54bda-e876-4ea4-8af6-95db496a505c' LIMIT 1 Date : 2025-05-22T12:29:28  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cdae5a2a-e38c-4347-86b5-026fb5821384' LIMIT 1 Date : 2025-05-22T12:29:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ab54bda-e876-4ea4-8af6-95db496a505c' LIMIT 1 Date : 2025-05-22T12:29:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-22T12:29:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001217 post PendingInvicesDO 2 MED-171001038 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001038' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001038' OR OrderId='MED-171001038' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T14:10:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001218 post PendingInvicesDO 2 MED-171001246 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001246 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac1a6314-bd62-41a2-a7df-935dec4abd23' LIMIT 1 Date : 2025-05-22T17:03:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T17:03:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001219 post PendingInvicesDO 2 MED-171001244 post PendingInvicesDO 2 MED-171001245 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001245' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001245' OR OrderId='MED-171001245' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T17:05:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001220 post PendingInvicesDO 2 MED-171001247 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001247 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f49782fb-c6d3-47c4-b279-e86fff7a470f' LIMIT 1 Date : 2025-05-22T17:38:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T17:38:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001221 post PendingInvicesDO 2 MED-171001248 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001248 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cfb05d1a-5e79-4c03-a792-2891a1a54cd6' LIMIT 1 Date : 2025-05-22T18:32:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T18:32:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001222 post PendingInvicesDO 2 MED-171001249 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001249 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35c04d75-e23b-4e49-9f42-0e2e9e71f9c7' LIMIT 1 Date : 2025-05-22T21:43:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T21:43:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001223 post PendingInvicesDO 2 MED-171001251 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001251 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7f9d8da-d74f-4bc5-8b00-b63b81dfb964' LIMIT 1 Date : 2025-05-23T15:03:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-23T15:03:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001225 post PendingInvicesDO 2 MED-171001253 post PendingInvicesDO 2 MED-171001252 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001224 post PendingInvicesDO 2 MED-171001253 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001252 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001253 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2955f53a-681d-4b23-82a3-15967e689fdd' LIMIT 1 Date : 2025-05-23T15:11:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d0c7547-303b-4643-99b1-0aa2cb4c79e7' LIMIT 1 Date : 2025-05-23T15:11:52  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2955f53a-681d-4b23-82a3-15967e689fdd' LIMIT 1 Date : 2025-05-23T15:11:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d0c7547-303b-4643-99b1-0aa2cb4c79e7' LIMIT 1 Date : 2025-05-23T15:11:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-23T15:11:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001226 post PendingInvicesDO 2 MED-171001254 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001254 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5418f4f8-8fca-4048-b604-52d9cccee262' LIMIT 1 Date : 2025-05-23T15:49:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-23T15:49:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001227 post PendingInvicesDO 2 MED-171001255 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001255 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb4001a4-a3cc-4e77-aaaa-f55c07ca18d1' LIMIT 1 Date : 2025-05-23T18:07:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-23T18:07:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001228 post PendingInvicesDO 2 MED-171001256 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001256 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec4c9c2e-833f-476d-9419-18ba3e6f617f' LIMIT 1 Date : 2025-05-23T19:08:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-23T19:08:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001229 post PendingInvicesDO 2 MED-171001171 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001171 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001171' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001171' OR OrderId='MED-171001171' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-23T20:57:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001230 post PendingInvicesDO 2 MED-171001259 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001259 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a48460d-2850-4890-a2e0-aca2a602fa7d' LIMIT 1 Date : 2025-05-23T21:22:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-23T21:22:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001231 post PendingInvicesDO 2 MED-171001260 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001260 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f0a85bd-5d99-428b-afe0-f19cd5aea5dc' LIMIT 1 Date : 2025-05-23T22:44:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-23T22:44:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001233 post PendingInvicesDO 2 MED-171001262 post PendingInvicesDO 2 MED-171001261 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001232 post PendingInvicesDO 2 MED-171001262 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001261 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001262 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee86436b-7cae-405e-b372-0e897813701c' LIMIT 1 Date : 2025-05-24T08:48:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88322edf-8ea3-4769-a95e-9375cb921eef' LIMIT 1 Date : 2025-05-24T08:48:24  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee86436b-7cae-405e-b372-0e897813701c' LIMIT 1 Date : 2025-05-24T08:48:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88322edf-8ea3-4769-a95e-9375cb921eef' LIMIT 1 Date : 2025-05-24T08:48:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-24T08:48:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001235 post PendingInvicesDO 2 MED-171001264 post PendingInvicesDO 2 MED-171001263 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001234 post PendingInvicesDO 2 MED-171001264 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001263 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001264 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31e0b10f-455f-4a5c-af51-70dd486c34d4' LIMIT 1 Date : 2025-05-24T09:10:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8a895da-b77c-46b2-8c91-7d7e009911d9' LIMIT 1 Date : 2025-05-24T09:10:37  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31e0b10f-455f-4a5c-af51-70dd486c34d4' LIMIT 1 Date : 2025-05-24T09:10:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8a895da-b77c-46b2-8c91-7d7e009911d9' LIMIT 1 Date : 2025-05-24T09:10:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-24T09:10:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001236 post PendingInvicesDO 2 MED-171001265 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001265 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb5f9f5f-e4da-4355-ad1c-49b102b6b0f4' LIMIT 1 Date : 2025-05-24T09:55:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T09:55:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001237 post PendingInvicesDO 2 MED-171001266 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001266 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35b4f99e-230d-40d5-a5d4-d6f351a658ff' LIMIT 1 Date : 2025-05-24T10:17:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T10:17:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001238 post PendingInvicesDO 2 MED-171001267 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001267 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5be99e5-3754-4524-a687-9d31f47fc98a' LIMIT 1 Date : 2025-05-24T10:45:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T10:45:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001240 post PendingInvicesDO 2 MED-171001269 post PendingInvicesDO 2 MED-171001268 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001239 post PendingInvicesDO 2 MED-171001269 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001268 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001269 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b738b92-e545-4245-9ac2-2ff50c5b0020' LIMIT 1 Date : 2025-05-24T11:40:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d64ed19d-20a2-4f7c-bdaa-8e283c6b5115' LIMIT 1 Date : 2025-05-24T11:40:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b738b92-e545-4245-9ac2-2ff50c5b0020' LIMIT 1 Date : 2025-05-24T11:40:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d64ed19d-20a2-4f7c-bdaa-8e283c6b5115' LIMIT 1 Date : 2025-05-24T11:40:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-24T11:40:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001241 post PendingInvicesDO 2 MED-171001270 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001270 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc46bec9-6780-41cf-8c0b-733ff7c4a0a7' LIMIT 1 Date : 2025-05-24T14:24:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T14:24:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001242 post PendingInvicesDO 2 MED-171001271 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001271 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e7f7eed-7a2a-45bf-8644-0d707e6be8d8' LIMIT 1 Date : 2025-05-24T15:05:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T15:05:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001243 post PendingInvicesDO 2 MED-171001272 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001272 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ab240ea-90ca-4147-bade-d1eee65b22eb' LIMIT 1 Date : 2025-05-24T16:52:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T16:52:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001244 post PendingInvicesDO 2 MED-171001273 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001273 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8bc97bf-f7bf-4dd1-81ea-e76c5e73c325' LIMIT 1 Date : 2025-05-24T18:44:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T18:44:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001246 post PendingInvicesDO 2 MED-171001275 post PendingInvicesDO 2 MED-171001274 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001245 post PendingInvicesDO 2 MED-171001275 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001274 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001275 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c3ea313-f3a2-48a7-aca8-fb3645777110' LIMIT 1 Date : 2025-05-24T19:55:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1a215f0-29e3-4286-9c66-951fa396ff4c' LIMIT 1 Date : 2025-05-24T19:55:20  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c3ea313-f3a2-48a7-aca8-fb3645777110' LIMIT 1 Date : 2025-05-24T19:55:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1a215f0-29e3-4286-9c66-951fa396ff4c' LIMIT 1 Date : 2025-05-24T19:55:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-24T19:55:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001247 post PendingInvicesDO 2 MED-171001276 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001276 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5171af37-f013-4159-b007-9abb7bdbdb22' LIMIT 1 Date : 2025-05-24T20:36:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T20:36:48 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-174001248 post PendingInvicesDO 2 MED-171001277 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001277 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eebdac52-2f56-4be9-88e3-52d194fcd208' LIMIT 1 Date : 2025-05-25T09:45:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T09:45:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001250 post PendingInvicesDO 2 MED-171001279 post PendingInvicesDO 2 MED-171001278 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001249 post PendingInvicesDO 2 MED-171001279 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001278 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001279 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27f65af8-b0b3-4f36-a619-51711bb18814' LIMIT 1 Date : 2025-05-25T10:24:50  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='30de2f50-78ae-497d-bb78-cd4c5aaba764' LIMIT 1 Date : 2025-05-25T10:24:50  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27f65af8-b0b3-4f36-a619-51711bb18814' LIMIT 1 Date : 2025-05-25T10:24:50  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='30de2f50-78ae-497d-bb78-cd4c5aaba764' LIMIT 1 Date : 2025-05-25T10:24:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-25T10:24:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001251 post PendingInvicesDO 2 MED-171001280 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001280 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='beb0fccb-c62e-448b-bbcd-0b5736643dd3' LIMIT 1 Date : 2025-05-25T11:07:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T11:07:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001252 post PendingInvicesDO 2 MED-171001281 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001281 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4898505-6f33-4f1c-ab39-8b26fbbe1150' LIMIT 1 Date : 2025-05-25T11:48:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T11:48:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001254 post PendingInvicesDO 2 MED-171001283 post PendingInvicesDO 2 MED-171001282 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001253 post PendingInvicesDO 2 MED-171001283 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001282 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001283 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df916462-19d9-4b75-8d3c-38a299254226' LIMIT 1 Date : 2025-05-25T13:22:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37d75632-9b0b-4d1a-abad-58061998cce4' LIMIT 1 Date : 2025-05-25T13:22:56  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df916462-19d9-4b75-8d3c-38a299254226' LIMIT 1 Date : 2025-05-25T13:22:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37d75632-9b0b-4d1a-abad-58061998cce4' LIMIT 1 Date : 2025-05-25T13:22:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-25T13:22:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001256 post PendingInvicesDO 2 MED-171001287 post PendingInvicesDO 2 MED-171001286 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001255 post PendingInvicesDO 2 MED-171001287 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001286 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001287 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e8a0d2e-d492-42a1-b3a2-09556d500931' LIMIT 1 Date : 2025-05-25T16:42:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ae0a18a-ce54-49eb-a40f-e73c80b0fc43' LIMIT 1 Date : 2025-05-25T16:42:36  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e8a0d2e-d492-42a1-b3a2-09556d500931' LIMIT 1 Date : 2025-05-25T16:42:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ae0a18a-ce54-49eb-a40f-e73c80b0fc43' LIMIT 1 Date : 2025-05-25T16:42:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-25T16:42:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001258 post PendingInvicesDO 2 MED-171001289 post PendingInvicesDO 2 MED-171001288 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001257 post PendingInvicesDO 2 MED-171001289 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001288 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001289 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dae61c47-5e85-4da4-9f69-c92e55ad061d' LIMIT 1 Date : 2025-05-25T18:08:08  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e956f005-59ef-4899-88a5-f8fe160bfda0' LIMIT 1 Date : 2025-05-25T18:08:08  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dae61c47-5e85-4da4-9f69-c92e55ad061d' LIMIT 1 Date : 2025-05-25T18:08:08  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e956f005-59ef-4899-88a5-f8fe160bfda0' LIMIT 1 Date : 2025-05-25T18:08:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-25T18:08:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001259 post PendingInvicesDO 2 MED-171001290 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001290 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af0b2797-ffe0-484d-b773-e8bec05548ec' LIMIT 1 Date : 2025-05-25T19:36:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T19:36:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001261 post PendingInvicesDO 2 MED-171001294 post PendingInvicesDO 2 MED-171001293 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001260 post PendingInvicesDO 2 MED-171001294 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001293 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001294 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66d510cf-650d-49c2-8ebb-5c8ce402df6c' LIMIT 1 Date : 2025-05-26T08:16:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='76e40af0-547e-4f83-b609-325f7ce45e39' LIMIT 1 Date : 2025-05-26T08:16:43  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66d510cf-650d-49c2-8ebb-5c8ce402df6c' LIMIT 1 Date : 2025-05-26T08:16:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='76e40af0-547e-4f83-b609-325f7ce45e39' LIMIT 1 Date : 2025-05-26T08:16:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-26T08:16:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001262 post PendingInvicesDO 2 MED-171001295 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001295 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad1177c6-2800-492f-af1c-19f97c8a68a1' LIMIT 1 Date : 2025-05-26T11:13:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T11:13:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001263 post PendingInvicesDO 2 MED-171001296 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001296 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae1c500b-3096-4df2-b22c-d8f951ae5227' LIMIT 1 Date : 2025-05-26T11:46:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T11:46:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001265 post PendingInvicesDO 2 MED-171001298 post PendingInvicesDO 2 MED-171001297 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001264 post PendingInvicesDO 2 MED-171001298 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001297 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001298 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4705a39d-35ed-4374-a55f-063606db5e19' LIMIT 1 Date : 2025-05-26T14:25:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06fab972-ab8f-4f62-b2a9-b37e83f5c245' LIMIT 1 Date : 2025-05-26T14:25:39  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4705a39d-35ed-4374-a55f-063606db5e19' LIMIT 1 Date : 2025-05-26T14:25:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06fab972-ab8f-4f62-b2a9-b37e83f5c245' LIMIT 1 Date : 2025-05-26T14:25:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-26T14:25:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001266 post PendingInvicesDO 2 MED-171001138 post PendingInvicesDO 2 MED-171001225 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001225 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001138' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001138' OR OrderId='MED-171001138' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001225' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001225' OR OrderId='MED-171001225' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-26T15:36:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001267 post PendingInvicesDO 2 MED-171001300 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001300 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9e6e556-c3fc-479d-b9cc-58a29b28295e' LIMIT 1 Date : 2025-05-26T16:42:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T16:42:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001268 post PendingInvicesDO 2 MED-171001302 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001302 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e7c612b-4e1e-4a22-aa22-2c340d26ef2e' LIMIT 1 Date : 2025-05-26T18:13:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T18:13:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001269 post PendingInvicesDO 2 MED-171001303 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001303 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9688bc94-81a8-45eb-ab71-c5f0c488086f' LIMIT 1 Date : 2025-05-26T18:33:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T18:33:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001271 post PendingInvicesDO 2 MED-171000992 post PendingInvicesDO 2 MED-171000991 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001270 post PendingInvicesDO 2 MED-171000992 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171000991 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171000992 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171000992' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171000992' OR OrderId='MED-171000992' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171000992' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171000992' OR OrderId='MED-171000992' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T07:53:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001273 post PendingInvicesDO 2 MED-171001238 post PendingInvicesDO 2 MED-171001237 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001272 post PendingInvicesDO 2 MED-171001238 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001237 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001238 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001238' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001238' OR OrderId='MED-171001238' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001238' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001238' OR OrderId='MED-171001238' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T07:54:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001274 post PendingInvicesDO 2 MED-171000561 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171000561 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171000561' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171000561' OR OrderId='MED-171000561' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T07:55:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001275 post PendingInvicesDO 2 MED-171001123 post PendingInvicesDO 2 MED-171001208 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001208 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001123' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001123' OR OrderId='MED-171001123' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001208' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001208' OR OrderId='MED-171001208' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T07:56:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001276 post PendingInvicesDO 2 MED-171000949 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171000949 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171000949' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171000949' OR OrderId='MED-171000949' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T07:58:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001278 post PendingInvicesDO 2 MED-171001212 post PendingInvicesDO 2 MED-171001211 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001277 post PendingInvicesDO 2 MED-171001212 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001211 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001212 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001212' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001212' OR OrderId='MED-171001212' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001212' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001212' OR OrderId='MED-171001212' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T07:59:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001279 post PendingInvicesDO 2 MED-171001223 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001223' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001223' OR OrderId='MED-171001223' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T08:01:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001281 post PendingInvicesDO 2 MED-171000982 post PendingInvicesDO 2 MED-171000981 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001280 post PendingInvicesDO 2 MED-171000982 post PendingInvicesDO 2 MED-171001220 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171000981 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171000982 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001220 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171000982' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171000982' OR OrderId='MED-171000982' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171000982' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171000982' OR OrderId='MED-171000982' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001220' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001220' OR OrderId='MED-171001220' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T08:03:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001282 post PendingInvicesDO 2 MED-171001245 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001245' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001245' OR OrderId='MED-171001245' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T08:04:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001283 post PendingInvicesDO 2 MED-171001304 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001304 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbe2626d-f40f-43be-b328-669a0d201c96' LIMIT 1 Date : 2025-05-28T08:43:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T08:43:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001285 post PendingInvicesDO 2 MED-171001306 post PendingInvicesDO 2 MED-171001305 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001284 post PendingInvicesDO 2 MED-171001306 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001305 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001306 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='679575af-38f4-4bc7-a0b3-0ff9bb5dc857' LIMIT 1 Date : 2025-05-28T09:45:26  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='97d2d0db-52fa-43c3-b0a8-66f422039dd3' LIMIT 1 Date : 2025-05-28T09:45:26  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='679575af-38f4-4bc7-a0b3-0ff9bb5dc857' LIMIT 1 Date : 2025-05-28T09:45:26  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='97d2d0db-52fa-43c3-b0a8-66f422039dd3' LIMIT 1 Date : 2025-05-28T09:45:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-28T09:45:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001286 post PendingInvicesDO 2 MED-171001307 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001307 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de7509af-6782-4c3e-bba3-fe23461291fa' LIMIT 1 Date : 2025-05-28T10:27:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T10:27:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001287 post PendingInvicesDO 2 MED-171001308 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001308 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37e2aa16-cd76-4917-ad49-89a3ba949f10' LIMIT 1 Date : 2025-05-28T10:57:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T10:57:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001288 post PendingInvicesDO 2 MED-171001309 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001309 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7bdab0e5-773d-4e21-9be1-dd9f61bc4f44' LIMIT 1 Date : 2025-05-28T11:39:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T11:39:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001289 post PendingInvicesDO 2 MED-171001310 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001310 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='547ba8c3-a769-4333-9cd5-5dd050849f4b' LIMIT 1 Date : 2025-05-28T12:18:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T12:18:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001290 post PendingInvicesDO 2 MED-171001311 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001311 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e083567-f35f-47b8-a344-09ae4a08d8c1' LIMIT 1 Date : 2025-05-28T14:17:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T14:17:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001291 post PendingInvicesDO 2 MED-171001312 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001312 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c47205d1-e905-407b-8dc2-9c42f1172394' LIMIT 1 Date : 2025-05-28T15:37:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T15:37:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001292 post PendingInvicesDO 2 MED-171001313 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001313 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a3fa7d3-7ce4-4933-ab47-79cd889aab3f' LIMIT 1 Date : 2025-05-28T16:35:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T16:35:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001293 post PendingInvicesDO 2 MED-171001314 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001314 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a2ad67c-27e2-4712-8c6b-0c4ac6683e36' LIMIT 1 Date : 2025-05-28T17:15:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T17:15:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001295 post PendingInvicesDO 2 MED-171001316 post PendingInvicesDO 2 MED-171001315 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001294 post PendingInvicesDO 2 MED-171001316 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001315 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001316 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00ea5613-1eb9-4366-add4-675f9894e6fb' LIMIT 1 Date : 2025-05-28T17:49:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7952933c-83d4-441f-b0e8-58b32a2525ba' LIMIT 1 Date : 2025-05-28T17:49:59  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00ea5613-1eb9-4366-add4-675f9894e6fb' LIMIT 1 Date : 2025-05-28T17:49:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7952933c-83d4-441f-b0e8-58b32a2525ba' LIMIT 1 Date : 2025-05-28T17:49:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-28T17:49:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001297 post PendingInvicesDO 2 MED-171001318 post PendingInvicesDO 2 MED-171001317 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001296 post PendingInvicesDO 2 MED-171001318 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001317 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001318 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1726834-adde-4a27-b08f-7fb64ce57f30' LIMIT 1 Date : 2025-05-28T18:34:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='53e67a9d-27df-4e07-9f9d-9ad28e28ef78' LIMIT 1 Date : 2025-05-28T18:34:07  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1726834-adde-4a27-b08f-7fb64ce57f30' LIMIT 1 Date : 2025-05-28T18:34:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='53e67a9d-27df-4e07-9f9d-9ad28e28ef78' LIMIT 1 Date : 2025-05-28T18:34:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-28T18:34:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001298 post PendingInvicesDO 2 MED-171001205 post PendingInvicesDO 2 MED-171001204 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001205' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001205' OR OrderId='MED-171001205' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-28T19:11:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001300 post PendingInvicesDO 2 MED-171001320 post PendingInvicesDO 2 MED-171001319 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001299 post PendingInvicesDO 2 MED-171001320 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001319 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001320 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99e5d797-a495-4295-a0de-b85aba6dadb6' LIMIT 1 Date : 2025-05-28T19:19:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a807c467-b698-4c0c-a20b-2d494d519b21' LIMIT 1 Date : 2025-05-28T19:19:45  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99e5d797-a495-4295-a0de-b85aba6dadb6' LIMIT 1 Date : 2025-05-28T19:19:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a807c467-b698-4c0c-a20b-2d494d519b21' LIMIT 1 Date : 2025-05-28T19:19:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-28T19:19:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001301 post PendingInvicesDO 2 MED-171001205 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001205' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001205' OR OrderId='MED-171001205' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-28T19:24:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001302 post PendingInvicesDO 2 MED-171001205 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001205' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001205' OR OrderId='MED-171001205' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-28T19:38:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001304 post PendingInvicesDO 2 MED-171001322 post PendingInvicesDO 2 MED-171001321 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001303 post PendingInvicesDO 2 MED-171001322 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001321 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001322 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e2a18f4-94f6-49cc-aeef-159e1246aeb4' LIMIT 1 Date : 2025-05-29T08:12:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5c35391-eba8-483a-a26c-8cfddd8f093d' LIMIT 1 Date : 2025-05-29T08:12:06  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e2a18f4-94f6-49cc-aeef-159e1246aeb4' LIMIT 1 Date : 2025-05-29T08:12:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5c35391-eba8-483a-a26c-8cfddd8f093d' LIMIT 1 Date : 2025-05-29T08:12:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-29T08:12:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001305 post PendingInvicesDO 2 MED-171001323 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001323 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27300b13-f521-4228-979f-18257a9b7b66' LIMIT 1 Date : 2025-05-29T08:14:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T08:14:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001306 post PendingInvicesDO 2 MED-171001324 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001324 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eba1522f-281a-4ed3-a602-99772cc4897b' LIMIT 1 Date : 2025-05-29T08:59:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T08:59:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001307 post PendingInvicesDO 2 MED-171001325 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001325 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab647354-ec3c-4195-918b-c99416f24829' LIMIT 1 Date : 2025-05-29T10:22:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T10:22:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001309 post PendingInvicesDO 2 MED-171001327 post PendingInvicesDO 2 MED-171001326 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001308 post PendingInvicesDO 2 MED-171001327 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001326 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001327 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e3bb451-ccf0-4eac-88a8-23be702c5e1a' LIMIT 1 Date : 2025-05-29T11:00:02  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ffd12b1-8ba3-4d79-b482-c7fa1c9a9c7f' LIMIT 1 Date : 2025-05-29T11:00:02  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e3bb451-ccf0-4eac-88a8-23be702c5e1a' LIMIT 1 Date : 2025-05-29T11:00:02  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ffd12b1-8ba3-4d79-b482-c7fa1c9a9c7f' LIMIT 1 Date : 2025-05-29T11:00:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-29T11:00:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001311 post PendingInvicesDO 2 MED-171001329 post PendingInvicesDO 2 MED-171001328 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001310 post PendingInvicesDO 2 MED-171001329 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001328 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001329 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='802dd144-f79b-42f3-9125-36306793ebe2' LIMIT 1 Date : 2025-05-29T11:37:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='674d08d1-6f64-438d-9ea1-a725b5cd8b88' LIMIT 1 Date : 2025-05-29T11:37:07  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='802dd144-f79b-42f3-9125-36306793ebe2' LIMIT 1 Date : 2025-05-29T11:37:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='674d08d1-6f64-438d-9ea1-a725b5cd8b88' LIMIT 1 Date : 2025-05-29T11:37:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-29T11:37:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001312 post PendingInvicesDO 2 MED-171001330 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001330 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69182eac-4f9b-4592-8193-1d65104bf048' LIMIT 1 Date : 2025-05-29T13:48:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T13:48:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001313 post PendingInvicesDO 2 MED-171001331 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001331 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='050e01fd-f58c-4650-a7b6-4ed8d11444eb' LIMIT 1 Date : 2025-05-29T15:23:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T15:23:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001314 post PendingInvicesDO 2 MED-171001332 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001332 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0981e80c-fafd-4073-aeee-b47b13fed3e5' LIMIT 1 Date : 2025-05-29T16:36:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T16:36:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001315 post PendingInvicesDO 2 MED-171001333 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001333 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3eea5c9-fb61-4a12-b775-e48719947d19' LIMIT 1 Date : 2025-05-29T17:19:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T17:19:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001316 post PendingInvicesDO 2 MED-171001334 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001334 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cde2b3f4-039e-4ce1-b83a-2c8584d4a699' LIMIT 1 Date : 2025-05-29T18:22:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T18:22:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001317 post PendingInvicesDO 2 MED-171001335 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001335 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c668de02-8b31-468c-a020-615f33ab68cf' LIMIT 1 Date : 2025-05-29T18:48:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T18:48:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001319 post PendingInvicesDO 2 MED-171001337 post PendingInvicesDO 2 MED-171001336 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001318 post PendingInvicesDO 2 MED-171001337 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001336 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001337 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d4c8749-4fe8-439a-986f-3340b061018d' LIMIT 1 Date : 2025-05-29T19:49:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='131fe79f-686e-426a-91a1-fbc594f17a7e' LIMIT 1 Date : 2025-05-29T19:49:42  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d4c8749-4fe8-439a-986f-3340b061018d' LIMIT 1 Date : 2025-05-29T19:49:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='131fe79f-686e-426a-91a1-fbc594f17a7e' LIMIT 1 Date : 2025-05-29T19:49:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-29T19:49:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001321 post PendingInvicesDO 2 MED-171001339 post PendingInvicesDO 2 MED-171001338 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001320 post PendingInvicesDO 2 MED-171001339 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001338 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001339 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd3be30b-3d4d-4a27-9648-98a1a10cda12' LIMIT 1 Date : 2025-05-29T20:20:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='741e0d40-a53c-4fab-8648-aab031fcbe0a' LIMIT 1 Date : 2025-05-29T20:20:10  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd3be30b-3d4d-4a27-9648-98a1a10cda12' LIMIT 1 Date : 2025-05-29T20:20:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='741e0d40-a53c-4fab-8648-aab031fcbe0a' LIMIT 1 Date : 2025-05-29T20:20:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-29T20:20:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001322 post PendingInvicesDO 2 MED-171001340 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001340 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9d4d9a2-ca46-4541-8735-2dcd7b802aff' LIMIT 1 Date : 2025-05-29T21:38:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T21:38:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001323 post PendingInvicesDO 2 MED-171001250 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001250' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001250' OR OrderId='MED-171001250' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T22:13:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001324 post PendingInvicesDO 2 MED-171001341 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001341 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='525cd720-bf3b-4063-9871-9d6119e7d5c2' LIMIT 1 Date : 2025-05-30T14:16:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-30T14:16:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001325 post PendingInvicesDO 2 MED-171001342 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001342 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e5fb073-1274-4927-b3e4-ff53af1327f6' LIMIT 1 Date : 2025-05-30T14:48:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-30T14:48:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001326 post PendingInvicesDO 2 MED-171001343 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001343 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2bdefc9b-2078-46e9-878f-91ccfddea7b1' LIMIT 1 Date : 2025-05-30T15:43:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-30T15:43:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001327 post PendingInvicesDO 2 MED-171001344 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001344 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49f73337-5ce4-405c-9393-4c19ea0e7276' LIMIT 1 Date : 2025-05-30T16:21:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-30T16:21:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001329 post PendingInvicesDO 2 MED-171001346 post PendingInvicesDO 2 MED-171001345 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001328 post PendingInvicesDO 2 MED-171001346 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001345 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001346 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f044f44-e07d-48ba-a237-64f3ea842c53' LIMIT 1 Date : 2025-05-30T17:14:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e873dd94-27c6-432c-b14b-a187fb091145' LIMIT 1 Date : 2025-05-30T17:14:52  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f044f44-e07d-48ba-a237-64f3ea842c53' LIMIT 1 Date : 2025-05-30T17:14:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e873dd94-27c6-432c-b14b-a187fb091145' LIMIT 1 Date : 2025-05-30T17:14:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-30T17:14:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001330 post PendingInvicesDO 2 MED-171001250 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001250' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001250' OR OrderId='MED-171001250' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T19:10:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001331 post PendingInvicesDO 2 MED-171001084 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001084' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001084' OR OrderId='MED-171001084' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T22:31:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001332 post PendingInvicesDO 2 MED-171000278 post PendingInvicesDO 2 MED-171000277 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171000278' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171000278' OR OrderId='MED-171000278' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T22:32:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001334 post PendingInvicesDO 2 MED-171001292 post PendingInvicesDO 2 MED-171001291 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001333 post PendingInvicesDO 2 MED-171001292 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001291 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001292 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001292' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001292' OR OrderId='MED-171001292' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001292' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001292' OR OrderId='MED-171001292' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T22:34:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001335 post PendingInvicesDO 2 MED-171001001 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001001 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001001' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001001' OR OrderId='MED-171001001' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T22:35:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001336 post PendingInvicesDO 2 MED-171001239 post PendingInvicesDO 2 MED-171001240 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001240 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001239 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001239' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001239' OR OrderId='MED-171001239' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001240' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001240' OR OrderId='MED-171001240' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T22:36:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001338 post PendingInvicesDO 2 MED-171001285 post PendingInvicesDO 2 MED-171001284 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001337 post PendingInvicesDO 2 MED-171001285 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001284 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001285 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001285' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001285' OR OrderId='MED-171001285' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001285' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001285' OR OrderId='MED-171001285' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T22:37:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001339 post PendingInvicesDO 2 MED-171001230 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001230 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001230' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001230' OR OrderId='MED-171001230' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T22:39:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001340 post PendingInvicesDO 2 MED-171001349 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001349 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='100ed60e-5459-4732-a8c7-48f15b7efa87' LIMIT 1 Date : 2025-05-30T22:43:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-30T22:43:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001341 post PendingInvicesDO 2 MED-171001350 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001350 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c220c2a4-735a-4fd7-9af5-1569c7e71d04' LIMIT 1 Date : 2025-05-30T22:47:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-30T22:47:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001342 post PendingInvicesDO 2 MED-171001351 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001351 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e20a545-c3ab-46c6-97f6-5c8800321f73' LIMIT 1 Date : 2025-05-31T09:18:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T09:18:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001343 post PendingInvicesDO 2 MED-171001352 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001352 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4bbe9aa0-3223-445f-842d-255c9ab7e76d' LIMIT 1 Date : 2025-05-31T10:10:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T10:10:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001344 post PendingInvicesDO 2 MED-171001353 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001353 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ca1e9c2-0a26-4c6f-8c43-4d6c72a331aa' LIMIT 1 Date : 2025-05-31T10:58:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T10:58:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001345 post PendingInvicesDO 2 MED-171001354 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001354 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='248b8c4c-a190-46fa-9033-952a9f85b44d' LIMIT 1 Date : 2025-05-31T14:11:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T14:11:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001346 post PendingInvicesDO 2 MED-171001355 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001355 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='540512c1-0137-4e76-b3b7-8f2f53736eb8' LIMIT 1 Date : 2025-05-31T14:50:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T14:50:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001347 post PendingInvicesDO 2 MED-171001356 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001356 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a6ec0e4-fea2-41bb-af03-e3a07a20058c' LIMIT 1 Date : 2025-05-31T15:16:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T15:16:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001348 post PendingInvicesDO 2 MED-171001358 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001358 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eebe89c4-9c67-4329-9a07-d3fbbae6d2cb' LIMIT 1 Date : 2025-05-31T17:26:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T17:26:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001349 post PendingInvicesDO 2 MED-171001359 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001359 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='919fdbaa-c3f0-4226-ab96-31dd07747d90' LIMIT 1 Date : 2025-05-31T18:13:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T18:13:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001350 post PendingInvicesDO 2 MED-171001360 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001360 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d0eb920-0095-44bd-8a31-c435179042ac' LIMIT 1 Date : 2025-05-31T18:59:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T18:59:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001351 post PendingInvicesDO 2 MED-171001361 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001361 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001361' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001361' OR OrderId='MED-171001361' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T20:15:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001352 post PendingInvicesDO 2 MED-171001364 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001364 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6ac7204-ef59-432a-982b-e3a16fc6fe2f' LIMIT 1 Date : 2025-06-01T08:43:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T08:43:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001353 post PendingInvicesDO 2 MED-171001039 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001039 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001039' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001039' OR OrderId='MED-171001039' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-01T09:08:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001354 post PendingInvicesDO 2 MED-171001368 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001368 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a70583a4-3bfe-4a18-b7c2-e4069ab8f0fe' LIMIT 1 Date : 2025-06-01T10:42:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T10:42:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001355 post PendingInvicesDO 2 MED-171001372 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001372 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88c74ff1-7ada-433b-b74e-65f76de3cd7d' LIMIT 1 Date : 2025-06-01T16:51:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T16:51:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001356 post PendingInvicesDO 2 MED-171001373 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001373 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b63e9b4b-c20b-4a66-b17f-563abb25b8ec' LIMIT 1 Date : 2025-06-01T17:27:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T17:27:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001357 post PendingInvicesDO 2 MED-171001374 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001374 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33ef21ab-c0e1-4d3d-8740-05dcb5827de5' LIMIT 1 Date : 2025-06-02T21:44:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T21:44:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001359 post PendingInvicesDO 2 MED-171001376 post PendingInvicesDO 2 MED-171001375 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001358 post PendingInvicesDO 2 MED-171001376 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001375 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001376 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5abb4d0f-a19e-4dcd-a45c-767025f9fd3a' LIMIT 1 Date : 2025-06-02T22:32:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='107b4007-fd90-4354-9b95-2eb328b5cd69' LIMIT 1 Date : 2025-06-02T22:32:29  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5abb4d0f-a19e-4dcd-a45c-767025f9fd3a' LIMIT 1 Date : 2025-06-02T22:32:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='107b4007-fd90-4354-9b95-2eb328b5cd69' LIMIT 1 Date : 2025-06-02T22:32:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-02T22:32:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001360 post PendingInvicesDO 2 MED-171001377 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001377 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='244b7b2e-4aff-42ec-acef-04d1a7427192' LIMIT 1 Date : 2025-06-02T23:17:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T23:17:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001361 post PendingInvicesDO 2 MED-171001378 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001378 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52a35307-3761-4b57-adc4-580e5ad0f885' LIMIT 1 Date : 2025-06-02T23:27:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T23:27:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001362 post PendingInvicesDO 2 MED-171001379 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001379 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87495a98-13a7-4395-82ab-6238b0fc2573' LIMIT 1 Date : 2025-06-03T07:39:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T07:39:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001363 post PendingInvicesDO 2 MED-171001380 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001380 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9962bdeb-fc12-4a09-b9d9-f17c8796b455' LIMIT 1 Date : 2025-06-03T08:11:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T08:11:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001364 post PendingInvicesDO 2 MED-171001381 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001381 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6422acf3-4024-4ead-b165-9c6b79d1d544' LIMIT 1 Date : 2025-06-03T09:29:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T09:29:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001365 post PendingInvicesDO 2 MED-171001382 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001382 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cfbc420f-6e41-4f55-b288-ae7c5c981b55' LIMIT 1 Date : 2025-06-03T09:49:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T09:49:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001367 post PendingInvicesDO 2 MED-171001384 post PendingInvicesDO 2 MED-171001383 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001366 post PendingInvicesDO 2 MED-171001384 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001383 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001384 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb37d18e-0296-496a-ac27-486d4cde0cad' LIMIT 1 Date : 2025-06-03T11:40:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9054da14-10d3-4fbc-b47e-1c44390a5e5b' LIMIT 1 Date : 2025-06-03T11:40:41  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb37d18e-0296-496a-ac27-486d4cde0cad' LIMIT 1 Date : 2025-06-03T11:40:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9054da14-10d3-4fbc-b47e-1c44390a5e5b' LIMIT 1 Date : 2025-06-03T11:40:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-03T11:40:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001368 post PendingInvicesDO 2 MED-171001385 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001385 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e82d96e-d5c0-4381-bcb7-5be9e31099e6' LIMIT 1 Date : 2025-06-03T11:53:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T11:53:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001369 post PendingInvicesDO 2 MED-171001386 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001386 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8edaf1ff-71a4-46d6-93fa-c6f7fc3b1f50' LIMIT 1 Date : 2025-06-03T13:07:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T13:07:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001370 post PendingInvicesDO 2 MED-171001387 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001387 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c8ef650-2f80-42eb-8575-a5dbb121f525' LIMIT 1 Date : 2025-06-03T13:51:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T13:51:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001371 post PendingInvicesDO 2 MED-171001388 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001388 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e818216-9a63-4a25-bcdd-360d3540c1ae' LIMIT 1 Date : 2025-06-03T16:43:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T16:43:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001372 post PendingInvicesDO 2 MED-171001389 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001389 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fde984e4-9bd3-4cc7-b5f6-21ce97fd8ecd' LIMIT 1 Date : 2025-06-03T17:26:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T17:26:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001373 post PendingInvicesDO 2 MED-171001390 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001390 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f456936-1250-4dcb-a4cf-2fda530772ac' LIMIT 1 Date : 2025-06-03T18:28:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T18:28:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001375 post PendingInvicesDO 2 MED-171001392 post PendingInvicesDO 2 MED-171001391 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001374 post PendingInvicesDO 2 MED-171001392 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001391 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001392 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e45b9d4c-b61c-42aa-8140-2a80f21dbb1b' LIMIT 1 Date : 2025-06-03T19:06:15  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c6d5599-b25b-44c0-b93a-daf7b5d4dc41' LIMIT 1 Date : 2025-06-03T19:06:15  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e45b9d4c-b61c-42aa-8140-2a80f21dbb1b' LIMIT 1 Date : 2025-06-03T19:06:15  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c6d5599-b25b-44c0-b93a-daf7b5d4dc41' LIMIT 1 Date : 2025-06-03T19:06:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-03T19:06:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001376 post PendingInvicesDO 2 MED-171001393 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001393 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b70f242-9649-4f1c-a381-e2ea74fc9c87' LIMIT 1 Date : 2025-06-03T20:31:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T20:31:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001377 post PendingInvicesDO 2 MED-171001301 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001301 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001301' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001301' OR OrderId='MED-171001301' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-03T21:34:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001378 post PendingInvicesDO 2 MED-171001357 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001357 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001357' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001357' OR OrderId='MED-171001357' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-03T23:52:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001379 post PendingInvicesDO 2 MED-171001397 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001397 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12cbfbd1-add9-4bb9-ae9d-a7bff21e85aa' LIMIT 1 Date : 2025-06-04T07:41:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T07:41:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001381 post PendingInvicesDO 2 MED-171001131 post PendingInvicesDO 2 MED-171001130 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001380 post PendingInvicesDO 2 MED-171001131 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001130 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001131 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001131' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001131' OR OrderId='MED-171001131' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001131' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001131' OR OrderId='MED-171001131' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-04T09:28:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001383 post PendingInvicesDO 2 MED-171001403 post PendingInvicesDO 2 MED-171001402 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001382 post PendingInvicesDO 2 MED-171001403 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001402 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001403 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b5c9e66-4a3d-4384-922d-5dc3a84c32a4' LIMIT 1 Date : 2025-06-04T11:03:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99125e30-8a2c-4054-9137-eef95b0aee3c' LIMIT 1 Date : 2025-06-04T11:03:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b5c9e66-4a3d-4384-922d-5dc3a84c32a4' LIMIT 1 Date : 2025-06-04T11:03:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99125e30-8a2c-4054-9137-eef95b0aee3c' LIMIT 1 Date : 2025-06-04T11:03:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-04T11:03:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001384 post PendingInvicesDO 2 MED-171001362 post PendingInvicesDO 2 MED-171001363 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001363' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001363' OR OrderId='MED-171001363' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-04T11:42:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001385 post PendingInvicesDO 2 MED-171001394 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001394' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001394' OR OrderId='MED-171001394' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-04T11:45:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001386 post PendingInvicesDO 2 MED-171001258 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001258 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001258' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001258' OR OrderId='MED-171001258' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-04T11:53:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001387 post PendingInvicesDO 2 MED-171001405 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001405 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc45a4b5-36d7-4b63-85d9-1783b764c0fc' LIMIT 1 Date : 2025-06-04T13:38:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T13:38:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001389 post PendingInvicesDO 2 MED-171001407 post PendingInvicesDO 2 MED-171001406 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001388 post PendingInvicesDO 2 MED-171001407 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001406 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001407 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7bec5287-41c5-43fd-b7b1-e8993b79336b' LIMIT 1 Date : 2025-06-04T14:22:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39841eb0-d3b6-490b-84c0-e81435251a01' LIMIT 1 Date : 2025-06-04T14:22:59  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7bec5287-41c5-43fd-b7b1-e8993b79336b' LIMIT 1 Date : 2025-06-04T14:22:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39841eb0-d3b6-490b-84c0-e81435251a01' LIMIT 1 Date : 2025-06-04T14:22:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-04T14:23:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001390 post PendingInvicesDO 2 MED-171001408 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001408 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7531dcb3-1062-4117-9a04-97c04c883ded' LIMIT 1 Date : 2025-06-04T15:43:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T15:43:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001391 post PendingInvicesDO 2 MED-171001409 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001409 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1738ad3b-a922-46fe-a3b5-c268af7e9f90' LIMIT 1 Date : 2025-06-04T16:24:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T16:24:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001393 post PendingInvicesDO 2 MED-171001411 post PendingInvicesDO 2 MED-171001410 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001392 post PendingInvicesDO 2 MED-171001411 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001410 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001411 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='abf80071-e9f4-4d26-b72d-b6a15942eb6f' LIMIT 1 Date : 2025-06-04T16:45:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c80129a1-1466-418e-9e6e-846d25875a16' LIMIT 1 Date : 2025-06-04T16:45:49  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='abf80071-e9f4-4d26-b72d-b6a15942eb6f' LIMIT 1 Date : 2025-06-04T16:45:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c80129a1-1466-418e-9e6e-846d25875a16' LIMIT 1 Date : 2025-06-04T16:45:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-04T16:45:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001395 post PendingInvicesDO 2 MED-171001210 post PendingInvicesDO 2 MED-171001209 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001394 post PendingInvicesDO 2 MED-171001210 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001209 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001210 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001210' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001210' OR OrderId='MED-171001210' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001210' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001210' OR OrderId='MED-171001210' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-04T17:04:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001396 post PendingInvicesDO 2 MED-171001205 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001205' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001205' OR OrderId='MED-171001205' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-04T18:14:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001398 post PendingInvicesDO 2 MED-171001417 post PendingInvicesDO 2 MED-171001416 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001397 post PendingInvicesDO 2 MED-171001417 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001416 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001417 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aed796fb-9665-4bfb-8dec-0b2e3c548d8b' LIMIT 1 Date : 2025-06-04T19:08:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7dac04a8-8244-40b1-ba13-00b6a9084a0c' LIMIT 1 Date : 2025-06-04T19:08:52  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aed796fb-9665-4bfb-8dec-0b2e3c548d8b' LIMIT 1 Date : 2025-06-04T19:08:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7dac04a8-8244-40b1-ba13-00b6a9084a0c' LIMIT 1 Date : 2025-06-04T19:08:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-04T19:08:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001399 post PendingInvicesDO 2 MED-171001413 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001413' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001413' OR OrderId='MED-171001413' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-04T22:12:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001400 post PendingInvicesDO 2 MED-171001421 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001421 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37559ba7-f25d-481d-8609-7116758edf47' LIMIT 1 Date : 2025-06-04T23:07:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T23:07:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001401 post PendingInvicesDO 2 MED-171001165 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001165 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001165' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001165' OR OrderId='MED-171001165' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T10:02:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001402 post PendingInvicesDO 2 MED-171001425 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001425 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d1dfc62-88c5-4b8a-a0bc-b3197d5e057d' LIMIT 1 Date : 2025-06-05T12:23:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T12:23:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001403 post PendingInvicesDO 2 MED-171001426 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001426 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fcdfcec3-05a8-432e-a6e9-0c66598e6659' LIMIT 1 Date : 2025-06-05T14:02:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T14:02:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001404 post PendingInvicesDO 2 MED-171001427 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001427 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e0b2d8b-3998-4d89-9fc9-a461dc5c00e5' LIMIT 1 Date : 2025-06-05T15:01:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T15:01:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001405 post PendingInvicesDO 2 MED-171001371 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001371 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001371' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001371' OR OrderId='MED-171001371' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T22:46:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001406 post PendingInvicesDO 2 MED-171001418 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001418 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001418' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001418' OR OrderId='MED-171001418' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T22:47:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001407 post PendingInvicesDO 2 MED-171001299 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001299 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001299' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001299' OR OrderId='MED-171001299' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T22:47:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001408 post PendingInvicesDO 2 MED-171001399 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001399 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001399' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001399' OR OrderId='MED-171001399' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T22:48:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001410 post PendingInvicesDO 2 MED-171001396 post PendingInvicesDO 2 MED-171001395 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001409 post PendingInvicesDO 2 MED-171001396 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001395 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001396 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001396' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001396' OR OrderId='MED-171001396' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001396' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001396' OR OrderId='MED-171001396' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T22:48:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001411 post PendingInvicesDO 2 MED-171001404 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001404 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001404' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001404' OR OrderId='MED-171001404' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T22:50:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001412 post PendingInvicesDO 2 MED-171001428 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001428 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='598d1a0d-b854-4bee-8515-2f7df340ca0d' LIMIT 1 Date : 2025-06-06T01:45:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-06T01:45:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001413 post PendingInvicesDO 2 MED-171001429 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001429 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e999f53-9b7d-421d-a75f-2e92d67b6462' LIMIT 1 Date : 2025-06-07T09:03:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T09:03:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001414 post PendingInvicesDO 2 MED-171001430 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001430 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf9cbcc0-fd59-47c6-9921-f0266735cb6c' LIMIT 1 Date : 2025-06-07T09:26:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T09:26:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001416 post PendingInvicesDO 2 MED-171001432 post PendingInvicesDO 2 MED-171001431 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001415 post PendingInvicesDO 2 MED-171001432 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001431 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001432 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='597894af-3486-43d5-8b4d-ace5fafb8bee' LIMIT 1 Date : 2025-06-07T14:59:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a7b2f2f-cc17-4e5d-ae4e-5e8ceb14cace' LIMIT 1 Date : 2025-06-07T14:59:25  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='597894af-3486-43d5-8b4d-ace5fafb8bee' LIMIT 1 Date : 2025-06-07T14:59:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a7b2f2f-cc17-4e5d-ae4e-5e8ceb14cace' LIMIT 1 Date : 2025-06-07T14:59:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-07T14:59:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001418 post PendingInvicesDO 2 MED-171001434 post PendingInvicesDO 2 MED-171001433 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001417 post PendingInvicesDO 2 MED-171001434 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001433 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001434 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8bead0d-9c6c-49a5-8151-42c3dd6f3173' LIMIT 1 Date : 2025-06-07T16:59:31  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='633a790f-d6e4-43ed-92e5-76396ef8d505' LIMIT 1 Date : 2025-06-07T16:59:31  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8bead0d-9c6c-49a5-8151-42c3dd6f3173' LIMIT 1 Date : 2025-06-07T16:59:31  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='633a790f-d6e4-43ed-92e5-76396ef8d505' LIMIT 1 Date : 2025-06-07T16:59:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-07T16:59:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001419 post PendingInvicesDO 2 MED-171001435 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001435 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee0a5786-823b-42b8-a235-34b3d8827cc5' LIMIT 1 Date : 2025-06-07T17:54:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T17:54:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001420 post PendingInvicesDO 2 MED-171001436 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001436 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a17cbaf7-1e6d-47fe-9c64-b2469d86b982' LIMIT 1 Date : 2025-06-07T20:37:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T20:37:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001421 post PendingInvicesDO 2 MED-171001437 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001437 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a93098e0-ce60-4431-befd-626ade2dcced' LIMIT 1 Date : 2025-06-07T21:26:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T21:26:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001422 post PendingInvicesDO 2 MED-171001438 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001438 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ddc0ee7-9447-40bc-9341-7381bbb49c12' LIMIT 1 Date : 2025-06-08T07:05:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T07:05:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001423 post PendingInvicesDO 2 MED-171001441 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001441 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42b0cb2f-ef5e-4b53-ae7a-50a27ec33dab' LIMIT 1 Date : 2025-06-08T09:36:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T09:36:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001424 post PendingInvicesDO 2 MED-171001442 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001442 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f999e33-f7a1-41eb-b057-1d672fe1df22' LIMIT 1 Date : 2025-06-08T10:08:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T10:08:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001425 post PendingInvicesDO 2 MED-171001443 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001443 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b20cdbc4-6dba-46f2-8c3e-f4cc3d01de20' LIMIT 1 Date : 2025-06-08T10:34:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T10:34:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001426 post PendingInvicesDO 2 MED-171001444 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001444 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c381cf7-08be-480a-b73c-4abbb0bef2a3' LIMIT 1 Date : 2025-06-08T10:55:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T10:55:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001428 post PendingInvicesDO 2 MED-171001446 post PendingInvicesDO 2 MED-171001445 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001427 post PendingInvicesDO 2 MED-171001446 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001445 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001446 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='176d532a-a934-4105-823e-b0c68255e70d' LIMIT 1 Date : 2025-06-08T12:06:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f8c6851-de0e-4c09-b4de-35cbb2e9e4fe' LIMIT 1 Date : 2025-06-08T12:06:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='176d532a-a934-4105-823e-b0c68255e70d' LIMIT 1 Date : 2025-06-08T12:06:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f8c6851-de0e-4c09-b4de-35cbb2e9e4fe' LIMIT 1 Date : 2025-06-08T12:06:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-08T12:06:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001429 post PendingInvicesDO 2 MED-171001447 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001447 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ff70ba6-05bc-4b9e-b0b0-4959ab6ae66b' LIMIT 1 Date : 2025-06-08T13:57:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T13:57:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001430 post PendingInvicesDO 2 MED-171001448 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001448 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e22e3ac-58f1-42a2-9f82-d45f521f1045' LIMIT 1 Date : 2025-06-08T15:39:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T15:39:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001432 post PendingInvicesDO 2 MED-171001450 post PendingInvicesDO 2 MED-171001449 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001431 post PendingInvicesDO 2 MED-171001450 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001449 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001450 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12fd7fec-b9de-4962-8e2d-2e1b3aca62d8' LIMIT 1 Date : 2025-06-08T16:48:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1833f38a-0cd6-4ce2-86b6-3571410599b0' LIMIT 1 Date : 2025-06-08T16:48:37  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12fd7fec-b9de-4962-8e2d-2e1b3aca62d8' LIMIT 1 Date : 2025-06-08T16:48:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1833f38a-0cd6-4ce2-86b6-3571410599b0' LIMIT 1 Date : 2025-06-08T16:48:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-08T16:48:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001434 post PendingInvicesDO 2 MED-171001452 post PendingInvicesDO 2 MED-171001451 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001433 post PendingInvicesDO 2 MED-171001452 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001451 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001452 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='860607f4-3fcb-4ad7-9f50-5b2adae44068' LIMIT 1 Date : 2025-06-08T17:25:01  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0bccc6d1-18d9-4523-9273-e4e58dbdce49' LIMIT 1 Date : 2025-06-08T17:25:01  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='860607f4-3fcb-4ad7-9f50-5b2adae44068' LIMIT 1 Date : 2025-06-08T17:25:01  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0bccc6d1-18d9-4523-9273-e4e58dbdce49' LIMIT 1 Date : 2025-06-08T17:25:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-08T17:25:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001435 post PendingInvicesDO 2 MED-171001453 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001453 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b981b6ce-ff3a-4928-b472-621cdec6376f' LIMIT 1 Date : 2025-06-08T17:42:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T17:42:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001436 post PendingInvicesDO 2 MED-171001454 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001454 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e651a22-2cff-4357-ab37-ea34644b6778' LIMIT 1 Date : 2025-06-08T18:17:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T18:17:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001437 post PendingInvicesDO 2 MED-171001455 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001455 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0d9127a-3153-429c-9f89-9db583484ddf' LIMIT 1 Date : 2025-06-08T19:05:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T19:05:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001438 post PendingInvicesDO 2 MED-171001061 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001061' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001061' OR OrderId='MED-171001061' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-08T19:51:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001439 post PendingInvicesDO 2 MED-171001456 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001456 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6032317e-c33c-42e8-ac91-b3ae701a33d1' LIMIT 1 Date : 2025-06-08T19:53:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T19:53:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001440 post PendingInvicesDO 2 MED-171001257 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001257 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001257' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001257' OR OrderId='MED-171001257' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-08T21:27:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001441 post PendingInvicesDO 2 MED-171001457 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001457 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98a624f4-0655-4f8e-97de-63301191954c' LIMIT 1 Date : 2025-06-08T21:31:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T21:31:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001442 post PendingInvicesDO 2 MED-171001459 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001459 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d843ed64-28c5-4e88-91e2-d3cdf8a0391b' LIMIT 1 Date : 2025-06-08T22:40:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T22:40:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001443 post PendingInvicesDO 2 MED-171001460 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001460 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3ab3faa-c6f2-46cc-ae62-3238a718e8ff' LIMIT 1 Date : 2025-06-08T22:53:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T22:53:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001444 post PendingInvicesDO 2 MED-171001461 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001461 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f6c0028-79dc-4596-912e-fdc49cfb3326' LIMIT 1 Date : 2025-06-09T07:57:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T07:57:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001445 post PendingInvicesDO 2 MED-171001462 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001462 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c2e9423-b0ba-471f-bbbc-337286e93d06' LIMIT 1 Date : 2025-06-09T08:19:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T08:19:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001446 post PendingInvicesDO 2 MED-171001463 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001463 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e27a412e-df4a-4dfc-9f61-9be89b3b2b5d' LIMIT 1 Date : 2025-06-09T08:43:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T08:43:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001447 post PendingInvicesDO 2 MED-171001464 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001464 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48dbd343-c859-42b4-8b3b-536be3a7c195' LIMIT 1 Date : 2025-06-09T09:37:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T09:37:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001448 post PendingInvicesDO 2 MED-171001465 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001465 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cfb09316-95f2-438a-9057-e70a911de6cd' LIMIT 1 Date : 2025-06-09T10:12:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T10:12:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001449 post PendingInvicesDO 2 MED-171001466 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001466 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7c3e43a-2b11-4e62-88b0-ff79994954c5' LIMIT 1 Date : 2025-06-09T10:51:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T10:51:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001450 post PendingInvicesDO 2 MED-171001467 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001467 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7d52dc7-de59-4a8a-9004-252eab29c598' LIMIT 1 Date : 2025-06-09T11:25:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T11:25:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001451 post PendingInvicesDO 2 MED-171001468 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001468 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23796ba3-7fa0-4f96-a229-a13b1acff508' LIMIT 1 Date : 2025-06-09T13:05:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T13:05:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001452 post PendingInvicesDO 2 MED-171001471 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001471 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9e976e5-20b7-4477-857a-727541594325' LIMIT 1 Date : 2025-06-09T15:24:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T15:24:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001453 post PendingInvicesDO 2 MED-171001473 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001473 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c2d6610-377b-45ba-9b53-c75be3aca701' LIMIT 1 Date : 2025-06-09T17:42:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T17:42:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001455 post PendingInvicesDO 2 MED-171001420 post PendingInvicesDO 2 MED-171001419 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001454 post PendingInvicesDO 2 MED-171001420 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001419 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001420 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001420' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001420' OR OrderId='MED-171001420' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001420' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001420' OR OrderId='MED-171001420' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-09T19:57:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001456 post PendingInvicesDO 2 MED-171001477 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001477 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='015de7d1-122f-4844-aad9-45c11ee649d0' LIMIT 1 Date : 2025-06-10T07:27:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T07:27:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001458 post PendingInvicesDO 2 MED-171001480 post PendingInvicesDO 2 MED-171001479 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001457 post PendingInvicesDO 2 MED-171001480 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001479 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001480 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae315c1e-7d78-4c58-8dd3-a52764a1500b' LIMIT 1 Date : 2025-06-10T08:50:51  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20b36537-01f1-4621-b785-8c512e1032e1' LIMIT 1 Date : 2025-06-10T08:50:51  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae315c1e-7d78-4c58-8dd3-a52764a1500b' LIMIT 1 Date : 2025-06-10T08:50:51  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20b36537-01f1-4621-b785-8c512e1032e1' LIMIT 1 Date : 2025-06-10T08:50:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-10T08:50:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001459 post PendingInvicesDO 2 MED-171001483 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001483 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d386c9a6-bf06-4bb6-a268-0e716a623756' LIMIT 1 Date : 2025-06-10T11:21:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T11:21:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001460 post PendingInvicesDO 2 MED-171001484 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001484 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7757c04-7d12-4adb-acaf-9a04e67952af' LIMIT 1 Date : 2025-06-10T11:40:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T11:40:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001462 post PendingInvicesDO 2 MED-171001489 post PendingInvicesDO 2 MED-171001488 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001461 post PendingInvicesDO 2 MED-171001489 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001488 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001489 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37bbb629-8125-4f3b-b64f-b464e1532ba0' LIMIT 1 Date : 2025-06-10T15:42:16  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0d40d27-a149-4614-b4eb-37d3eb2b9e47' LIMIT 1 Date : 2025-06-10T15:42:16  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37bbb629-8125-4f3b-b64f-b464e1532ba0' LIMIT 1 Date : 2025-06-10T15:42:16  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0d40d27-a149-4614-b4eb-37d3eb2b9e47' LIMIT 1 Date : 2025-06-10T15:42:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-10T15:42:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001463 post PendingInvicesDO 2 MED-171001490 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001490 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56d50c32-6d0f-4331-80b6-3bd1c452193d' LIMIT 1 Date : 2025-06-10T16:47:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T16:47:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001464 post PendingInvicesDO 2 MED-171001491 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001491 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a91b6777-4c8b-4976-9de8-d1cb42b0a077' LIMIT 1 Date : 2025-06-10T17:10:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T17:10:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001466 post PendingInvicesDO 2 MED-171001493 post PendingInvicesDO 2 MED-171001492 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001465 post PendingInvicesDO 2 MED-171001493 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001492 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001493 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e10a06a-7dc1-4e2a-ab6a-2b9c6ca43596' LIMIT 1 Date : 2025-06-10T17:38:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6444d12-3102-40b2-bc37-168974640bcc' LIMIT 1 Date : 2025-06-10T17:38:28  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e10a06a-7dc1-4e2a-ab6a-2b9c6ca43596' LIMIT 1 Date : 2025-06-10T17:38:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6444d12-3102-40b2-bc37-168974640bcc' LIMIT 1 Date : 2025-06-10T17:38:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-10T17:38:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001467 post PendingInvicesDO 2 MED-171001494 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001494 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ca74a25-7a0c-448e-bd52-891a6ab25085' LIMIT 1 Date : 2025-06-10T18:05:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T18:05:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001469 post PendingInvicesDO 2 MED-171001496 post PendingInvicesDO 2 MED-171001495 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001468 post PendingInvicesDO 2 MED-171001496 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001495 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001496 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0af88ef8-c303-4b5e-a5ec-d284e16bd802' LIMIT 1 Date : 2025-06-10T20:32:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ddacd691-2fe8-41e2-84da-08c5a03e8f45' LIMIT 1 Date : 2025-06-10T20:32:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0af88ef8-c303-4b5e-a5ec-d284e16bd802' LIMIT 1 Date : 2025-06-10T20:32:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ddacd691-2fe8-41e2-84da-08c5a03e8f45' LIMIT 1 Date : 2025-06-10T20:32:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-10T20:32:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001470 post PendingInvicesDO 2 MED-171001497 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001497 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6dfb0f7-27fe-459f-b384-cf4a38bffc88' LIMIT 1 Date : 2025-06-10T20:55:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T20:55:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001472 post PendingInvicesDO 2 MED-171001499 post PendingInvicesDO 2 MED-171001498 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001471 post PendingInvicesDO 2 MED-171001499 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001498 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001499 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24468e32-4a48-4754-a5d1-d9928d15992e' LIMIT 1 Date : 2025-06-10T22:42:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09f07ed8-9c6c-4e99-8688-71736f13e2a3' LIMIT 1 Date : 2025-06-10T22:42:32  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24468e32-4a48-4754-a5d1-d9928d15992e' LIMIT 1 Date : 2025-06-10T22:42:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09f07ed8-9c6c-4e99-8688-71736f13e2a3' LIMIT 1 Date : 2025-06-10T22:42:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-10T22:42:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001474 post PendingInvicesDO 2 MED-171001501 post PendingInvicesDO 2 MED-171001500 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001473 post PendingInvicesDO 2 MED-171001501 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001500 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001501 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='479d228d-114f-4e4c-9250-6a365bac9ee9' LIMIT 1 Date : 2025-06-11T17:48:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0bdf55d2-d28b-479a-80e2-beed5a20906e' LIMIT 1 Date : 2025-06-11T17:48:34  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='479d228d-114f-4e4c-9250-6a365bac9ee9' LIMIT 1 Date : 2025-06-11T17:48:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0bdf55d2-d28b-479a-80e2-beed5a20906e' LIMIT 1 Date : 2025-06-11T17:48:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-11T17:48:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001475 post PendingInvicesDO 2 MED-171001502 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001502 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='40cfa384-0d8e-4208-b795-390ae75a6d8f' LIMIT 1 Date : 2025-06-11T18:27:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T18:27:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001476 post PendingInvicesDO 2 MED-171001414 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001414 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001414' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001414' OR OrderId='MED-171001414' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T18:50:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001477 post PendingInvicesDO 2 MED-171001415 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001415 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001415' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001415' OR OrderId='MED-171001415' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T19:19:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001478 post PendingInvicesDO 2 MED-171001504 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001504 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83ab5c35-4ec9-4a63-bec5-8eb05c0bc861' LIMIT 1 Date : 2025-06-11T19:27:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T19:27:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001479 post PendingInvicesDO 2 MED-171001505 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001505 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8ca4df9-e6b7-4a1c-baac-63a789d4a213' LIMIT 1 Date : 2025-06-11T20:07:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T20:07:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001480 post PendingInvicesDO 2 MED-171001413 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001413' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001413' OR OrderId='MED-171001413' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T20:22:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001481 post PendingInvicesDO 2 MED-171001506 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001506 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba43ce61-3797-49c4-bf9a-76cb313dfde0' LIMIT 1 Date : 2025-06-11T21:02:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T21:02:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001483 post PendingInvicesDO 2 MED-171001508 post PendingInvicesDO 2 MED-171001507 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001482 post PendingInvicesDO 2 MED-171001508 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001507 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001508 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d81094f-38fe-412c-8fba-3740fd47d879' LIMIT 1 Date : 2025-06-11T22:26:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72d9909c-f997-476f-83f4-9a094c379c51' LIMIT 1 Date : 2025-06-11T22:26:59  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d81094f-38fe-412c-8fba-3740fd47d879' LIMIT 1 Date : 2025-06-11T22:26:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72d9909c-f997-476f-83f4-9a094c379c51' LIMIT 1 Date : 2025-06-11T22:26:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-11T22:26:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001484 post PendingInvicesDO 2 MED-171001509 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001509 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a716c55a-3cdf-4be8-a042-387115d8f340' LIMIT 1 Date : 2025-06-12T08:46:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T08:46:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001486 post PendingInvicesDO 2 MED-171001511 post PendingInvicesDO 2 MED-171001510 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001485 post PendingInvicesDO 2 MED-171001511 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001510 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001511 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93d906c1-09b2-43d7-9980-e736efc5ef38' LIMIT 1 Date : 2025-06-12T09:39:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20feed23-64e1-4036-bae0-852f341c4203' LIMIT 1 Date : 2025-06-12T09:39:03  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93d906c1-09b2-43d7-9980-e736efc5ef38' LIMIT 1 Date : 2025-06-12T09:39:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20feed23-64e1-4036-bae0-852f341c4203' LIMIT 1 Date : 2025-06-12T09:39:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-12T09:39:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001487 post PendingInvicesDO 2 MED-171001512 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001512 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='628e0523-5073-4b3d-b481-c06f75d1f896' LIMIT 1 Date : 2025-06-12T10:36:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T10:36:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001488 post PendingInvicesDO 2 MED-171001513 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001513 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0bc1c31-7e3b-40c8-871a-1f6063904714' LIMIT 1 Date : 2025-06-12T12:02:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T12:02:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001489 post PendingInvicesDO 2 MED-171001398 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001398 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001398' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001398' OR OrderId='MED-171001398' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-12T15:37:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001490 post PendingInvicesDO 2 MED-171001515 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001515 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e8a8568-3ae7-4f1c-803c-a64e1ed490fb' LIMIT 1 Date : 2025-06-12T16:30:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T16:30:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001491 post PendingInvicesDO 2 MED-171001516 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001516 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee4fae15-c4e5-4f30-b8d4-70b65cece8f9' LIMIT 1 Date : 2025-06-12T16:55:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T16:55:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001492 post PendingInvicesDO 2 MED-171001517 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001517 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07a40716-825d-45c7-896c-08017c5289c7' LIMIT 1 Date : 2025-06-12T18:08:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T18:08:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001494 post PendingInvicesDO 2 MED-171001519 post PendingInvicesDO 2 MED-171001518 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001493 post PendingInvicesDO 2 MED-171001519 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001518 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001519 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e86e48e-64cb-4547-9575-36f74a38a9ac' LIMIT 1 Date : 2025-06-12T18:19:26  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd020187-15ea-4698-a909-15deb2e58448' LIMIT 1 Date : 2025-06-12T18:19:26  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e86e48e-64cb-4547-9575-36f74a38a9ac' LIMIT 1 Date : 2025-06-12T18:19:26  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd020187-15ea-4698-a909-15deb2e58448' LIMIT 1 Date : 2025-06-12T18:19:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-12T18:19:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001495 post PendingInvicesDO 2 MED-171001520 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001520 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34e9ce8f-6baf-407a-9976-1fd635e9c3e9' LIMIT 1 Date : 2025-06-12T18:38:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T18:38:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001496 post PendingInvicesDO 2 MED-171001363 post PendingInvicesDO 2 MED-171001423 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001363' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001363' OR OrderId='MED-171001363' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001423' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001423' OR OrderId='MED-171001423' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-12T20:53:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001497 post PendingInvicesDO 2 MED-171001521 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001521 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f0f8a0e-13b6-4754-ae25-effb8776c04d' LIMIT 1 Date : 2025-06-13T16:43:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T16:43:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001498 post PendingInvicesDO 2 MED-171001522 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001522 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84c2c375-94f4-470e-9939-b79122ce8f1c' LIMIT 1 Date : 2025-06-13T17:19:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T17:19:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001499 post PendingInvicesDO 2 MED-171001523 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001523 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1bda4698-4451-43c3-8ceb-cdff48095809' LIMIT 1 Date : 2025-06-13T18:08:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T18:08:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001500 post PendingInvicesDO 2 MED-171001524 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001524 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a13b6bb-8c03-4525-834e-c5f238bd2214' LIMIT 1 Date : 2025-06-13T18:23:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T18:23:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001502 post PendingInvicesDO 2 MED-171001526 post PendingInvicesDO 2 MED-171001525 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001501 post PendingInvicesDO 2 MED-171001526 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001525 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001526 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7019f1a1-7e60-4018-9255-aa9cdcedd9ab' LIMIT 1 Date : 2025-06-14T07:38:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52ad9e00-ad4e-4798-80b1-d748d5b08e8f' LIMIT 1 Date : 2025-06-14T07:38:23  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7019f1a1-7e60-4018-9255-aa9cdcedd9ab' LIMIT 1 Date : 2025-06-14T07:38:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52ad9e00-ad4e-4798-80b1-d748d5b08e8f' LIMIT 1 Date : 2025-06-14T07:38:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-14T07:38:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001503 post PendingInvicesDO 2 MED-171001527 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001527 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db9fc1a3-1861-4582-87dc-7f64deb77112' LIMIT 1 Date : 2025-06-14T08:42:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T08:42:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001505 post PendingInvicesDO 2 MED-171001529 post PendingInvicesDO 2 MED-171001528 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001504 post PendingInvicesDO 2 MED-171001529 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001528 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001529 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2400a80b-9853-4915-af1a-f6f98d1950ed' LIMIT 1 Date : 2025-06-14T09:16:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82a5392f-ba78-432a-bdb3-8465baca20e0' LIMIT 1 Date : 2025-06-14T09:16:39  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2400a80b-9853-4915-af1a-f6f98d1950ed' LIMIT 1 Date : 2025-06-14T09:16:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82a5392f-ba78-432a-bdb3-8465baca20e0' LIMIT 1 Date : 2025-06-14T09:16:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-14T09:16:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001507 post PendingInvicesDO 2 MED-171001531 post PendingInvicesDO 2 MED-171001530 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001506 post PendingInvicesDO 2 MED-171001531 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001530 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001531 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32995309-b2b1-47f0-9d76-31218c80e91b' LIMIT 1 Date : 2025-06-14T10:37:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3dd4b6c6-fc51-4a5d-b128-0d0577707070' LIMIT 1 Date : 2025-06-14T10:37:19  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32995309-b2b1-47f0-9d76-31218c80e91b' LIMIT 1 Date : 2025-06-14T10:37:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3dd4b6c6-fc51-4a5d-b128-0d0577707070' LIMIT 1 Date : 2025-06-14T10:37:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-14T10:37:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001509 post PendingInvicesDO 2 MED-171001533 post PendingInvicesDO 2 MED-171001532 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001508 post PendingInvicesDO 2 MED-171001533 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001532 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001533 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa4e9e1a-a5da-4e7c-9603-e32f377e1d99' LIMIT 1 Date : 2025-06-14T11:32:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8bf2856-d7ed-4418-aa93-09ac56630d26' LIMIT 1 Date : 2025-06-14T11:32:43  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa4e9e1a-a5da-4e7c-9603-e32f377e1d99' LIMIT 1 Date : 2025-06-14T11:32:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8bf2856-d7ed-4418-aa93-09ac56630d26' LIMIT 1 Date : 2025-06-14T11:32:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-14T11:32:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001510 post PendingInvicesDO 2 MED-171001534 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001534 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd8258ae-997a-4c21-993e-a89f49445a43' LIMIT 1 Date : 2025-06-14T12:35:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T12:35:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001511 post PendingInvicesDO 2 MED-171001535 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001535 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73c60e7b-a59e-48dc-86a3-7b450b5c6765' LIMIT 1 Date : 2025-06-14T12:38:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T12:38:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001513 post PendingInvicesDO 2 MED-171001539 post PendingInvicesDO 2 MED-171001538 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001512 post PendingInvicesDO 2 MED-171001539 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001538 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001539 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26163058-28dd-4996-a791-dc4b595e4dfc' LIMIT 1 Date : 2025-06-14T15:51:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ac16874-613a-4fcb-8788-7445ac0070f8' LIMIT 1 Date : 2025-06-14T15:51:04  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26163058-28dd-4996-a791-dc4b595e4dfc' LIMIT 1 Date : 2025-06-14T15:51:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ac16874-613a-4fcb-8788-7445ac0070f8' LIMIT 1 Date : 2025-06-14T15:51:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-14T15:51:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001514 post PendingInvicesDO 2 MED-171001540 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001540 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2963cae-0957-44d8-95f8-fb1617df66ec' LIMIT 1 Date : 2025-06-14T16:46:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T16:46:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001515 post PendingInvicesDO 2 MED-171001541 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001541 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6751e160-40d7-411a-b5a6-bd1c931ba3bc' LIMIT 1 Date : 2025-06-14T18:13:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T18:13:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001516 post PendingInvicesDO 2 MED-171001542 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001542 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a0b0723c-515a-425e-8f70-e673111eae1d' LIMIT 1 Date : 2025-06-14T20:01:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T20:01:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001517 post PendingInvicesDO 2 MED-171001543 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001543 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af26ca2e-36de-4aa5-992f-bb981c97a657' LIMIT 1 Date : 2025-06-14T20:14:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T20:14:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001518 post PendingInvicesDO 2 MED-171001544 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001544 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d690b398-b5e5-4e38-9f55-bcb01b55f7c1' LIMIT 1 Date : 2025-06-14T20:43:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T20:43:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001519 post PendingInvicesDO 2 MED-171001545 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001545 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2caae19d-5f8e-4597-b806-ad8d3dfe88b6' LIMIT 1 Date : 2025-06-14T22:09:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T22:09:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001520 post PendingInvicesDO 2 MED-171001546 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001546 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bb6f29b-c6c4-4087-8fd4-fdef30984c34' LIMIT 1 Date : 2025-06-15T07:59:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T07:59:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001521 post PendingInvicesDO 2 MED-171001547 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001547 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='876b93c2-da54-4c8a-ba5b-c48188919240' LIMIT 1 Date : 2025-06-15T08:54:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T08:54:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001523 post PendingInvicesDO 2 MED-171001549 post PendingInvicesDO 2 MED-171001548 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001522 post PendingInvicesDO 2 MED-171001549 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001548 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001549 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de6d9c8b-d944-466f-af6a-f402fe76b55e' LIMIT 1 Date : 2025-06-15T10:13:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28992dd6-f99a-490f-a660-f0421578745e' LIMIT 1 Date : 2025-06-15T10:13:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de6d9c8b-d944-466f-af6a-f402fe76b55e' LIMIT 1 Date : 2025-06-15T10:13:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28992dd6-f99a-490f-a660-f0421578745e' LIMIT 1 Date : 2025-06-15T10:13:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-15T10:13:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001524 post PendingInvicesDO 2 MED-171001550 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001550 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7be631ce-7292-4e29-bb27-1b3478a5275f' LIMIT 1 Date : 2025-06-15T11:24:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T11:24:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001526 post PendingInvicesDO 2 MED-171001552 post PendingInvicesDO 2 MED-171001551 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001525 post PendingInvicesDO 2 MED-171001552 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001551 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001552 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91d696e7-d99b-49e2-9ae4-f97572fd16b9' LIMIT 1 Date : 2025-06-15T12:40:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c38ecf41-5556-4d72-9eb6-2698faa05c14' LIMIT 1 Date : 2025-06-15T12:40:28  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91d696e7-d99b-49e2-9ae4-f97572fd16b9' LIMIT 1 Date : 2025-06-15T12:40:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c38ecf41-5556-4d72-9eb6-2698faa05c14' LIMIT 1 Date : 2025-06-15T12:40:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-15T12:40:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001528 post PendingInvicesDO 2 MED-171001554 post PendingInvicesDO 2 MED-171001553 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001527 post PendingInvicesDO 2 MED-171001554 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001553 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001554 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86fee338-26d8-4b19-8cac-b453dee89fa8' LIMIT 1 Date : 2025-06-15T15:39:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='046aae66-06c8-4925-a8db-6ff3e6294a76' LIMIT 1 Date : 2025-06-15T15:39:32  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86fee338-26d8-4b19-8cac-b453dee89fa8' LIMIT 1 Date : 2025-06-15T15:39:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='046aae66-06c8-4925-a8db-6ff3e6294a76' LIMIT 1 Date : 2025-06-15T15:39:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-15T15:39:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001529 post PendingInvicesDO 2 MED-171001555 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001555 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='057e0850-008b-4dac-95bd-9d5ea6b1e9e9' LIMIT 1 Date : 2025-06-15T16:42:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T16:42:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001531 post PendingInvicesDO 2 MED-171001557 post PendingInvicesDO 2 MED-171001556 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001530 post PendingInvicesDO 2 MED-171001557 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001556 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001557 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='756dac3c-6520-4a24-974d-6f81d8ec11df' LIMIT 1 Date : 2025-06-15T19:08:02  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3577298b-b51c-439f-930f-8166b84c8bd1' LIMIT 1 Date : 2025-06-15T19:08:02  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='756dac3c-6520-4a24-974d-6f81d8ec11df' LIMIT 1 Date : 2025-06-15T19:08:02  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3577298b-b51c-439f-930f-8166b84c8bd1' LIMIT 1 Date : 2025-06-15T19:08:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-15T19:08:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001532 post PendingInvicesDO 2 MED-171001558 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001558 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f771830-3ec5-4c36-a1fb-d0ef3c70fade' LIMIT 1 Date : 2025-06-15T19:56:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T19:56:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001534 post PendingInvicesDO 2 MED-171001560 post PendingInvicesDO 2 MED-171001559 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001533 post PendingInvicesDO 2 MED-171001560 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001559 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001560 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='893aabbe-8390-4406-bb24-0f69c9eb791b' LIMIT 1 Date : 2025-06-15T21:27:15  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8aac56ef-0400-4154-9e62-4e3d5fc0fef0' LIMIT 1 Date : 2025-06-15T21:27:15  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='893aabbe-8390-4406-bb24-0f69c9eb791b' LIMIT 1 Date : 2025-06-15T21:27:15  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8aac56ef-0400-4154-9e62-4e3d5fc0fef0' LIMIT 1 Date : 2025-06-15T21:27:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-15T21:27:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001536 post PendingInvicesDO 2 MED-171001562 post PendingInvicesDO 2 MED-171001561 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001535 post PendingInvicesDO 2 MED-171001562 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001561 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001562 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8ba6c7c-f5f6-4e94-89e7-1af38552b8df' LIMIT 1 Date : 2025-06-16T08:37:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c152b9b-f88a-49c2-a2ea-bfa12a8d9ceb' LIMIT 1 Date : 2025-06-16T08:37:55  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8ba6c7c-f5f6-4e94-89e7-1af38552b8df' LIMIT 1 Date : 2025-06-16T08:37:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c152b9b-f88a-49c2-a2ea-bfa12a8d9ceb' LIMIT 1 Date : 2025-06-16T08:37:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-16T08:37:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001537 post PendingInvicesDO 2 MED-171001563 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001563 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbe79258-0192-4754-9582-1e1150c713ea' LIMIT 1 Date : 2025-06-16T08:56:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T08:56:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001538 post PendingInvicesDO 2 MED-171001564 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001564 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6aaa29d-7d83-4da6-a3bb-844091f66267' LIMIT 1 Date : 2025-06-16T09:40:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T09:40:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001540 post PendingInvicesDO 2 MED-171001348 post PendingInvicesDO 2 MED-171001347 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001539 post PendingInvicesDO 2 MED-171001348 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001347 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001348 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001348' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001348' OR OrderId='MED-171001348' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001348' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001348' OR OrderId='MED-171001348' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-16T10:21:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001541 post PendingInvicesDO 2 MED-171001567 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001567 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a89efc4-be10-48fa-bed6-510866d4a353' LIMIT 1 Date : 2025-06-16T11:47:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T11:47:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001543 post PendingInvicesDO 2 MED-171001569 post PendingInvicesDO 2 MED-171001568 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001542 post PendingInvicesDO 2 MED-171001569 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001568 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001569 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bdb5e31-7950-42b3-9360-5e35413c6466' LIMIT 1 Date : 2025-06-16T12:31:21  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='649ae6b3-358b-41b2-aa56-361594a98c42' LIMIT 1 Date : 2025-06-16T12:31:21  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bdb5e31-7950-42b3-9360-5e35413c6466' LIMIT 1 Date : 2025-06-16T12:31:21  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='649ae6b3-358b-41b2-aa56-361594a98c42' LIMIT 1 Date : 2025-06-16T12:31:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-16T12:31:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001545 post PendingInvicesDO 2 MED-171001571 post PendingInvicesDO 2 MED-171001570 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001544 post PendingInvicesDO 2 MED-171001571 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001570 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001571 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79f33c03-15b9-41f3-8371-9ae9d2986286' LIMIT 1 Date : 2025-06-16T14:46:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9874515c-f708-482e-8edf-c17b1a85ac98' LIMIT 1 Date : 2025-06-16T14:46:37  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79f33c03-15b9-41f3-8371-9ae9d2986286' LIMIT 1 Date : 2025-06-16T14:46:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9874515c-f708-482e-8edf-c17b1a85ac98' LIMIT 1 Date : 2025-06-16T14:46:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-16T14:46:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001546 post PendingInvicesDO 2 MED-171001478 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001478 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001478' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001478' OR OrderId='MED-171001478' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T10:46:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001548 post PendingInvicesDO 2 MED-171001573 post PendingInvicesDO 2 MED-171001572 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001547 post PendingInvicesDO 2 MED-171001573 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001572 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001573 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ac46bb0-c0aa-434d-aa3a-f09738c96d34' LIMIT 1 Date : 2025-06-17T10:51:58  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='858183b9-1e28-4519-8e47-7230580bc97a' LIMIT 1 Date : 2025-06-17T10:51:58  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ac46bb0-c0aa-434d-aa3a-f09738c96d34' LIMIT 1 Date : 2025-06-17T10:51:58  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='858183b9-1e28-4519-8e47-7230580bc97a' LIMIT 1 Date : 2025-06-17T10:51:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-17T10:51:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001549 post PendingInvicesDO 2 MED-171001574 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001574 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01017908-1e25-4242-95b1-1f4912fe2e49' LIMIT 1 Date : 2025-06-17T12:57:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T12:57:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001550 post PendingInvicesDO 2 MED-171001575 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001575 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6956fd69-d625-4441-b931-6eb64ff8ddf1' LIMIT 1 Date : 2025-06-17T13:30:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T13:30:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001551 post PendingInvicesDO 2 MED-171001576 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001576 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3efc5e3c-3f53-4d53-9ace-882b4a3583ba' LIMIT 1 Date : 2025-06-17T16:59:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T16:59:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001553 post PendingInvicesDO 2 MED-171001578 post PendingInvicesDO 2 MED-171001577 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001552 post PendingInvicesDO 2 MED-171001578 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001577 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001578 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec36944f-7cd9-45b6-bb66-9fbca18f7fc9' LIMIT 1 Date : 2025-06-17T17:23:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='375ca513-4e63-47cf-b0ca-fa567c9ccc01' LIMIT 1 Date : 2025-06-17T17:23:22  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec36944f-7cd9-45b6-bb66-9fbca18f7fc9' LIMIT 1 Date : 2025-06-17T17:23:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='375ca513-4e63-47cf-b0ca-fa567c9ccc01' LIMIT 1 Date : 2025-06-17T17:23:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-17T17:23:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001554 post PendingInvicesDO 2 MED-171001503 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001503 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001503' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001503' OR OrderId='MED-171001503' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T18:12:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001556 post PendingInvicesDO 2 MED-171001582 post PendingInvicesDO 2 MED-171001581 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001555 post PendingInvicesDO 2 MED-171001582 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001581 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001582 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='156e9ed2-596a-464d-aecb-9be1114ebd4a' LIMIT 1 Date : 2025-06-17T18:38:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed60b55e-3b79-48d9-bd43-50a111829413' LIMIT 1 Date : 2025-06-17T18:38:52  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='156e9ed2-596a-464d-aecb-9be1114ebd4a' LIMIT 1 Date : 2025-06-17T18:38:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed60b55e-3b79-48d9-bd43-50a111829413' LIMIT 1 Date : 2025-06-17T18:38:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-17T18:38:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001557 post PendingInvicesDO 2 MED-171001481 post PendingInvicesDO 2 MED-171001482 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001482' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001482' OR OrderId='MED-171001482' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T18:57:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001559 post PendingInvicesDO 2 MED-171001584 post PendingInvicesDO 2 MED-171001583 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001558 post PendingInvicesDO 2 MED-171001584 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001583 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001584 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08830759-5511-471b-8bc7-8e960c2dd8bd' LIMIT 1 Date : 2025-06-17T19:22:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52a6f493-9033-48be-8dff-9cd3300df88e' LIMIT 1 Date : 2025-06-17T19:22:44  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08830759-5511-471b-8bc7-8e960c2dd8bd' LIMIT 1 Date : 2025-06-17T19:22:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52a6f493-9033-48be-8dff-9cd3300df88e' LIMIT 1 Date : 2025-06-17T19:22:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-17T19:22:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001561 post PendingInvicesDO 2 MED-171001586 post PendingInvicesDO 2 MED-171001585 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001560 post PendingInvicesDO 2 MED-171001586 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001585 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001586 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f445e5b-46cd-4254-8eb9-eca2fca6a754' LIMIT 1 Date : 2025-06-17T20:11:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17437143-efd3-474a-9705-11b1f681e2cc' LIMIT 1 Date : 2025-06-17T20:11:10  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f445e5b-46cd-4254-8eb9-eca2fca6a754' LIMIT 1 Date : 2025-06-17T20:11:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17437143-efd3-474a-9705-11b1f681e2cc' LIMIT 1 Date : 2025-06-17T20:11:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-17T20:11:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001562 post PendingInvicesDO 2 MED-171001587 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001587 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ed2b702-7989-484a-b197-cd9d69b56053' LIMIT 1 Date : 2025-06-17T21:54:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T21:54:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001563 post PendingInvicesDO 2 MED-171001588 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001588 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71981262-f392-449a-91c5-0d904c398198' LIMIT 1 Date : 2025-06-17T22:28:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T22:28:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001564 post PendingInvicesDO 2 MED-171001589 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001589 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2d95e6a-4fff-4272-b1f6-65e3b21d3cee' LIMIT 1 Date : 2025-06-18T08:03:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T08:03:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001565 post PendingInvicesDO 2 MED-171001590 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001590 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f85045a4-356f-4e7b-839e-f9891b0eee98' LIMIT 1 Date : 2025-06-18T08:38:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T08:38:47 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-174001566 post PendingInvicesDO 2 MED-171001591 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001591 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d3b3afc-5856-4a64-94d0-6387f5e569ed' LIMIT 1 Date : 2025-06-18T09:13:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T09:13:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001567 post PendingInvicesDO 2 MED-171001482 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001482' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001482' OR OrderId='MED-171001482' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-18T09:43:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001568 post PendingInvicesDO 2 MED-171001592 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001592 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9e620fb-9aae-4714-9651-f0e05e671887' LIMIT 1 Date : 2025-06-18T10:02:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T10:02:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001569 post PendingInvicesDO 2 MED-171001514 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001514 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-171001514' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-171001514' OR OrderId='MED-171001514' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-18T11:06:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001570 post PendingInvicesDO 2 MED-171001595 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001595 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce22da82-3629-49c6-ab93-7ef9ecc18896' LIMIT 1 Date : 2025-06-18T11:49:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T11:49:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001572 post PendingInvicesDO 2 MED-171001597 post PendingInvicesDO 2 MED-171001596 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001571 post PendingInvicesDO 2 MED-171001597 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001596 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001597 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='167e59cf-86fb-451c-b296-e47c5a4fa5b3' LIMIT 1 Date : 2025-06-18T12:46:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec32e072-deba-4923-b14b-30dd5361c05b' LIMIT 1 Date : 2025-06-18T12:46:20  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='167e59cf-86fb-451c-b296-e47c5a4fa5b3' LIMIT 1 Date : 2025-06-18T12:46:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec32e072-deba-4923-b14b-30dd5361c05b' LIMIT 1 Date : 2025-06-18T12:46:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-18T12:46:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001573 post PendingInvicesDO 2 MED-171001598 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001598 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aea2a8df-fe53-4cd9-91dd-a9584f31ff90' LIMIT 1 Date : 2025-06-18T17:41:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T17:41:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001575 post PendingInvicesDO 2 MED-171001600 post PendingInvicesDO 2 MED-171001599 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001574 post PendingInvicesDO 2 MED-171001600 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001599 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001600 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35650929-d68e-4a64-b40d-a8e5a2eb79b8' LIMIT 1 Date : 2025-06-18T18:35:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1deaee6a-95fd-40bc-8a33-1ac6ab1b7076' LIMIT 1 Date : 2025-06-18T18:35:19  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35650929-d68e-4a64-b40d-a8e5a2eb79b8' LIMIT 1 Date : 2025-06-18T18:35:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1deaee6a-95fd-40bc-8a33-1ac6ab1b7076' LIMIT 1 Date : 2025-06-18T18:35:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-18T18:35:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001577 post PendingInvicesDO 2 MED-171001602 post PendingInvicesDO 2 MED-171001601 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-174001576 post PendingInvicesDO 2 MED-171001602 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-171001601 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001602 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02502d35-9dbe-4a9c-ae8b-e55fe1ce2490' LIMIT 1 Date : 2025-06-18T19:11:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10d553c6-5784-44ca-b363-4de877a8ecf5' LIMIT 1 Date : 2025-06-18T19:11:07  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02502d35-9dbe-4a9c-ae8b-e55fe1ce2490' LIMIT 1 Date : 2025-06-18T19:11:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10d553c6-5784-44ca-b363-4de877a8ecf5' LIMIT 1 Date : 2025-06-18T19:11:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-18T19:11:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-174001578 post PendingInvicesDO 2 MED-171001603 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-171001603 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85d78cc8-0f02-4635-9440-f69522c2017e' LIMIT 1 Date : 2025-06-18T22:22:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T22:22:31 payment end 
