 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007784 post PendingInvicesDO 2 MED-101007511 post PendingInvicesDO 2 MED-101007510 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104007783 post PendingInvicesDO 2 MED-101007511 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007510 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007511 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-101007511' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007511' OR OrderId='MED-101007511' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101007511' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007511' OR OrderId='MED-101007511' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-19T08:48:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007785 post PendingInvicesDO 2 MED-101007658 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007658 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='89337c47-74e2-4a64-af31-0a966758b7bf' LIMIT 1 Date : 2025-05-19T08:51:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T08:51:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007786 post PendingInvicesDO 2 MED-101007659 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007659 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1af56d30-3f34-4202-9dd4-0a7ed6322676' LIMIT 1 Date : 2025-05-19T09:12:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T09:12:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007788 post PendingInvicesDO 2 MED-101007661 post PendingInvicesDO 2 MED-101007660 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104007787 post PendingInvicesDO 2 MED-101007661 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007660 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007661 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-101007661' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007661' OR OrderId='MED-101007661' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101007661' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007661' OR OrderId='MED-101007661' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-19T09:48:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007789 post PendingInvicesDO 2 MED-101007664 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007664 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b208a5fc-cb89-49a8-b641-de07d6b9a585' LIMIT 1 Date : 2025-05-19T13:38:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T13:38:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007791 post PendingInvicesDO 2 MED-101007666 post PendingInvicesDO 2 MED-101007665 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104007790 post PendingInvicesDO 2 MED-101007666 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007665 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007666 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f543617-17b1-4dda-b1b9-dedf584a9876' LIMIT 1 Date : 2025-05-19T14:28:12  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4811e1a-cd0a-4b87-a9b4-fc717cc7f493' LIMIT 1 Date : 2025-05-19T14:28:12  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f543617-17b1-4dda-b1b9-dedf584a9876' LIMIT 1 Date : 2025-05-19T14:28:12  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4811e1a-cd0a-4b87-a9b4-fc717cc7f493' LIMIT 1 Date : 2025-05-19T14:28:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-19T14:28:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007792 post PendingInvicesDO 2 MED-101007667 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007667 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef122fc8-af8c-4a90-9f76-6f0155a29e96' LIMIT 1 Date : 2025-05-19T15:22:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T15:22:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007793 post PendingInvicesDO 2 MED-101007668 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007668 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3943959a-cbe2-4b14-9ec3-703904ae2e10' LIMIT 1 Date : 2025-05-19T15:48:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T15:48:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007794 post PendingInvicesDO 2 MED-101007669 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007669 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f138df3f-9977-4ff8-aa8a-9ccb6083a77b' LIMIT 1 Date : 2025-05-19T15:49:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T15:49:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007795 post PendingInvicesDO 2 MED-101007670 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007670 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='414b9c40-8f72-4aaf-b908-fe5b3c107dad' LIMIT 1 Date : 2025-05-19T16:49:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T16:49:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007796 post PendingInvicesDO 2 MED-101007671 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007671 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb2ec03b-98d5-4a6b-8f2b-cac5c9c4dd7c' LIMIT 1 Date : 2025-05-19T16:55:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T16:55:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007797 post PendingInvicesDO 2 MED-101007672 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007672 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a11073f1-1e36-4893-a3cb-79bd047c4c14' LIMIT 1 Date : 2025-05-19T17:02:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T17:02:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007798 post PendingInvicesDO 2 MED-101007444 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-101007444' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007444' OR OrderId='MED-101007444' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-19T17:24:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007799 post PendingInvicesDO 2 MED-101007673 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007673 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33fa69b1-2303-4fcc-bc80-95345acfff06' LIMIT 1 Date : 2025-05-19T17:37:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T17:37:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007800 post PendingInvicesDO 2 MED-101007674 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007674 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5cc48abc-04d4-4f3c-bca5-fb71d7967684' LIMIT 1 Date : 2025-05-19T17:53:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T17:53:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007801 post PendingInvicesDO 2 MED-101007561 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007561 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-101007561' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007561' OR OrderId='MED-101007561' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-19T17:57:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007802 post PendingInvicesDO 2 MED-101007592 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-101007592' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007592' OR OrderId='MED-101007592' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-19T18:24:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007803 post PendingInvicesDO 2 MED-101007566 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007566 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-101007566' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007566' OR OrderId='MED-101007566' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-19T18:26:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007804 post PendingInvicesDO 2 MED-101007676 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007676 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25eb3eed-e6fe-474d-b780-c061a2c43abd' LIMIT 1 Date : 2025-05-19T18:33:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T18:33:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007805 post PendingInvicesDO 2 MED-101007677 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007677 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b71a2b71-e52d-4fae-9a56-9a1556f1bd82' LIMIT 1 Date : 2025-05-19T18:35:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T18:35:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007806 post PendingInvicesDO 2 MED-101007521 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007521 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-101007521' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007521' OR OrderId='MED-101007521' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T09:23:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007807 post PendingInvicesDO 2 MED-101007680 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007680 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='162acc4f-0078-498f-9105-c09c12bae8d4' LIMIT 1 Date : 2025-05-20T09:53:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T09:53:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007808 post PendingInvicesDO 2 MED-101007681 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007681 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='984d90bb-c8c5-4d6f-a61d-60140ab03764' LIMIT 1 Date : 2025-05-20T10:11:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T10:11:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007809 post PendingInvicesDO 2 MED-101007682 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007682 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60bf903b-f61c-4be6-9c42-65fdbae88f27' LIMIT 1 Date : 2025-05-20T10:14:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T10:14:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007810 post PendingInvicesDO 2 MED-101007683 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007683 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10623b8b-06ff-4115-9ef3-0c14022dba47' LIMIT 1 Date : 2025-05-20T10:18:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T10:18:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007812 post PendingInvicesDO 2 MED-101007685 post PendingInvicesDO 2 MED-101007684 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104007811 post PendingInvicesDO 2 MED-101007685 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007684 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007685 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccf92a6b-082f-43d2-a165-0f59fc1beb47' LIMIT 1 Date : 2025-05-20T10:37:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='962fce56-6c33-40c3-9fb3-df54fc13d828' LIMIT 1 Date : 2025-05-20T10:37:57  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccf92a6b-082f-43d2-a165-0f59fc1beb47' LIMIT 1 Date : 2025-05-20T10:37:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='962fce56-6c33-40c3-9fb3-df54fc13d828' LIMIT 1 Date : 2025-05-20T10:37:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-20T10:37:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007813 post PendingInvicesDO 2 MED-101007686 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007686 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b86936a2-1ce7-4a18-9748-23ea9dec5d8c' LIMIT 1 Date : 2025-05-20T11:18:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T11:18:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007814 post PendingInvicesDO 2 MED-101007687 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007687 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70c39591-fb85-42f0-bd40-3dfb2232b7be' LIMIT 1 Date : 2025-05-20T12:00:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T12:00:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007815 post PendingInvicesDO 2 MED-101007544 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007544 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-101007544' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007544' OR OrderId='MED-101007544' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T12:35:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007816 post PendingInvicesDO 2 MED-101007688 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007688 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='756c88dc-7416-4404-a9db-d33272c95084' LIMIT 1 Date : 2025-05-20T12:35:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T12:35:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007817 post PendingInvicesDO 2 MED-101007689 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007689 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4199ccc-6c0b-4f63-a8ec-b7d1c5a5a2de' LIMIT 1 Date : 2025-05-20T12:46:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T12:46:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007818 post PendingInvicesDO 2 MED-101007690 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007690 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2d4c871-1c0c-4c5a-868a-5872ff62c053' LIMIT 1 Date : 2025-05-20T13:03:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T13:03:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007819 post PendingInvicesDO 2 MED-101007596 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007596 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-101007596' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007596' OR OrderId='MED-101007596' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T13:45:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007820 post PendingInvicesDO 2 MED-101007597 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-101007597' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007597' OR OrderId='MED-101007597' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T14:13:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007821 post PendingInvicesDO 2 MED-101007694 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007694 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e565ab4-5c2d-432a-8298-40ba4a1ea001' LIMIT 1 Date : 2025-05-20T14:42:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T14:42:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007822 post PendingInvicesDO 2 MED-101007531 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007531 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-101007531' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007531' OR OrderId='MED-101007531' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T15:01:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007823 post PendingInvicesDO 2 MED-101007696 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007696 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc6b157a-6c5a-4c38-ad50-1afbbdcb344f' LIMIT 1 Date : 2025-05-20T15:44:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T15:44:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007824 post PendingInvicesDO 2 MED-101007697 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007697 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99628f2c-71c7-48cd-a321-123a61374035' LIMIT 1 Date : 2025-05-20T15:59:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T15:59:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007825 post PendingInvicesDO 2 MED-101007549 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007549 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-101007549' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007549' OR OrderId='MED-101007549' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T17:06:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007826 post PendingInvicesDO 2 MED-101007647 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-101007647' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007647' OR OrderId='MED-101007647' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T17:28:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007827 post PendingInvicesDO 2 MED-101007631 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-101007631' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007631' OR OrderId='MED-101007631' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T17:31:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007828 post PendingInvicesDO 2 MED-101007605 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-101007605' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007605' OR OrderId='MED-101007605' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T17:32:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007829 post PendingInvicesDO 2 MED-101007605 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-101007605' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007605' OR OrderId='MED-101007605' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T17:37:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007830 post PendingInvicesDO 2 MED-101007700 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007700 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68d1457c-8890-435c-bffe-ecc778465f99' LIMIT 1 Date : 2025-05-21T09:18:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T09:18:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007831 post PendingInvicesDO 2 MED-101007444 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-101007444' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007444' OR OrderId='MED-101007444' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-21T10:24:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007832 post PendingInvicesDO 2 MED-101007702 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007702 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2095c255-ac5d-4cb8-b38b-5574e19f7a64' LIMIT 1 Date : 2025-05-21T11:04:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T11:04:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007833 post PendingInvicesDO 2 MED-101007631 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-101007631' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007631' OR OrderId='MED-101007631' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-21T11:51:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007834 post PendingInvicesDO 2 MED-101007704 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007704 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ae2d8b4-17a8-4544-b526-facb1f725bed' LIMIT 1 Date : 2025-05-21T11:58:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T11:58:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007835 post PendingInvicesDO 2 MED-101007705 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007705 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be54e583-2164-411e-9bff-509914e07a7c' LIMIT 1 Date : 2025-05-21T12:20:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T12:20:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007836 post PendingInvicesDO 2 MED-101007622 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007622 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-101007622' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007622' OR OrderId='MED-101007622' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-21T12:52:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007837 post PendingInvicesDO 2 MED-101007592 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-101007592' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007592' OR OrderId='MED-101007592' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-21T13:49:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007838 post PendingInvicesDO 2 MED-101007707 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007707 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e21deea4-8541-4937-af0b-f90c84a1390d' LIMIT 1 Date : 2025-05-21T13:56:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T13:56:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007839 post PendingInvicesDO 2 MED-101007708 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007708 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4389c61-f773-4973-8ff2-c99e1a40471f' LIMIT 1 Date : 2025-05-21T14:27:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T14:27:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007840 post PendingInvicesDO 2 MED-101007709 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007709 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b3b9b0f-7127-4d47-8e4e-25da753febf1' LIMIT 1 Date : 2025-05-21T14:31:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T14:31:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007841 post PendingInvicesDO 2 MED-101007692 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007692 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-101007692' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007692' OR OrderId='MED-101007692' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-21T16:59:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007842 post PendingInvicesDO 2 MED-101007678 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007678 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-101007678' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007678' OR OrderId='MED-101007678' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T08:44:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007843 post PendingInvicesDO 2 MED-101007710 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007710 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a722027-2a5b-4059-9299-abfd74c7c5c9' LIMIT 1 Date : 2025-05-22T08:44:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T08:44:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007844 post PendingInvicesDO 2 MED-101007711 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007711 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59d2658a-d27e-4657-bb63-3b7a409e2c2f' LIMIT 1 Date : 2025-05-22T08:57:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T08:57:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007845 post PendingInvicesDO 2 MED-101007712 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007712 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4117dae9-a5a8-47bf-8fda-e37ecdcf00ec' LIMIT 1 Date : 2025-05-22T09:01:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T09:01:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007846 post PendingInvicesDO 2 MED-101007713 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007713 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ceffeb6-3d59-48c7-a392-796501be5f98' LIMIT 1 Date : 2025-05-22T09:12:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T09:12:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007847 post PendingInvicesDO 2 MED-101007714 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007714 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08ce8b11-7dc8-43c0-a081-53e834db1258' LIMIT 1 Date : 2025-05-22T09:35:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T09:35:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007848 post PendingInvicesDO 2 MED-101007618 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007618 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-101007618' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007618' OR OrderId='MED-101007618' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T09:47:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007849 post PendingInvicesDO 2 MED-101007716 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007716 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f860aa05-925d-4571-8aae-3e02d92c7559' LIMIT 1 Date : 2025-05-22T10:10:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T10:10:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007850 post PendingInvicesDO 2 MED-101007717 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007717 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f55b980f-16df-4ad0-b4c2-f06a3e7e5ce0' LIMIT 1 Date : 2025-05-22T10:31:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T10:31:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007851 post PendingInvicesDO 2 MED-101007718 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007718 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ff953ec-650a-4774-b640-bb409c565d41' LIMIT 1 Date : 2025-05-22T10:53:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T10:53:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007853 post PendingInvicesDO 2 MED-101007720 post PendingInvicesDO 2 MED-101007719 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104007852 post PendingInvicesDO 2 MED-101007720 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007719 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007720 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a38d003f-3faf-4b2a-8359-5eead3244452' LIMIT 1 Date : 2025-05-22T11:16:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6add34a-1f67-4cb6-8ae9-7c1ceb9178fb' LIMIT 1 Date : 2025-05-22T11:16:47  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a38d003f-3faf-4b2a-8359-5eead3244452' LIMIT 1 Date : 2025-05-22T11:16:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6add34a-1f67-4cb6-8ae9-7c1ceb9178fb' LIMIT 1 Date : 2025-05-22T11:16:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-22T11:16:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007854 post PendingInvicesDO 2 MED-101007722 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007722 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='305c4e2a-f761-447f-b329-46a23e740de7' LIMIT 1 Date : 2025-05-22T12:29:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T12:29:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007855 post PendingInvicesDO 2 MED-101007723 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007723 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01c35170-3271-47a8-9bff-7b382a33eb10' LIMIT 1 Date : 2025-05-22T13:07:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T13:07:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007856 post PendingInvicesDO 2 MED-101007501 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007501 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-101007501' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007501' OR OrderId='MED-101007501' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T13:19:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007857 post PendingInvicesDO 2 MED-101007725 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007725 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='822c51aa-f809-4b29-ba4d-49f83430b4b7' LIMIT 1 Date : 2025-05-22T13:46:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T13:46:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007858 post PendingInvicesDO 2 MED-101007606 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007606 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-101007606' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007606' OR OrderId='MED-101007606' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T14:02:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007859 post PendingInvicesDO 2 MED-101007728 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007728 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c84b18ce-d71d-4622-8fa1-cf7c7b97e248' LIMIT 1 Date : 2025-05-22T14:49:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T14:49:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007860 post PendingInvicesDO 2 MED-101007729 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007729 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb46b5f3-410a-4cf6-8eeb-74f6dc1f064f' LIMIT 1 Date : 2025-05-22T15:29:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T15:29:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007861 post PendingInvicesDO 2 MED-101007730 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007730 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4716ccc1-2495-4db7-b7ce-4069d73ec639' LIMIT 1 Date : 2025-05-22T16:02:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T16:02:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007862 post PendingInvicesDO 2 MED-101007654 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007654 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-101007654' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007654' OR OrderId='MED-101007654' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T16:09:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007863 post PendingInvicesDO 2 MED-101007731 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007731 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3cde0501-2aab-4230-bc33-9309609fb33e' LIMIT 1 Date : 2025-05-22T16:20:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T16:20:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007864 post PendingInvicesDO 2 MED-101007733 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007733 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59388a89-d5e8-4811-80f4-fd5aafc189a8' LIMIT 1 Date : 2025-05-22T17:52:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T17:52:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007865 post PendingInvicesDO 2 MED-101007651 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-101007651' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007651' OR OrderId='MED-101007651' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T18:02:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007866 post PendingInvicesDO 2 MED-101007734 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007734 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62557ef5-823f-42ae-a055-99c28e15d2e0' LIMIT 1 Date : 2025-05-22T18:14:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T18:14:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007867 post PendingInvicesDO 2 MED-101007624 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007624 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-101007624' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007624' OR OrderId='MED-101007624' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-24T08:25:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007868 post PendingInvicesDO 2 MED-101007735 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007735 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7acc388b-7863-48ea-baca-c59de0011fe3' LIMIT 1 Date : 2025-05-24T08:36:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T08:36:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007870 post PendingInvicesDO 2 MED-101007737 post PendingInvicesDO 2 MED-101007736 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104007869 post PendingInvicesDO 2 MED-101007737 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007736 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007737 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df624610-45c8-4088-94b7-f5370c40ec7a' LIMIT 1 Date : 2025-05-24T08:55:21  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb4e9dac-276d-4f02-b230-ee71f5d999b6' LIMIT 1 Date : 2025-05-24T08:55:21  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df624610-45c8-4088-94b7-f5370c40ec7a' LIMIT 1 Date : 2025-05-24T08:55:21  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb4e9dac-276d-4f02-b230-ee71f5d999b6' LIMIT 1 Date : 2025-05-24T08:55:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-24T08:55:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007871 post PendingInvicesDO 2 MED-101007738 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007738 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18c5d247-ac48-486e-85f3-d339d3eb881e' LIMIT 1 Date : 2025-05-24T09:32:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T09:32:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007872 post PendingInvicesDO 2 MED-101007739 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007739 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='baa34535-ebd6-4445-9fb3-b7a5c2d4dabb' LIMIT 1 Date : 2025-05-24T09:49:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T09:49:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007873 post PendingInvicesDO 2 MED-101007740 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007740 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23022085-1860-4f8f-a196-ace73549c7be' LIMIT 1 Date : 2025-05-24T10:24:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T10:24:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007874 post PendingInvicesDO 2 MED-101007741 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007741 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5096404-c43b-4806-9339-90fea894694f' LIMIT 1 Date : 2025-05-24T10:52:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T10:52:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007875 post PendingInvicesDO 2 MED-101007742 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007742 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a161925d-8dbc-4c05-aea1-0bc1cd70e00e' LIMIT 1 Date : 2025-05-24T11:21:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T11:21:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007876 post PendingInvicesDO 2 MED-101007743 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007743 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff04313c-e997-467b-80be-591ac6353af2' LIMIT 1 Date : 2025-05-24T11:22:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T11:22:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007877 post PendingInvicesDO 2 MED-101007569 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-101007569' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007569' OR OrderId='MED-101007569' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-24T11:32:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007878 post PendingInvicesDO 2 MED-101007744 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007744 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6cce2292-74e7-4754-ac99-b0e7877b4012' LIMIT 1 Date : 2025-05-24T11:58:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T11:58:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007879 post PendingInvicesDO 2 MED-101007745 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007745 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75dede7e-e4ef-4e1e-8e3a-22944e78ebef' LIMIT 1 Date : 2025-05-24T12:33:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T12:33:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007880 post PendingInvicesDO 2 MED-101007746 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007746 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04917fe9-ef5b-4ba0-8b22-58eda319227a' LIMIT 1 Date : 2025-05-24T13:27:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T13:27:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007881 post PendingInvicesDO 2 MED-101007747 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007747 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5020ac25-259e-433e-9316-2424acf6343b' LIMIT 1 Date : 2025-05-24T14:02:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T14:02:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007882 post PendingInvicesDO 2 MED-101007748 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007748 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9139de58-7be0-47ef-b84b-38fceb24504c' LIMIT 1 Date : 2025-05-24T14:52:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T14:52:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007883 post PendingInvicesDO 2 MED-101007749 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007749 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb044d6a-4b4d-47e6-b8e0-6cd3711a95a1' LIMIT 1 Date : 2025-05-24T15:26:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T15:26:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007884 post PendingInvicesDO 2 MED-101007640 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007640 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-101007640' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007640' OR OrderId='MED-101007640' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-24T15:38:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007885 post PendingInvicesDO 2 MED-101007750 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007750 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7074959-0d14-4e54-818d-d57e2f4d3179' LIMIT 1 Date : 2025-05-24T15:39:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T15:39:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007886 post PendingInvicesDO 2 MED-101007698 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007698 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-101007698' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007698' OR OrderId='MED-101007698' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-24T15:52:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007887 post PendingInvicesDO 2 MED-101007675 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007675 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-101007675' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007675' OR OrderId='MED-101007675' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-24T16:38:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007889 post PendingInvicesDO 2 MED-101007755 post PendingInvicesDO 2 MED-101007754 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104007888 post PendingInvicesDO 2 MED-101007755 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007754 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007755 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='033c9452-5572-4da9-ae12-2e1596d837e8' LIMIT 1 Date : 2025-05-24T16:44:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b39c5918-ef20-44fd-a6a2-7848fbdd93bf' LIMIT 1 Date : 2025-05-24T16:44:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='033c9452-5572-4da9-ae12-2e1596d837e8' LIMIT 1 Date : 2025-05-24T16:44:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b39c5918-ef20-44fd-a6a2-7848fbdd93bf' LIMIT 1 Date : 2025-05-24T16:44:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-24T16:44:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007890 post PendingInvicesDO 2 MED-101007756 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007756 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='906a0cff-9c98-4d9b-8bba-38addbc0d51e' LIMIT 1 Date : 2025-05-25T08:25:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T08:25:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007891 post PendingInvicesDO 2 MED-101007757 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-101007757' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007757' OR OrderId='MED-101007757' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T08:57:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007892 post PendingInvicesDO 2 MED-101007758 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007758 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='074e3d7c-67d1-49a9-91f0-875fc19c7289' LIMIT 1 Date : 2025-05-25T09:23:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T09:23:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007893 post PendingInvicesDO 2 MED-101007759 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007759 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7dd72dbc-7620-40ae-95eb-4e7a4b51cfcf' LIMIT 1 Date : 2025-05-25T09:59:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T09:59:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007894 post PendingInvicesDO 2 MED-101007760 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007760 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bbacdacf-2e96-4ac3-b1c4-2364dd2b9b1a' LIMIT 1 Date : 2025-05-25T10:29:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T10:29:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007895 post PendingInvicesDO 2 MED-101007568 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-101007568' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007568' OR OrderId='MED-101007568' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T10:34:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007896 post PendingInvicesDO 2 MED-101007611 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007611 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-101007611' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007611' OR OrderId='MED-101007611' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T10:37:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007897 post PendingInvicesDO 2 MED-101007762 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007762 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4025ca06-bc8a-4b90-8012-5e5ca6d30408' LIMIT 1 Date : 2025-05-25T10:58:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T10:58:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007898 post PendingInvicesDO 2 MED-101007630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007630 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-101007630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007630' OR OrderId='MED-101007630' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T11:01:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007899 post PendingInvicesDO 2 MED-101007764 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007764 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ef46875-ce68-4177-a0f2-d9beef4e7bb5' LIMIT 1 Date : 2025-05-25T11:53:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T11:53:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007900 post PendingInvicesDO 2 MED-101007652 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007652 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-101007652' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007652' OR OrderId='MED-101007652' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T12:48:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007901 post PendingInvicesDO 2 MED-101007766 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007766 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19a208e6-74e3-4805-a4aa-6fdcad1cfa41' LIMIT 1 Date : 2025-05-25T13:13:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T13:13:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007902 post PendingInvicesDO 2 MED-101007767 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007767 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e74cf28-8404-490e-9066-ededcb4c9023' LIMIT 1 Date : 2025-05-25T13:36:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T13:36:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007903 post PendingInvicesDO 2 MED-101007597 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-101007597' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007597' OR OrderId='MED-101007597' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T13:39:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007904 post PendingInvicesDO 2 MED-101007768 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007768 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b34a9476-25b0-469f-8fd4-d3551bc6a5fd' LIMIT 1 Date : 2025-05-25T13:42:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T13:42:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007905 post PendingInvicesDO 2 MED-101007769 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007769 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27471561-c120-4cfa-9942-fdd466db3798' LIMIT 1 Date : 2025-05-25T13:51:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T13:51:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007907 post PendingInvicesDO 2 MED-101007771 post PendingInvicesDO 2 MED-101007770 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104007906 post PendingInvicesDO 2 MED-101007771 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007770 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007771 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='734abb61-b3b8-4669-b642-80e272789892' LIMIT 1 Date : 2025-05-25T14:04:02  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60c7cd4d-bf71-4e53-99f2-d798890b372d' LIMIT 1 Date : 2025-05-25T14:04:02  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='734abb61-b3b8-4669-b642-80e272789892' LIMIT 1 Date : 2025-05-25T14:04:02  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60c7cd4d-bf71-4e53-99f2-d798890b372d' LIMIT 1 Date : 2025-05-25T14:04:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-25T14:04:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007908 post PendingInvicesDO 2 MED-101007772 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007772 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c49d7671-4b1e-4ade-a79f-be57ea4f13ce' LIMIT 1 Date : 2025-05-25T14:07:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T14:07:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007909 post PendingInvicesDO 2 MED-101007385 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-101007385' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007385' OR OrderId='MED-101007385' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T14:51:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007910 post PendingInvicesDO 2 MED-101007651 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-101007651' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007651' OR OrderId='MED-101007651' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T15:41:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007911 post PendingInvicesDO 2 MED-101007724 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007724 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-101007724' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007724' OR OrderId='MED-101007724' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T16:16:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007912 post PendingInvicesDO 2 MED-101007457 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007457 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-101007457' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007457' OR OrderId='MED-101007457' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T16:36:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007913 post PendingInvicesDO 2 MED-101007699 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007699 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-101007699' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007699' OR OrderId='MED-101007699' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T17:03:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007914 post PendingInvicesDO 2 MED-101007592 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-101007592' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007592' OR OrderId='MED-101007592' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T17:56:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007915 post PendingInvicesDO 2 MED-101007781 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007781 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='491e0770-87f2-45d9-b170-7f490160ba46' LIMIT 1 Date : 2025-05-25T18:25:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T18:25:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007916 post PendingInvicesDO 2 MED-101007782 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007782 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb1cee28-b65f-44b8-8509-ab9518bec7d0' LIMIT 1 Date : 2025-05-26T08:54:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T08:54:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007917 post PendingInvicesDO 2 MED-101007783 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007783 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='580489c7-74d1-40bd-b8cc-8f1fddb1ab2e' LIMIT 1 Date : 2025-05-26T09:26:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T09:26:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007918 post PendingInvicesDO 2 MED-101007784 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007784 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca1b06f3-8e1c-4d74-98a4-a2cd786012f4' LIMIT 1 Date : 2025-05-26T09:55:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T09:55:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007919 post PendingInvicesDO 2 MED-101007647 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-101007647' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007647' OR OrderId='MED-101007647' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-26T10:29:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007920 post PendingInvicesDO 2 MED-101007786 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007786 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32ab20a2-1237-4679-94cb-37d6947034a9' LIMIT 1 Date : 2025-05-26T11:03:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T11:03:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007921 post PendingInvicesDO 2 MED-101007787 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007787 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4338a824-d691-4072-a867-1065871a23a9' LIMIT 1 Date : 2025-05-26T11:47:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T11:47:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007922 post PendingInvicesDO 2 MED-101007788 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007788 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74c6b415-6938-4aad-9ebd-b7315769a6fc' LIMIT 1 Date : 2025-05-26T11:48:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T11:48:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007923 post PendingInvicesDO 2 MED-101007789 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007789 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b3b1dab-7560-40ca-a95a-8efaeb5b1f4c' LIMIT 1 Date : 2025-05-26T11:49:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T11:49:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007924 post PendingInvicesDO 2 MED-101007790 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007790 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b56e367c-b11c-46e1-9830-943f458726d0' LIMIT 1 Date : 2025-05-26T11:57:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T11:57:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007925 post PendingInvicesDO 2 MED-101007663 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007663 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-101007663' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007663' OR OrderId='MED-101007663' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-26T12:42:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007926 post PendingInvicesDO 2 MED-101007792 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007792 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47dad805-d558-42c1-8ca7-fe8e7aa2425b' LIMIT 1 Date : 2025-05-26T13:42:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T13:42:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007927 post PendingInvicesDO 2 MED-101007793 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007793 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a3110a1-a380-42e5-9ae8-338f9c78af13' LIMIT 1 Date : 2025-05-26T14:26:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T14:26:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007928 post PendingInvicesDO 2 MED-101007794 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007794 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0a41038-369b-4c24-8b64-09949de73dd0' LIMIT 1 Date : 2025-05-26T15:01:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T15:01:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007929 post PendingInvicesDO 2 MED-101007795 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007795 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1005cf6c-768e-4317-8292-e8789432ea9b' LIMIT 1 Date : 2025-05-26T16:16:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T16:16:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007930 post PendingInvicesDO 2 MED-101007796 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007796 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47d91261-378f-4764-bc7f-babc5c7baf81' LIMIT 1 Date : 2025-05-26T17:10:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T17:10:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007931 post PendingInvicesDO 2 MED-101007797 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007797 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3560580-dbc8-4873-8aa6-c4d6f3612901' LIMIT 1 Date : 2025-05-26T17:33:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T17:33:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007932 post PendingInvicesDO 2 MED-101007798 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007798 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b1e3c0b-dba7-41cb-ba80-c795eebf1cd6' LIMIT 1 Date : 2025-05-26T17:56:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T17:56:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007933 post PendingInvicesDO 2 MED-101007799 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007799 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d509f15-7a64-4079-a39c-98b898f2e494' LIMIT 1 Date : 2025-05-26T17:58:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T17:58:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007934 post PendingInvicesDO 2 MED-101007801 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007801 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ab44a5a-bd21-4b75-a98d-786c1899bb76' LIMIT 1 Date : 2025-05-26T18:11:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T18:11:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007935 post PendingInvicesDO 2 MED-101007802 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007802 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ed57f5d-764c-47f2-83dd-211db1098352' LIMIT 1 Date : 2025-05-26T18:20:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T18:20:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007936 post PendingInvicesDO 2 MED-101007706 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007706 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-101007706' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007706' OR OrderId='MED-101007706' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T09:00:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007937 post PendingInvicesDO 2 MED-101007803 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007803 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='841ce9e4-ab89-4e83-a88f-25b69b5dd8c9' LIMIT 1 Date : 2025-05-27T09:10:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T09:10:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007938 post PendingInvicesDO 2 MED-101007805 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007805 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36af630d-4be0-46be-992b-d2993bf62313' LIMIT 1 Date : 2025-05-27T10:21:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T10:21:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007939 post PendingInvicesDO 2 MED-101007751 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007751 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-101007751' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007751' OR OrderId='MED-101007751' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T10:42:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007940 post PendingInvicesDO 2 MED-101007753 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-101007753' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007753' OR OrderId='MED-101007753' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T11:16:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007941 post PendingInvicesDO 2 MED-101007807 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007807 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df8a2618-490d-4376-be9f-14e3fdc6b813' LIMIT 1 Date : 2025-05-27T11:21:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T11:21:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007942 post PendingInvicesDO 2 MED-101007808 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007808 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='686e5b9c-4d91-48ea-bb0b-519f4d02e2fa' LIMIT 1 Date : 2025-05-27T12:02:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T12:02:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007943 post PendingInvicesDO 2 MED-101007809 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007809 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d27e66d-bff6-4965-9bdb-b70e1b645618' LIMIT 1 Date : 2025-05-27T12:20:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T12:20:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007944 post PendingInvicesDO 2 MED-101007810 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007810 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1010f8d-9aaf-4e02-9386-eb3440792fcc' LIMIT 1 Date : 2025-05-27T12:23:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T12:23:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007945 post PendingInvicesDO 2 MED-101007811 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007811 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f4dc08e-7675-475a-b513-2d44146c2ddf' LIMIT 1 Date : 2025-05-27T13:18:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T13:18:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007946 post PendingInvicesDO 2 MED-101007812 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007812 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86fe2d38-2503-4cd8-9368-9c68eb4888be' LIMIT 1 Date : 2025-05-27T13:37:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T13:37:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007947 post PendingInvicesDO 2 MED-101007813 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007813 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb4c38b1-cb51-474e-8fac-3ab88fd193cd' LIMIT 1 Date : 2025-05-27T14:05:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T14:05:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007948 post PendingInvicesDO 2 MED-101007814 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007814 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b5323eb4-37bc-43bf-a39b-f829a194011c' LIMIT 1 Date : 2025-05-27T14:41:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T14:41:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007949 post PendingInvicesDO 2 MED-101007815 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007815 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='810bb1b3-7248-48ee-8884-727bfa954abb' LIMIT 1 Date : 2025-05-27T15:04:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T15:04:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007950 post PendingInvicesDO 2 MED-101007816 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007816 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7d49e51-11e0-4432-8f75-11b0f7c28766' LIMIT 1 Date : 2025-05-27T15:22:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T15:22:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007951 post PendingInvicesDO 2 MED-101007817 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007817 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20bd8a85-8ed0-4335-8a12-8f67b03fca06' LIMIT 1 Date : 2025-05-27T15:35:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T15:35:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007952 post PendingInvicesDO 2 MED-101007818 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007818 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20bd8a85-8ed0-4335-8a12-8f67b03fca06' LIMIT 1 Date : 2025-05-27T15:38:23 MED-101007817  performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-05-27T15:38:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007952 post PendingInvicesDO 2 MED-101007818 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007818 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='278c47d3-bedd-4147-ad8f-93662429525d' LIMIT 1 Date : 2025-05-27T16:00:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T16:00:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007953 post PendingInvicesDO 2 MED-101007819 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007819 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67bfa947-9592-404c-a6f9-13a79d45a4bf' LIMIT 1 Date : 2025-05-27T16:32:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T16:32:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007954 post PendingInvicesDO 2 MED-101007820 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007820 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='082938d4-574e-4e43-95e5-a00822114150' LIMIT 1 Date : 2025-05-27T17:26:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T17:26:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007955 post PendingInvicesDO 2 MED-101007821 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007821 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac04873c-2e89-4bd1-8ff8-77981b021881' LIMIT 1 Date : 2025-05-27T17:54:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T17:54:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007956 post PendingInvicesDO 2 MED-101007822 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007822 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b2ded88-f09a-427c-b64e-5b59b0a53ca3' LIMIT 1 Date : 2025-05-28T09:05:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T09:05:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007957 post PendingInvicesDO 2 MED-101007823 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007823 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bc4844c-e11f-49df-8645-9f3c7e65907f' LIMIT 1 Date : 2025-05-28T09:25:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T09:25:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007958 post PendingInvicesDO 2 MED-101007824 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007824 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16bcdbd4-fb5c-4734-a201-244e6cb1823a' LIMIT 1 Date : 2025-05-28T10:00:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T10:00:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007959 post PendingInvicesDO 2 MED-101007825 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007825 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b51aa99-c675-4e52-b01e-430682dbc645' LIMIT 1 Date : 2025-05-28T10:49:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T10:49:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007960 post PendingInvicesDO 2 MED-101007826 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007826 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4699896-64e1-4988-a0cc-a7b00ae7afd2' LIMIT 1 Date : 2025-05-28T11:27:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T11:27:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007961 post PendingInvicesDO 2 MED-101007827 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007827 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a4201a5-dde2-4d3f-bbf4-a239e9ab5e58' LIMIT 1 Date : 2025-05-28T11:46:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T11:46:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007962 post PendingInvicesDO 2 MED-101007715 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007715 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-101007715' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007715' OR OrderId='MED-101007715' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-28T12:03:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007963 post PendingInvicesDO 2 MED-101007829 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007829 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='111e0433-be20-4362-ab93-a06c89d6f990' LIMIT 1 Date : 2025-05-28T12:41:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T12:41:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007964 post PendingInvicesDO 2 MED-101007830 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007830 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28b5e4bb-a647-46f0-9688-f03596f47bff' LIMIT 1 Date : 2025-05-28T12:57:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T12:57:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007966 post PendingInvicesDO 2 MED-101007727 post PendingInvicesDO 2 MED-101007726 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104007965 post PendingInvicesDO 2 MED-101007727 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007726 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007727 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-101007727' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007727' OR OrderId='MED-101007727' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101007727' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007727' OR OrderId='MED-101007727' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-28T13:43:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007967 post PendingInvicesDO 2 MED-101007832 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007832 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8fec5c6-7a04-421b-9806-b1ae6f134d5c' LIMIT 1 Date : 2025-05-28T14:21:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T14:21:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007968 post PendingInvicesDO 2 MED-101007833 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007833 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='791cd3a0-be2d-41db-aed1-463cd27b106e' LIMIT 1 Date : 2025-05-28T14:28:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T14:28:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007969 post PendingInvicesDO 2 MED-101007834 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007834 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b7da16b-8c4d-4759-a43d-ddf1970c1591' LIMIT 1 Date : 2025-05-28T14:45:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T14:45:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007970 post PendingInvicesDO 2 MED-101007695 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007695 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-101007695' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007695' OR OrderId='MED-101007695' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-28T15:11:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007971 post PendingInvicesDO 2 MED-101007836 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007836 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1311ac11-da7d-4f86-ac2c-3c8cc5614d0f' LIMIT 1 Date : 2025-05-28T16:08:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T16:08:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007972 post PendingInvicesDO 2 MED-101007800 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-101007800' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007800' OR OrderId='MED-101007800' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-28T16:31:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007973 post PendingInvicesDO 2 MED-101007837 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007837 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1aea39f-6004-4963-ab50-03667af70217' LIMIT 1 Date : 2025-05-28T16:37:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T16:37:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007974 post PendingInvicesDO 2 MED-101007838 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007838 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f7dc26a-2589-4862-bc45-61c87b9936ae' LIMIT 1 Date : 2025-05-28T17:00:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T17:00:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007975 post PendingInvicesDO 2 MED-101007839 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007839 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a10c9d20-bb79-4598-93f8-dbc7ef3a0394' LIMIT 1 Date : 2025-05-28T17:18:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T17:18:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007976 post PendingInvicesDO 2 MED-101007840 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007840 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='924d293e-98ea-43ce-b7b1-334416157375' LIMIT 1 Date : 2025-05-28T17:32:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T17:32:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007977 post PendingInvicesDO 2 MED-101007841 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007841 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b2741d5-b7cc-406a-946a-59c9f0c2acaa' LIMIT 1 Date : 2025-05-28T17:39:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T17:39:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007978 post PendingInvicesDO 2 MED-101007842 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007842 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='466112ff-e1f2-495e-b088-ee20df85584f' LIMIT 1 Date : 2025-05-29T09:00:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T09:00:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007979 post PendingInvicesDO 2 MED-101007844 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007844 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6a3e414-3eb9-4937-a330-286585853faf' LIMIT 1 Date : 2025-05-29T10:17:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T10:17:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007980 post PendingInvicesDO 2 MED-101007845 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007845 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c49c37c-1e04-4333-a5af-53ab1c0e54fd' LIMIT 1 Date : 2025-05-29T10:30:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T10:30:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007981 post PendingInvicesDO 2 MED-101007763 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007763 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-101007763' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007763' OR OrderId='MED-101007763' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T10:32:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007982 post PendingInvicesDO 2 MED-101007846 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007846 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='101cae81-8873-4e4a-9627-b9c4a6d5ccbc' LIMIT 1 Date : 2025-05-29T10:51:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T10:51:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007983 post PendingInvicesDO 2 MED-101007559 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-101007559' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007559' OR OrderId='MED-101007559' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T10:54:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007984 post PendingInvicesDO 2 MED-101007559 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-101007559' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007559' OR OrderId='MED-101007559' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T10:54:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007985 post PendingInvicesDO 2 MED-101007753 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-101007753' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007753' OR OrderId='MED-101007753' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T10:55:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007986 post PendingInvicesDO 2 MED-101007693 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-101007693' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007693' OR OrderId='MED-101007693' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T10:55:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007987 post PendingInvicesDO 2 MED-101007679 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007679 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-101007679' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007679' OR OrderId='MED-101007679' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T10:56:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007988 post PendingInvicesDO 2 MED-101007847 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007847 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4456452d-a180-4316-b91c-c24291b10d70' LIMIT 1 Date : 2025-05-29T11:16:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T11:16:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007989 post PendingInvicesDO 2 MED-101007848 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007848 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='104f1c8d-d1f5-4898-b67e-148b386e96cf' LIMIT 1 Date : 2025-05-29T11:47:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T11:47:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007990 post PendingInvicesDO 2 MED-101007850 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007850 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20c04b01-abf1-4eac-b099-285678f32a42' LIMIT 1 Date : 2025-05-29T13:15:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T13:15:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007991 post PendingInvicesDO 2 MED-101007851 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007851 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77e42de2-ae6a-4b54-829d-197b3456de36' LIMIT 1 Date : 2025-05-29T13:18:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T13:18:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007992 post PendingInvicesDO 2 MED-101007852 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007852 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f6b9412-a9d3-4db9-8d8b-bf66cda71cf5' LIMIT 1 Date : 2025-05-29T13:20:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T13:20:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007993 post PendingInvicesDO 2 MED-101007791 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007791 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-101007791' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007791' OR OrderId='MED-101007791' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T13:40:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007994 post PendingInvicesDO 2 MED-101007853 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007853 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b984521f-471e-4295-99ad-bcfb89b38493' LIMIT 1 Date : 2025-05-29T13:53:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T13:53:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007995 post PendingInvicesDO 2 MED-101007721 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007721 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-101007721' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007721' OR OrderId='MED-101007721' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T16:19:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007996 post PendingInvicesDO 2 MED-101007855 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007855 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e5082ef-db01-4c40-844b-bff606f601ae' LIMIT 1 Date : 2025-05-29T16:22:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T16:22:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007997 post PendingInvicesDO 2 MED-101007856 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007856 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c8822b2-90d0-46ea-8a0c-925f7943758b' LIMIT 1 Date : 2025-05-29T16:51:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T16:51:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007998 post PendingInvicesDO 2 MED-101007857 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007857 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3bba9cc-181c-4023-895a-13918c853d7b' LIMIT 1 Date : 2025-05-29T17:12:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T17:12:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104007999 post PendingInvicesDO 2 MED-101007858 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007858 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd98487c-a972-40a3-a831-71415ea2af61' LIMIT 1 Date : 2025-05-29T17:38:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T17:38:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008000 post PendingInvicesDO 2 MED-101007703 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007703 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-101007703' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007703' OR OrderId='MED-101007703' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T18:04:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008001 post PendingInvicesDO 2 MED-101007773 post PendingInvicesDO 2 MED-101007774 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-101007774' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007774' OR OrderId='MED-101007774' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T18:08:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008002 post PendingInvicesDO 2 MED-101007775 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007775 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-101007775' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007775' OR OrderId='MED-101007775' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T18:14:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008003 post PendingInvicesDO 2 MED-101007701 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-101007701' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007701' OR OrderId='MED-101007701' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T18:24:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008004 post PendingInvicesDO 2 MED-101007691 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-101007691' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007691' OR OrderId='MED-101007691' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T20:25:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008005 post PendingInvicesDO 2 MED-101007777 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007777 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-101007777' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007777' OR OrderId='MED-101007777' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T22:32:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008006 post PendingInvicesDO 2 MED-101007691 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-101007691' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007691' OR OrderId='MED-101007691' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T22:35:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008007 post PendingInvicesDO 2 MED-101007765 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007765 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-101007765' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007765' OR OrderId='MED-101007765' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T22:35:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008008 post PendingInvicesDO 2 MED-101007831 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-101007831' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007831' OR OrderId='MED-101007831' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T22:37:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008009 post PendingInvicesDO 2 MED-101007849 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007849 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-101007849' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007849' OR OrderId='MED-101007849' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T16:11:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008010 post PendingInvicesDO 2 MED-101007859 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007859 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86937c82-3437-4072-9224-c3dc9ba90546' LIMIT 1 Date : 2025-05-30T16:38:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-30T16:38:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008011 post PendingInvicesDO 2 MED-101007860 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007860 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6bbb5bc8-a064-4931-852c-25117c3841ec' LIMIT 1 Date : 2025-05-30T17:01:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-30T17:01:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008012 post PendingInvicesDO 2 MED-101007861 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007861 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e1ab3944-016f-403e-80d7-881a0bcc9746' LIMIT 1 Date : 2025-05-30T17:24:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-30T17:24:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008013 post PendingInvicesDO 2 MED-101007862 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007862 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6100f3bc-a51e-49ed-bd09-512b5222e621' LIMIT 1 Date : 2025-05-30T17:51:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-30T17:51:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008014 post PendingInvicesDO 2 MED-101007785 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-101007785' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007785' OR OrderId='MED-101007785' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T18:25:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008015 post PendingInvicesDO 2 MED-101007761 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007761 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-101007761' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007761' OR OrderId='MED-101007761' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T18:45:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008016 post PendingInvicesDO 2 MED-101007752 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007752 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-101007752' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007752' OR OrderId='MED-101007752' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T18:45:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008017 post PendingInvicesDO 2 MED-101007568 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-101007568' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007568' OR OrderId='MED-101007568' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T19:32:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008018 post PendingInvicesDO 2 MED-101007390 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-101007390' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007390' OR OrderId='MED-101007390' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T19:33:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008019 post PendingInvicesDO 2 MED-101007774 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-101007774' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007774' OR OrderId='MED-101007774' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T19:40:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008020 post PendingInvicesDO 2 MED-101007800 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-101007800' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007800' OR OrderId='MED-101007800' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T19:45:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008021 post PendingInvicesDO 2 MED-101007619 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007619 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-101007619' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007619' OR OrderId='MED-101007619' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T08:23:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008022 post PendingInvicesDO 2 MED-101007864 post PendingInvicesDO 2 MED-101007865 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007864 isNewSettlement : false hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007865 isNewSettlement : false 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-101007865' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007865' OR OrderId='MED-101007865' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T08:56:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008024 post PendingInvicesDO 2 MED-101007867 post PendingInvicesDO 2 MED-101007866 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008023 post PendingInvicesDO 2 MED-101007867 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007866 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007867 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95481319-a895-48e5-aee6-eb333e0f042a' LIMIT 1 Date : 2025-05-31T09:20:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c93daa4-aee4-4c61-9055-dd0cd43526c8' LIMIT 1 Date : 2025-05-31T09:20:57  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95481319-a895-48e5-aee6-eb333e0f042a' LIMIT 1 Date : 2025-05-31T09:20:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c93daa4-aee4-4c61-9055-dd0cd43526c8' LIMIT 1 Date : 2025-05-31T09:20:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-31T09:20:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008025 post PendingInvicesDO 2 MED-101007779 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-101007779' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007779' OR OrderId='MED-101007779' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T09:27:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008026 post PendingInvicesDO 2 MED-101007693 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-101007693' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007693' OR OrderId='MED-101007693' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T09:32:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008027 post PendingInvicesDO 2 MED-101007701 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-101007701' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007701' OR OrderId='MED-101007701' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T09:44:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008028 post PendingInvicesDO 2 MED-101007390 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-101007390' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007390' OR OrderId='MED-101007390' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T09:44:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008029 post PendingInvicesDO 2 MED-101007843 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007843 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-101007843' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007843' OR OrderId='MED-101007843' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T09:53:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008030 post PendingInvicesDO 2 MED-101007869 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007869 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e0bfcb0-3fab-475c-94e8-b979d90fe1dc' LIMIT 1 Date : 2025-05-31T10:41:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T10:41:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008031 post PendingInvicesDO 2 MED-101007569 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-101007569' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007569' OR OrderId='MED-101007569' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T11:22:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008032 post PendingInvicesDO 2 MED-101007870 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007870 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ad18f8f-d25f-4daa-b939-92c24e7a743b' LIMIT 1 Date : 2025-05-31T11:28:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T11:28:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008033 post PendingInvicesDO 2 MED-101007871 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007871 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d79afd0e-379d-481e-9c69-34812481812a' LIMIT 1 Date : 2025-05-31T11:59:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T11:59:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008034 post PendingInvicesDO 2 MED-101007872 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007872 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1478d81-9aa2-40b2-ad63-5c846b4059c2' LIMIT 1 Date : 2025-05-31T12:00:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T12:00:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008035 post PendingInvicesDO 2 MED-101007873 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007873 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c3781ea-f198-4db8-8ee4-9e284d339a1c' LIMIT 1 Date : 2025-05-31T12:03:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T12:03:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008036 post PendingInvicesDO 2 MED-101007757 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-101007757' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007757' OR OrderId='MED-101007757' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T12:54:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008037 post PendingInvicesDO 2 MED-101007874 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007874 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46db6b65-b5dd-4ee8-ae35-deacd42faaab' LIMIT 1 Date : 2025-05-31T12:56:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T12:56:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008038 post PendingInvicesDO 2 MED-101007875 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007875 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3324a83-ac90-4f5b-8fd3-dd5ff724a4c6' LIMIT 1 Date : 2025-05-31T12:57:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T12:57:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008039 post PendingInvicesDO 2 MED-101007780 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007780 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-101007780' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007780' OR OrderId='MED-101007780' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T13:29:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008040 post PendingInvicesDO 2 MED-101007876 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007876 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4e92555-5ee4-419a-ac91-5f0988e10076' LIMIT 1 Date : 2025-05-31T13:31:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T13:31:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008041 post PendingInvicesDO 2 MED-101007778 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007778 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-101007778' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007778' OR OrderId='MED-101007778' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T13:36:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008042 post PendingInvicesDO 2 MED-101007878 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007878 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='54cce422-5bfb-4e5f-9cf4-c65408ed983b' LIMIT 1 Date : 2025-05-31T13:56:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T13:56:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008043 post PendingInvicesDO 2 MED-101007879 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007879 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61b8e60e-cd40-4e28-bee7-0487f356dbfd' LIMIT 1 Date : 2025-05-31T14:01:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T14:01:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008044 post PendingInvicesDO 2 MED-101007880 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007880 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e110f9b-6ea4-468e-bf5d-81c93ed1c508' LIMIT 1 Date : 2025-05-31T14:13:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T14:13:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008045 post PendingInvicesDO 2 MED-101007804 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007804 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-101007804' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007804' OR OrderId='MED-101007804' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T15:16:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008046 post PendingInvicesDO 2 MED-101007774 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-101007774' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007774' OR OrderId='MED-101007774' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T15:32:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008047 post PendingInvicesDO 2 MED-101007828 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007828 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-101007828' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007828' OR OrderId='MED-101007828' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T15:39:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008048 post PendingInvicesDO 2 MED-101007776 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007776 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-101007776' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007776' OR OrderId='MED-101007776' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T15:39:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008049 post PendingInvicesDO 2 MED-101007806 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007806 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-101007806' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007806' OR OrderId='MED-101007806' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T15:40:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008050 post PendingInvicesDO 2 MED-101007774 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-101007774' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007774' OR OrderId='MED-101007774' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T15:41:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008051 post PendingInvicesDO 2 MED-101007779 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-101007779' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007779' OR OrderId='MED-101007779' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T15:41:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008052 post PendingInvicesDO 2 MED-101007632 post PendingInvicesDO 2 MED-101007559 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007632 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-101007632' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007632' OR OrderId='MED-101007632' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101007559' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007559' OR OrderId='MED-101007559' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T16:49:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008053 post PendingInvicesDO 2 MED-101007883 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007883 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7b96795-133e-4305-8db4-52666e25467b' LIMIT 1 Date : 2025-05-31T16:57:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T16:57:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008054 post PendingInvicesDO 2 MED-101007884 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007884 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e5a364b-89f1-4fcc-a0f5-055850bf3f7e' LIMIT 1 Date : 2025-05-31T17:16:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T17:16:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008055 post PendingInvicesDO 2 MED-101007785 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-101007785' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007785' OR OrderId='MED-101007785' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T17:39:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008056 post PendingInvicesDO 2 MED-101007885 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007885 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a21c6ab-538f-46b0-a94a-c48b263060f6' LIMIT 1 Date : 2025-05-31T17:47:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T17:47:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008057 post PendingInvicesDO 2 MED-101007831 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-101007831' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007831' OR OrderId='MED-101007831' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T18:15:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008058 post PendingInvicesDO 2 MED-101007881 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007881 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-101007881' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007881' OR OrderId='MED-101007881' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T22:53:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008059 post PendingInvicesDO 2 MED-101007886 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007886 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9cdeb908-a09b-41bf-9e1b-b5b77fff4610' LIMIT 1 Date : 2025-06-01T08:51:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T08:51:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008060 post PendingInvicesDO 2 MED-101007888 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007888 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61ed5f2e-6719-4b04-bbef-bf306cd3c8e8' LIMIT 1 Date : 2025-06-01T09:52:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T09:52:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008061 post PendingInvicesDO 2 MED-101007889 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007889 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bfff44a-76bd-4135-bc21-d56656ecf510' LIMIT 1 Date : 2025-06-01T10:04:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T10:04:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008062 post PendingInvicesDO 2 MED-101007890 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007890 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6a4f122-7965-410e-9019-575780433f5d' LIMIT 1 Date : 2025-06-01T10:22:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T10:22:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008063 post PendingInvicesDO 2 MED-101007891 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007891 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19c4d8cd-146c-46e7-b1ba-e8343403637b' LIMIT 1 Date : 2025-06-01T10:41:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T10:41:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008064 post PendingInvicesDO 2 MED-101007893 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007893 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f3c0a7d-ff55-45c7-bbff-9b1d96bc0d4c' LIMIT 1 Date : 2025-06-01T11:37:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T11:37:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008065 post PendingInvicesDO 2 MED-101007894 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007894 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c6e8302-246d-4560-aecc-511b058f9f87' LIMIT 1 Date : 2025-06-01T11:58:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T11:58:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008066 post PendingInvicesDO 2 MED-101007895 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007895 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b874aef-ef31-4755-a47a-7c09cc1ce431' LIMIT 1 Date : 2025-06-01T13:07:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T13:07:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008067 post PendingInvicesDO 2 MED-101007896 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007896 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='934a31df-0aa2-4034-abb4-d6eb0de013c4' LIMIT 1 Date : 2025-06-01T13:12:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T13:12:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008068 post PendingInvicesDO 2 MED-101007897 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007897 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cee6226f-2285-4896-829a-0af5101e0494' LIMIT 1 Date : 2025-06-01T13:32:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T13:32:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008069 post PendingInvicesDO 2 MED-101007899 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007899 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ee5dcb8-e327-4c05-92ed-4048deb837c7' LIMIT 1 Date : 2025-06-01T14:36:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T14:36:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008070 post PendingInvicesDO 2 MED-101007901 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007901 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f4ebb1e-3831-4ef4-a435-b64ac1b20567' LIMIT 1 Date : 2025-06-01T15:17:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T15:17:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008071 post PendingInvicesDO 2 MED-101007903 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007903 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79341669-b1a5-4e03-a9b4-6c316e0bada6' LIMIT 1 Date : 2025-06-01T16:11:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T16:11:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008072 post PendingInvicesDO 2 MED-101007904 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007904 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a24b958-9543-4444-accb-60693aa9f6e8' LIMIT 1 Date : 2025-06-01T16:38:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T16:38:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008073 post PendingInvicesDO 2 MED-101007905 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007905 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26aeb909-eeae-4515-8067-82702d27bbe6' LIMIT 1 Date : 2025-06-01T17:05:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T17:05:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008074 post PendingInvicesDO 2 MED-101007906 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007906 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff0e9e81-7b33-4392-a89d-8e1802875eb6' LIMIT 1 Date : 2025-06-01T17:28:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T17:28:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008075 post PendingInvicesDO 2 MED-101007907 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-101007907' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007907' OR OrderId='MED-101007907' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-02T07:47:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008077 post PendingInvicesDO 2 MED-101007909 post PendingInvicesDO 2 MED-101007908 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008076 post PendingInvicesDO 2 MED-101007909 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007908 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007909 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea0bec9f-354a-4e1c-b5f1-396b7b78a418' LIMIT 1 Date : 2025-06-02T08:12:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f1adcb0-afc1-4ce8-8a20-7bc36bb2e3ad' LIMIT 1 Date : 2025-06-02T08:12:34  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea0bec9f-354a-4e1c-b5f1-396b7b78a418' LIMIT 1 Date : 2025-06-02T08:12:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f1adcb0-afc1-4ce8-8a20-7bc36bb2e3ad' LIMIT 1 Date : 2025-06-02T08:12:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-02T08:12:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008078 post PendingInvicesDO 2 MED-101007910 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007910 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7bc0002c-8e56-4427-8852-c6330f2cfec1' LIMIT 1 Date : 2025-06-02T08:47:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T08:47:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008079 post PendingInvicesDO 2 MED-101007911 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007911 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21a32648-42ab-460b-9e5a-14eebf8036d9' LIMIT 1 Date : 2025-06-02T09:33:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T09:33:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008080 post PendingInvicesDO 2 MED-101007868 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007868 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-101007868' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007868' OR OrderId='MED-101007868' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-02T10:29:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008081 post PendingInvicesDO 2 MED-101007831 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-101007831' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007831' OR OrderId='MED-101007831' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-02T10:30:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008082 post PendingInvicesDO 2 MED-101007913 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007913 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='723f844b-9913-4ce1-b427-60ed5ebe3bdb' LIMIT 1 Date : 2025-06-02T10:32:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T10:32:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008083 post PendingInvicesDO 2 MED-101007914 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007914 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5c07748-8bd3-4d74-bb25-8ff68320d75a' LIMIT 1 Date : 2025-06-02T10:41:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T10:41:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008084 post PendingInvicesDO 2 MED-101007915 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007915 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='efb92c10-2c34-47d1-ae02-3b63f61dac67' LIMIT 1 Date : 2025-06-02T10:50:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T10:50:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008085 post PendingInvicesDO 2 MED-101007916 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007916 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5975844d-04ca-4edf-a9fa-5369bb66f2fa' LIMIT 1 Date : 2025-06-02T11:16:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T11:16:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008086 post PendingInvicesDO 2 MED-101007917 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007917 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20319ed4-a515-4987-a5db-2c26fe00baf1' LIMIT 1 Date : 2025-06-02T11:26:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T11:26:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008087 post PendingInvicesDO 2 MED-101007918 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007918 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='174c45aa-9437-4cf1-9542-91bf80a23355' LIMIT 1 Date : 2025-06-02T11:33:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T11:33:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008089 post PendingInvicesDO 2 MED-101007920 post PendingInvicesDO 2 MED-101007919 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008088 post PendingInvicesDO 2 MED-101007920 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007919 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007920 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23386299-bd20-4b98-b66b-5e25361902e2' LIMIT 1 Date : 2025-06-02T11:59:13  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a951414-3cfe-44d6-a27d-33fc9a84d6dc' LIMIT 1 Date : 2025-06-02T11:59:13  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23386299-bd20-4b98-b66b-5e25361902e2' LIMIT 1 Date : 2025-06-02T11:59:13  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a951414-3cfe-44d6-a27d-33fc9a84d6dc' LIMIT 1 Date : 2025-06-02T11:59:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-02T11:59:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008090 post PendingInvicesDO 2 MED-101007921 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007921 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d55d7aa2-6eec-4225-9c04-b0c73c535c84' LIMIT 1 Date : 2025-06-02T12:26:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T12:26:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008091 post PendingInvicesDO 2 MED-101007863 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007863 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-101007863' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007863' OR OrderId='MED-101007863' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-02T12:41:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008092 post PendingInvicesDO 2 MED-101007924 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007924 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5914c3ad-f612-466e-a1ed-3a74a6ebf6a5' LIMIT 1 Date : 2025-06-02T13:52:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T13:52:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008093 post PendingInvicesDO 2 MED-101007925 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007925 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77f41899-99f5-4d13-acac-ee6ce06c9895' LIMIT 1 Date : 2025-06-02T14:50:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T14:50:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008094 post PendingInvicesDO 2 MED-101007926 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007926 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='692136d8-fe60-49a6-a064-6d6a3e36cdb1' LIMIT 1 Date : 2025-06-02T15:20:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T15:20:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008095 post PendingInvicesDO 2 MED-101007927 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007927 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de11a052-9c35-4254-8d1c-9de39d1780c8' LIMIT 1 Date : 2025-06-02T15:41:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T15:41:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008096 post PendingInvicesDO 2 MED-101007928 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007928 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='956dad6c-0510-4a7e-b73c-d51af902a402' LIMIT 1 Date : 2025-06-02T16:32:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T16:32:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008097 post PendingInvicesDO 2 MED-101007835 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007835 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-101007835' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007835' OR OrderId='MED-101007835' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-02T17:49:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008098 post PendingInvicesDO 2 MED-101007877 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007877 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-101007877' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007877' OR OrderId='MED-101007877' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-02T17:49:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008099 post PendingInvicesDO 2 MED-101007882 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007882 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-101007882' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007882' OR OrderId='MED-101007882' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-02T17:51:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008100 post PendingInvicesDO 2 MED-101007931 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007931 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87cfe7e9-6779-4204-9b28-94b112b6c23b' LIMIT 1 Date : 2025-06-03T08:58:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T08:58:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008101 post PendingInvicesDO 2 MED-101007932 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007932 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df84e5f2-de2e-4ba0-9307-060887b0ef11' LIMIT 1 Date : 2025-06-03T09:20:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T09:20:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008102 post PendingInvicesDO 2 MED-101007933 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007933 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a53b589-95c3-49bd-957f-16cb47b8fc96' LIMIT 1 Date : 2025-06-03T09:50:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T09:50:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008103 post PendingInvicesDO 2 MED-101007934 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007934 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='824d0840-ff25-4e3a-8233-a8ad4d0ab3fb' LIMIT 1 Date : 2025-06-03T10:29:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T10:29:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008104 post PendingInvicesDO 2 MED-101007935 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007935 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4020c258-393a-4274-9e0b-537b7084085e' LIMIT 1 Date : 2025-06-03T10:37:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T10:37:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008105 post PendingInvicesDO 2 MED-101007936 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007936 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6a0c011-c27f-461c-a56e-e8d0191476cf' LIMIT 1 Date : 2025-06-03T10:56:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T10:56:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008106 post PendingInvicesDO 2 MED-101007929 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-101007929' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007929' OR OrderId='MED-101007929' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-03T11:41:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008107 post PendingInvicesDO 2 MED-101007938 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007938 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='997a1912-c091-4c7d-b677-2a88ad65b722' LIMIT 1 Date : 2025-06-03T11:46:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T11:46:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008108 post PendingInvicesDO 2 MED-101007941 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007941 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f478504d-a844-4a2b-8034-28b3b0bdc72b' LIMIT 1 Date : 2025-06-03T13:53:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T13:53:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008109 post PendingInvicesDO 2 MED-101007942 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007942 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d4b66ee-d856-4f2b-b390-32b41300abe3' LIMIT 1 Date : 2025-06-03T13:55:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T13:55:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008110 post PendingInvicesDO 2 MED-101007943 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007943 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bae5c6ff-8120-4ee2-b0ee-f2a5b2354bfb' LIMIT 1 Date : 2025-06-03T14:19:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T14:19:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008111 post PendingInvicesDO 2 MED-101007945 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007945 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a0c1019f-9b85-4e57-9619-1467857e3166' LIMIT 1 Date : 2025-06-03T14:58:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T14:58:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008112 post PendingInvicesDO 2 MED-101007946 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007946 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98f22501-0a8d-43b7-af3b-688731a18c9e' LIMIT 1 Date : 2025-06-03T15:22:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T15:22:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008113 post PendingInvicesDO 2 MED-101007947 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007947 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19cd8f32-ebaf-4d88-9b87-84779e14b370' LIMIT 1 Date : 2025-06-03T15:50:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T15:50:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008114 post PendingInvicesDO 2 MED-101007948 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007948 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='460643c2-89f8-4182-8530-6978b73b797a' LIMIT 1 Date : 2025-06-03T16:11:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T16:11:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008115 post PendingInvicesDO 2 MED-101007949 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007949 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78a00306-ce84-49c3-9342-3cf84ad70488' LIMIT 1 Date : 2025-06-03T16:24:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T16:24:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008116 post PendingInvicesDO 2 MED-101007950 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007950 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c0bbdc7-faee-489d-9e38-b4cb5b60b8d0' LIMIT 1 Date : 2025-06-03T17:03:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T17:03:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008117 post PendingInvicesDO 2 MED-101007831 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-101007831' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007831' OR OrderId='MED-101007831' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-04T06:19:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008118 post PendingInvicesDO 2 MED-101007954 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007954 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c2f5f4f-2ccb-46e6-bcb4-582224eae052' LIMIT 1 Date : 2025-06-04T08:48:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T08:48:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008119 post PendingInvicesDO 2 MED-101007955 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007955 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c59e9573-1d47-4f5d-956f-0abfadac124c' LIMIT 1 Date : 2025-06-04T09:12:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T09:12:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008120 post PendingInvicesDO 2 MED-101007956 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007956 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a69eeac4-25c1-4c2a-88ef-62bad3e108c4' LIMIT 1 Date : 2025-06-04T09:40:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T09:40:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008121 post PendingInvicesDO 2 MED-101007957 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007957 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43f82c0f-e419-45a4-a9ed-8936e9a3e565' LIMIT 1 Date : 2025-06-04T10:14:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T10:14:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008122 post PendingInvicesDO 2 MED-101007958 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007958 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3493b1d0-3d6f-4c06-9a8b-0fbe66fe86ce' LIMIT 1 Date : 2025-06-04T10:45:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T10:45:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008123 post PendingInvicesDO 2 MED-101007960 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007960 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0981e85f-dbb1-4df2-ad6c-7ab6a8add885' LIMIT 1 Date : 2025-06-04T12:08:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T12:08:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008124 post PendingInvicesDO 2 MED-101007961 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007961 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f73c022-7acf-4e20-bc52-f4a8484e8e94' LIMIT 1 Date : 2025-06-04T13:11:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T13:11:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008125 post PendingInvicesDO 2 MED-101007963 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007963 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f543e2c6-50e2-4554-b934-07eb70875ddd' LIMIT 1 Date : 2025-06-04T16:01:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T16:01:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008126 post PendingInvicesDO 2 MED-101007964 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007964 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7984f21-bdc2-4d8f-b220-390ac5a6db38' LIMIT 1 Date : 2025-06-04T16:33:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T16:33:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008127 post PendingInvicesDO 2 MED-101007887 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007887 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-101007887' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007887' OR OrderId='MED-101007887' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-04T17:02:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008128 post PendingInvicesDO 2 MED-101007966 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007966 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e27cbb71-893b-4815-905f-5c6b5fd2f3d9' LIMIT 1 Date : 2025-06-04T17:20:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T17:20:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008129 post PendingInvicesDO 2 MED-101007968 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007968 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5864842b-9e0e-45d4-9569-2f6c2f0e5422' LIMIT 1 Date : 2025-06-04T17:54:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T17:54:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008130 post PendingInvicesDO 2 MED-101007969 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007969 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d6b73f0-642b-4e65-a216-5001f57fa615' LIMIT 1 Date : 2025-06-05T08:00:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T08:00:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008131 post PendingInvicesDO 2 MED-101007970 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007970 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa6e45da-34ba-400f-b710-c4fd38bf15e1' LIMIT 1 Date : 2025-06-05T08:31:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T08:31:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008132 post PendingInvicesDO 2 MED-101007971 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007971 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5d7dbd7-c4d2-4377-b6cf-fe5c0377f9a6' LIMIT 1 Date : 2025-06-05T08:55:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T08:55:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008133 post PendingInvicesDO 2 MED-101007972 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007972 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e384237f-cdb7-4c69-9f2c-9e9deb23d2a0' LIMIT 1 Date : 2025-06-05T09:14:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T09:14:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008134 post PendingInvicesDO 2 MED-101007973 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007973 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c45b0eb-1b87-4c46-8236-0a357df73dde' LIMIT 1 Date : 2025-06-05T09:19:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T09:19:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008135 post PendingInvicesDO 2 MED-101007974 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007974 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d703f6b-f7db-41be-9a28-c633a7d71a05' LIMIT 1 Date : 2025-06-05T09:40:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T09:40:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008136 post PendingInvicesDO 2 MED-101007975 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007975 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6aced197-fc9c-4a6d-9153-dac993942c99' LIMIT 1 Date : 2025-06-05T10:05:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T10:05:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008137 post PendingInvicesDO 2 MED-101007977 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007977 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed0c649d-c974-4e2a-8d7a-9213759a8fc5' LIMIT 1 Date : 2025-06-05T11:04:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T11:04:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008138 post PendingInvicesDO 2 MED-101007978 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007978 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5257402-2878-420d-9e96-401fe47a27aa' LIMIT 1 Date : 2025-06-05T11:48:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T11:48:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008139 post PendingInvicesDO 2 MED-101007979 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007979 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='499029fd-2ee8-46b3-b570-8038feffa635' LIMIT 1 Date : 2025-06-05T12:05:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T12:05:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008141 post PendingInvicesDO 2 MED-101007981 post PendingInvicesDO 2 MED-101007980 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008140 post PendingInvicesDO 2 MED-101007981 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007980 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007981 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d30e2b89-26f4-456c-b568-be534dc9643c' LIMIT 1 Date : 2025-06-05T12:26:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5bb7d66d-e59c-4ac2-99f2-f25bf3ac6877' LIMIT 1 Date : 2025-06-05T12:26:52  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d30e2b89-26f4-456c-b568-be534dc9643c' LIMIT 1 Date : 2025-06-05T12:26:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5bb7d66d-e59c-4ac2-99f2-f25bf3ac6877' LIMIT 1 Date : 2025-06-05T12:26:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-05T12:26:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008142 post PendingInvicesDO 2 MED-101007982 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007982 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c25e798-90d4-4121-adae-1bd5ba17ce85' LIMIT 1 Date : 2025-06-05T12:48:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T12:48:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008143 post PendingInvicesDO 2 MED-101007983 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-101007983' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007983' OR OrderId='MED-101007983' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T13:11:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008144 post PendingInvicesDO 2 MED-101007984 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007984 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='edec2e3e-e4c4-43a9-9301-1439fbd8e1dc' LIMIT 1 Date : 2025-06-05T13:51:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T13:51:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008145 post PendingInvicesDO 2 MED-101007985 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007985 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9036f146-d503-4294-9901-7340585d8c5f' LIMIT 1 Date : 2025-06-05T14:12:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T14:12:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008146 post PendingInvicesDO 2 MED-101007986 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007986 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1019ae78-0d35-4e0b-b966-dfeff7f6b884' LIMIT 1 Date : 2025-06-05T14:50:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T14:50:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008147 post PendingInvicesDO 2 MED-101007922 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007922 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-101007922' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007922' OR OrderId='MED-101007922' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T15:05:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008148 post PendingInvicesDO 2 MED-101007900 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007900 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-101007900' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007900' OR OrderId='MED-101007900' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T15:40:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008149 post PendingInvicesDO 2 MED-101007989 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007989 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82eca0fa-6b9d-4358-b42b-ce7b8fc7c887' LIMIT 1 Date : 2025-06-05T16:01:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T16:01:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008150 post PendingInvicesDO 2 MED-101007990 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007990 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7566c399-ddd9-4873-b5b7-7ed16fdea4d1' LIMIT 1 Date : 2025-06-05T16:22:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T16:22:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008151 post PendingInvicesDO 2 MED-101007991 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007991 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6a3a336-7c72-41d3-a1d8-e68e421a3497' LIMIT 1 Date : 2025-06-05T16:54:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T16:54:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008152 post PendingInvicesDO 2 MED-101007992 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007992 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c539afb4-6fbc-4556-a975-01f552e9f905' LIMIT 1 Date : 2025-06-05T17:23:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T17:23:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008153 post PendingInvicesDO 2 MED-101007993 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007993 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b934ac0-0ffc-434e-9e8b-50d23063bcaf' LIMIT 1 Date : 2025-06-05T17:52:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T17:52:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008154 post PendingInvicesDO 2 MED-101007994 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007994 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b43d395-8f3c-4f64-a709-e0c4d254bdc1' LIMIT 1 Date : 2025-06-05T18:03:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T18:03:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008155 post PendingInvicesDO 2 MED-101007995 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007995 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dfc2caf3-12e2-4d32-81dd-b952403bdc64' LIMIT 1 Date : 2025-06-05T18:21:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T18:21:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008156 post PendingInvicesDO 2 MED-101007996 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007996 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c93c0f6f-8ea9-49d8-b54c-6f55e9558f77' LIMIT 1 Date : 2025-06-05T18:48:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T18:48:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008157 post PendingInvicesDO 2 MED-101007997 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007997 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb06b521-0a53-4d13-8eec-a7c3ebacb9cb' LIMIT 1 Date : 2025-06-05T18:55:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T18:55:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008158 post PendingInvicesDO 2 MED-101007998 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007998 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9da5cbac-cbea-4d31-a21b-55c8aaa893b2' LIMIT 1 Date : 2025-06-05T19:47:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T19:47:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008159 post PendingInvicesDO 2 MED-101007999 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007999 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32e71c5e-31ae-4d67-acbd-51a8b77c6492' LIMIT 1 Date : 2025-06-05T19:52:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T19:52:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008160 post PendingInvicesDO 2 MED-101008000 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008000 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a868b080-9dc1-4223-84fc-1c5d91f07a66' LIMIT 1 Date : 2025-06-05T20:40:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T20:40:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008161 post PendingInvicesDO 2 MED-101008002 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008002 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6205007e-d4a8-46fb-b1b5-1b9ef0008a90' LIMIT 1 Date : 2025-06-05T21:33:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T21:33:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008162 post PendingInvicesDO 2 MED-101007912 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-101007912' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007912' OR OrderId='MED-101007912' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-08T06:28:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008163 post PendingInvicesDO 2 MED-101008003 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008003 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e5be1a2-ddb7-424d-b4cf-6d7e62451187' LIMIT 1 Date : 2025-06-08T09:11:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T09:11:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008164 post PendingInvicesDO 2 MED-101008004 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008004 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7bf35a9b-c21d-41da-b221-82ce21e2d081' LIMIT 1 Date : 2025-06-08T09:48:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T09:48:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008165 post PendingInvicesDO 2 MED-101008005 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008005 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b9784bb-5a8e-42aa-94bd-b9ea0aa74392' LIMIT 1 Date : 2025-06-08T10:25:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T10:25:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008167 post PendingInvicesDO 2 MED-101008007 post PendingInvicesDO 2 MED-101008006 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008166 post PendingInvicesDO 2 MED-101008007 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008006 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008007 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='996f4723-9488-422b-890e-641b875e727f' LIMIT 1 Date : 2025-06-08T10:55:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42bf7aac-6fb1-496a-81b3-f30128b4de30' LIMIT 1 Date : 2025-06-08T10:55:55  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='996f4723-9488-422b-890e-641b875e727f' LIMIT 1 Date : 2025-06-08T10:55:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42bf7aac-6fb1-496a-81b3-f30128b4de30' LIMIT 1 Date : 2025-06-08T10:55:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-08T10:55:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008168 post PendingInvicesDO 2 MED-101008008 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008008 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c4c132f-1770-4abf-92c6-34aaf88d5bb7' LIMIT 1 Date : 2025-06-08T11:24:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T11:24:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008169 post PendingInvicesDO 2 MED-101008009 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008009 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='578cf851-cbac-4aec-ab7e-01d90d1ed19e' LIMIT 1 Date : 2025-06-08T11:44:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T11:44:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008170 post PendingInvicesDO 2 MED-101008010 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008010 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8d2b7ad-aac4-4522-85e7-0807fdb34794' LIMIT 1 Date : 2025-06-08T11:58:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T11:58:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008171 post PendingInvicesDO 2 MED-101008011 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008011 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b39e5aa7-9bc6-4e30-92c5-c5eef3d605f6' LIMIT 1 Date : 2025-06-08T12:18:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T12:18:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008172 post PendingInvicesDO 2 MED-101007944 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007944 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-101007944' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007944' OR OrderId='MED-101007944' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-08T12:49:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008173 post PendingInvicesDO 2 MED-101008014 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008014 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f51a3b07-5e3b-4077-9523-fdabec39255c' LIMIT 1 Date : 2025-06-08T14:36:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T14:36:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008174 post PendingInvicesDO 2 MED-101008015 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008015 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d1842ee-65cc-4148-8a3b-974562f12774' LIMIT 1 Date : 2025-06-08T15:02:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T15:02:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008175 post PendingInvicesDO 2 MED-101008016 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008016 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77c02f90-8143-43a5-96d8-5aad9a7eda3d' LIMIT 1 Date : 2025-06-08T15:28:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T15:28:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008176 post PendingInvicesDO 2 MED-101008017 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008017 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1219917-1f3a-4c72-a49d-9652ac481905' LIMIT 1 Date : 2025-06-08T15:49:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T15:49:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008177 post PendingInvicesDO 2 MED-101008018 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008018 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22a271b1-2bb4-4b1b-82f2-3f5d51aed4a7' LIMIT 1 Date : 2025-06-08T16:06:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T16:06:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008178 post PendingInvicesDO 2 MED-101008019 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008019 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a86311c-808a-4fec-9a7c-5bd81ad0c2ab' LIMIT 1 Date : 2025-06-08T16:33:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T16:33:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008179 post PendingInvicesDO 2 MED-101008020 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008020 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e7008d9-68b5-40d0-9321-dffe09526180' LIMIT 1 Date : 2025-06-08T16:51:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T16:51:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008180 post PendingInvicesDO 2 MED-101008021 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008021 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a599cbc-71bf-4aa1-a0d4-8336f16c5dc1' LIMIT 1 Date : 2025-06-08T17:05:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T17:05:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008182 post PendingInvicesDO 2 MED-101008023 post PendingInvicesDO 2 MED-101008022 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008181 post PendingInvicesDO 2 MED-101008023 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008022 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008023 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb354197-562a-40f6-856e-0e89f2d13dd3' LIMIT 1 Date : 2025-06-08T17:11:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dfb33d2e-b88b-4aac-b217-7cb8681996bc' LIMIT 1 Date : 2025-06-08T17:11:46  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb354197-562a-40f6-856e-0e89f2d13dd3' LIMIT 1 Date : 2025-06-08T17:11:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dfb33d2e-b88b-4aac-b217-7cb8681996bc' LIMIT 1 Date : 2025-06-08T17:11:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-08T17:11:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008183 post PendingInvicesDO 2 MED-101008024 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008024 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f22f56d-92a2-450e-90ae-6c5ca93735c5' LIMIT 1 Date : 2025-06-08T17:24:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T17:24:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008184 post PendingInvicesDO 2 MED-101008025 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008025 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4cb47fc-2323-42f1-b5a6-c93bb6881790' LIMIT 1 Date : 2025-06-08T17:41:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T17:41:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008186 post PendingInvicesDO 2 MED-101008027 post PendingInvicesDO 2 MED-101008026 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008185 post PendingInvicesDO 2 MED-101008027 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008026 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008027 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7085c5ee-1b40-4297-9eef-778ccfe786a8' LIMIT 1 Date : 2025-06-08T18:06:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2c56a21-3309-4463-8a61-dd09ff6e41fa' LIMIT 1 Date : 2025-06-08T18:06:24  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7085c5ee-1b40-4297-9eef-778ccfe786a8' LIMIT 1 Date : 2025-06-08T18:06:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2c56a21-3309-4463-8a61-dd09ff6e41fa' LIMIT 1 Date : 2025-06-08T18:06:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-08T18:06:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008187 post PendingInvicesDO 2 MED-101007987 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007987 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-101007987' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007987' OR OrderId='MED-101007987' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-08T18:22:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008188 post PendingInvicesDO 2 MED-101008029 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008029 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='041044fd-b7d7-4a57-9e4b-75b471f6d61a' LIMIT 1 Date : 2025-06-09T08:43:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T08:43:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008189 post PendingInvicesDO 2 MED-101008030 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008030 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95101272-2b2d-42cd-bd28-3aa984967ffc' LIMIT 1 Date : 2025-06-09T09:29:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T09:29:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008190 post PendingInvicesDO 2 MED-101008031 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008031 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9279c2b1-2fcd-4b65-aadf-49d4005dd4af' LIMIT 1 Date : 2025-06-09T09:58:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T09:58:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008192 post PendingInvicesDO 2 MED-101008033 post PendingInvicesDO 2 MED-101008032 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008191 post PendingInvicesDO 2 MED-101008033 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008032 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008033 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7f81967-e65e-4a67-b41c-35b4968f5e6b' LIMIT 1 Date : 2025-06-09T10:30:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bab04506-74a6-4270-b793-6318f84e0e9e' LIMIT 1 Date : 2025-06-09T10:30:05  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7f81967-e65e-4a67-b41c-35b4968f5e6b' LIMIT 1 Date : 2025-06-09T10:30:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bab04506-74a6-4270-b793-6318f84e0e9e' LIMIT 1 Date : 2025-06-09T10:30:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-09T10:30:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008193 post PendingInvicesDO 2 MED-101008034 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008034 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26d62225-ef8e-4d39-8d6a-5bdefdb62275' LIMIT 1 Date : 2025-06-09T10:51:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T10:51:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008194 post PendingInvicesDO 2 MED-101008035 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008035 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f9d351a-7c63-4971-8c18-8607edb3e949' LIMIT 1 Date : 2025-06-09T11:16:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T11:16:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008196 post PendingInvicesDO 2 MED-101008037 post PendingInvicesDO 2 MED-101008036 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008195 post PendingInvicesDO 2 MED-101008037 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008036 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008037 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a3bbdfb-b4c9-4d26-968b-94aa7e38dccd' LIMIT 1 Date : 2025-06-09T11:53:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90c3058e-2f23-423a-927c-8abd110aa6bb' LIMIT 1 Date : 2025-06-09T11:53:29  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a3bbdfb-b4c9-4d26-968b-94aa7e38dccd' LIMIT 1 Date : 2025-06-09T11:53:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90c3058e-2f23-423a-927c-8abd110aa6bb' LIMIT 1 Date : 2025-06-09T11:53:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-09T11:53:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008197 post PendingInvicesDO 2 MED-101008038 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008038 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='914f359d-9016-44ea-b691-3161ff49b102' LIMIT 1 Date : 2025-06-09T12:38:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T12:38:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008198 post PendingInvicesDO 2 MED-101008039 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008039 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b065288e-2644-4055-982f-be0d927e895f' LIMIT 1 Date : 2025-06-09T13:20:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T13:20:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008199 post PendingInvicesDO 2 MED-101008040 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008040 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50cb2a0b-1664-4b8b-9805-e939c876a562' LIMIT 1 Date : 2025-06-09T13:54:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T13:54:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008200 post PendingInvicesDO 2 MED-101008041 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008041 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87d7faf0-2f04-4b9a-8b89-5c8324c020a8' LIMIT 1 Date : 2025-06-09T14:17:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T14:17:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008201 post PendingInvicesDO 2 MED-101008042 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008042 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='981a14c7-f175-49ee-b489-dafbd583047f' LIMIT 1 Date : 2025-06-09T14:31:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T14:31:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008202 post PendingInvicesDO 2 MED-101008044 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008044 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a50142f-e091-4d13-bf6d-72df7d68b0dd' LIMIT 1 Date : 2025-06-09T15:30:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T15:30:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008203 post PendingInvicesDO 2 MED-101008045 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008045 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71e32b01-bcbb-48de-ac06-6c686082c024' LIMIT 1 Date : 2025-06-09T16:31:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T16:31:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008204 post PendingInvicesDO 2 MED-101008046 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008046 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5fa53da8-a7f7-4c1e-a885-409bb1dd522f' LIMIT 1 Date : 2025-06-09T17:12:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T17:12:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008205 post PendingInvicesDO 2 MED-101007988 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007988 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-101007988' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007988' OR OrderId='MED-101007988' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-09T17:21:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008206 post PendingInvicesDO 2 MED-101008049 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008049 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bcc326ec-91ab-4684-9110-0d1a1a653b02' LIMIT 1 Date : 2025-06-10T07:38:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T07:38:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008207 post PendingInvicesDO 2 MED-101008050 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008050 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e93fd43-450d-4e2c-a86f-1a88db0203fd' LIMIT 1 Date : 2025-06-10T07:53:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T07:53:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008208 post PendingInvicesDO 2 MED-101008051 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008051 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='667f41f0-e9ee-484f-835f-ee169fbeb166' LIMIT 1 Date : 2025-06-10T08:23:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T08:23:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008209 post PendingInvicesDO 2 MED-101008052 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008052 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f00491d5-f6a4-425a-b918-3660d36fdc33' LIMIT 1 Date : 2025-06-10T08:54:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T08:54:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008210 post PendingInvicesDO 2 MED-101008053 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008053 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d74cee6a-db5f-43c3-9bce-152f16bfbd1e' LIMIT 1 Date : 2025-06-10T09:23:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T09:23:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008211 post PendingInvicesDO 2 MED-101008054 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008054 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e277e310-eb83-4a2f-9559-725901985c23' LIMIT 1 Date : 2025-06-10T09:44:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T09:44:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008212 post PendingInvicesDO 2 MED-101008055 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008055 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2c3fcd5-4c5d-4246-a11e-b6dd31554c00' LIMIT 1 Date : 2025-06-10T10:03:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T10:03:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008213 post PendingInvicesDO 2 MED-101007976 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007976 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-101007976' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007976' OR OrderId='MED-101007976' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-10T10:17:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008214 post PendingInvicesDO 2 MED-101008057 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008057 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b338a28f-984d-47a5-80be-fb9f2557bf90' LIMIT 1 Date : 2025-06-10T10:49:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T10:49:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008215 post PendingInvicesDO 2 MED-101007930 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007930 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-101007930' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007930' OR OrderId='MED-101007930' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-10T11:31:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008216 post PendingInvicesDO 2 MED-101007923 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007923 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-101007923' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007923' OR OrderId='MED-101007923' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-10T12:12:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008217 post PendingInvicesDO 2 MED-101008065 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008065 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d927729-3fb1-4f82-a9ed-2f8153a016c1' LIMIT 1 Date : 2025-06-10T14:34:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T14:34:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008218 post PendingInvicesDO 2 MED-101008066 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008066 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12813bc7-9bbe-46a6-b304-951a3217fe3f' LIMIT 1 Date : 2025-06-10T14:57:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T14:57:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008219 post PendingInvicesDO 2 MED-101008067 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-101008067' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008067' OR OrderId='MED-101008067' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-10T16:02:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008220 post PendingInvicesDO 2 MED-101007912 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-101007912' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007912' OR OrderId='MED-101007912' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-10T16:20:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008221 post PendingInvicesDO 2 MED-101007929 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-101007929' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007929' OR OrderId='MED-101007929' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-10T16:26:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008223 post PendingInvicesDO 2 MED-101008070 post PendingInvicesDO 2 MED-101008069 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008222 post PendingInvicesDO 2 MED-101008070 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008069 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008070 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef79b896-197f-49d3-884a-b7091c721c62' LIMIT 1 Date : 2025-06-10T17:06:12  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b260e9f-c06c-48f7-afba-5c7b450de1e9' LIMIT 1 Date : 2025-06-10T17:06:12  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef79b896-197f-49d3-884a-b7091c721c62' LIMIT 1 Date : 2025-06-10T17:06:12  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b260e9f-c06c-48f7-afba-5c7b450de1e9' LIMIT 1 Date : 2025-06-10T17:06:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-10T17:06:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008224 post PendingInvicesDO 2 MED-101008071 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008071 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='acc000f1-8db0-4670-82b6-763c95ec8a14' LIMIT 1 Date : 2025-06-10T17:20:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T17:20:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008225 post PendingInvicesDO 2 MED-101008072 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008072 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f6ab585-a83d-492f-99d0-ef47a95f0b51' LIMIT 1 Date : 2025-06-10T17:34:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T17:34:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008226 post PendingInvicesDO 2 MED-101008073 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008073 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a525cd60-1ca9-47fe-87cc-274db805236a' LIMIT 1 Date : 2025-06-11T07:58:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T07:58:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008227 post PendingInvicesDO 2 MED-101008074 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008074 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='689c72e4-2659-4fef-9613-cbfae0b7f9e8' LIMIT 1 Date : 2025-06-11T08:07:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T08:07:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008229 post PendingInvicesDO 2 MED-101008076 post PendingInvicesDO 2 MED-101008075 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008228 post PendingInvicesDO 2 MED-101008076 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008075 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008076 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb005b5a-6288-4a15-930f-77dcc9c2ec48' LIMIT 1 Date : 2025-06-11T08:31:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8efb4a6b-4b09-423f-b588-2adc05f1df72' LIMIT 1 Date : 2025-06-11T08:31:28  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb005b5a-6288-4a15-930f-77dcc9c2ec48' LIMIT 1 Date : 2025-06-11T08:31:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8efb4a6b-4b09-423f-b588-2adc05f1df72' LIMIT 1 Date : 2025-06-11T08:31:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-11T08:31:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008230 post PendingInvicesDO 2 MED-101008077 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008077 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e31017f0-61b2-4899-aba7-690f21ca35e4' LIMIT 1 Date : 2025-06-11T08:58:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T08:58:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008231 post PendingInvicesDO 2 MED-101008078 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008078 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84c3b7c2-9dbf-4c6c-b153-adb34669ade5' LIMIT 1 Date : 2025-06-11T09:03:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T09:03:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008232 post PendingInvicesDO 2 MED-101008079 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008079 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb3e7456-4afd-42c0-a1c1-dbc5abfc78f4' LIMIT 1 Date : 2025-06-11T09:37:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T09:37:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008233 post PendingInvicesDO 2 MED-101008028 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008028 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-101008028' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008028' OR OrderId='MED-101008028' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T09:50:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008234 post PendingInvicesDO 2 MED-101008047 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008047 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-101008047' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008047' OR OrderId='MED-101008047' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T10:32:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008235 post PendingInvicesDO 2 MED-101008083 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008083 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b16904da-8e12-4892-900a-38dfe4d421e8' LIMIT 1 Date : 2025-06-11T11:08:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T11:08:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008236 post PendingInvicesDO 2 MED-101008084 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008084 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e06025e-cda9-406f-9d25-eb783694be09' LIMIT 1 Date : 2025-06-11T11:32:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T11:32:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008237 post PendingInvicesDO 2 MED-101007892 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007892 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-101007892' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007892' OR OrderId='MED-101007892' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T13:22:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008238 post PendingInvicesDO 2 MED-101007907 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-101007907' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007907' OR OrderId='MED-101007907' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T13:23:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008239 post PendingInvicesDO 2 MED-101007937 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007937 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-101007937' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007937' OR OrderId='MED-101007937' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T13:24:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008240 post PendingInvicesDO 2 MED-101008087 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008087 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8cdcf80-6b31-4ddc-9980-4668068f9624' LIMIT 1 Date : 2025-06-11T13:38:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T13:38:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008241 post PendingInvicesDO 2 MED-101008088 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008088 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac09565f-c216-4f5e-8515-ff4d507c9cc2' LIMIT 1 Date : 2025-06-11T13:55:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T13:55:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008242 post PendingInvicesDO 2 MED-101007965 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007965 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-101007965' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007965' OR OrderId='MED-101007965' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T14:33:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008243 post PendingInvicesDO 2 MED-101008089 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008089 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff4222f7-1c91-4548-988b-df4445ed6615' LIMIT 1 Date : 2025-06-11T14:35:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T14:35:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008244 post PendingInvicesDO 2 MED-101008090 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008090 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d81d0cd5-853c-4ee8-acad-51e84ae91f10' LIMIT 1 Date : 2025-06-11T14:57:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T14:57:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008245 post PendingInvicesDO 2 MED-101008091 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008091 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b432a2f-5e61-42c4-8d93-61d6d0aec37a' LIMIT 1 Date : 2025-06-11T15:38:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T15:38:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008246 post PendingInvicesDO 2 MED-101008092 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008092 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2294b45a-cbde-40c4-9f63-b2e56dce94dd' LIMIT 1 Date : 2025-06-11T16:23:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T16:23:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008247 post PendingInvicesDO 2 MED-101008012 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-101008012' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008012' OR OrderId='MED-101008012' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T16:48:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008248 post PendingInvicesDO 2 MED-101008093 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008093 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6474433f-9c47-4ba5-9202-5f89e5817a3f' LIMIT 1 Date : 2025-06-11T16:54:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T16:54:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008249 post PendingInvicesDO 2 MED-101008094 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008094 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='641345b1-5b6e-4c59-b0c1-f794e567eb99' LIMIT 1 Date : 2025-06-11T17:10:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T17:10:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008250 post PendingInvicesDO 2 MED-101007898 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007898 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-101007898' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007898' OR OrderId='MED-101007898' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T17:30:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008251 post PendingInvicesDO 2 MED-101007907 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-101007907' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007907' OR OrderId='MED-101007907' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-12T08:09:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008253 post PendingInvicesDO 2 MED-101008100 post PendingInvicesDO 2 MED-101008099 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008252 post PendingInvicesDO 2 MED-101008100 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008099 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008100 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49c337dd-4b53-41b0-8a4c-6386ed38d9e8' LIMIT 1 Date : 2025-06-12T08:27:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='238d03c0-5b9e-458f-9743-f0bb564a0980' LIMIT 1 Date : 2025-06-12T08:27:23  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49c337dd-4b53-41b0-8a4c-6386ed38d9e8' LIMIT 1 Date : 2025-06-12T08:27:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='238d03c0-5b9e-458f-9743-f0bb564a0980' LIMIT 1 Date : 2025-06-12T08:27:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-12T08:27:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008254 post PendingInvicesDO 2 MED-101008101 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008101 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18b1ac37-ccea-478e-8611-42af40686b21' LIMIT 1 Date : 2025-06-12T09:17:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T09:17:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008255 post PendingInvicesDO 2 MED-101007785 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-101007785' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007785' OR OrderId='MED-101007785' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-12T10:20:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008256 post PendingInvicesDO 2 MED-101008105 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008105 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1ff18f1-f2f3-4f02-965a-33b39183a34b' LIMIT 1 Date : 2025-06-12T10:47:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T10:47:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008257 post PendingInvicesDO 2 MED-101008106 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008106 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79fbcda5-3a51-4b82-b3bc-7e83ddc63a0a' LIMIT 1 Date : 2025-06-12T11:06:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T11:06:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008258 post PendingInvicesDO 2 MED-101008107 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008107 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7458706f-ba00-4620-964a-3839a9a1c67f' LIMIT 1 Date : 2025-06-12T11:36:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T11:36:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008259 post PendingInvicesDO 2 MED-101008108 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008108 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f004b5d0-de95-4dc9-8bdd-c9de66ef5561' LIMIT 1 Date : 2025-06-12T12:01:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T12:01:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008260 post PendingInvicesDO 2 MED-101008043 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008043 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-101008043' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008043' OR OrderId='MED-101008043' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-12T12:12:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008261 post PendingInvicesDO 2 MED-101007902 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-101007902' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007902' OR OrderId='MED-101007902' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-12T12:21:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008262 post PendingInvicesDO 2 MED-101008109 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008109 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31b642f6-aa7a-46fc-9607-9de82c0a1d82' LIMIT 1 Date : 2025-06-12T13:00:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T13:00:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008263 post PendingInvicesDO 2 MED-101008110 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008110 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='659fbb46-a8fc-4356-9ddb-3dbc65191a9f' LIMIT 1 Date : 2025-06-12T13:35:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T13:35:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008264 post PendingInvicesDO 2 MED-101008111 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008111 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c800431-f447-4e7a-9638-588a474e2527' LIMIT 1 Date : 2025-06-12T14:04:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T14:04:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008265 post PendingInvicesDO 2 MED-101008112 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008112 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='838b7788-6b8e-4f6c-bee0-3bd846f0d293' LIMIT 1 Date : 2025-06-12T14:27:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T14:27:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008266 post PendingInvicesDO 2 MED-101008113 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008113 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbb072c5-7317-4ad9-81c2-d2ae7c22167f' LIMIT 1 Date : 2025-06-12T15:05:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T15:06:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008267 post PendingInvicesDO 2 MED-101008114 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008114 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69963358-4ec9-4d00-8b83-b5e963cdc13f' LIMIT 1 Date : 2025-06-12T16:01:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T16:01:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008268 post PendingInvicesDO 2 MED-101008115 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008115 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1dc3630-e084-4d86-94c0-8068aa90a437' LIMIT 1 Date : 2025-06-12T16:21:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T16:21:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008269 post PendingInvicesDO 2 MED-101008116 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008116 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e64c0b1-15b0-432c-905f-150f359e434d' LIMIT 1 Date : 2025-06-12T16:46:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T16:46:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008270 post PendingInvicesDO 2 MED-101008117 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008117 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a6b8d61-8caf-4d3f-93a0-a274e3d8d31d' LIMIT 1 Date : 2025-06-12T16:48:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T16:48:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008271 post PendingInvicesDO 2 MED-101008119 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008119 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2272bc0c-0062-4f9c-a178-ed39dac3c2ba' LIMIT 1 Date : 2025-06-12T17:09:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T17:09:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008272 post PendingInvicesDO 2 MED-101008120 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008120 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2fc1ad0-54dc-4b1b-86c8-40199bab665a' LIMIT 1 Date : 2025-06-12T17:18:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T17:18:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008273 post PendingInvicesDO 2 MED-101008121 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008121 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46b59cfe-56b1-4a5b-a1eb-48b6acf99a69' LIMIT 1 Date : 2025-06-12T17:30:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T17:30:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008274 post PendingInvicesDO 2 MED-101008122 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008122 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9b3a219-6c83-4f13-bcd7-ea78c513134b' LIMIT 1 Date : 2025-06-12T17:41:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T17:41:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008275 post PendingInvicesDO 2 MED-101008124 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008124 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e64b0ba-34e8-4e32-b37e-a14585457ad9' LIMIT 1 Date : 2025-06-14T08:46:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T08:46:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008276 post PendingInvicesDO 2 MED-101008125 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008125 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85e2ccce-0af0-4d0d-990b-5fa2c90f8e06' LIMIT 1 Date : 2025-06-14T08:51:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T08:51:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008277 post PendingInvicesDO 2 MED-101008012 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-101008012' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008012' OR OrderId='MED-101008012' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-14T08:52:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008278 post PendingInvicesDO 2 MED-101008126 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008126 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e4e9e51-1784-460b-92cd-d0e6b13a4311' LIMIT 1 Date : 2025-06-14T08:54:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T08:54:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008279 post PendingInvicesDO 2 MED-101008127 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008127 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91bf0bb8-c9c4-4028-bb1a-953022c9c90d' LIMIT 1 Date : 2025-06-14T08:58:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T08:58:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008280 post PendingInvicesDO 2 MED-101008128 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008128 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5828ab54-d5be-406a-b9b4-7b92d2a946c9' LIMIT 1 Date : 2025-06-14T09:11:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T09:11:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008281 post PendingInvicesDO 2 MED-101008129 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008129 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae85c898-4457-42cf-9122-e84d89a48bb1' LIMIT 1 Date : 2025-06-14T09:15:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T09:15:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008283 post PendingInvicesDO 2 MED-101008059 post PendingInvicesDO 2 MED-101008058 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008282 post PendingInvicesDO 2 MED-101008059 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008058 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008059 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-101008059' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008059' OR OrderId='MED-101008059' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008059' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008059' OR OrderId='MED-101008059' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-14T09:20:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008285 post PendingInvicesDO 2 MED-101008132 post PendingInvicesDO 2 MED-101008131 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008284 post PendingInvicesDO 2 MED-101008132 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008131 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008132 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0648444e-0ac3-464b-ad0a-b1d0f70168d5' LIMIT 1 Date : 2025-06-14T10:04:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a379bbd1-a52b-4fd4-a176-94809e4909d2' LIMIT 1 Date : 2025-06-14T10:04:30  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0648444e-0ac3-464b-ad0a-b1d0f70168d5' LIMIT 1 Date : 2025-06-14T10:04:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a379bbd1-a52b-4fd4-a176-94809e4909d2' LIMIT 1 Date : 2025-06-14T10:04:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-14T10:04:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008287 post PendingInvicesDO 2 MED-101007953 post PendingInvicesDO 2 MED-101007952 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008286 post PendingInvicesDO 2 MED-101007953 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101007952 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007953 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-101007953' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007953' OR OrderId='MED-101007953' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101007953' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007953' OR OrderId='MED-101007953' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-14T10:25:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008288 post PendingInvicesDO 2 MED-101008135 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008135 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba21a068-7d3a-4b04-a2f2-8000bae5444e' LIMIT 1 Date : 2025-06-14T11:42:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T11:42:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008289 post PendingInvicesDO 2 MED-101008137 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008137 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a068a21-3616-4d28-b99d-14ae0a59f34f' LIMIT 1 Date : 2025-06-14T12:18:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T12:18:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008290 post PendingInvicesDO 2 MED-101008138 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008138 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d84ec56-113d-4f27-a6dd-65b689dd5887' LIMIT 1 Date : 2025-06-14T12:57:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T12:57:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008292 post PendingInvicesDO 2 MED-101008140 post PendingInvicesDO 2 MED-101008139 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008291 post PendingInvicesDO 2 MED-101008140 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008139 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008140 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0ac3970-40bd-4577-89a9-e2a002a6fe27' LIMIT 1 Date : 2025-06-14T13:02:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ddab45a-a584-4ac2-99b6-b0060c4b185f' LIMIT 1 Date : 2025-06-14T13:02:29  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0ac3970-40bd-4577-89a9-e2a002a6fe27' LIMIT 1 Date : 2025-06-14T13:02:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ddab45a-a584-4ac2-99b6-b0060c4b185f' LIMIT 1 Date : 2025-06-14T13:02:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-14T13:02:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008293 post PendingInvicesDO 2 MED-101008142 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008142 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc360d2b-118c-41a9-9a6e-48a210b00f27' LIMIT 1 Date : 2025-06-14T13:50:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T13:50:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008294 post PendingInvicesDO 2 MED-101008068 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008068 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-101008068' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008068' OR OrderId='MED-101008068' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-14T13:51:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008295 post PendingInvicesDO 2 MED-101007959 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007959 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-101007959' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007959' OR OrderId='MED-101007959' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-14T14:12:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008296 post PendingInvicesDO 2 MED-101008146 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008146 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e1c725ad-e99a-4b5f-8a33-d860b27293c8' LIMIT 1 Date : 2025-06-14T16:59:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T16:59:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008297 post PendingInvicesDO 2 MED-101008147 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008147 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14c7eb50-94a2-48ba-9e10-4728dc823dc2' LIMIT 1 Date : 2025-06-14T17:34:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T17:34:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008298 post PendingInvicesDO 2 MED-101008061 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008061 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-101008061' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008061' OR OrderId='MED-101008061' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-14T21:49:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008299 post PendingInvicesDO 2 MED-101007907 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-101007907' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007907' OR OrderId='MED-101007907' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-15T08:20:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008301 post PendingInvicesDO 2 MED-101008150 post PendingInvicesDO 2 MED-101008149 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008300 post PendingInvicesDO 2 MED-101008150 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008149 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008150 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d82c664-6387-4985-b975-e6bbf5766c24' LIMIT 1 Date : 2025-06-15T08:46:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='54b87df0-c80a-4a85-8e25-bb978779f224' LIMIT 1 Date : 2025-06-15T08:46:49  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d82c664-6387-4985-b975-e6bbf5766c24' LIMIT 1 Date : 2025-06-15T08:46:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='54b87df0-c80a-4a85-8e25-bb978779f224' LIMIT 1 Date : 2025-06-15T08:46:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-15T08:46:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008302 post PendingInvicesDO 2 MED-101008151 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008151 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbd66b99-5bcf-413a-9309-8d8c2f9b97e8' LIMIT 1 Date : 2025-06-15T09:16:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T09:16:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008303 post PendingInvicesDO 2 MED-101008152 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008152 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21af69b8-e3df-4d4e-be98-850e9db63c1c' LIMIT 1 Date : 2025-06-15T09:38:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T09:38:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008304 post PendingInvicesDO 2 MED-101008153 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008153 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='80e65394-39ef-4db5-8071-9f2d74aea747' LIMIT 1 Date : 2025-06-15T10:07:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T10:07:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008305 post PendingInvicesDO 2 MED-101008154 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008154 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e734d24-ff79-4373-905c-4e38f7c1f324' LIMIT 1 Date : 2025-06-15T10:21:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T10:21:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008306 post PendingInvicesDO 2 MED-101008155 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008155 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4aeb5b78-464b-4c46-bac8-f94c513bcd8d' LIMIT 1 Date : 2025-06-15T10:49:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T10:49:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008307 post PendingInvicesDO 2 MED-101008156 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008156 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff2ee639-673a-4182-b940-d1fa7b41e075' LIMIT 1 Date : 2025-06-15T11:11:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T11:11:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008309 post PendingInvicesDO 2 MED-101008081 post PendingInvicesDO 2 MED-101008080 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008308 post PendingInvicesDO 2 MED-101008081 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008080 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008081 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-101008081' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008081' OR OrderId='MED-101008081' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008081' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008081' OR OrderId='MED-101008081' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-15T11:28:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008310 post PendingInvicesDO 2 MED-101008082 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-101008082' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008082' OR OrderId='MED-101008082' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-15T12:09:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008311 post PendingInvicesDO 2 MED-101008013 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008013 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-101008013' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008013' OR OrderId='MED-101008013' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-15T12:17:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008312 post PendingInvicesDO 2 MED-101008159 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008159 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63fba8b8-c030-45fc-8ecb-ec8178863cc8' LIMIT 1 Date : 2025-06-15T14:17:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T14:17:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008313 post PendingInvicesDO 2 MED-101008160 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008160 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2061d45f-2522-4847-b9cf-c5cf2ba85f02' LIMIT 1 Date : 2025-06-15T14:56:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T14:56:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008314 post PendingInvicesDO 2 MED-101008161 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008161 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec0a7a37-08ca-4ef2-ac95-85a6a68d12eb' LIMIT 1 Date : 2025-06-15T15:14:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T15:14:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008315 post PendingInvicesDO 2 MED-101008162 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008162 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a9d7bf0-998c-47ce-bae2-b27fff9c7976' LIMIT 1 Date : 2025-06-15T15:50:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T15:50:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008316 post PendingInvicesDO 2 MED-101008163 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008163 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b7bd237-0d5f-46c0-a010-db62f5c32d1c' LIMIT 1 Date : 2025-06-15T16:43:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T16:43:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008317 post PendingInvicesDO 2 MED-101008164 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008164 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd0abc65-93ae-4346-ac01-a37c26de4e00' LIMIT 1 Date : 2025-06-15T16:54:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T16:54:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008318 post PendingInvicesDO 2 MED-101008165 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008165 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e280d46-bcb8-4be7-ad72-b0e36a91b4e1' LIMIT 1 Date : 2025-06-15T17:10:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T17:10:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008319 post PendingInvicesDO 2 MED-101008166 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008166 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8e174b0-1378-40a0-8347-dca4c74ae0bc' LIMIT 1 Date : 2025-06-15T17:12:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T17:12:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008320 post PendingInvicesDO 2 MED-101008167 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008167 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ab321d7-735b-4fb0-9174-b60e1a85456b' LIMIT 1 Date : 2025-06-15T17:18:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T17:18:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008321 post PendingInvicesDO 2 MED-101007967 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007967 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-101007967' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007967' OR OrderId='MED-101007967' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-15T17:33:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008322 post PendingInvicesDO 2 MED-101008136 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-101008136' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008136' OR OrderId='MED-101008136' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-15T19:28:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008323 post PendingInvicesDO 2 MED-101008169 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008169 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='524a0c27-53b6-4629-b759-03732eaeec1b' LIMIT 1 Date : 2025-06-16T08:46:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T08:46:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008325 post PendingInvicesDO 2 MED-101008086 post PendingInvicesDO 2 MED-101008085 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008324 post PendingInvicesDO 2 MED-101008086 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008085 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008086 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-101008086' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008086' OR OrderId='MED-101008086' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008086' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008086' OR OrderId='MED-101008086' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-16T10:16:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008326 post PendingInvicesDO 2 MED-101008172 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008172 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23931b8f-3bc5-4a0c-a4ca-01925c4424f3' LIMIT 1 Date : 2025-06-16T10:23:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T10:23:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008327 post PendingInvicesDO 2 MED-101008174 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008174 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b72270dd-f598-4733-a3b8-d47a301ed0a7' LIMIT 1 Date : 2025-06-16T11:12:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T11:12:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008328 post PendingInvicesDO 2 MED-101008178 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008178 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9adb6d8-dc68-4563-88d9-2ede5c222aa5' LIMIT 1 Date : 2025-06-16T13:11:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T13:11:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008329 post PendingInvicesDO 2 MED-101008179 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008179 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='040608aa-b145-4394-b3ed-148da483fdd0' LIMIT 1 Date : 2025-06-16T13:59:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T13:59:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008330 post PendingInvicesDO 2 MED-101008180 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008180 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0904d872-9f62-4c16-9bf1-98ed93bbc795' LIMIT 1 Date : 2025-06-16T14:26:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T14:26:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008331 post PendingInvicesDO 2 MED-101008181 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008181 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d8fec32-f5c4-458f-b6d9-ba061f32264a' LIMIT 1 Date : 2025-06-16T14:47:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T14:47:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008332 post PendingInvicesDO 2 MED-101008056 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008056 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-101008056' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008056' OR OrderId='MED-101008056' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-16T15:12:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008334 post PendingInvicesDO 2 MED-101008064 post PendingInvicesDO 2 MED-101008063 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008333 post PendingInvicesDO 2 MED-101008064 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008063 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008064 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-101008064' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008064' OR OrderId='MED-101008064' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008064' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008064' OR OrderId='MED-101008064' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-16T16:08:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008335 post PendingInvicesDO 2 MED-101008098 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008098 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-101008098' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008098' OR OrderId='MED-101008098' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-16T16:17:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008336 post PendingInvicesDO 2 MED-101008187 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008187 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38e478c2-fd1e-4037-a4c4-872cca43c272' LIMIT 1 Date : 2025-06-16T16:46:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T16:46:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008337 post PendingInvicesDO 2 MED-101008188 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008188 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='297222ff-1fec-46c4-8a32-5d4e9d227795' LIMIT 1 Date : 2025-06-16T17:09:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T17:09:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008338 post PendingInvicesDO 2 MED-101008189 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008189 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8180bed-6a34-4e94-88d7-9f7c7c5e180b' LIMIT 1 Date : 2025-06-16T17:38:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T17:38:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008339 post PendingInvicesDO 2 MED-101008062 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008062 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-101008062' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008062' OR OrderId='MED-101008062' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-16T21:53:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008340 post PendingInvicesDO 2 MED-101008060 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-101008060' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008060' OR OrderId='MED-101008060' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T07:28:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008341 post PendingInvicesDO 2 MED-101008118 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008118 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-101008118' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008118' OR OrderId='MED-101008118' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T07:29:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008342 post PendingInvicesDO 2 MED-101008048 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008048 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-101008048' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008048' OR OrderId='MED-101008048' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T07:29:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008344 post PendingInvicesDO 2 MED-101008193 post PendingInvicesDO 2 MED-101008192 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008343 post PendingInvicesDO 2 MED-101008193 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008192 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008193 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56117895-9ce9-4788-91e7-4527a4c4c3fd' LIMIT 1 Date : 2025-06-17T08:17:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5391d13b-438c-4619-b6f0-59d7f6b60e22' LIMIT 1 Date : 2025-06-17T08:17:34  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56117895-9ce9-4788-91e7-4527a4c4c3fd' LIMIT 1 Date : 2025-06-17T08:17:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5391d13b-438c-4619-b6f0-59d7f6b60e22' LIMIT 1 Date : 2025-06-17T08:17:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-17T08:17:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008345 post PendingInvicesDO 2 MED-101008104 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008104 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-101008104' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008104' OR OrderId='MED-101008104' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T09:00:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008346 post PendingInvicesDO 2 MED-101008195 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008195 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7ceed1f-44e1-4e70-9c50-fed313cfd6f0' LIMIT 1 Date : 2025-06-17T09:41:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T09:41:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008348 post PendingInvicesDO 2 MED-101008095 post PendingInvicesDO 2 MED-101008096 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008347 post PendingInvicesDO 2 MED-101008095 post PendingInvicesDO 2 MED-101008097 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008096 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008097 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008095 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-101008095' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008095' OR OrderId='MED-101008095' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008095' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008095' OR OrderId='MED-101008095' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008097' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008097' OR OrderId='MED-101008097' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T09:46:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008349 post PendingInvicesDO 2 MED-101008197 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008197 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2f8fb94-e45e-4244-931d-d307f280b395' LIMIT 1 Date : 2025-06-17T10:29:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T10:29:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008350 post PendingInvicesDO 2 MED-101008198 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008198 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2618d23-008a-452a-81d1-ceb33f221d40' LIMIT 1 Date : 2025-06-17T11:16:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T11:16:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008351 post PendingInvicesDO 2 MED-101008199 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008199 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6244935f-3fb9-47cf-8a85-c78aa218d89c' LIMIT 1 Date : 2025-06-17T11:51:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T11:51:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008352 post PendingInvicesDO 2 MED-101008200 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008200 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63195e1b-efea-4899-ab4c-3a2e8ab37369' LIMIT 1 Date : 2025-06-17T13:12:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T13:12:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008353 post PendingInvicesDO 2 MED-101008201 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008201 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47f0b3d5-f830-4dbf-a1cd-d3f8041eef6a' LIMIT 1 Date : 2025-06-17T13:37:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T13:37:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008354 post PendingInvicesDO 2 MED-101008202 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008202 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a75a3390-fd09-4b8e-9a0e-a31437da9847' LIMIT 1 Date : 2025-06-17T14:05:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T14:05:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008355 post PendingInvicesDO 2 MED-101008203 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008203 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cab8ba4e-0488-4895-9e8e-71945bc215bf' LIMIT 1 Date : 2025-06-17T14:19:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T14:19:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008356 post PendingInvicesDO 2 MED-101008204 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008204 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6c1fc63-adfc-4599-aaf2-4d482f3ac865' LIMIT 1 Date : 2025-06-17T15:03:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T15:03:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008357 post PendingInvicesDO 2 MED-101008205 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008205 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3346cf96-28b5-4aca-a998-f3c02d3bfa1e' LIMIT 1 Date : 2025-06-17T15:28:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T15:28:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008358 post PendingInvicesDO 2 MED-101008206 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008206 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6daf07ba-e861-4b07-a304-76307f7c9610' LIMIT 1 Date : 2025-06-17T15:42:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T15:42:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008359 post PendingInvicesDO 2 MED-101008207 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008207 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f258ed9-9380-46a8-b759-6ea716d1d325' LIMIT 1 Date : 2025-06-17T16:29:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T16:29:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008360 post PendingInvicesDO 2 MED-101008208 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008208 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32db4aea-22b0-45b8-ba62-578b0085edb1' LIMIT 1 Date : 2025-06-17T16:55:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T16:55:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008361 post PendingInvicesDO 2 MED-101008209 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008209 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d784a937-3c82-459e-8cd7-9a547ce3f762' LIMIT 1 Date : 2025-06-17T17:15:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T17:15:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008362 post PendingInvicesDO 2 MED-101008210 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008210 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='efb20627-2f31-4547-8fee-69ab044517fc' LIMIT 1 Date : 2025-06-17T17:49:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T17:49:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008363 post PendingInvicesDO 2 MED-101008060 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-101008060' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008060' OR OrderId='MED-101008060' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T18:06:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008364 post PendingInvicesDO 2 MED-101008212 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008212 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ca49fa0-5191-401d-bb1d-c3cd57bd9601' LIMIT 1 Date : 2025-06-17T19:35:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T19:35:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008365 post PendingInvicesDO 2 MED-101008214 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008214 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d239462b-2f5d-4e89-8720-f297ca0413ea' LIMIT 1 Date : 2025-06-18T08:54:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T08:54:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008366 post PendingInvicesDO 2 MED-101008134 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008134 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-101008134' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008134' OR OrderId='MED-101008134' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-18T09:39:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008367 post PendingInvicesDO 2 MED-101008216 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008216 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2855107b-f8fb-4c35-812e-a19bd883f708' LIMIT 1 Date : 2025-06-18T10:09:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T10:09:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008368 post PendingInvicesDO 2 MED-101008136 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-101008136' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008136' OR OrderId='MED-101008136' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-18T10:31:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008369 post PendingInvicesDO 2 MED-101008218 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008218 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='575eca1b-6a52-4b5b-9128-89c6885fa581' LIMIT 1 Date : 2025-06-18T11:19:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T11:19:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008370 post PendingInvicesDO 2 MED-101008219 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008219 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc5e8363-0f26-45ee-830d-bb889d919dd5' LIMIT 1 Date : 2025-06-18T11:44:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T11:44:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008371 post PendingInvicesDO 2 MED-101008220 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008220 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c4af507-9a61-4ba4-82bc-79083c9396ed' LIMIT 1 Date : 2025-06-18T12:25:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T12:25:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008372 post PendingInvicesDO 2 MED-101008190 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008190 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-101008190' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008190' OR OrderId='MED-101008190' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-18T13:37:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008373 post PendingInvicesDO 2 MED-101008222 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008222 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6243d51-a78b-4845-8cff-15036d264cb3' LIMIT 1 Date : 2025-06-18T13:56:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T13:56:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008374 post PendingInvicesDO 2 MED-101008223 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008223 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43e5cba6-0f30-47fa-9273-ad53c952bcd0' LIMIT 1 Date : 2025-06-18T14:09:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T14:09:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008375 post PendingInvicesDO 2 MED-101008224 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008224 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6ef5800-8125-44e8-ae1c-d68fc160c083' LIMIT 1 Date : 2025-06-18T14:33:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T14:33:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008376 post PendingInvicesDO 2 MED-101008225 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008225 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b92f483-33b6-4dc2-99f4-cc9da7f691fd' LIMIT 1 Date : 2025-06-18T14:50:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T14:50:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008377 post PendingInvicesDO 2 MED-101008226 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008226 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c77397fa-ba9d-40ad-9498-f7d0357269b5' LIMIT 1 Date : 2025-06-18T15:02:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T15:02:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008378 post PendingInvicesDO 2 MED-101008227 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008227 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0367698d-fbeb-4fa4-b0b8-875e7504edcf' LIMIT 1 Date : 2025-06-18T15:15:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T15:15:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008379 post PendingInvicesDO 2 MED-101008228 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008228 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3df2f1a-ac9f-4b39-ac2d-74dc3ee9367c' LIMIT 1 Date : 2025-06-18T15:31:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T15:31:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008380 post PendingInvicesDO 2 MED-101008229 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008229 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90c0dda7-49ee-4fc3-839b-fc2f14254ad0' LIMIT 1 Date : 2025-06-18T15:53:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T15:53:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008381 post PendingInvicesDO 2 MED-101007983 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-101007983' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007983' OR OrderId='MED-101007983' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-18T15:57:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008382 post PendingInvicesDO 2 MED-101008231 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008231 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aef66cd4-ef76-4df2-857f-932940c033d4' LIMIT 1 Date : 2025-06-18T16:24:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T16:24:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008383 post PendingInvicesDO 2 MED-101008232 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008232 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='079cff06-bd3e-401b-8810-af9a061b1543' LIMIT 1 Date : 2025-06-18T16:29:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T16:29:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008384 post PendingInvicesDO 2 MED-101008233 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008233 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28227571-0e78-4151-b788-2b524869c754' LIMIT 1 Date : 2025-06-18T17:00:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T17:00:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008385 post PendingInvicesDO 2 MED-101008236 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008236 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99c398b0-d400-467c-9f2a-bc44cdeaa59a' LIMIT 1 Date : 2025-06-18T17:49:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T17:49:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008386 post PendingInvicesDO 2 MED-101008237 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008237 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ecbf4b7f-ea1d-4fd6-9beb-2b45c8e21117' LIMIT 1 Date : 2025-06-18T18:25:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T18:25:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008387 post PendingInvicesDO 2 MED-101008082 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-101008082' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008082' OR OrderId='MED-101008082' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-18T18:49:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008388 post PendingInvicesDO 2 MED-101008240 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008240 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='afb7ad62-845b-4375-a1b2-f8605a1ec633' LIMIT 1 Date : 2025-06-19T10:10:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T10:10:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008389 post PendingInvicesDO 2 MED-101008241 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008241 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1cf3eca-c72a-47ea-82ed-4b560d34b9bc' LIMIT 1 Date : 2025-06-19T10:45:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T10:45:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008391 post PendingInvicesDO 2 MED-101008243 post PendingInvicesDO 2 MED-101008242 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008390 post PendingInvicesDO 2 MED-101008243 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008242 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008243 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36f137b9-c827-486b-9cc1-c3fddb332ac7' LIMIT 1 Date : 2025-06-19T11:16:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='89cdb69c-822d-46f9-97f6-d769e87a68e4' LIMIT 1 Date : 2025-06-19T11:16:25  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36f137b9-c827-486b-9cc1-c3fddb332ac7' LIMIT 1 Date : 2025-06-19T11:16:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='89cdb69c-822d-46f9-97f6-d769e87a68e4' LIMIT 1 Date : 2025-06-19T11:16:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-19T11:16:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008392 post PendingInvicesDO 2 MED-101008244 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008244 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb51d085-9380-41af-8b16-ba6bbd357ba2' LIMIT 1 Date : 2025-06-19T11:23:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T11:23:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008393 post PendingInvicesDO 2 MED-101008245 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008245 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88773867-aead-4d13-806a-45e0ae8889c2' LIMIT 1 Date : 2025-06-19T11:30:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T11:30:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008394 post PendingInvicesDO 2 MED-101008246 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008246 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='967e2495-f24b-4109-ac1b-93ef1bcdf66e' LIMIT 1 Date : 2025-06-19T11:49:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T11:49:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008395 post PendingInvicesDO 2 MED-101008247 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008247 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='466f34ed-ea5d-4b8a-aacd-3511bfdf88ab' LIMIT 1 Date : 2025-06-19T12:24:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T12:24:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008396 post PendingInvicesDO 2 MED-101008250 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008250 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5053ed63-3b02-4aa7-b7e4-d42ca7dcc68e' LIMIT 1 Date : 2025-06-19T14:00:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T14:00:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008397 post PendingInvicesDO 2 MED-101008251 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008251 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea9be126-2095-4e5f-a7a6-9d95475990e6' LIMIT 1 Date : 2025-06-19T14:19:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T14:19:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008398 post PendingInvicesDO 2 MED-101008252 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008252 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5270a019-2a17-405d-99bb-594158d4c3cb' LIMIT 1 Date : 2025-06-19T14:41:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T14:41:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008399 post PendingInvicesDO 2 MED-101008253 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008253 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='150ba66a-40e2-484f-8399-da9c6f6ce118' LIMIT 1 Date : 2025-06-19T15:19:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T15:19:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008400 post PendingInvicesDO 2 MED-101008256 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008256 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed0b1493-f7c0-4b72-8342-bebc9b5ce861' LIMIT 1 Date : 2025-06-19T16:09:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T16:09:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008401 post PendingInvicesDO 2 MED-101008257 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008257 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a457ab37-c799-46a1-8acf-8b7a34abe40c' LIMIT 1 Date : 2025-06-19T16:43:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T16:43:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008402 post PendingInvicesDO 2 MED-101008258 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008258 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b23f0f0f-3b2a-42f3-ba77-fbd71d485dbd' LIMIT 1 Date : 2025-06-19T17:13:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T17:13:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008403 post PendingInvicesDO 2 MED-101008260 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008260 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6baebe96-976c-4214-a16e-6a02fad00657' LIMIT 1 Date : 2025-06-19T18:07:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T18:07:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008405 post PendingInvicesDO 2 MED-101008255 post PendingInvicesDO 2 MED-101008254 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008404 post PendingInvicesDO 2 MED-101008255 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008254 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008255 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-101008255' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008255' OR OrderId='MED-101008255' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008255' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008255' OR OrderId='MED-101008255' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-19T18:20:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008406 post PendingInvicesDO 2 MED-101008261 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008261 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47ec830e-cdbf-4c06-8923-f3e8a4d12749' LIMIT 1 Date : 2025-06-19T18:30:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T18:30:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008407 post PendingInvicesDO 2 MED-101008262 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008262 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23779d7a-c8ae-4ea9-9825-b527f9a668ce' LIMIT 1 Date : 2025-06-19T18:36:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T18:36:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008408 post PendingInvicesDO 2 MED-101008263 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008263 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c020a76-c0fd-47c0-9fbf-334a1ccb116f' LIMIT 1 Date : 2025-06-19T18:41:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T18:41:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008409 post PendingInvicesDO 2 MED-101008264 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008264 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdd9010d-cfe1-417a-9a53-6d77e358cae6' LIMIT 1 Date : 2025-06-19T18:58:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T18:58:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008410 post PendingInvicesDO 2 MED-101008265 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008265 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='effee126-4c19-49e3-b86d-33cf9ba93d90' LIMIT 1 Date : 2025-06-21T09:00:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T09:00:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008411 post PendingInvicesDO 2 MED-101008266 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008266 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a9f06d6-524d-4c70-9c0d-22a706cc0977' LIMIT 1 Date : 2025-06-21T09:10:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T09:10:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008412 post PendingInvicesDO 2 MED-101008267 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008267 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e4e773c-fbd5-4a56-ba15-def67f4317e5' LIMIT 1 Date : 2025-06-21T09:22:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T09:22:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008413 post PendingInvicesDO 2 MED-101008268 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008268 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b48cd81b-a27e-4397-b832-57e0780ddce6' LIMIT 1 Date : 2025-06-21T09:51:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T09:51:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008414 post PendingInvicesDO 2 MED-101008269 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008269 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3141af6-08bc-41e8-8078-443d3cf758b3' LIMIT 1 Date : 2025-06-21T10:13:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T10:13:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008415 post PendingInvicesDO 2 MED-101008270 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008270 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00b25786-1388-4a18-9b19-8cca5b20ab3e' LIMIT 1 Date : 2025-06-21T10:36:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T10:36:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008417 post PendingInvicesDO 2 MED-101008272 post PendingInvicesDO 2 MED-101008271 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008416 post PendingInvicesDO 2 MED-101008272 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008271 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008272 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9cca36a-42c2-4630-aa6a-2f40b3ac1de5' LIMIT 1 Date : 2025-06-21T11:20:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ac19e1d-ea33-4bea-ba68-f2a5298ad6f4' LIMIT 1 Date : 2025-06-21T11:20:20  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9cca36a-42c2-4630-aa6a-2f40b3ac1de5' LIMIT 1 Date : 2025-06-21T11:20:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ac19e1d-ea33-4bea-ba68-f2a5298ad6f4' LIMIT 1 Date : 2025-06-21T11:20:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-21T11:20:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008419 post PendingInvicesDO 2 MED-101008274 post PendingInvicesDO 2 MED-101008273 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008418 post PendingInvicesDO 2 MED-101008274 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008273 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008274 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b550610-17ad-4ae3-85ad-cc382b7a8564' LIMIT 1 Date : 2025-06-21T11:42:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee51036c-d5b3-4804-87b6-60871746635c' LIMIT 1 Date : 2025-06-21T11:42:06  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b550610-17ad-4ae3-85ad-cc382b7a8564' LIMIT 1 Date : 2025-06-21T11:42:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee51036c-d5b3-4804-87b6-60871746635c' LIMIT 1 Date : 2025-06-21T11:42:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-21T11:42:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008420 post PendingInvicesDO 2 MED-101008275 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008275 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3446c8b3-588e-4dc4-b075-89a2d8b38833' LIMIT 1 Date : 2025-06-21T12:04:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T12:04:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008421 post PendingInvicesDO 2 MED-101008276 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008276 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f662b5d-27ea-41e2-baa5-27fc17db705a' LIMIT 1 Date : 2025-06-21T12:31:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T12:31:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008422 post PendingInvicesDO 2 MED-101008277 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008277 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb971ce5-5151-4998-8f72-bc91fc18edba' LIMIT 1 Date : 2025-06-21T13:10:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T13:10:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008423 post PendingInvicesDO 2 MED-101008278 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008278 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='430ef35a-0614-43cc-9e38-e94bcaea2083' LIMIT 1 Date : 2025-06-21T13:30:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T13:30:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008424 post PendingInvicesDO 2 MED-101008279 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008279 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cec78de4-e64e-4dbe-9164-0c7b7c87fd1b' LIMIT 1 Date : 2025-06-21T13:52:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T13:52:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008425 post PendingInvicesDO 2 MED-101008280 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008280 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34107f92-b2dd-43a3-851c-a06bbb173f7b' LIMIT 1 Date : 2025-06-21T14:06:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T14:06:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008426 post PendingInvicesDO 2 MED-101008281 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008281 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='850a0aa1-1cce-4e5d-b456-56b2072576a9' LIMIT 1 Date : 2025-06-21T14:28:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T14:28:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008427 post PendingInvicesDO 2 MED-101008282 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008282 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7121f38e-f2ff-4d36-9a1f-d459feecf32d' LIMIT 1 Date : 2025-06-21T14:44:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T14:44:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008428 post PendingInvicesDO 2 MED-101008283 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008283 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1f639d4-219b-4a6b-823b-ca0c4e56b52f' LIMIT 1 Date : 2025-06-21T15:11:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T15:11:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008429 post PendingInvicesDO 2 MED-101008284 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008284 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f1e3de0-87f4-4a54-9f13-34d3f0d5039d' LIMIT 1 Date : 2025-06-21T15:37:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T15:37:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008430 post PendingInvicesDO 2 MED-101008285 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008285 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62f82170-8232-49e0-a076-41d23e5e3a98' LIMIT 1 Date : 2025-06-21T16:01:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T16:01:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008431 post PendingInvicesDO 2 MED-101008286 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008286 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63c10c4f-6a6b-483b-b8fd-d777f247f465' LIMIT 1 Date : 2025-06-21T16:39:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T16:39:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008432 post PendingInvicesDO 2 MED-101008287 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008287 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eba92bc6-9410-4f40-8802-43cf7dd034a5' LIMIT 1 Date : 2025-06-21T16:41:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T16:41:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008433 post PendingInvicesDO 2 MED-101008196 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-101008196' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008196' OR OrderId='MED-101008196' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-21T16:43:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008434 post PendingInvicesDO 2 MED-101008288 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008288 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4060f815-a18d-4b13-9c2a-0c60b567c565' LIMIT 1 Date : 2025-06-21T16:58:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T16:58:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008435 post PendingInvicesDO 2 MED-101008289 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008289 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f41c376b-f4bd-4724-9b0b-1ac0e0c33dd7' LIMIT 1 Date : 2025-06-22T08:13:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T08:13:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008436 post PendingInvicesDO 2 MED-101008213 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008213 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-101008213' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008213' OR OrderId='MED-101008213' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-22T08:42:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008437 post PendingInvicesDO 2 MED-101008191 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008191 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-101008191' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008191' OR OrderId='MED-101008191' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-22T09:27:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008438 post PendingInvicesDO 2 MED-101008292 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008292 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='931e6ef0-a36b-4a0b-a6f4-d60bae33f419' LIMIT 1 Date : 2025-06-22T09:50:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T09:50:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008439 post PendingInvicesDO 2 MED-101008221 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008221 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-101008221' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008221' OR OrderId='MED-101008221' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-22T10:22:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008440 post PendingInvicesDO 2 MED-101008294 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008294 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2becf459-de26-471f-9e22-7486c9bb321b' LIMIT 1 Date : 2025-06-22T10:56:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T10:56:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008441 post PendingInvicesDO 2 MED-101008184 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008184 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-101008184' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008184' OR OrderId='MED-101008184' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-22T11:31:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008442 post PendingInvicesDO 2 MED-101008296 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008296 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7df64f09-a9cc-41fd-9924-8d7d449043f0' LIMIT 1 Date : 2025-06-22T11:35:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T11:35:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008443 post PendingInvicesDO 2 MED-101008211 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008211 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-101008211' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008211' OR OrderId='MED-101008211' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-22T12:01:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008444 post PendingInvicesDO 2 MED-101008298 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008298 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1bb4966-fd4d-4e07-ac4b-78747cc027be' LIMIT 1 Date : 2025-06-22T13:29:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T13:29:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008445 post PendingInvicesDO 2 MED-101008299 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008299 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0e5d3a5-81fa-4480-8493-e7185321e419' LIMIT 1 Date : 2025-06-22T13:41:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T13:41:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008446 post PendingInvicesDO 2 MED-101008186 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008186 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-101008186' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008186' OR OrderId='MED-101008186' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-22T14:28:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008447 post PendingInvicesDO 2 MED-101008301 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008301 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc9ee04f-a635-40a3-b82c-b48e049610e2' LIMIT 1 Date : 2025-06-22T14:45:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T14:45:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008448 post PendingInvicesDO 2 MED-101008302 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008302 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8d0182c-d27d-4fbe-a5d0-418703d4a323' LIMIT 1 Date : 2025-06-22T15:04:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T15:04:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008449 post PendingInvicesDO 2 MED-101008185 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008185 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-101008185' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008185' OR OrderId='MED-101008185' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-22T15:26:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008450 post PendingInvicesDO 2 MED-101008304 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008304 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d54121ad-6134-4663-bf75-08c41b2aaa40' LIMIT 1 Date : 2025-06-22T16:09:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T16:09:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008451 post PendingInvicesDO 2 MED-101008168 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008168 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-101008168' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008168' OR OrderId='MED-101008168' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-22T16:37:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008452 post PendingInvicesDO 2 MED-101008305 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008305 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c774d351-4977-49cf-ba08-8053e1eda202' LIMIT 1 Date : 2025-06-22T16:44:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T16:44:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008453 post PendingInvicesDO 2 MED-101008306 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008306 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e4323c9-9331-491e-8ce2-faed7be632b5' LIMIT 1 Date : 2025-06-22T16:57:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T16:57:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008454 post PendingInvicesDO 2 MED-101008307 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008307 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4b8500b-d7f2-4db0-af60-a0b389b52446' LIMIT 1 Date : 2025-06-22T17:17:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T17:17:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008455 post PendingInvicesDO 2 MED-101008157 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008157 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-101008157' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008157' OR OrderId='MED-101008157' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-22T17:32:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008456 post PendingInvicesDO 2 MED-101008310 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008310 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3c69ba8-0be2-4f21-9bd3-95595eaf34a1' LIMIT 1 Date : 2025-06-23T08:13:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T08:13:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008457 post PendingInvicesDO 2 MED-101008311 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008311 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='779b23fd-7497-42ef-9dba-20af462a0255' LIMIT 1 Date : 2025-06-23T08:45:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T08:45:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008458 post PendingInvicesDO 2 MED-101008312 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008312 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd130813-f683-4ba5-86ec-c6802c6c3ac5' LIMIT 1 Date : 2025-06-23T08:57:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T08:57:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008459 post PendingInvicesDO 2 MED-101008313 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008313 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='afd94861-26a5-46c4-af32-ae369be62cc2' LIMIT 1 Date : 2025-06-23T09:16:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T09:16:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008460 post PendingInvicesDO 2 MED-101008158 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008158 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-101008158' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008158' OR OrderId='MED-101008158' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-23T09:43:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008461 post PendingInvicesDO 2 MED-101008315 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008315 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eed9533a-024c-44d1-bbdb-a903ea688e83' LIMIT 1 Date : 2025-06-23T10:20:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T10:20:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008462 post PendingInvicesDO 2 MED-101008316 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008316 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c400cfef-236b-4064-8ee0-25847c349326' LIMIT 1 Date : 2025-06-23T10:53:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T10:53:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008463 post PendingInvicesDO 2 MED-101008317 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008317 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83a8481a-80da-43e2-89ab-358832a10930' LIMIT 1 Date : 2025-06-23T11:02:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T11:02:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008464 post PendingInvicesDO 2 MED-101008194 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008194 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-101008194' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008194' OR OrderId='MED-101008194' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-23T11:41:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008465 post PendingInvicesDO 2 MED-101008319 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008319 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13f2379c-c475-42a2-87e8-e9af6949e88f' LIMIT 1 Date : 2025-06-23T12:45:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T12:45:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008466 post PendingInvicesDO 2 MED-101008320 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008320 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a06ead97-c302-456f-852a-fcdf8239407f' LIMIT 1 Date : 2025-06-23T13:31:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T13:31:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008467 post PendingInvicesDO 2 MED-101008321 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008321 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d921f521-d6be-4343-918c-73f8bf418ece' LIMIT 1 Date : 2025-06-23T13:40:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T13:40:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008468 post PendingInvicesDO 2 MED-101008322 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008322 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0013e18d-035a-4ae7-b77c-2c913977936f' LIMIT 1 Date : 2025-06-23T13:59:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T13:59:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008469 post PendingInvicesDO 2 MED-101008323 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008323 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a587424-d44e-4581-8ff4-ddc265ac3fc6' LIMIT 1 Date : 2025-06-23T14:19:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T14:19:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008470 post PendingInvicesDO 2 MED-101008324 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008324 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9219ef3b-94ab-42e6-bf9f-fe4727a9f158' LIMIT 1 Date : 2025-06-23T14:31:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T14:31:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008471 post PendingInvicesDO 2 MED-101008325 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008325 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64f2d21a-04d6-4c85-95b7-dfab9a898f51' LIMIT 1 Date : 2025-06-23T14:34:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T14:34:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008472 post PendingInvicesDO 2 MED-101008326 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008326 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ac5ada8-de58-4fa7-ae45-eab810d0c772' LIMIT 1 Date : 2025-06-23T14:39:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T14:39:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008473 post PendingInvicesDO 2 MED-101008308 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008308 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-101008308' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008308' OR OrderId='MED-101008308' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-23T16:37:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008474 post PendingInvicesDO 2 MED-101008001 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-101008001' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008001' OR OrderId='MED-101008001' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-23T16:55:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008475 post PendingInvicesDO 2 MED-101008196 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-101008196' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008196' OR OrderId='MED-101008196' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-23T17:01:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008476 post PendingInvicesDO 2 MED-101008103 post PendingInvicesDO 2 MED-101008102 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-101008103' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008103' OR OrderId='MED-101008103' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-23T18:31:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008477 post PendingInvicesDO 2 MED-101008329 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008329 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3c7457f-392b-4810-ba0b-8b47cf56130f' LIMIT 1 Date : 2025-06-23T18:46:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T18:46:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008478 post PendingInvicesDO 2 MED-101008330 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008330 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d43203c-0858-445d-979d-aa5db340a1d6' LIMIT 1 Date : 2025-06-23T18:56:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T18:56:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008479 post PendingInvicesDO 2 MED-101008331 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008331 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea61a60e-b82c-4b54-b347-de1b9e99afe1' LIMIT 1 Date : 2025-06-23T19:12:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T19:12:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008480 post PendingInvicesDO 2 MED-101008141 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008141 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-101008141' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008141' OR OrderId='MED-101008141' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-23T20:24:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008482 post PendingInvicesDO 2 MED-101008177 post PendingInvicesDO 2 MED-101008176 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008481 post PendingInvicesDO 2 MED-101008177 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008176 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008177 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-101008177' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008177' OR OrderId='MED-101008177' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008177' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008177' OR OrderId='MED-101008177' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-23T20:24:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008484 post PendingInvicesDO 2 MED-101008183 post PendingInvicesDO 2 MED-101008182 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008483 post PendingInvicesDO 2 MED-101008183 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008182 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008183 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-101008183' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008183' OR OrderId='MED-101008183' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008183' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008183' OR OrderId='MED-101008183' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-23T20:26:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008485 post PendingInvicesDO 2 MED-101008297 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-101008297' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008297' OR OrderId='MED-101008297' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-23T20:27:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008486 post PendingInvicesDO 2 MED-101008332 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008332 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56951a27-1486-4127-b197-8380116d85c2' LIMIT 1 Date : 2025-06-24T08:37:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T08:37:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008487 post PendingInvicesDO 2 MED-101008333 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008333 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f3f5660-f9e5-4713-a041-03cbef73741c' LIMIT 1 Date : 2025-06-24T08:57:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T08:57:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008488 post PendingInvicesDO 2 MED-101008334 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008334 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3cc40b8-bc31-407e-ab24-5cec95fd7219' LIMIT 1 Date : 2025-06-24T09:09:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T09:09:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008489 post PendingInvicesDO 2 MED-101008133 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008133 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-101008133' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008133' OR OrderId='MED-101008133' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T10:07:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008491 post PendingInvicesDO 2 MED-101008337 post PendingInvicesDO 2 MED-101008336 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008490 post PendingInvicesDO 2 MED-101008337 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008336 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008337 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b1ccf10-646b-4738-9a58-e48af53eef32' LIMIT 1 Date : 2025-06-24T10:08:50  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0158ed14-1e9e-491a-af53-d1cc2557b3ef' LIMIT 1 Date : 2025-06-24T10:08:50  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b1ccf10-646b-4738-9a58-e48af53eef32' LIMIT 1 Date : 2025-06-24T10:08:50  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0158ed14-1e9e-491a-af53-d1cc2557b3ef' LIMIT 1 Date : 2025-06-24T10:08:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-24T10:08:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008493 post PendingInvicesDO 2 MED-101008339 post PendingInvicesDO 2 MED-101008338 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008492 post PendingInvicesDO 2 MED-101008339 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008338 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008339 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51c10a0f-28f5-4d95-a437-f4fabbb22206' LIMIT 1 Date : 2025-06-24T11:06:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e544f22a-06d7-4a76-9019-d6bd495e0090' LIMIT 1 Date : 2025-06-24T11:06:32  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51c10a0f-28f5-4d95-a437-f4fabbb22206' LIMIT 1 Date : 2025-06-24T11:06:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e544f22a-06d7-4a76-9019-d6bd495e0090' LIMIT 1 Date : 2025-06-24T11:06:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-24T11:06:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008495 post PendingInvicesDO 2 MED-101008171 post PendingInvicesDO 2 MED-101008170 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008494 post PendingInvicesDO 2 MED-101008171 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008170 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008171 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-101008171' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008171' OR OrderId='MED-101008171' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008171' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008171' OR OrderId='MED-101008171' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T11:16:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008496 post PendingInvicesDO 2 MED-101008340 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008340 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93fe2fc4-1a3c-4db4-a113-9093aafd2dde' LIMIT 1 Date : 2025-06-24T11:28:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T11:28:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008497 post PendingInvicesDO 2 MED-101008343 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008343 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0770dd83-c806-4ec4-9429-d9dc98d4f0d6' LIMIT 1 Date : 2025-06-24T12:24:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T12:24:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008499 post PendingInvicesDO 2 MED-101008342 post PendingInvicesDO 2 MED-101008344 post PendingInvicesDO 2 MED-101008341 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008498 post PendingInvicesDO 2 MED-101008344 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008344 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-101008342' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008342' OR OrderId='MED-101008342' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008344' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008344' OR OrderId='MED-101008344' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008344' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008344' OR OrderId='MED-101008344' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T12:39:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008500 post PendingInvicesDO 2 MED-101008145 post PendingInvicesDO 2 MED-101008144 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-101008145' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008145' OR OrderId='MED-101008145' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T12:48:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008501 post PendingInvicesDO 2 MED-101008345 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008345 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37cd289a-355d-42e6-b3b7-ffff4942ee29' LIMIT 1 Date : 2025-06-24T13:28:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T13:28:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008502 post PendingInvicesDO 2 MED-101008346 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008346 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e73550c6-93aa-46a9-a8d9-a5e1d1096449' LIMIT 1 Date : 2025-06-24T13:31:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T13:31:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008503 post PendingInvicesDO 2 MED-101008347 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008347 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='349ce6b1-8337-4969-a549-0ff25397ac47' LIMIT 1 Date : 2025-06-24T13:37:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T13:37:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008504 post PendingInvicesDO 2 MED-101008349 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008349 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='854dbb3d-b4ad-4a82-b4b0-aaa5aea3102c' LIMIT 1 Date : 2025-06-24T15:25:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T15:25:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008505 post PendingInvicesDO 2 MED-101008350 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008350 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e0a7502-ae05-4ad9-8726-ae1c20726fd9' LIMIT 1 Date : 2025-06-24T15:30:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T15:30:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008506 post PendingInvicesDO 2 MED-101008295 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008295 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-101008295' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008295' OR OrderId='MED-101008295' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T15:58:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008507 post PendingInvicesDO 2 MED-101008351 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008351 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51fe4dda-7904-49da-92f2-fe6cbe5916b3' LIMIT 1 Date : 2025-06-24T16:04:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T16:04:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008508 post PendingInvicesDO 2 MED-101008353 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008353 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3d69354-d000-4134-a3c7-8480085d55e2' LIMIT 1 Date : 2025-06-24T17:24:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T17:24:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008509 post PendingInvicesDO 2 MED-101008354 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008354 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc621542-cf63-4e8b-9503-88f1b1792563' LIMIT 1 Date : 2025-06-24T17:31:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T17:31:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008510 post PendingInvicesDO 2 MED-101008355 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008355 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2670a2ca-5874-4759-8464-1cd1e7b8d2ac' LIMIT 1 Date : 2025-06-24T17:41:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T17:41:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008511 post PendingInvicesDO 2 MED-101008356 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008356 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91cd072d-fbff-405f-b8e6-55509107a5a1' LIMIT 1 Date : 2025-06-24T18:00:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T18:00:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008512 post PendingInvicesDO 2 MED-101008291 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-101008291' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008291' OR OrderId='MED-101008291' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T18:12:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008513 post PendingInvicesDO 2 MED-101008358 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008358 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ecd56f0-7754-48f3-ae5b-0d952b18fd8c' LIMIT 1 Date : 2025-06-25T08:41:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T08:41:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008514 post PendingInvicesDO 2 MED-101008359 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008359 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8f1a262-a7af-4a0b-9ab1-563d76b47703' LIMIT 1 Date : 2025-06-25T08:52:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T08:52:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008515 post PendingInvicesDO 2 MED-101008335 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008335 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-101008335' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008335' OR OrderId='MED-101008335' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-25T09:27:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008516 post PendingInvicesDO 2 MED-101008259 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008259 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-101008259' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008259' OR OrderId='MED-101008259' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-25T09:54:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008517 post PendingInvicesDO 2 MED-101008360 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008360 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb9c1836-62a0-4d06-9570-c82d68c8352a' LIMIT 1 Date : 2025-06-25T10:00:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T10:00:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008518 post PendingInvicesDO 2 MED-101008230 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008230 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-101008230' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008230' OR OrderId='MED-101008230' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-25T10:09:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008519 post PendingInvicesDO 2 MED-101008362 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008362 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6da7703-6ef4-4d45-9b36-160d9de8184d' LIMIT 1 Date : 2025-06-25T10:40:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T10:40:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008520 post PendingInvicesDO 2 MED-101008363 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008363 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d75b1a7-3f65-4768-8336-39c6ed6d8bbc' LIMIT 1 Date : 2025-06-25T10:57:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T10:57:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008521 post PendingInvicesDO 2 MED-101008215 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008215 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-101008215' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008215' OR OrderId='MED-101008215' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-25T13:25:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008522 post PendingInvicesDO 2 MED-101008366 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008366 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d20abbd4-72b1-4de8-a928-f827751ca5e5' LIMIT 1 Date : 2025-06-25T13:27:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T13:27:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008523 post PendingInvicesDO 2 MED-101008367 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008367 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b7b8f62-9aa9-408e-8bc2-263037e9b68d' LIMIT 1 Date : 2025-06-25T14:07:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T14:07:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008524 post PendingInvicesDO 2 MED-101008368 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008368 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51d6a619-5c76-4886-a627-2c930520cbeb' LIMIT 1 Date : 2025-06-25T14:16:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T14:16:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008525 post PendingInvicesDO 2 MED-101008217 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008217 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-101008217' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008217' OR OrderId='MED-101008217' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-25T14:31:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008526 post PendingInvicesDO 2 MED-101008372 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008372 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3be58ba0-b486-4e5d-b9e0-12f0557e53af' LIMIT 1 Date : 2025-06-25T15:29:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T15:29:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008527 post PendingInvicesDO 2 MED-101008373 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008373 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d57b0a2-9fa7-42c9-b432-5f0cf6f1b602' LIMIT 1 Date : 2025-06-25T15:45:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T15:45:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008528 post PendingInvicesDO 2 MED-101008173 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008173 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-101008173' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008173' OR OrderId='MED-101008173' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-25T16:26:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008530 post PendingInvicesDO 2 MED-101008376 post PendingInvicesDO 2 MED-101008375 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008529 post PendingInvicesDO 2 MED-101008376 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008375 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008376 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2dce6d3a-833e-4aa3-adfe-f7932a635324' LIMIT 1 Date : 2025-06-25T17:10:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1021323-44cf-4615-8797-81a213579165' LIMIT 1 Date : 2025-06-25T17:10:41  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2dce6d3a-833e-4aa3-adfe-f7932a635324' LIMIT 1 Date : 2025-06-25T17:10:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1021323-44cf-4615-8797-81a213579165' LIMIT 1 Date : 2025-06-25T17:10:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-25T17:10:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008531 post PendingInvicesDO 2 MED-101008377 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008377 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1957f77-68f4-4dd7-8884-df5fdfe5fcd2' LIMIT 1 Date : 2025-06-25T17:12:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T17:12:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008532 post PendingInvicesDO 2 MED-101008378 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008378 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1dc8d13-d781-4ef5-9ed8-83938d478d58' LIMIT 1 Date : 2025-06-25T17:13:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T17:13:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008533 post PendingInvicesDO 2 MED-101008379 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008379 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='482d09db-0430-4ed9-b410-c234b33110bd' LIMIT 1 Date : 2025-06-25T17:14:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T17:14:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008534 post PendingInvicesDO 2 MED-101008380 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008380 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e700eb7-a132-406a-985c-198035713419' LIMIT 1 Date : 2025-06-25T17:37:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T17:38:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008535 post PendingInvicesDO 2 MED-101008148 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-101008148' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008148' OR OrderId='MED-101008148' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-26T08:26:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008536 post PendingInvicesDO 2 MED-101008381 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008381 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01da3494-2e43-4984-b077-ce36f8593bdd' LIMIT 1 Date : 2025-06-26T08:28:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T08:28:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008537 post PendingInvicesDO 2 MED-101008357 post PendingInvicesDO 2 MED-101008291 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008357 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-101008357' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008357' OR OrderId='MED-101008357' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008291' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008291' OR OrderId='MED-101008291' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-26T09:03:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008538 post PendingInvicesDO 2 MED-101008318 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-101008318' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008318' OR OrderId='MED-101008318' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-26T09:12:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008539 post PendingInvicesDO 2 MED-101008103 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-101008103' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008103' OR OrderId='MED-101008103' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-26T09:25:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008540 post PendingInvicesDO 2 MED-101008384 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008384 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='940d964a-5176-48bc-aa50-7e0f8ccf17f4' LIMIT 1 Date : 2025-06-26T09:34:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T09:34:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008541 post PendingInvicesDO 2 MED-101008385 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008385 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='415007f9-113d-4d15-974a-6522772254a9' LIMIT 1 Date : 2025-06-26T10:19:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T10:19:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008542 post PendingInvicesDO 2 MED-101008386 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008386 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e27f5cc-a29d-471f-90a7-7f8157c1510a' LIMIT 1 Date : 2025-06-26T11:02:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T11:02:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008543 post PendingInvicesDO 2 MED-101008387 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008387 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a60ec04-2530-4ad9-aa4a-ec47d0d81cd6' LIMIT 1 Date : 2025-06-26T11:18:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T11:18:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008544 post PendingInvicesDO 2 MED-101008388 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008388 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ef8624d-ce1c-4fd5-a4a8-f3b4474c4065' LIMIT 1 Date : 2025-06-26T11:32:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T11:32:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008545 post PendingInvicesDO 2 MED-101008389 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008389 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13246d88-7b3b-4a4a-b8b8-5ea981a2489e' LIMIT 1 Date : 2025-06-26T11:47:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T11:47:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008546 post PendingInvicesDO 2 MED-101008390 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008390 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b00780fb-2099-46f9-a9de-c69cfd17144d' LIMIT 1 Date : 2025-06-26T12:16:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T12:16:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008547 post PendingInvicesDO 2 MED-101008391 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008391 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fc12799-57db-4919-a7ce-7db767f61a21' LIMIT 1 Date : 2025-06-26T13:08:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T13:08:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008549 post PendingInvicesDO 2 MED-101008393 post PendingInvicesDO 2 MED-101008392 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008548 post PendingInvicesDO 2 MED-101008393 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008392 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008393 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f1b59b9-3e85-4ac5-be37-0c8c98bf419d' LIMIT 1 Date : 2025-06-26T13:12:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d35ed0b3-77f1-421c-8a7a-65f529ef858e' LIMIT 1 Date : 2025-06-26T13:12:17  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f1b59b9-3e85-4ac5-be37-0c8c98bf419d' LIMIT 1 Date : 2025-06-26T13:12:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d35ed0b3-77f1-421c-8a7a-65f529ef858e' LIMIT 1 Date : 2025-06-26T13:12:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-26T13:12:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008550 post PendingInvicesDO 2 MED-101008394 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008394 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c367eee7-ebbb-42db-bd33-d024437e4b76' LIMIT 1 Date : 2025-06-26T13:49:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T13:49:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008551 post PendingInvicesDO 2 MED-101008395 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008395 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c55ddb4-09b5-4fef-94c2-9aaf0ccd8d56' LIMIT 1 Date : 2025-06-26T14:26:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T14:26:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008552 post PendingInvicesDO 2 MED-101008396 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008396 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b688ed9e-9ed0-441c-9496-bc3e4c97cbe8' LIMIT 1 Date : 2025-06-26T14:48:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T14:48:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008553 post PendingInvicesDO 2 MED-101008397 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008397 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19ba89de-2663-426b-906b-cb9841a2f10f' LIMIT 1 Date : 2025-06-26T15:25:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T15:25:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008554 post PendingInvicesDO 2 MED-101008398 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008398 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5ac6e89-d423-4372-acb1-afe176f6e314' LIMIT 1 Date : 2025-06-26T15:40:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T15:40:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008555 post PendingInvicesDO 2 MED-101008399 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008399 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6790a4a3-b667-4d69-ae16-0a2067daf8bc' LIMIT 1 Date : 2025-06-26T15:59:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T15:59:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008556 post PendingInvicesDO 2 MED-101008238 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008238 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-101008238' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008238' OR OrderId='MED-101008238' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-26T16:24:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008557 post PendingInvicesDO 2 MED-101008401 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008401 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf8e5128-e7e1-4333-88ae-34fc4c039ed5' LIMIT 1 Date : 2025-06-26T16:46:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T16:46:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008558 post PendingInvicesDO 2 MED-101008402 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008402 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6eaca1b9-0954-4827-b905-ee4b49c6b809' LIMIT 1 Date : 2025-06-26T16:58:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T16:58:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008559 post PendingInvicesDO 2 MED-101008403 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008403 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b17c88f-cfe1-4abe-ba9c-a49cd673e7d3' LIMIT 1 Date : 2025-06-26T17:18:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T17:18:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008560 post PendingInvicesDO 2 MED-101008404 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008404 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b500678-7b16-4dfd-80f3-931aef38e82f' LIMIT 1 Date : 2025-06-26T17:46:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T17:46:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008561 post PendingInvicesDO 2 MED-101007940 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-101007940' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007940' OR OrderId='MED-101007940' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-26T17:59:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008562 post PendingInvicesDO 2 MED-101008348 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008348 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-101008348' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008348' OR OrderId='MED-101008348' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-28T08:31:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008563 post PendingInvicesDO 2 MED-101008405 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008405 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4e814e1-f7e4-45fe-a0e9-d1c34b1c4b4c' LIMIT 1 Date : 2025-06-28T08:40:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T08:40:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008564 post PendingInvicesDO 2 MED-101008293 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008293 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-101008293' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008293' OR OrderId='MED-101008293' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-28T08:41:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008565 post PendingInvicesDO 2 MED-101008318 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-101008318' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008318' OR OrderId='MED-101008318' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-28T09:35:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008567 post PendingInvicesDO 2 MED-101008408 post PendingInvicesDO 2 MED-101008407 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008566 post PendingInvicesDO 2 MED-101008408 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008407 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008408 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da23a756-92ee-4852-9b8c-2af2b59a3721' LIMIT 1 Date : 2025-06-28T10:18:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cde6a61b-d77a-43d7-aa40-f5b1d60b662a' LIMIT 1 Date : 2025-06-28T10:18:54  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da23a756-92ee-4852-9b8c-2af2b59a3721' LIMIT 1 Date : 2025-06-28T10:18:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cde6a61b-d77a-43d7-aa40-f5b1d60b662a' LIMIT 1 Date : 2025-06-28T10:18:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-28T10:18:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008569 post PendingInvicesDO 2 MED-101008410 post PendingInvicesDO 2 MED-101008409 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008568 post PendingInvicesDO 2 MED-101008410 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008409 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008410 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3412be6-d568-402e-b7af-42d1b4a7877f' LIMIT 1 Date : 2025-06-28T10:28:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='532406fb-4270-43fd-b12f-4b13ab23290b' LIMIT 1 Date : 2025-06-28T10:28:39  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3412be6-d568-402e-b7af-42d1b4a7877f' LIMIT 1 Date : 2025-06-28T10:28:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='532406fb-4270-43fd-b12f-4b13ab23290b' LIMIT 1 Date : 2025-06-28T10:28:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-28T10:28:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008570 post PendingInvicesDO 2 MED-101008411 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008411 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01c0c668-b862-4ce2-84b7-5ae5a7f10867' LIMIT 1 Date : 2025-06-28T10:53:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T10:53:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008571 post PendingInvicesDO 2 MED-101008412 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008412 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb9d2721-8608-41a7-8737-9b26c8d40e18' LIMIT 1 Date : 2025-06-28T11:24:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T11:24:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008572 post PendingInvicesDO 2 MED-101008413 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008413 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='706777cd-1d92-4c1f-b01c-c9b72ec552eb' LIMIT 1 Date : 2025-06-28T11:50:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T11:50:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008573 post PendingInvicesDO 2 MED-101008414 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008414 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ca13597-e701-4512-9bae-b8e942bcc5af' LIMIT 1 Date : 2025-06-28T12:12:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T12:12:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008574 post PendingInvicesDO 2 MED-101008415 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008415 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc3b5c0e-04bb-40b8-9d79-39b5fb37ac04' LIMIT 1 Date : 2025-06-28T12:48:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T12:48:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008575 post PendingInvicesDO 2 MED-101008416 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008416 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b968e88-1411-4cb4-99cd-9579f4fc0bd6' LIMIT 1 Date : 2025-06-28T13:30:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T13:30:59 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-104008576 post PendingInvicesDO 2 MED-101008417 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008417 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0312517-f02f-4da5-939a-a6b4268fac27' LIMIT 1 Date : 2025-06-28T13:40:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T13:40:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008577 post PendingInvicesDO 2 MED-101008418 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008418 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd2c159f-701d-430f-bb80-2bed88d168eb' LIMIT 1 Date : 2025-06-28T14:18:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T14:18:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008578 post PendingInvicesDO 2 MED-101008419 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008419 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eee4d125-5fa8-45ac-b1e1-8dca0e21f432' LIMIT 1 Date : 2025-06-28T15:22:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T15:22:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008579 post PendingInvicesDO 2 MED-101008420 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008420 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7fc212f8-925d-4174-ae64-c3e79c6b7d9b' LIMIT 1 Date : 2025-06-28T15:29:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T15:29:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008580 post PendingInvicesDO 2 MED-101008421 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008421 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b0ee405-a940-4950-9df6-6eeff296b3b1' LIMIT 1 Date : 2025-06-28T15:47:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T15:47:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008581 post PendingInvicesDO 2 MED-101008309 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008309 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-101008309' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008309' OR OrderId='MED-101008309' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-28T16:05:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008582 post PendingInvicesDO 2 MED-101008314 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008314 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-101008314' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008314' OR OrderId='MED-101008314' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-28T16:09:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008583 post PendingInvicesDO 2 MED-101008422 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008422 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='635907bb-da10-41ce-8a17-cfe38f0cc392' LIMIT 1 Date : 2025-06-28T16:09:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T16:09:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008584 post PendingInvicesDO 2 MED-101008423 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008423 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c9c7e8c-41a1-47dd-8fd9-faa052e805e1' LIMIT 1 Date : 2025-06-28T16:35:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T16:35:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008585 post PendingInvicesDO 2 MED-101008175 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008175 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-101008175' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008175' OR OrderId='MED-101008175' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T08:10:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008586 post PendingInvicesDO 2 MED-101008148 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-101008148' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008148' OR OrderId='MED-101008148' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T08:39:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008587 post PendingInvicesDO 2 MED-101008425 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008425 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e1410fd-3fe8-4b9f-a33c-bdf756c38976' LIMIT 1 Date : 2025-06-29T08:54:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T08:54:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008588 post PendingInvicesDO 2 MED-101008426 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008426 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5fecbe14-b737-44d3-8f10-ab5470fc2f69' LIMIT 1 Date : 2025-06-29T09:46:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T09:46:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008589 post PendingInvicesDO 2 MED-101008427 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008427 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c026eb6-61fb-4658-9f15-c33768d251cd' LIMIT 1 Date : 2025-06-29T09:47:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T09:47:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008590 post PendingInvicesDO 2 MED-101008428 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008428 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d51f8ba4-babe-4ff4-aea4-e38756225b51' LIMIT 1 Date : 2025-06-29T09:48:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T09:48:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008592 post PendingInvicesDO 2 MED-101008430 post PendingInvicesDO 2 MED-101008429 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008591 post PendingInvicesDO 2 MED-101008430 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008429 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008430 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de353e2c-1561-404b-8df2-ba3f6286d8a6' LIMIT 1 Date : 2025-06-29T10:00:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eaca218c-c184-4f0b-b7c5-2418f843b92d' LIMIT 1 Date : 2025-06-29T10:00:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de353e2c-1561-404b-8df2-ba3f6286d8a6' LIMIT 1 Date : 2025-06-29T10:00:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eaca218c-c184-4f0b-b7c5-2418f843b92d' LIMIT 1 Date : 2025-06-29T10:00:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-29T10:00:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008593 post PendingInvicesDO 2 MED-101008432 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008432 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0691c533-5648-4f50-ad59-60a5a0759e7d' LIMIT 1 Date : 2025-06-29T10:58:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T10:58:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008594 post PendingInvicesDO 2 MED-101008374 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008374 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-101008374' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008374' OR OrderId='MED-101008374' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T11:24:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008595 post PendingInvicesDO 2 MED-101008433 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008433 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00ca02cb-46ff-4315-93d3-bf95369e2455' LIMIT 1 Date : 2025-06-29T11:27:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T11:27:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008596 post PendingInvicesDO 2 MED-101008434 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008434 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63945c41-10a3-43ed-b6c0-b9f2538207e3' LIMIT 1 Date : 2025-06-29T12:08:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T12:08:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008597 post PendingInvicesDO 2 MED-101008435 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008435 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48ed3737-d5e5-4bfc-87e7-cc929b8353fd' LIMIT 1 Date : 2025-06-29T13:11:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T13:11:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008598 post PendingInvicesDO 2 MED-101007902 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-101007902' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007902' OR OrderId='MED-101007902' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T13:44:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008599 post PendingInvicesDO 2 MED-101007902 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-101007902' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007902' OR OrderId='MED-101007902' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T13:44:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008600 post PendingInvicesDO 2 MED-101008318 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-101008318' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008318' OR OrderId='MED-101008318' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T14:10:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008601 post PendingInvicesDO 2 MED-101008130 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008130 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-101008130' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008130' OR OrderId='MED-101008130' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T14:20:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008602 post PendingInvicesDO 2 MED-101008437 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008437 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2bf7d58-3486-4d51-978b-473d47b584d0' LIMIT 1 Date : 2025-06-29T14:29:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T14:29:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008603 post PendingInvicesDO 2 MED-101008400 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008400 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-101008400' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008400' OR OrderId='MED-101008400' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T15:00:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008604 post PendingInvicesDO 2 MED-101008439 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008439 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c302792d-03ec-488b-92c7-ece5fd9be8a2' LIMIT 1 Date : 2025-06-29T15:41:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T15:41:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008605 post PendingInvicesDO 2 MED-101008440 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008440 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aca4ec87-9b87-41af-9597-794776ec0865' LIMIT 1 Date : 2025-06-29T15:59:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T15:59:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008606 post PendingInvicesDO 2 MED-101008441 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008441 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='146506c7-de71-4eac-97a7-248bfeecd68e' LIMIT 1 Date : 2025-06-29T16:28:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T16:28:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008607 post PendingInvicesDO 2 MED-101008352 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008352 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-101008352' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008352' OR OrderId='MED-101008352' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T17:22:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008608 post PendingInvicesDO 2 MED-101008145 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-101008145' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008145' OR OrderId='MED-101008145' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T17:24:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008609 post PendingInvicesDO 2 MED-101008303 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008303 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-101008303' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008303' OR OrderId='MED-101008303' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T17:48:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008610 post PendingInvicesDO 2 MED-101008443 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008443 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ca5597d-0f0f-4269-994e-a8c6148fd7cd' LIMIT 1 Date : 2025-06-29T17:48:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T17:48:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008611 post PendingInvicesDO 2 MED-101008444 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008444 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c53cf0a2-4d8e-4d3c-82ab-45419c61f27d' LIMIT 1 Date : 2025-06-29T18:06:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T18:06:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008612 post PendingInvicesDO 2 MED-101008445 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008445 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='801535fe-9b19-4960-bd81-ab50add246c1' LIMIT 1 Date : 2025-06-29T18:12:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T18:12:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008613 post PendingInvicesDO 2 MED-101008067 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-101008067' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008067' OR OrderId='MED-101008067' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T22:31:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008614 post PendingInvicesDO 2 MED-101008001 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-101008001' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008001' OR OrderId='MED-101008001' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T22:32:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008616 post PendingInvicesDO 2 MED-101008235 post PendingInvicesDO 2 MED-101008234 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008615 post PendingInvicesDO 2 MED-101008235 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008234 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008235 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-101008235' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008235' OR OrderId='MED-101008235' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008235' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008235' OR OrderId='MED-101008235' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T22:33:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008617 post PendingInvicesDO 2 MED-101008327 post PendingInvicesDO 2 MED-101008328 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-101008328' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008328' OR OrderId='MED-101008328' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T22:34:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008618 post PendingInvicesDO 2 MED-101008290 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008290 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-101008290' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008290' OR OrderId='MED-101008290' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T22:35:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008619 post PendingInvicesDO 2 MED-101008143 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008143 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-101008143' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008143' OR OrderId='MED-101008143' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T07:50:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008620 post PendingInvicesDO 2 MED-101008148 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-101008148' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008148' OR OrderId='MED-101008148' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T08:37:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008621 post PendingInvicesDO 2 MED-101008446 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008446 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb200abd-d3cc-40e0-8406-6acb3a39af2b' LIMIT 1 Date : 2025-06-30T08:38:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T08:38:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008623 post PendingInvicesDO 2 MED-101008383 post PendingInvicesDO 2 MED-101008382 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008622 post PendingInvicesDO 2 MED-101008383 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008382 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008383 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-101008383' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008383' OR OrderId='MED-101008383' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008383' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008383' OR OrderId='MED-101008383' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T08:58:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008624 post PendingInvicesDO 2 MED-101008318 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-101008318' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008318' OR OrderId='MED-101008318' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T09:19:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008625 post PendingInvicesDO 2 MED-101008361 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008361 isNewSettlement : false 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-101008361' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008361' OR OrderId='MED-101008361' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T09:37:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008626 post PendingInvicesDO 2 MED-101008448 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008448 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f29a62f-8571-40d2-9595-ab3e02b28240' LIMIT 1 Date : 2025-06-30T09:41:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T09:41:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008627 post PendingInvicesDO 2 MED-101008449 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008449 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67de8707-c1eb-42e6-84d6-9f5f0f3ee4b6' LIMIT 1 Date : 2025-06-30T10:08:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T10:08:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008628 post PendingInvicesDO 2 MED-101008001 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-101008001' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008001' OR OrderId='MED-101008001' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T10:25:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008629 post PendingInvicesDO 2 MED-101008450 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008450 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='458eeb5b-a574-4967-aa22-329d02b076b2' LIMIT 1 Date : 2025-06-30T10:38:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T10:38:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008630 post PendingInvicesDO 2 MED-101008451 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008451 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ddfdc961-ff37-4755-8768-11f63f958cc1' LIMIT 1 Date : 2025-06-30T11:05:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T11:05:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008631 post PendingInvicesDO 2 MED-101008297 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-101008297' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008297' OR OrderId='MED-101008297' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T11:30:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008632 post PendingInvicesDO 2 MED-101007951 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101007951 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-101007951' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007951' OR OrderId='MED-101007951' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T12:09:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008633 post PendingInvicesDO 2 MED-101008453 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008453 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='902729f9-8fba-488c-9cee-0803e40c1099' LIMIT 1 Date : 2025-06-30T12:30:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T12:30:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008634 post PendingInvicesDO 2 MED-101008454 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008454 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27bf2eca-3c76-4e58-be6e-388355497b52' LIMIT 1 Date : 2025-06-30T13:32:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T13:32:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008635 post PendingInvicesDO 2 MED-101008455 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008455 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2799566-7700-48cc-b8fc-b2a11574f42a' LIMIT 1 Date : 2025-06-30T13:45:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T13:45:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008636 post PendingInvicesDO 2 MED-101008456 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008456 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5820c777-1b3f-4341-ae79-bd29b2350433' LIMIT 1 Date : 2025-06-30T13:55:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T13:55:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008637 post PendingInvicesDO 2 MED-101008457 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008457 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31812eb0-7ed2-4e49-853e-d8e171747598' LIMIT 1 Date : 2025-06-30T14:00:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T14:00:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008638 post PendingInvicesDO 2 MED-101008458 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008458 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce3f1095-34f7-493a-aed5-3c4573eec68c' LIMIT 1 Date : 2025-06-30T14:11:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T14:11:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008639 post PendingInvicesDO 2 MED-101008459 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008459 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49961bc1-5069-4540-98f4-f618c17a93f0' LIMIT 1 Date : 2025-06-30T14:26:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T14:26:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008640 post PendingInvicesDO 2 MED-101008460 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008460 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3c493b6-9bb5-4f1c-8e28-6665aa57c732' LIMIT 1 Date : 2025-06-30T14:46:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T14:46:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008641 post PendingInvicesDO 2 MED-101008300 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008300 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-101008300' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008300' OR OrderId='MED-101008300' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T15:26:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008643 post PendingInvicesDO 2 MED-101008369 post PendingInvicesDO 2 MED-101008370 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008642 post PendingInvicesDO 2 MED-101008369 post PendingInvicesDO 2 MED-101008371 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008369 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008370 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008371 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-101008369' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008369' OR OrderId='MED-101008369' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008369' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008369' OR OrderId='MED-101008369' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008371' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008371' OR OrderId='MED-101008371' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T15:26:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008644 post PendingInvicesDO 2 MED-101008461 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008461 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='367d9a53-1155-45d0-b36e-e4a52d6c4ff7' LIMIT 1 Date : 2025-06-30T15:41:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T15:41:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008645 post PendingInvicesDO 2 MED-101008067 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-101008067' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008067' OR OrderId='MED-101008067' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T15:46:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008646 post PendingInvicesDO 2 MED-101007940 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-101007940' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101007940' OR OrderId='MED-101007940' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T15:46:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008647 post PendingInvicesDO 2 MED-101008328 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-101008328' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008328' OR OrderId='MED-101008328' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T15:47:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008648 post PendingInvicesDO 2 MED-101008462 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008462 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a01ac1b-e3cb-4178-9e35-2ca0a173b174' LIMIT 1 Date : 2025-06-30T15:50:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T15:50:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008649 post PendingInvicesDO 2 MED-101008463 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008463 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e1da99d-d146-4d6b-aaa9-10189bad83f4' LIMIT 1 Date : 2025-06-30T15:58:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T15:58:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008650 post PendingInvicesDO 2 MED-101008464 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008464 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a078daa-5988-411f-af31-5d8acb2c8df3' LIMIT 1 Date : 2025-06-30T16:01:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T16:01:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008651 post PendingInvicesDO 2 MED-101008465 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008465 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70b6ddd5-0eee-4da8-8db5-bb7fe286ec47' LIMIT 1 Date : 2025-06-30T17:04:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T17:04:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008652 post PendingInvicesDO 2 MED-101008431 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008431 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-101008431' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008431' OR OrderId='MED-101008431' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T17:23:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008653 post PendingInvicesDO 2 MED-101008466 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008466 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d921c86b-0f8a-40af-9d5e-60705235fee5' LIMIT 1 Date : 2025-06-30T17:29:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T17:29:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008654 post PendingInvicesDO 2 MED-101008467 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008467 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9a8204c-815c-4631-8c0d-7b4177dd6edd' LIMIT 1 Date : 2025-06-30T17:58:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T17:58:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008655 post PendingInvicesDO 2 MED-101008468 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008468 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74de8775-e799-49e7-be5b-2b2e3b487120' LIMIT 1 Date : 2025-06-30T18:04:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T18:04:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008656 post PendingInvicesDO 2 MED-101008406 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-101008406' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008406' OR OrderId='MED-101008406' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T18:13:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008657 post PendingInvicesDO 2 MED-101008447 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008447 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-101008447' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008447' OR OrderId='MED-101008447' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T18:28:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008658 post PendingInvicesDO 2 MED-101008469 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008469 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31e17515-da40-406c-9944-712ee95acc8c' LIMIT 1 Date : 2025-07-01T08:52:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T08:52:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008659 post PendingInvicesDO 2 MED-101008406 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-101008406' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008406' OR OrderId='MED-101008406' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-01T09:24:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008660 post PendingInvicesDO 2 MED-101008472 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008472 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4161d9e-9a4a-4cc6-97d9-3c34edcc4861' LIMIT 1 Date : 2025-07-01T11:02:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T11:02:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008661 post PendingInvicesDO 2 MED-101008473 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008473 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08a3980a-09f2-4914-b2dc-54f62490a52d' LIMIT 1 Date : 2025-07-01T11:48:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T11:48:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008662 post PendingInvicesDO 2 MED-101008474 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008474 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74735023-26ef-4219-8b31-d7b32674f962' LIMIT 1 Date : 2025-07-01T11:56:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T11:56:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008663 post PendingInvicesDO 2 MED-101008475 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008475 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4741bdf7-3fe2-4486-a4d1-c291a4adcf85' LIMIT 1 Date : 2025-07-01T12:15:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T12:15:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008664 post PendingInvicesDO 2 MED-101008476 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008476 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c70daa37-cf62-4291-bdd1-0800293dac48' LIMIT 1 Date : 2025-07-01T12:17:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T12:17:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008665 post PendingInvicesDO 2 MED-101008477 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008477 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a4d9d32-66f3-43e7-9ea3-aa79ca957e96' LIMIT 1 Date : 2025-07-01T13:08:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T13:08:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008666 post PendingInvicesDO 2 MED-101008478 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008478 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7fd1bcb5-da7d-4573-a264-e7c5ba15c257' LIMIT 1 Date : 2025-07-01T13:11:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T13:11:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008667 post PendingInvicesDO 2 MED-101008479 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008479 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='585a2dd3-cbf5-49e8-b55d-53f23500c256' LIMIT 1 Date : 2025-07-01T13:18:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T13:18:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008668 post PendingInvicesDO 2 MED-101008480 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008480 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e9e3c6c-a526-4ce6-b848-a4e3b92e1212' LIMIT 1 Date : 2025-07-01T13:37:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T13:37:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008669 post PendingInvicesDO 2 MED-101008481 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008481 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5fc01797-17f4-4a8f-91b5-4e83b41385a3' LIMIT 1 Date : 2025-07-01T14:13:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T14:13:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008670 post PendingInvicesDO 2 MED-101008482 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008482 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b99ff44-54fe-483e-8efd-43d636cf2a31' LIMIT 1 Date : 2025-07-01T14:41:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T14:41:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008671 post PendingInvicesDO 2 MED-101008485 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008485 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ed9c788-e9c3-4d04-962a-344842632b24' LIMIT 1 Date : 2025-07-01T17:52:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T17:52:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008672 post PendingInvicesDO 2 MED-101008486 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008486 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19c50390-e0ef-403c-9798-521be53be66a' LIMIT 1 Date : 2025-07-01T18:14:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T18:14:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008673 post PendingInvicesDO 2 MED-101008487 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008487 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0530924f-2b22-463f-9a80-94b58b777d19' LIMIT 1 Date : 2025-07-01T18:15:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T18:15:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008674 post PendingInvicesDO 2 MED-101008489 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008489 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f04021fa-127d-4650-ad1e-15735bc01907' LIMIT 1 Date : 2025-07-02T09:25:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T09:25:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008675 post PendingInvicesDO 2 MED-101008492 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008492 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b5d2f52-f54a-411f-bf6e-3f1b1407e8cf' LIMIT 1 Date : 2025-07-02T11:56:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T11:56:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008676 post PendingInvicesDO 2 MED-101008493 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008493 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c5f60cb-fbae-4937-8a42-d30421dad23b' LIMIT 1 Date : 2025-07-02T13:01:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T13:01:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008677 post PendingInvicesDO 2 MED-101008494 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008494 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99bb5ea1-d245-4254-90fb-f406c6bfa5fd' LIMIT 1 Date : 2025-07-02T13:02:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T13:02:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008678 post PendingInvicesDO 2 MED-101008496 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008496 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c99f41e-9897-41ef-9022-de62e75b144f' LIMIT 1 Date : 2025-07-02T14:09:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T14:09:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008679 post PendingInvicesDO 2 MED-101008497 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008497 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bbcccae8-2b78-46dc-a8ce-a2d20a0e6664' LIMIT 1 Date : 2025-07-02T14:29:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T14:29:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008680 post PendingInvicesDO 2 MED-101008498 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008498 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='abc1f5bd-321c-4cc8-9ed7-e4d36c19405f' LIMIT 1 Date : 2025-07-02T14:37:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T14:37:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008681 post PendingInvicesDO 2 MED-101008499 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008499 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84f4db71-7794-4815-9e64-aed37cdf09eb' LIMIT 1 Date : 2025-07-02T15:13:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T15:13:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008682 post PendingInvicesDO 2 MED-101008500 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008500 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3064b076-c0d8-44fa-a361-f031f0ad8f0d' LIMIT 1 Date : 2025-07-02T15:32:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T15:32:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008683 post PendingInvicesDO 2 MED-101008501 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008501 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03bc7f66-3206-4d53-942f-4c3f41270688' LIMIT 1 Date : 2025-07-02T16:28:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T16:28:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008684 post PendingInvicesDO 2 MED-101008502 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008502 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d96943f4-ec04-4433-a413-357086abefcb' LIMIT 1 Date : 2025-07-02T17:05:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T17:05:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008685 post PendingInvicesDO 2 MED-101008503 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008503 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd45d9db-5d8b-4db2-ac0d-d8e18520f0a8' LIMIT 1 Date : 2025-07-02T17:07:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T17:07:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008686 post PendingInvicesDO 2 MED-101008504 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008504 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2aa25d4b-3228-44f3-b02a-b7c4690b3607' LIMIT 1 Date : 2025-07-02T17:08:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T17:08:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008687 post PendingInvicesDO 2 MED-101008509 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008509 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed09e96f-4cfd-488e-ac71-d008643c5f42' LIMIT 1 Date : 2025-07-03T08:37:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T08:37:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008688 post PendingInvicesDO 2 MED-101008510 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008510 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='552ae6ff-4ef9-4b46-8144-6f4d0dfae66f' LIMIT 1 Date : 2025-07-03T09:20:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T09:20:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008689 post PendingInvicesDO 2 MED-101008511 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008511 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f93c2744-2a6d-4858-9cde-ff7128f16c80' LIMIT 1 Date : 2025-07-03T09:48:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T09:48:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008690 post PendingInvicesDO 2 MED-101008512 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008512 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1c9369b-74d3-434d-80be-683e39334b6f' LIMIT 1 Date : 2025-07-03T10:28:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T10:28:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008691 post PendingInvicesDO 2 MED-101008424 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-101008424' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008424' OR OrderId='MED-101008424' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-03T11:41:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008692 post PendingInvicesDO 2 MED-101008514 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008514 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d2be5e3-ee69-412d-b8b7-fb64019f0776' LIMIT 1 Date : 2025-07-03T11:48:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T11:48:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008693 post PendingInvicesDO 2 MED-101008515 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008515 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06e76f1a-e940-48e4-a236-920aa05bf8ab' LIMIT 1 Date : 2025-07-03T11:49:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T11:49:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008694 post PendingInvicesDO 2 MED-101008516 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008516 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd869de5-7b23-48a8-a70d-f3f7fcc98b9a' LIMIT 1 Date : 2025-07-03T12:14:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T12:14:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008695 post PendingInvicesDO 2 MED-101008517 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008517 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0c27b01-7b02-4307-905a-8d2883413cd4' LIMIT 1 Date : 2025-07-03T13:20:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T13:20:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008696 post PendingInvicesDO 2 MED-101008518 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008518 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='799fba75-585a-4eab-ac35-01a76b6a1078' LIMIT 1 Date : 2025-07-03T13:34:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T13:34:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008697 post PendingInvicesDO 2 MED-101008519 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008519 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9aba2ae-ed79-4adb-8b4a-1d5902c08323' LIMIT 1 Date : 2025-07-03T14:04:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T14:04:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008698 post PendingInvicesDO 2 MED-101008521 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008521 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f2268d8-a67b-45fa-9a16-852342c67b1c' LIMIT 1 Date : 2025-07-03T15:16:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T15:16:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008699 post PendingInvicesDO 2 MED-101008470 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008470 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-101008470' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008470' OR OrderId='MED-101008470' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-03T15:51:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008700 post PendingInvicesDO 2 MED-101008438 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-101008438' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008438' OR OrderId='MED-101008438' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-03T16:25:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008701 post PendingInvicesDO 2 MED-101008523 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008523 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bed12805-daab-42ef-bd7d-04b61d160a2e' LIMIT 1 Date : 2025-07-03T16:37:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T16:37:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008702 post PendingInvicesDO 2 MED-101008524 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008524 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='114b2803-0c43-4be2-9287-3f2374ed82ef' LIMIT 1 Date : 2025-07-03T16:39:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T16:39:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008703 post PendingInvicesDO 2 MED-101008525 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008525 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='391ad9ee-e4bd-462d-b88d-b954dd866d78' LIMIT 1 Date : 2025-07-03T16:46:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T16:46:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008704 post PendingInvicesDO 2 MED-101008526 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008526 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fabbc2f-0ea5-4c67-9715-e714145ef87b' LIMIT 1 Date : 2025-07-03T17:27:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T17:27:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008705 post PendingInvicesDO 2 MED-101008527 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008527 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6cfd446-ab02-43ec-be96-6dbc440dd828' LIMIT 1 Date : 2025-07-03T17:35:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T17:35:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008706 post PendingInvicesDO 2 MED-101008528 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008528 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af5d65ac-86be-4a72-be00-345fddf77c90' LIMIT 1 Date : 2025-07-03T17:38:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T17:38:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008707 post PendingInvicesDO 2 MED-101008529 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008529 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='97e34a12-05cd-4763-b7a3-34a3e7649d40' LIMIT 1 Date : 2025-07-03T17:56:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T17:56:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008708 post PendingInvicesDO 2 MED-101008530 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008530 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0869c202-ddd4-47c3-a851-13c5bbf2abe9' LIMIT 1 Date : 2025-07-05T08:45:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T08:45:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008709 post PendingInvicesDO 2 MED-101008508 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008508 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-101008508' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008508' OR OrderId='MED-101008508' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-05T09:24:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008710 post PendingInvicesDO 2 MED-101008532 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008532 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb4f1806-0a14-4e53-8755-ac5d65a72860' LIMIT 1 Date : 2025-07-05T09:36:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T09:36:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008711 post PendingInvicesDO 2 MED-101008452 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008452 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-101008452' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008452' OR OrderId='MED-101008452' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-05T09:38:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008712 post PendingInvicesDO 2 MED-101008533 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008533 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da1e38df-8dd5-477f-ad87-be562d369735' LIMIT 1 Date : 2025-07-05T09:45:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T09:45:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008713 post PendingInvicesDO 2 MED-101008442 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-101008442' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008442' OR OrderId='MED-101008442' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-05T09:47:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008714 post PendingInvicesDO 2 MED-101008534 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008534 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3c088db-e43c-4157-bab2-d06c459e4bbf' LIMIT 1 Date : 2025-07-05T10:18:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T10:18:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008715 post PendingInvicesDO 2 MED-101008424 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-101008424' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008424' OR OrderId='MED-101008424' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-05T10:43:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008716 post PendingInvicesDO 2 MED-101008535 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008535 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1fc45b4c-2e6f-46a6-94b9-d3bc3429e813' LIMIT 1 Date : 2025-07-05T11:02:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T11:02:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008717 post PendingInvicesDO 2 MED-101008536 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008536 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d23d5ca3-9f97-450e-ae84-2cb0da63757d' LIMIT 1 Date : 2025-07-05T11:23:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T11:23:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008718 post PendingInvicesDO 2 MED-101008537 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008537 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2ce3e1c-2292-4b95-af49-990bac7a8924' LIMIT 1 Date : 2025-07-05T11:49:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T11:49:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008719 post PendingInvicesDO 2 MED-101008538 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008538 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='754233fb-dc0f-4f20-ad67-770574eccbd1' LIMIT 1 Date : 2025-07-05T12:06:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T12:06:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008720 post PendingInvicesDO 2 MED-101008436 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008436 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-101008436' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008436' OR OrderId='MED-101008436' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-05T12:29:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008721 post PendingInvicesDO 2 MED-101008541 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008541 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f129ac86-f852-450c-9a79-4a677b95d60c' LIMIT 1 Date : 2025-07-05T13:47:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T13:47:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008722 post PendingInvicesDO 2 MED-101008542 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008542 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='198a3f0d-d9f5-4503-a950-f7a55c4aaaae' LIMIT 1 Date : 2025-07-05T14:21:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T14:21:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008723 post PendingInvicesDO 2 MED-101008544 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008544 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ec8a121-8f8e-4b00-b902-0b5765afeb8f' LIMIT 1 Date : 2025-07-05T15:31:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T15:31:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008724 post PendingInvicesDO 2 MED-101008545 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008545 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c55db51-5bfa-4866-82ef-b1dcedf1653d' LIMIT 1 Date : 2025-07-05T16:03:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T16:03:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008725 post PendingInvicesDO 2 MED-101008546 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008546 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e296980-2652-434c-9ae6-1d48369bd4c9' LIMIT 1 Date : 2025-07-05T16:37:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T16:37:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008726 post PendingInvicesDO 2 MED-101008548 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008548 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3fa09d31-8f02-4a93-b2bc-9d4ff241619d' LIMIT 1 Date : 2025-07-05T17:17:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T17:17:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008727 post PendingInvicesDO 2 MED-101008549 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008549 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33365df2-2282-474d-ac77-77dc52b3f83c' LIMIT 1 Date : 2025-07-05T17:31:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T17:31:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008728 post PendingInvicesDO 2 MED-101008550 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008550 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36f9e2ab-79a3-4632-a377-f46a4b46945b' LIMIT 1 Date : 2025-07-05T17:48:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T17:48:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008729 post PendingInvicesDO 2 MED-101008551 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008551 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41db776e-2d8c-4d56-aa1a-00b55c84ea20' LIMIT 1 Date : 2025-07-06T09:01:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T09:01:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008730 post PendingInvicesDO 2 MED-101008552 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008552 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47050c66-cc35-4b67-85fb-a5d70512ee83' LIMIT 1 Date : 2025-07-06T09:35:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T09:35:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008731 post PendingInvicesDO 2 MED-101008553 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008553 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d30d43d-234c-4fd5-80a9-33506f886c0c' LIMIT 1 Date : 2025-07-06T10:11:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T10:11:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008732 post PendingInvicesDO 2 MED-101008554 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008554 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37424fdd-b863-4f76-8c64-63acfaa0491e' LIMIT 1 Date : 2025-07-06T11:24:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T11:24:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008733 post PendingInvicesDO 2 MED-101008555 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008555 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b083be5-acbf-4ed7-a020-d84148c60b95' LIMIT 1 Date : 2025-07-06T11:32:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T11:32:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008734 post PendingInvicesDO 2 MED-101008556 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008556 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b09f730-63c5-4925-8861-3317eb55c320' LIMIT 1 Date : 2025-07-06T11:47:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T11:47:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008735 post PendingInvicesDO 2 MED-101008557 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008557 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73b4b920-6ea1-4c22-bd03-dd2558a2cd67' LIMIT 1 Date : 2025-07-06T13:07:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T13:07:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008736 post PendingInvicesDO 2 MED-101008559 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008559 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea88c87c-4613-40df-a640-50c370df5131' LIMIT 1 Date : 2025-07-06T14:24:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T14:24:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008737 post PendingInvicesDO 2 MED-101008560 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008560 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf0a3370-5723-4084-a9d7-7f1c49c8eda9' LIMIT 1 Date : 2025-07-06T14:25:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T14:25:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008738 post PendingInvicesDO 2 MED-101008424 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-101008424' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008424' OR OrderId='MED-101008424' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-06T14:33:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008739 post PendingInvicesDO 2 MED-101008563 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008563 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6244b6d0-ac78-40e4-a28d-d718ffb3c994' LIMIT 1 Date : 2025-07-06T15:54:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T15:54:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008740 post PendingInvicesDO 2 MED-101008564 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008564 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aad5f959-5ec1-470b-9e2e-71da2291d271' LIMIT 1 Date : 2025-07-06T16:43:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T16:43:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008741 post PendingInvicesDO 2 MED-101008565 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008565 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a857603-6b7f-4333-ad77-f7d77b9e668f' LIMIT 1 Date : 2025-07-06T16:44:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T16:44:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008742 post PendingInvicesDO 2 MED-101008505 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008505 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-101008505' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008505' OR OrderId='MED-101008505' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-06T16:50:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008743 post PendingInvicesDO 2 MED-101008438 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-101008438' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008438' OR OrderId='MED-101008438' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-06T17:04:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008744 post PendingInvicesDO 2 MED-101008568 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008568 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1cad9b8d-3a04-49e4-9e4d-262f46d49e3d' LIMIT 1 Date : 2025-07-06T17:24:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T17:24:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008745 post PendingInvicesDO 2 MED-101008569 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008569 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28cc7a1c-5ee4-4aac-ac10-af62689c4170' LIMIT 1 Date : 2025-07-06T17:49:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T17:49:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008746 post PendingInvicesDO 2 MED-101008570 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008570 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c547a7b2-e5e6-49c9-824e-e2ae7c683b47' LIMIT 1 Date : 2025-07-06T17:51:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T17:51:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008747 post PendingInvicesDO 2 MED-101008531 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-101008531' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008531' OR OrderId='MED-101008531' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-06T21:15:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008748 post PendingInvicesDO 2 MED-101008531 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-101008531' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008531' OR OrderId='MED-101008531' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-07T08:30:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008749 post PendingInvicesDO 2 MED-101008572 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008572 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4de78291-0c4f-48de-bbcb-fd709ba0a432' LIMIT 1 Date : 2025-07-07T09:07:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T09:07:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008750 post PendingInvicesDO 2 MED-101008573 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008573 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c45cdff-6457-4955-abd3-09fc03c2d33d' LIMIT 1 Date : 2025-07-07T09:32:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T09:32:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008751 post PendingInvicesDO 2 MED-101008574 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008574 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='856d5714-c82d-41be-8a70-8662879df596' LIMIT 1 Date : 2025-07-07T09:38:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T09:38:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008752 post PendingInvicesDO 2 MED-101008575 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008575 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f32a142-e25b-4f15-9c71-276329930c01' LIMIT 1 Date : 2025-07-07T09:52:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T09:52:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008753 post PendingInvicesDO 2 MED-101008576 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008576 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fdd21666-7ebe-4f7c-9ed2-c17f3e284065' LIMIT 1 Date : 2025-07-07T11:09:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T11:09:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008754 post PendingInvicesDO 2 MED-101008577 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008577 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d09e4fc-5396-424e-a7cb-96472011da38' LIMIT 1 Date : 2025-07-07T11:14:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T11:14:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008755 post PendingInvicesDO 2 MED-101008578 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008578 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='744af00d-b5a2-49fe-8fa6-cc9ce647b4ad' LIMIT 1 Date : 2025-07-07T11:26:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T11:26:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008756 post PendingInvicesDO 2 MED-101008579 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008579 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57569619-a065-4089-91e0-f052c96f8fea' LIMIT 1 Date : 2025-07-07T11:35:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T11:35:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008757 post PendingInvicesDO 2 MED-101008581 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008581 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de8ea03e-93b3-4faa-80c2-871e74444c47' LIMIT 1 Date : 2025-07-07T13:10:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T13:10:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008758 post PendingInvicesDO 2 MED-101008582 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008582 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c92fecda-0c31-4a87-89ad-ad6eae8b7d93' LIMIT 1 Date : 2025-07-07T13:42:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T13:42:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008759 post PendingInvicesDO 2 MED-101008522 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008522 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-101008522' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008522' OR OrderId='MED-101008522' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-07T14:08:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008760 post PendingInvicesDO 2 MED-101008584 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008584 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='852584f6-2e63-4f0b-bed4-4dc31ecfced2' LIMIT 1 Date : 2025-07-07T14:53:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T14:53:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008761 post PendingInvicesDO 2 MED-101008506 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-101008506' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008506' OR OrderId='MED-101008506' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-07T15:17:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008762 post PendingInvicesDO 2 MED-101008586 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-101008586' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008586' OR OrderId='MED-101008586' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-07T15:47:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008763 post PendingInvicesDO 2 MED-101008587 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008587 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09ea8683-1a00-4975-b724-9dafc39c31e1' LIMIT 1 Date : 2025-07-07T16:04:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T16:04:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008764 post PendingInvicesDO 2 MED-101008588 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008588 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e30ffdb8-7ad7-48dc-8137-545080ed30db' LIMIT 1 Date : 2025-07-07T16:53:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T16:53:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008765 post PendingInvicesDO 2 MED-101008589 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008589 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c0fbdd1-4fef-45d4-ab61-dd33509988d4' LIMIT 1 Date : 2025-07-07T16:59:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T16:59:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008766 post PendingInvicesDO 2 MED-101008590 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008590 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fecedd9c-c9f7-4ab8-8f9e-33f3c765faad' LIMIT 1 Date : 2025-07-07T17:27:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T17:27:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008767 post PendingInvicesDO 2 MED-101008591 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008591 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e723e28-72c7-4d8c-bacb-1034ab8fdedc' LIMIT 1 Date : 2025-07-07T17:49:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T17:49:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008768 post PendingInvicesDO 2 MED-101008592 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008592 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b651b31-4a83-403f-a0f8-187f277fd847' LIMIT 1 Date : 2025-07-08T08:58:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T08:58:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008769 post PendingInvicesDO 2 MED-101008593 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008593 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ad99cfd-fad3-417c-af7a-77d29c6277e4' LIMIT 1 Date : 2025-07-08T09:11:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T09:11:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008770 post PendingInvicesDO 2 MED-101008594 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008594 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6d5b27b-2534-4397-b8c1-91e3774a9b1d' LIMIT 1 Date : 2025-07-08T09:32:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T09:32:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008771 post PendingInvicesDO 2 MED-101008595 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008595 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad906af8-b662-4b71-b08b-c44355edb1d5' LIMIT 1 Date : 2025-07-08T10:11:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T10:11:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008772 post PendingInvicesDO 2 MED-101008596 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008596 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5370a35-0951-4676-9915-dc0caea0f9d1' LIMIT 1 Date : 2025-07-08T10:42:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T10:42:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008773 post PendingInvicesDO 2 MED-101008598 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008598 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='806a2522-5561-4998-9dc4-ff3d0c26b970' LIMIT 1 Date : 2025-07-08T11:36:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T11:36:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008774 post PendingInvicesDO 2 MED-101008599 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008599 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='554fa1f5-5667-4394-a747-448834a22755' LIMIT 1 Date : 2025-07-08T12:18:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T12:18:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008775 post PendingInvicesDO 2 MED-101008600 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008600 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8f65da6-50a0-417c-8115-1938e7fa7519' LIMIT 1 Date : 2025-07-08T12:23:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T12:23:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008776 post PendingInvicesDO 2 MED-101008601 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008601 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f51a4571-5f25-4468-9097-94e2cbfcff8e' LIMIT 1 Date : 2025-07-08T12:29:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T12:29:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008777 post PendingInvicesDO 2 MED-101008602 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008602 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bea171ae-631f-4b4d-836b-05e907585bf1' LIMIT 1 Date : 2025-07-08T13:32:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T13:32:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008778 post PendingInvicesDO 2 MED-101008603 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008603 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e314a8b7-4cb2-4107-9eaa-e5bcda7973f3' LIMIT 1 Date : 2025-07-08T13:49:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T13:49:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008779 post PendingInvicesDO 2 MED-101008586 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-101008586' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008586' OR OrderId='MED-101008586' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-08T13:54:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008780 post PendingInvicesDO 2 MED-101008506 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-101008506' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008506' OR OrderId='MED-101008506' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-08T13:57:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008781 post PendingInvicesDO 2 MED-101008604 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008604 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c993d115-2197-4b94-997f-4a6b31f09ca2' LIMIT 1 Date : 2025-07-08T14:02:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T14:02:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008782 post PendingInvicesDO 2 MED-101008605 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008605 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24dc51fc-76f7-4390-95c0-0f61cb900231' LIMIT 1 Date : 2025-07-08T14:22:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T14:22:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008783 post PendingInvicesDO 2 MED-101008567 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-101008567' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008567' OR OrderId='MED-101008567' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-08T15:00:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008784 post PendingInvicesDO 2 MED-101008607 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008607 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8007194f-60c1-434c-8eab-f0c93aba9a63' LIMIT 1 Date : 2025-07-08T15:12:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T15:12:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008785 post PendingInvicesDO 2 MED-101008608 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008608 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39fa2b45-0b6e-4924-960d-414f479b150b' LIMIT 1 Date : 2025-07-08T15:36:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T15:36:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008786 post PendingInvicesDO 2 MED-101008609 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008609 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aaa4c63f-1302-4c46-ae2d-d8e82a5628b1' LIMIT 1 Date : 2025-07-08T15:42:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T15:42:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008787 post PendingInvicesDO 2 MED-101008566 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008566 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-101008566' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008566' OR OrderId='MED-101008566' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-08T16:45:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008788 post PendingInvicesDO 2 MED-101008611 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008611 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='132dfbf0-0d3a-44de-a4c1-2da40a88a8a9' LIMIT 1 Date : 2025-07-08T17:14:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T17:14:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008789 post PendingInvicesDO 2 MED-101008612 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008612 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c9e8a3e-9658-4f91-9dcd-b266ed6ada2c' LIMIT 1 Date : 2025-07-08T17:41:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T17:41:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008791 post PendingInvicesDO 2 MED-101008615 post PendingInvicesDO 2 MED-101008614 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008790 post PendingInvicesDO 2 MED-101008615 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008614 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008615 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0bfdeae-cde8-418d-85c8-6c37365f96f3' LIMIT 1 Date : 2025-07-09T09:02:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d339de31-b3c2-4f69-9697-edbdd14beff6' LIMIT 1 Date : 2025-07-09T09:02:43  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0bfdeae-cde8-418d-85c8-6c37365f96f3' LIMIT 1 Date : 2025-07-09T09:02:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d339de31-b3c2-4f69-9697-edbdd14beff6' LIMIT 1 Date : 2025-07-09T09:02:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-09T09:02:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008792 post PendingInvicesDO 2 MED-101008616 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008616 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e0c7887-fa88-42a3-a77a-4f24fb71f312' LIMIT 1 Date : 2025-07-09T09:53:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T09:53:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008794 post PendingInvicesDO 2 MED-101008618 post PendingInvicesDO 2 MED-101008617 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008793 post PendingInvicesDO 2 MED-101008618 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008617 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008618 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d934c15-93e1-49c0-ba85-4927847965ed' LIMIT 1 Date : 2025-07-09T10:36:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44689590-e817-4256-bdb4-e943db4b47dd' LIMIT 1 Date : 2025-07-09T10:36:04  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d934c15-93e1-49c0-ba85-4927847965ed' LIMIT 1 Date : 2025-07-09T10:36:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44689590-e817-4256-bdb4-e943db4b47dd' LIMIT 1 Date : 2025-07-09T10:36:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-09T10:36:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008795 post PendingInvicesDO 2 MED-101008619 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008619 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7e1dbf3-68bf-4f05-a714-4f1a6989aee1' LIMIT 1 Date : 2025-07-09T11:18:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T11:18:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008796 post PendingInvicesDO 2 MED-101008620 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008620 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20d33be0-a805-424b-95c3-50076feed8df' LIMIT 1 Date : 2025-07-09T11:20:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T11:20:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008797 post PendingInvicesDO 2 MED-101008621 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008621 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='342fccd9-65a2-48c9-8f15-8cbcdb1db906' LIMIT 1 Date : 2025-07-09T11:21:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T11:21:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008798 post PendingInvicesDO 2 MED-101008622 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008622 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d93bffbe-6588-4607-8599-0a42d73371c6' LIMIT 1 Date : 2025-07-09T11:40:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T11:40:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008799 post PendingInvicesDO 2 MED-101008623 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008623 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66d5633c-f440-4303-8669-069fadcebc85' LIMIT 1 Date : 2025-07-09T12:10:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T12:10:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008800 post PendingInvicesDO 2 MED-101008624 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008624 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd0be7d1-2aba-4ec2-adc7-d0382299ddcb' LIMIT 1 Date : 2025-07-09T13:21:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T13:21:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008801 post PendingInvicesDO 2 MED-101008520 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008520 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-101008520' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008520' OR OrderId='MED-101008520' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-09T13:35:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008802 post PendingInvicesDO 2 MED-101008627 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008627 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55afd994-21de-4ed2-9e8d-30480395416c' LIMIT 1 Date : 2025-07-09T14:18:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T14:18:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008803 post PendingInvicesDO 2 MED-101008628 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008628 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1531eb67-4eaa-459a-955f-fb645c6a8fad' LIMIT 1 Date : 2025-07-09T14:30:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T14:30:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008804 post PendingInvicesDO 2 MED-101008629 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008629 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36e13ca6-a176-4e4e-bbaf-ac665e6bb792' LIMIT 1 Date : 2025-07-09T15:15:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T15:15:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008805 post PendingInvicesDO 2 MED-101008630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c83bb21-e58a-466a-b382-b34d2d1f2e83' LIMIT 1 Date : 2025-07-09T16:01:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T16:01:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008806 post PendingInvicesDO 2 MED-101008631 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008631 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83bff660-e11e-4b57-bb05-53df9952e7e8' LIMIT 1 Date : 2025-07-09T16:28:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T16:28:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008807 post PendingInvicesDO 2 MED-101008632 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008632 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='987df238-2e2b-4863-84d5-27021722cb72' LIMIT 1 Date : 2025-07-09T16:54:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T16:54:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008808 post PendingInvicesDO 2 MED-101008633 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008633 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3bdcee83-35c4-406e-ba7d-16ff12f22f06' LIMIT 1 Date : 2025-07-09T16:55:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T16:55:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008809 post PendingInvicesDO 2 MED-101008547 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-101008547' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008547' OR OrderId='MED-101008547' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-09T17:01:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008810 post PendingInvicesDO 2 MED-101008634 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008634 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4945ef8d-e9fb-472d-91cd-e7a52a076cec' LIMIT 1 Date : 2025-07-09T17:14:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T17:14:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008811 post PendingInvicesDO 2 MED-101008635 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008635 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ff72bb4-b3e2-4130-b078-92433470d0e6' LIMIT 1 Date : 2025-07-09T17:22:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T17:22:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008812 post PendingInvicesDO 2 MED-101008636 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008636 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5431b204-176d-4f21-baed-e91bf6c2aaad' LIMIT 1 Date : 2025-07-09T17:40:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T17:40:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008813 post PendingInvicesDO 2 MED-101008637 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008637 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f06a864-b179-4a66-a8e0-005e01cbaf68' LIMIT 1 Date : 2025-07-09T17:57:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T17:57:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008814 post PendingInvicesDO 2 MED-101008638 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008638 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8016efa-d25a-4798-a38b-31a864f6591c' LIMIT 1 Date : 2025-07-10T08:41:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T08:41:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008815 post PendingInvicesDO 2 MED-101008639 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008639 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ea5307b-c960-4ea5-a1ec-cc26869fc1c0' LIMIT 1 Date : 2025-07-10T08:56:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T08:56:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008816 post PendingInvicesDO 2 MED-101008547 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-101008547' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008547' OR OrderId='MED-101008547' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-10T09:22:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008817 post PendingInvicesDO 2 MED-101008640 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008640 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9fc987a-a5dd-4c81-805f-762f3a566121' LIMIT 1 Date : 2025-07-10T09:25:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T09:25:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008818 post PendingInvicesDO 2 MED-101008495 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008495 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-101008495' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008495' OR OrderId='MED-101008495' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-10T09:42:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008819 post PendingInvicesDO 2 MED-101008642 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008642 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46687e28-9c71-41c2-aa82-15c224700593' LIMIT 1 Date : 2025-07-10T10:04:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T10:04:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008820 post PendingInvicesDO 2 MED-101008643 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008643 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='40721cae-2ffd-427f-806b-cd8b960b33db' LIMIT 1 Date : 2025-07-10T10:05:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T10:05:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008821 post PendingInvicesDO 2 MED-101008644 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008644 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff46debd-c826-4d73-99e2-cb5f58289e7a' LIMIT 1 Date : 2025-07-10T10:10:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T10:10:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008822 post PendingInvicesDO 2 MED-101008645 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008645 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64a199d3-6c65-47f9-a231-b0d9abcfed38' LIMIT 1 Date : 2025-07-10T10:20:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T10:20:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008823 post PendingInvicesDO 2 MED-101008646 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008646 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed059de1-803f-42c7-9c21-98ac2d1dc769' LIMIT 1 Date : 2025-07-10T10:28:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T10:28:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008825 post PendingInvicesDO 2 MED-101008648 post PendingInvicesDO 2 MED-101008647 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008824 post PendingInvicesDO 2 MED-101008648 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008647 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008648 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a550f95e-ebfb-4e07-a494-103e67811590' LIMIT 1 Date : 2025-07-10T10:40:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3517439-6055-4d09-b42b-75ffa22032eb' LIMIT 1 Date : 2025-07-10T10:40:23  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a550f95e-ebfb-4e07-a494-103e67811590' LIMIT 1 Date : 2025-07-10T10:40:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3517439-6055-4d09-b42b-75ffa22032eb' LIMIT 1 Date : 2025-07-10T10:40:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-10T10:40:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008826 post PendingInvicesDO 2 MED-101008649 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008649 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c560559-7d77-4e09-90ec-db307efce97e' LIMIT 1 Date : 2025-07-10T11:09:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T11:09:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008827 post PendingInvicesDO 2 MED-101008650 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008650 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0e7a0bb-207a-4353-bbd1-1ff49d9c804b' LIMIT 1 Date : 2025-07-10T11:27:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T11:27:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008828 post PendingInvicesDO 2 MED-101008571 post PendingInvicesDO 2 MED-101008531 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008571 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-101008571' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008571' OR OrderId='MED-101008571' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008531' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008531' OR OrderId='MED-101008531' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-10T12:13:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008829 post PendingInvicesDO 2 MED-101008653 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008653 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ecc9e6e-0375-4d3c-a8b1-50646b04ad62' LIMIT 1 Date : 2025-07-10T13:25:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T13:25:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008830 post PendingInvicesDO 2 MED-101008654 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008654 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='234c99ca-6049-48ba-97ee-6428f31f1b4b' LIMIT 1 Date : 2025-07-10T13:37:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T13:37:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008831 post PendingInvicesDO 2 MED-101008442 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-101008442' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008442' OR OrderId='MED-101008442' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-10T15:38:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008833 post PendingInvicesDO 2 MED-101008658 post PendingInvicesDO 2 MED-101008657 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008832 post PendingInvicesDO 2 MED-101008658 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008657 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008658 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46e9e89c-ab29-4b1f-8987-8a130f348149' LIMIT 1 Date : 2025-07-10T15:50:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e38e0170-6efe-437e-95ae-068fa8ad5eef' LIMIT 1 Date : 2025-07-10T15:50:17  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46e9e89c-ab29-4b1f-8987-8a130f348149' LIMIT 1 Date : 2025-07-10T15:50:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e38e0170-6efe-437e-95ae-068fa8ad5eef' LIMIT 1 Date : 2025-07-10T15:50:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-10T15:50:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008834 post PendingInvicesDO 2 MED-101008490 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008490 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-101008490' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008490' OR OrderId='MED-101008490' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-12T08:40:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008835 post PendingInvicesDO 2 MED-101008659 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008659 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='607a67de-4e3f-46b8-97f4-a3497ba03dff' LIMIT 1 Date : 2025-07-12T08:45:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T08:45:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008836 post PendingInvicesDO 2 MED-101008660 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008660 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f5c9d00-482f-44c7-9051-8fefcc254fbe' LIMIT 1 Date : 2025-07-12T09:05:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T09:05:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008837 post PendingInvicesDO 2 MED-101008613 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-101008613' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008613' OR OrderId='MED-101008613' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-12T09:40:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008838 post PendingInvicesDO 2 MED-101008610 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008610 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-101008610' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008610' OR OrderId='MED-101008610' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-12T10:53:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008839 post PendingInvicesDO 2 MED-101008513 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008513 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-101008513' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008513' OR OrderId='MED-101008513' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-12T11:23:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008840 post PendingInvicesDO 2 MED-101008664 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008664 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0726f899-312b-4689-b7d0-c5f889d70966' LIMIT 1 Date : 2025-07-12T11:34:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T11:34:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008841 post PendingInvicesDO 2 MED-101008665 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008665 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc306729-5dac-4991-867d-2c74d343dd9f' LIMIT 1 Date : 2025-07-12T11:49:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T11:49:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008842 post PendingInvicesDO 2 MED-101008543 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008543 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-101008543' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008543' OR OrderId='MED-101008543' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-12T12:02:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008843 post PendingInvicesDO 2 MED-101008666 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008666 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='536ce52c-fff5-4af5-b979-2617691a2ab7' LIMIT 1 Date : 2025-07-12T12:05:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T12:05:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008844 post PendingInvicesDO 2 MED-101008667 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008667 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34556046-1142-4ff9-ac42-569db2a23166' LIMIT 1 Date : 2025-07-12T12:25:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T12:25:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008845 post PendingInvicesDO 2 MED-101008651 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-101008651' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008651' OR OrderId='MED-101008651' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-12T14:02:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008846 post PendingInvicesDO 2 MED-101008669 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008669 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b228c6a-e834-4cbd-8dcc-4136b13d4fb4' LIMIT 1 Date : 2025-07-12T14:16:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T14:16:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008847 post PendingInvicesDO 2 MED-101008671 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008671 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55ee7579-07e2-40be-8744-b981a24fc0b1' LIMIT 1 Date : 2025-07-12T14:36:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T14:36:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008848 post PendingInvicesDO 2 MED-101008672 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008672 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21bce1b3-f261-40e3-9781-8de7f8204a15' LIMIT 1 Date : 2025-07-12T14:53:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T14:53:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008849 post PendingInvicesDO 2 MED-101008673 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008673 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8db715cd-520b-4589-a499-166dad3b9b11' LIMIT 1 Date : 2025-07-12T15:17:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T15:17:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008850 post PendingInvicesDO 2 MED-101008484 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008484 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-101008484' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008484' OR OrderId='MED-101008484' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-12T16:23:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008851 post PendingInvicesDO 2 MED-101008583 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-101008583' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008583' OR OrderId='MED-101008583' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-12T16:23:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008852 post PendingInvicesDO 2 MED-101008675 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008675 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e389ce25-b568-4c48-8639-667d3f2a79a9' LIMIT 1 Date : 2025-07-12T16:40:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T16:40:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008853 post PendingInvicesDO 2 MED-101008676 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008676 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6bf2fc5-eff6-404b-aeb3-365b4dbbdd1c' LIMIT 1 Date : 2025-07-12T16:54:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T16:54:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008854 post PendingInvicesDO 2 MED-101008677 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008677 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0449e898-773f-4458-9aea-75885530271a' LIMIT 1 Date : 2025-07-12T17:35:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T17:35:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008855 post PendingInvicesDO 2 MED-101008678 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008678 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f1baa9d-21a7-491c-bb87-7fd959411c97' LIMIT 1 Date : 2025-07-13T08:13:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T08:13:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008856 post PendingInvicesDO 2 MED-101008679 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008679 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3bb5f77e-95d3-4eba-bcdf-16bbb2d63ea6' LIMIT 1 Date : 2025-07-13T08:45:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T08:45:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008857 post PendingInvicesDO 2 MED-101008680 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008680 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c1285c7-29bc-4485-833b-156cc146ac93' LIMIT 1 Date : 2025-07-13T09:10:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T09:10:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008858 post PendingInvicesDO 2 MED-101008681 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008681 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9af66e9-7675-4068-84af-3b4e8a89a38e' LIMIT 1 Date : 2025-07-13T09:33:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T09:33:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008859 post PendingInvicesDO 2 MED-101008682 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008682 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c633f70a-c39b-4d28-bddf-a30c5ae32d21' LIMIT 1 Date : 2025-07-13T10:24:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T10:24:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008860 post PendingInvicesDO 2 MED-101008683 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008683 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74be9fbe-4dd9-4266-94a5-907c2a512347' LIMIT 1 Date : 2025-07-13T10:36:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T10:36:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008861 post PendingInvicesDO 2 MED-101008567 post PendingInvicesDO 2 MED-101008606 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008606 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-101008567' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008567' OR OrderId='MED-101008567' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008606' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008606' OR OrderId='MED-101008606' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-13T11:14:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008862 post PendingInvicesDO 2 MED-101008558 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008558 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-101008558' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008558' OR OrderId='MED-101008558' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-13T11:48:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008863 post PendingInvicesDO 2 MED-101008507 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008507 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-101008507' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008507' OR OrderId='MED-101008507' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-13T12:23:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008864 post PendingInvicesDO 2 MED-101008688 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008688 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='daec5b23-f26c-438c-b8b2-c905e4fa9dc6' LIMIT 1 Date : 2025-07-13T13:08:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T13:08:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008866 post PendingInvicesDO 2 MED-101008690 post PendingInvicesDO 2 MED-101008689 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008865 post PendingInvicesDO 2 MED-101008690 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008689 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008690 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3fabbb5d-75d0-4810-badb-1423f143e65b' LIMIT 1 Date : 2025-07-13T14:35:12  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb091168-6909-4e6e-860a-551e26f213db' LIMIT 1 Date : 2025-07-13T14:35:12  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3fabbb5d-75d0-4810-badb-1423f143e65b' LIMIT 1 Date : 2025-07-13T14:35:12  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb091168-6909-4e6e-860a-551e26f213db' LIMIT 1 Date : 2025-07-13T14:35:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-13T14:35:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008867 post PendingInvicesDO 2 MED-101008691 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008691 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b563ae7-4bae-4aa4-94ec-550d625e5a30' LIMIT 1 Date : 2025-07-13T15:03:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T15:03:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008868 post PendingInvicesDO 2 MED-101008692 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008692 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f1e535f-c661-464c-b42e-8046e8d257ad' LIMIT 1 Date : 2025-07-13T15:19:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T15:19:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008869 post PendingInvicesDO 2 MED-101008694 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008694 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59b35862-b5b9-44c9-b2e8-bbbe1c9b1a3f' LIMIT 1 Date : 2025-07-13T15:54:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T15:54:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008870 post PendingInvicesDO 2 MED-101008695 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008695 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29ff421b-c275-4139-afaf-cabcf6612f26' LIMIT 1 Date : 2025-07-13T17:02:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T17:02:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008871 post PendingInvicesDO 2 MED-101008696 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008696 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b478762-ec76-4e2e-b8b7-2efd37555b6d' LIMIT 1 Date : 2025-07-13T17:24:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T17:24:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008872 post PendingInvicesDO 2 MED-101008697 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008697 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0e9fa33-7eb4-41a2-8549-9358d5f3ba6f' LIMIT 1 Date : 2025-07-13T17:46:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T17:46:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008873 post PendingInvicesDO 2 MED-101008698 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008698 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7adf8c63-8c12-4825-8030-e774f93dd0f3' LIMIT 1 Date : 2025-07-14T08:28:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T08:28:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008874 post PendingInvicesDO 2 MED-101008699 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008699 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8fdb633-a20c-46c1-90cd-d8de8abe407b' LIMIT 1 Date : 2025-07-14T09:16:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T09:16:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008875 post PendingInvicesDO 2 MED-101008700 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008700 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9dd579ab-7b8d-47a1-9d5f-16961c19e743' LIMIT 1 Date : 2025-07-14T10:02:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T10:02:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008876 post PendingInvicesDO 2 MED-101008701 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008701 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3577c64a-62c1-4440-ba35-d2dd4a6b9b35' LIMIT 1 Date : 2025-07-14T10:02:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T10:02:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008877 post PendingInvicesDO 2 MED-101008702 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008702 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2dc14c4b-fbd4-46a2-bf10-c69e5c27453e' LIMIT 1 Date : 2025-07-14T10:22:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T10:22:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008878 post PendingInvicesDO 2 MED-101008703 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008703 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f1cda55-cd46-405c-9914-1ca68e813760' LIMIT 1 Date : 2025-07-14T10:41:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T10:41:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008879 post PendingInvicesDO 2 MED-101008704 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008704 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7d5270a-a411-4ae9-b001-3d587d757fc3' LIMIT 1 Date : 2025-07-14T11:01:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T11:01:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008881 post PendingInvicesDO 2 MED-101008706 post PendingInvicesDO 2 MED-101008705 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008880 post PendingInvicesDO 2 MED-101008706 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008705 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008706 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-101008706' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008706' OR OrderId='MED-101008706' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008706' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008706' OR OrderId='MED-101008706' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-14T12:07:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008882 post PendingInvicesDO 2 MED-101008583 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-101008583' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008583' OR OrderId='MED-101008583' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-14T12:17:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008883 post PendingInvicesDO 2 MED-101008708 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008708 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4cbb563-33eb-400f-acd7-6afc90893910' LIMIT 1 Date : 2025-07-14T13:34:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T13:34:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008884 post PendingInvicesDO 2 MED-101008709 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008709 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccba736b-d8c5-4c60-b773-b12d844c09c7' LIMIT 1 Date : 2025-07-14T14:19:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T14:19:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008885 post PendingInvicesDO 2 MED-101008710 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008710 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d3c3083-3fbb-4fb7-a938-b458745a7dcc' LIMIT 1 Date : 2025-07-14T14:36:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T14:36:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008886 post PendingInvicesDO 2 MED-101008711 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008711 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e2c5bb7-d7a9-434b-8860-8fa28629b9b5' LIMIT 1 Date : 2025-07-14T14:49:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T14:49:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008887 post PendingInvicesDO 2 MED-101008712 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008712 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d52fb187-499b-42ca-8ba0-830c63970243' LIMIT 1 Date : 2025-07-14T15:09:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T15:09:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008888 post PendingInvicesDO 2 MED-101008713 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008713 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62433ade-ba23-439e-9a1a-9cb0f8a1c003' LIMIT 1 Date : 2025-07-14T15:52:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T15:52:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008889 post PendingInvicesDO 2 MED-101008714 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008714 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac7f57f5-092b-4d9d-9c04-2b439358fd10' LIMIT 1 Date : 2025-07-14T15:56:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T15:56:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008890 post PendingInvicesDO 2 MED-101008715 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008715 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f7d56a9-aa32-4cd8-bfb1-2221b9cc611c' LIMIT 1 Date : 2025-07-14T16:45:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T16:45:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008891 post PendingInvicesDO 2 MED-101008716 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008716 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86c3ed7b-8b77-4e77-a670-68c00c0400a5' LIMIT 1 Date : 2025-07-14T17:11:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T17:11:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008892 post PendingInvicesDO 2 MED-101008717 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008717 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb42d3a1-c054-4833-8b2d-46c6b72c74dd' LIMIT 1 Date : 2025-07-14T17:18:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T17:18:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008893 post PendingInvicesDO 2 MED-101008718 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008718 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff9d83ac-a62d-4239-9da0-d7ca68cf0183' LIMIT 1 Date : 2025-07-14T17:38:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T17:38:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008895 post PendingInvicesDO 2 MED-101008720 post PendingInvicesDO 2 MED-101008719 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008894 post PendingInvicesDO 2 MED-101008720 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008719 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008720 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-101008720' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008720' OR OrderId='MED-101008720' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008720' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008720' OR OrderId='MED-101008720' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-15T09:00:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008896 post PendingInvicesDO 2 MED-101008540 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008540 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-101008540' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008540' OR OrderId='MED-101008540' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-15T09:29:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008897 post PendingInvicesDO 2 MED-101008722 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008722 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e52c007-5133-4e7c-9dbe-5cc5e6792467' LIMIT 1 Date : 2025-07-15T10:01:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T10:01:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008898 post PendingInvicesDO 2 MED-101008723 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008723 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='260f9aa7-961a-4a2e-b79a-05db79bb9f9d' LIMIT 1 Date : 2025-07-15T10:28:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T10:28:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008899 post PendingInvicesDO 2 MED-101008724 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008724 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73152f9d-ae3c-45f2-9527-119d14240867' LIMIT 1 Date : 2025-07-15T11:00:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T11:00:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008900 post PendingInvicesDO 2 MED-101008726 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008726 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9e10005-8ebe-4b4b-9eff-938a29539193' LIMIT 1 Date : 2025-07-15T12:41:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T12:41:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008901 post PendingInvicesDO 2 MED-101008727 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008727 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d23e4dde-26b0-4824-a53b-ad01895fa1b6' LIMIT 1 Date : 2025-07-15T13:04:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T13:04:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008902 post PendingInvicesDO 2 MED-101008728 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008728 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83f1e2c0-0a30-49a6-95e2-9f191ce086de' LIMIT 1 Date : 2025-07-15T13:11:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T13:11:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008903 post PendingInvicesDO 2 MED-101008729 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008729 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf27dacd-f7c3-4f1c-bebb-d9281b863660' LIMIT 1 Date : 2025-07-15T13:44:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T13:44:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008904 post PendingInvicesDO 2 MED-101008730 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008730 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a432433-f46f-47d6-9bf1-e8ea221f3a32' LIMIT 1 Date : 2025-07-15T14:04:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T14:04:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008905 post PendingInvicesDO 2 MED-101008731 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008731 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3489c57-da5d-494d-ae38-75f62bc18162' LIMIT 1 Date : 2025-07-15T14:40:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T14:40:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008906 post PendingInvicesDO 2 MED-101008732 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008732 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dab9c835-bef3-47e3-a9f8-0236b7d9c490' LIMIT 1 Date : 2025-07-15T15:28:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T15:28:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008907 post PendingInvicesDO 2 MED-101008733 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008733 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad9655dc-ec4d-4f9d-bf76-f17f71b5abe9' LIMIT 1 Date : 2025-07-15T16:32:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T16:32:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008908 post PendingInvicesDO 2 MED-101008734 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008734 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='618d8a40-1425-41bf-b1c5-6592a8f1439d' LIMIT 1 Date : 2025-07-15T17:09:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T17:09:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008910 post PendingInvicesDO 2 MED-101008736 post PendingInvicesDO 2 MED-101008735 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008909 post PendingInvicesDO 2 MED-101008736 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008735 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008736 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3214771-8cf8-4237-91a5-166173323231' LIMIT 1 Date : 2025-07-15T17:35:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a431b7b-9b56-4db6-b871-ba5c8c167fc1' LIMIT 1 Date : 2025-07-15T17:35:23  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3214771-8cf8-4237-91a5-166173323231' LIMIT 1 Date : 2025-07-15T17:35:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a431b7b-9b56-4db6-b871-ba5c8c167fc1' LIMIT 1 Date : 2025-07-15T17:35:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-15T17:35:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008911 post PendingInvicesDO 2 MED-101008737 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008737 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd3f875b-f41f-4075-866e-0db9e597135e' LIMIT 1 Date : 2025-07-15T18:03:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T18:03:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008912 post PendingInvicesDO 2 MED-101008738 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008738 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6abd6329-55c3-4aff-8399-86a4d85e7a98' LIMIT 1 Date : 2025-07-15T18:05:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T18:05:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008914 post PendingInvicesDO 2 MED-101008626 post PendingInvicesDO 2 MED-101008625 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008913 post PendingInvicesDO 2 MED-101008626 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008625 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008626 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-101008626' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008626' OR OrderId='MED-101008626' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008626' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008626' OR OrderId='MED-101008626' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-16T08:58:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008915 post PendingInvicesDO 2 MED-101008740 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008740 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b272ef1-49e6-4dc9-98ce-27b85dfa60fd' LIMIT 1 Date : 2025-07-16T09:35:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T09:35:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008916 post PendingInvicesDO 2 MED-101008488 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008488 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-101008488' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008488' OR OrderId='MED-101008488' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-16T09:45:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008917 post PendingInvicesDO 2 MED-101008743 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008743 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed0a0f31-302e-4974-912f-34169ba59aa9' LIMIT 1 Date : 2025-07-16T10:16:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T10:16:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008918 post PendingInvicesDO 2 MED-101008745 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008745 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8e2ef11-98ab-4903-8daf-b7ae12a0f54c' LIMIT 1 Date : 2025-07-16T11:19:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T11:19:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008919 post PendingInvicesDO 2 MED-101008746 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008746 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e12f23f2-8aa1-4da0-8ce9-485bb02caa9f' LIMIT 1 Date : 2025-07-16T11:39:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T11:39:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008920 post PendingInvicesDO 2 MED-101008747 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008747 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9bc2e8c-7462-493b-85dd-f646b0458519' LIMIT 1 Date : 2025-07-16T11:54:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T11:54:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008921 post PendingInvicesDO 2 MED-101008748 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008748 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fdbadd92-a69c-4535-95de-b624e7dfe793' LIMIT 1 Date : 2025-07-16T12:02:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T12:02:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008922 post PendingInvicesDO 2 MED-101008749 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008749 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='abc7e1ca-6312-4b75-b39a-4df74e41da0b' LIMIT 1 Date : 2025-07-16T12:18:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T12:18:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008923 post PendingInvicesDO 2 MED-101008750 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008750 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3026b5e-2bcc-4444-8b41-bd24faa8925f' LIMIT 1 Date : 2025-07-16T12:38:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T12:38:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008924 post PendingInvicesDO 2 MED-101008751 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-101008751' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008751' OR OrderId='MED-101008751' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-16T14:18:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008925 post PendingInvicesDO 2 MED-101008752 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008752 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='043f919f-2daa-452d-aba7-9c1db6b94a5a' LIMIT 1 Date : 2025-07-16T14:38:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T14:38:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008926 post PendingInvicesDO 2 MED-101008753 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008753 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='493647ae-6548-48d6-9734-9e2e7c6c3f86' LIMIT 1 Date : 2025-07-16T15:01:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T15:01:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008927 post PendingInvicesDO 2 MED-101008585 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008585 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-101008585' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008585' OR OrderId='MED-101008585' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-16T15:17:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008928 post PendingInvicesDO 2 MED-101008755 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008755 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4980eb88-bdef-4f57-b94f-0c74f75d65d1' LIMIT 1 Date : 2025-07-16T16:32:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T16:32:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008929 post PendingInvicesDO 2 MED-101008756 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008756 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fa55cce-c81c-46cb-90fb-207316d7d024' LIMIT 1 Date : 2025-07-16T17:17:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T17:17:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008930 post PendingInvicesDO 2 MED-101008757 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008757 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c105a9aa-b201-41e4-ba0c-557ede98c8cd' LIMIT 1 Date : 2025-07-16T17:49:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T17:49:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008931 post PendingInvicesDO 2 MED-101008651 post PendingInvicesDO 2 MED-101008668 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-101008651' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008651' OR OrderId='MED-101008651' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008668' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008668' OR OrderId='MED-101008668' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-16T18:16:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008932 post PendingInvicesDO 2 MED-101008759 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008759 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51ced0e3-cc1d-4899-aef5-c5e56fabbbc2' LIMIT 1 Date : 2025-07-17T09:03:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T09:03:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008933 post PendingInvicesDO 2 MED-101008760 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008760 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f1cf57a-7816-4b00-8ff3-59d7b832295d' LIMIT 1 Date : 2025-07-17T09:57:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T09:57:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008934 post PendingInvicesDO 2 MED-101008761 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008761 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a561f66e-52cb-44a3-88b6-d7e57ec40020' LIMIT 1 Date : 2025-07-17T10:17:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T10:17:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008936 post PendingInvicesDO 2 MED-101008763 post PendingInvicesDO 2 MED-101008762 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008935 post PendingInvicesDO 2 MED-101008763 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008762 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008763 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fef25f6-559f-4445-abdb-888ae77f44e6' LIMIT 1 Date : 2025-07-17T10:34:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7eb2676-508d-44af-9b1a-ef173926f188' LIMIT 1 Date : 2025-07-17T10:34:39  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fef25f6-559f-4445-abdb-888ae77f44e6' LIMIT 1 Date : 2025-07-17T10:34:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7eb2676-508d-44af-9b1a-ef173926f188' LIMIT 1 Date : 2025-07-17T10:34:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-17T10:34:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008937 post PendingInvicesDO 2 MED-101008764 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008764 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08a28931-79f8-45f2-b93a-fbf3fe4432e7' LIMIT 1 Date : 2025-07-17T10:52:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T10:52:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008938 post PendingInvicesDO 2 MED-101008765 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008765 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7448f9e-3901-4df3-bc3a-b84ed73cc928' LIMIT 1 Date : 2025-07-17T11:08:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T11:08:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008939 post PendingInvicesDO 2 MED-101008766 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008766 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f15d2ac-cf19-4162-b10d-36471aa041de' LIMIT 1 Date : 2025-07-17T11:39:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T11:39:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008940 post PendingInvicesDO 2 MED-101008767 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008767 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2476bee-d964-45bd-90bf-f005da1bd1fe' LIMIT 1 Date : 2025-07-17T12:18:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T12:18:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008941 post PendingInvicesDO 2 MED-101008768 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008768 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9b421c0-a076-46fa-afb8-8160d9c1fedd' LIMIT 1 Date : 2025-07-17T13:08:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T13:08:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008942 post PendingInvicesDO 2 MED-101008769 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008769 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19fba721-0f03-47c7-9e28-663c2badd47a' LIMIT 1 Date : 2025-07-17T13:47:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T13:47:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008943 post PendingInvicesDO 2 MED-101008770 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008770 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='65a3b2bf-0e9f-4799-bfad-94dea9caf3d6' LIMIT 1 Date : 2025-07-17T13:48:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T13:48:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008944 post PendingInvicesDO 2 MED-101008668 post PendingInvicesDO 2 MED-101008758 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-101008668' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008668' OR OrderId='MED-101008668' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008758' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008758' OR OrderId='MED-101008758' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-17T14:26:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008945 post PendingInvicesDO 2 MED-101008707 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008707 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-101008707' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008707' OR OrderId='MED-101008707' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-17T16:28:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008946 post PendingInvicesDO 2 MED-101008774 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008774 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8696ea0-7a51-45ff-8e49-0f784b8f1a3e' LIMIT 1 Date : 2025-07-17T17:10:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T17:10:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008947 post PendingInvicesDO 2 MED-101008775 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008775 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc58c044-0abb-4c81-9a02-737b789a682c' LIMIT 1 Date : 2025-07-17T17:47:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T17:47:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008948 post PendingInvicesDO 2 MED-101008776 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008776 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46613e97-2304-4de1-8c04-a2d35b6e0cbd' LIMIT 1 Date : 2025-07-17T18:03:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T18:03:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008949 post PendingInvicesDO 2 MED-101008777 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008777 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='edd457a3-6cea-441e-b5fc-567f1df4d98f' LIMIT 1 Date : 2025-07-17T18:05:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T18:05:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008950 post PendingInvicesDO 2 MED-101008778 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008778 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca22f8fd-ae03-4789-aede-2b259ff4dcd8' LIMIT 1 Date : 2025-07-19T09:07:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T09:07:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008951 post PendingInvicesDO 2 MED-101008779 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008779 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7cba82fe-7156-4666-a791-765e97da1409' LIMIT 1 Date : 2025-07-19T09:19:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T09:19:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008952 post PendingInvicesDO 2 MED-101008780 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008780 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d49cece8-921c-4194-a405-130bbf55073b' LIMIT 1 Date : 2025-07-19T09:44:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T09:44:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008953 post PendingInvicesDO 2 MED-101008781 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008781 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e182b23-481c-4a1a-8089-690c5419cf0d' LIMIT 1 Date : 2025-07-19T10:13:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T10:13:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008954 post PendingInvicesDO 2 MED-101008782 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008782 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69341e96-8863-4e07-9338-e520ce4c7b30' LIMIT 1 Date : 2025-07-19T10:29:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T10:29:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008955 post PendingInvicesDO 2 MED-101008783 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008783 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91dcb6db-b3fe-418a-b0b4-6cc83c12b32a' LIMIT 1 Date : 2025-07-19T10:59:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T10:59:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008956 post PendingInvicesDO 2 MED-101008784 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008784 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06aa850c-f076-47e7-a9ae-af44d55cae84' LIMIT 1 Date : 2025-07-19T11:16:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T11:16:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008957 post PendingInvicesDO 2 MED-101008785 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008785 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4d6b961-be56-4f78-9417-fdce741698c3' LIMIT 1 Date : 2025-07-19T11:33:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T11:33:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008959 post PendingInvicesDO 2 MED-101008787 post PendingInvicesDO 2 MED-101008786 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008958 post PendingInvicesDO 2 MED-101008787 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008786 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008787 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98241825-7a1f-4757-bc47-ff8bb4dd4f5d' LIMIT 1 Date : 2025-07-19T11:56:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8bff29b-8731-418c-ab7a-de030921543f' LIMIT 1 Date : 2025-07-19T11:56:57  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98241825-7a1f-4757-bc47-ff8bb4dd4f5d' LIMIT 1 Date : 2025-07-19T11:56:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8bff29b-8731-418c-ab7a-de030921543f' LIMIT 1 Date : 2025-07-19T11:56:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-19T11:56:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008960 post PendingInvicesDO 2 MED-101008788 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008788 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9bcec9f-37f1-474c-84c6-7548ee428279' LIMIT 1 Date : 2025-07-19T12:00:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T12:00:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008961 post PendingInvicesDO 2 MED-101008758 post PendingInvicesDO 2 MED-101008771 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008771 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-101008758' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008758' OR OrderId='MED-101008758' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008771' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008771' OR OrderId='MED-101008771' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-19T13:16:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008962 post PendingInvicesDO 2 MED-101008670 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008670 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-101008670' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008670' OR OrderId='MED-101008670' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-19T13:22:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008963 post PendingInvicesDO 2 MED-101008791 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008791 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='880c4050-8d43-47db-8bd6-d7687841a9e3' LIMIT 1 Date : 2025-07-19T13:34:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T13:34:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008964 post PendingInvicesDO 2 MED-101008792 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008792 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f22c56d-fa75-4bbb-a1d8-53fa4a35ee36' LIMIT 1 Date : 2025-07-19T14:13:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T14:13:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008965 post PendingInvicesDO 2 MED-101008693 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008693 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-101008693' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008693' OR OrderId='MED-101008693' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-19T16:24:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008966 post PendingInvicesDO 2 MED-101008796 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008796 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='339d6f00-dbd9-4889-810a-148ecbc5c7d0' LIMIT 1 Date : 2025-07-19T17:17:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T17:17:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008967 post PendingInvicesDO 2 MED-101008613 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-101008613' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008613' OR OrderId='MED-101008613' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-19T17:40:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008968 post PendingInvicesDO 2 MED-101008613 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-101008613' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008613' OR OrderId='MED-101008613' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-19T17:42:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008969 post PendingInvicesDO 2 MED-101008797 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008797 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a0111913-6cfc-43b3-a81a-e16725ef7d40' LIMIT 1 Date : 2025-07-19T17:47:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T17:47:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008970 post PendingInvicesDO 2 MED-101008798 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008798 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb1f93ff-901d-4254-83ec-47cad114a60c' LIMIT 1 Date : 2025-07-19T17:59:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T17:59:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008972 post PendingInvicesDO 2 MED-101008562 post PendingInvicesDO 2 MED-101008561 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008971 post PendingInvicesDO 2 MED-101008562 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008561 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008562 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-101008562' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008562' OR OrderId='MED-101008562' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008562' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008562' OR OrderId='MED-101008562' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-20T08:55:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008973 post PendingInvicesDO 2 MED-101008800 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008800 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81f6b377-f076-4827-9a14-3f1609da9313' LIMIT 1 Date : 2025-07-20T09:47:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T09:48:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008974 post PendingInvicesDO 2 MED-101008686 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008686 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-101008686' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008686' OR OrderId='MED-101008686' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-20T10:11:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008975 post PendingInvicesDO 2 MED-101008802 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008802 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbc7ae22-1185-4f4a-9673-d3c099062867' LIMIT 1 Date : 2025-07-20T10:56:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T10:56:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008977 post PendingInvicesDO 2 MED-101008804 post PendingInvicesDO 2 MED-101008803 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008976 post PendingInvicesDO 2 MED-101008804 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008803 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008804 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64234c3f-9a10-41b8-974d-5bd04a95a056' LIMIT 1 Date : 2025-07-20T11:29:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8927df9f-96ae-4dea-b5c6-3cd3f652ad4d' LIMIT 1 Date : 2025-07-20T11:29:55  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64234c3f-9a10-41b8-974d-5bd04a95a056' LIMIT 1 Date : 2025-07-20T11:29:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8927df9f-96ae-4dea-b5c6-3cd3f652ad4d' LIMIT 1 Date : 2025-07-20T11:29:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-20T11:29:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008978 post PendingInvicesDO 2 MED-101008641 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008641 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-101008641' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008641' OR OrderId='MED-101008641' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-20T12:02:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008979 post PendingInvicesDO 2 MED-101008806 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008806 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='76d4c131-f8bb-4488-b47d-56b334dc0f2a' LIMIT 1 Date : 2025-07-20T12:36:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T12:36:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008980 post PendingInvicesDO 2 MED-101008807 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008807 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84540fb9-b45e-41e8-b97d-1df09c31ba1d' LIMIT 1 Date : 2025-07-20T13:09:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T13:09:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008981 post PendingInvicesDO 2 MED-101008808 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008808 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9de2450d-ded3-4359-977f-f4986db56f21' LIMIT 1 Date : 2025-07-20T13:10:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T13:10:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008982 post PendingInvicesDO 2 MED-101008809 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008809 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='685d8729-3709-49cd-ad23-e8e17ba9886c' LIMIT 1 Date : 2025-07-20T13:15:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T13:15:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008983 post PendingInvicesDO 2 MED-101008547 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-101008547' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008547' OR OrderId='MED-101008547' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-20T13:58:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008984 post PendingInvicesDO 2 MED-101008811 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008811 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ac58c6f-b2fa-462e-bf49-c06ed46f976d' LIMIT 1 Date : 2025-07-20T14:12:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T14:12:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008986 post PendingInvicesDO 2 MED-101008813 post PendingInvicesDO 2 MED-101008812 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008985 post PendingInvicesDO 2 MED-101008813 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008812 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008813 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b38c5afe-7b9d-4f5d-a075-219757c3f711' LIMIT 1 Date : 2025-07-20T14:49:15  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc782f49-073b-43a8-9811-b231eb115157' LIMIT 1 Date : 2025-07-20T14:49:15  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b38c5afe-7b9d-4f5d-a075-219757c3f711' LIMIT 1 Date : 2025-07-20T14:49:15  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc782f49-073b-43a8-9811-b231eb115157' LIMIT 1 Date : 2025-07-20T14:49:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-20T14:49:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008987 post PendingInvicesDO 2 MED-101008814 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008814 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a7359a7-29b9-4bc1-8da3-4b82fd85d1b2' LIMIT 1 Date : 2025-07-20T15:07:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T15:07:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008988 post PendingInvicesDO 2 MED-101008815 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008815 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7937e309-6231-4cb4-a8da-411e2857230b' LIMIT 1 Date : 2025-07-20T15:09:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T15:09:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008989 post PendingInvicesDO 2 MED-101008816 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008816 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87f65e7b-d1ff-476a-9973-af7de236d8a8' LIMIT 1 Date : 2025-07-20T15:27:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T15:27:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008990 post PendingInvicesDO 2 MED-101008817 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008817 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ac2bcee-f955-42f2-a55d-a3c87a1e2d75' LIMIT 1 Date : 2025-07-20T15:41:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T15:41:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008992 post PendingInvicesDO 2 MED-101008685 post PendingInvicesDO 2 MED-101008684 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104008991 post PendingInvicesDO 2 MED-101008685 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008684 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008685 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-101008685' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008685' OR OrderId='MED-101008685' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008685' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008685' OR OrderId='MED-101008685' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-20T16:26:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008993 post PendingInvicesDO 2 MED-101008819 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008819 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca8fd50b-e129-4b47-8649-d28295bad3a4' LIMIT 1 Date : 2025-07-20T17:00:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T17:00:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008994 post PendingInvicesDO 2 MED-101008820 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008820 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da10343d-f978-4e96-9c6b-91e620d859ca' LIMIT 1 Date : 2025-07-20T17:25:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T17:25:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008995 post PendingInvicesDO 2 MED-101008821 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008821 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0289ebe2-66e3-4eb7-9161-cce51f0de33e' LIMIT 1 Date : 2025-07-21T09:01:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T09:01:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008996 post PendingInvicesDO 2 MED-101008656 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008656 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-101008656' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008656' OR OrderId='MED-101008656' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-21T09:29:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008997 post PendingInvicesDO 2 MED-101008822 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008822 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7bdd5a65-0ae0-42cd-bbd8-e566eca2e3e5' LIMIT 1 Date : 2025-07-21T09:53:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T09:53:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008998 post PendingInvicesDO 2 MED-101008823 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008823 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8e73076-0581-41ef-bed2-25de6118b463' LIMIT 1 Date : 2025-07-21T10:28:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T10:28:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104008999 post PendingInvicesDO 2 MED-101008824 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008824 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6e6d506-e756-43cc-a027-83ff3aa1df2e' LIMIT 1 Date : 2025-07-21T10:38:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T10:38:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009000 post PendingInvicesDO 2 MED-101008825 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008825 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e613a0bd-0a16-49ea-bd35-c9dc73393e20' LIMIT 1 Date : 2025-07-21T11:11:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T11:11:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009002 post PendingInvicesDO 2 MED-101008662 post PendingInvicesDO 2 MED-101008661 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009001 post PendingInvicesDO 2 MED-101008662 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008661 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008662 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-101008662' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008662' OR OrderId='MED-101008662' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008662' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008662' OR OrderId='MED-101008662' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-21T11:31:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009003 post PendingInvicesDO 2 MED-101008828 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008828 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef4ed09d-e278-4739-96a0-ce368adce6d6' LIMIT 1 Date : 2025-07-21T12:26:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T12:26:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009004 post PendingInvicesDO 2 MED-101008586 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-101008586' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008586' OR OrderId='MED-101008586' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-21T12:54:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009005 post PendingInvicesDO 2 MED-101008829 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008829 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1ec9edd-14a9-45c3-acdc-ae9d58d4e151' LIMIT 1 Date : 2025-07-21T13:06:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T13:06:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009006 post PendingInvicesDO 2 MED-101008830 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008830 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='298c3671-bdab-4c7b-8642-947f6cd667f7' LIMIT 1 Date : 2025-07-21T13:37:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T13:37:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009007 post PendingInvicesDO 2 MED-101008674 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008674 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-101008674' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008674' OR OrderId='MED-101008674' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-21T15:39:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009008 post PendingInvicesDO 2 MED-101008613 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-101008613' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008613' OR OrderId='MED-101008613' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-21T17:16:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009009 post PendingInvicesDO 2 MED-101008663 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-101008663' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008663' OR OrderId='MED-101008663' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-21T17:21:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009010 post PendingInvicesDO 2 MED-101008663 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-101008663' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008663' OR OrderId='MED-101008663' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-21T17:21:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009011 post PendingInvicesDO 2 MED-101008837 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008837 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f2335ac-32b1-4fe6-bfb3-4a7294c7d377' LIMIT 1 Date : 2025-07-21T17:58:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T17:58:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009012 post PendingInvicesDO 2 MED-101008838 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008838 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='130252da-9924-456c-8c1a-e4e5ed66a91f' LIMIT 1 Date : 2025-07-21T18:00:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T18:00:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009013 post PendingInvicesDO 2 MED-101008839 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008839 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb84f2dd-ab6c-48ff-a9d2-229467c4a0ea' LIMIT 1 Date : 2025-07-21T18:02:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T18:02:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009014 post PendingInvicesDO 2 MED-101008840 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008840 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29f4a461-0690-472e-96b0-91d87b38aecd' LIMIT 1 Date : 2025-07-21T18:05:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T18:05:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009015 post PendingInvicesDO 2 MED-101008841 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008841 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61658cff-fda5-485c-be9d-090dd47662f4' LIMIT 1 Date : 2025-07-21T18:07:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T18:07:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009016 post PendingInvicesDO 2 MED-101008842 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008842 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a130e44-2ea8-4fac-9a7b-d4ae66091e8c' LIMIT 1 Date : 2025-07-22T09:06:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T09:06:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009017 post PendingInvicesDO 2 MED-101008843 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008843 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8b3fc47-4846-4721-8894-4c010c2ed715' LIMIT 1 Date : 2025-07-22T09:24:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T09:24:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009018 post PendingInvicesDO 2 MED-101008844 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008844 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79bbbf4c-0e88-4b6c-bf7d-256edc9a9ed7' LIMIT 1 Date : 2025-07-22T10:05:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T10:05:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009019 post PendingInvicesDO 2 MED-101008846 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008846 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8721386f-cbd1-4fc8-b857-830def452a1e' LIMIT 1 Date : 2025-07-22T11:07:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T11:07:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009020 post PendingInvicesDO 2 MED-101008847 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008847 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1682f2e7-84a3-47b6-9f0f-f4631c65d076' LIMIT 1 Date : 2025-07-22T11:33:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T11:33:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009021 post PendingInvicesDO 2 MED-101008773 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008773 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-101008773' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008773' OR OrderId='MED-101008773' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-22T12:21:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009022 post PendingInvicesDO 2 MED-101008789 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008789 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-101008789' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008789' OR OrderId='MED-101008789' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-22T12:35:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009023 post PendingInvicesDO 2 MED-101008849 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008849 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dad5eac1-069f-479e-95aa-8d8973aa8252' LIMIT 1 Date : 2025-07-22T12:40:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T12:40:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009024 post PendingInvicesDO 2 MED-101008850 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008850 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8db6dbc-05aa-44dd-9992-4a0b5faf6d33' LIMIT 1 Date : 2025-07-22T13:08:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T13:08:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009025 post PendingInvicesDO 2 MED-101008851 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008851 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='732d0d49-6c27-444c-9c9d-31a5402a674a' LIMIT 1 Date : 2025-07-22T14:05:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T14:05:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009026 post PendingInvicesDO 2 MED-101008852 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008852 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b423f2c3-ef2e-4383-a5e2-bf2dda6a0e6f' LIMIT 1 Date : 2025-07-22T14:30:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T14:30:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009027 post PendingInvicesDO 2 MED-101008853 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008853 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a6e6a7c-0d1b-480c-a30b-74aace3d89e1' LIMIT 1 Date : 2025-07-22T14:50:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T14:50:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009028 post PendingInvicesDO 2 MED-101008854 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008854 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ce5210c-9ba9-47c9-aca1-09ab4ae6fc20' LIMIT 1 Date : 2025-07-22T15:20:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T15:20:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009029 post PendingInvicesDO 2 MED-101008855 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008855 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bbcbe59b-d660-4320-9653-71fce6b7a1dd' LIMIT 1 Date : 2025-07-22T15:42:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T15:42:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009030 post PendingInvicesDO 2 MED-101008856 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008856 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79101a33-3f2b-45ad-b14f-afb6d986ede0' LIMIT 1 Date : 2025-07-22T16:21:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T16:21:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009031 post PendingInvicesDO 2 MED-101008857 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008857 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d6d96b7-1dfd-44d9-bce3-770eaf62a0a8' LIMIT 1 Date : 2025-07-22T16:54:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T16:54:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009032 post PendingInvicesDO 2 MED-101008858 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008858 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='afc5ef73-9973-45ce-971b-9a5679650187' LIMIT 1 Date : 2025-07-22T17:23:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T17:23:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009033 post PendingInvicesDO 2 MED-101008859 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008859 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3301012-3edf-435c-b169-40cff39b240c' LIMIT 1 Date : 2025-07-22T17:39:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T17:39:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009034 post PendingInvicesDO 2 MED-101008539 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008539 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-101008539' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008539' OR OrderId='MED-101008539' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-22T17:48:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009035 post PendingInvicesDO 2 MED-101008861 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008861 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e2dfe43-2a7e-46dc-abf5-e61aa30c4265' LIMIT 1 Date : 2025-07-23T10:41:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T10:41:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009036 post PendingInvicesDO 2 MED-101008862 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008862 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9230a403-2a5b-4ad1-a1a8-f642bdf75069' LIMIT 1 Date : 2025-07-23T11:18:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T11:18:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009037 post PendingInvicesDO 2 MED-101008863 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008863 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5563e669-b37d-42f9-822b-284e6592e110' LIMIT 1 Date : 2025-07-23T11:59:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T11:59:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009038 post PendingInvicesDO 2 MED-101008864 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008864 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f440f4b2-e34e-4cc7-88d1-40c8bb61973c' LIMIT 1 Date : 2025-07-23T12:11:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T12:11:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009039 post PendingInvicesDO 2 MED-101008865 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008865 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0c4beaf-c4aa-4605-a18c-2d1ad449f49d' LIMIT 1 Date : 2025-07-23T12:20:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T12:20:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009040 post PendingInvicesDO 2 MED-101008866 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008866 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad3545db-29f6-4c8f-84d6-b2b276fc0f6a' LIMIT 1 Date : 2025-07-23T12:44:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T12:44:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009041 post PendingInvicesDO 2 MED-101008867 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008867 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2026c957-0c52-4b8e-b1b6-41d79d9fc671' LIMIT 1 Date : 2025-07-23T12:45:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T12:45:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009042 post PendingInvicesDO 2 MED-101008848 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-101008848' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008848' OR OrderId='MED-101008848' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-23T13:05:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009043 post PendingInvicesDO 2 MED-101008870 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008870 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7d99750-4b17-4df8-a881-783edb625005' LIMIT 1 Date : 2025-07-23T14:44:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T14:44:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009044 post PendingInvicesDO 2 MED-101008871 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008871 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='efc2ed48-0615-4e16-b039-6e669e34f78c' LIMIT 1 Date : 2025-07-23T15:19:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T15:19:50 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-104009045 post PendingInvicesDO 2 MED-101008872 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008872 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f651b6a0-f560-48a0-82bd-dcbc34f2dc6c' LIMIT 1 Date : 2025-07-23T15:47:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T15:47:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009046 post PendingInvicesDO 2 MED-101008873 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008873 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='53bb1177-20b9-45ca-8751-5bb02ca159db' LIMIT 1 Date : 2025-07-23T16:30:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T16:30:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009047 post PendingInvicesDO 2 MED-101008874 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008874 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='134dcde1-1cca-49ab-89c5-13929e32a6bc' LIMIT 1 Date : 2025-07-23T16:51:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T16:51:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009048 post PendingInvicesDO 2 MED-101008875 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008875 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c48fd28f-ba37-4a65-97e7-acc55fb49051' LIMIT 1 Date : 2025-07-23T17:13:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T17:13:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009049 post PendingInvicesDO 2 MED-101008876 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008876 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f4239eb-2920-44d3-8f9f-99950c8292f3' LIMIT 1 Date : 2025-07-23T17:14:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T17:14:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009050 post PendingInvicesDO 2 MED-101008877 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008877 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7b9e70f-16d6-4832-942c-b60923ab8e53' LIMIT 1 Date : 2025-07-23T17:14:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T17:14:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009051 post PendingInvicesDO 2 MED-101008878 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008878 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d36fba04-2fec-42f0-b22f-6c1db0d83896' LIMIT 1 Date : 2025-07-23T17:20:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T17:20:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009052 post PendingInvicesDO 2 MED-101008879 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008879 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d9449cc-6d13-4189-9d77-f6e42f7b817e' LIMIT 1 Date : 2025-07-23T18:00:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T18:00:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009053 post PendingInvicesDO 2 MED-101008880 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008880 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a2b3f3c-5f9d-4262-b3d3-5472fff6e339' LIMIT 1 Date : 2025-07-24T09:03:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T09:03:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009055 post PendingInvicesDO 2 MED-101008742 post PendingInvicesDO 2 MED-101008741 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009054 post PendingInvicesDO 2 MED-101008742 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008741 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008742 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-101008742' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008742' OR OrderId='MED-101008742' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008742' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008742' OR OrderId='MED-101008742' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-24T09:51:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009056 post PendingInvicesDO 2 MED-101008882 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008882 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='adb4a7c2-c6ac-426c-95a7-a931b4e99e11' LIMIT 1 Date : 2025-07-24T10:25:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T10:25:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009057 post PendingInvicesDO 2 MED-101008883 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008883 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6681963b-c622-4daf-a6dd-4cb4880487c7' LIMIT 1 Date : 2025-07-24T10:36:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T10:36:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009058 post PendingInvicesDO 2 MED-101008884 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008884 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8dfd3d1-aafc-4437-85ca-70ea20925827' LIMIT 1 Date : 2025-07-24T10:43:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T10:43:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009059 post PendingInvicesDO 2 MED-101008885 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008885 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec7d3eed-9554-4e4e-b72c-344f61b38068' LIMIT 1 Date : 2025-07-24T11:12:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T11:12:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009060 post PendingInvicesDO 2 MED-101008886 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008886 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a52323b3-82c6-41be-9fd4-d863ef6c0f64' LIMIT 1 Date : 2025-07-24T11:28:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T11:28:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009061 post PendingInvicesDO 2 MED-101008739 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008739 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-101008739' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008739' OR OrderId='MED-101008739' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-24T11:36:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009062 post PendingInvicesDO 2 MED-101008888 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008888 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95f93d76-19b3-442e-a61f-8ab1b01eef14' LIMIT 1 Date : 2025-07-24T11:58:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T11:58:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009063 post PendingInvicesDO 2 MED-101008889 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008889 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32ed1f42-6c14-4378-aa8b-2bcdee0cdc8d' LIMIT 1 Date : 2025-07-24T12:05:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T12:05:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009064 post PendingInvicesDO 2 MED-101008848 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-101008848' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008848' OR OrderId='MED-101008848' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-24T12:54:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009065 post PendingInvicesDO 2 MED-101008868 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-101008868' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008868' OR OrderId='MED-101008868' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-24T12:55:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009066 post PendingInvicesDO 2 MED-101008892 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008892 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc85a456-4464-434d-bee0-a3a20fa0e871' LIMIT 1 Date : 2025-07-24T13:58:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T13:58:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009067 post PendingInvicesDO 2 MED-101008795 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008795 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-101008795' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008795' OR OrderId='MED-101008795' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-24T14:28:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009068 post PendingInvicesDO 2 MED-101008894 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008894 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4228cd0-b88e-4d95-a695-d931b7aae79f' LIMIT 1 Date : 2025-07-24T15:19:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T15:19:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009069 post PendingInvicesDO 2 MED-101008895 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008895 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='311f3982-c274-46fe-ab01-7daaa3fa8ea8' LIMIT 1 Date : 2025-07-24T15:38:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T15:38:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009070 post PendingInvicesDO 2 MED-101008896 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008896 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='850597ce-5a60-44ef-bfc2-ca31c91ecc11' LIMIT 1 Date : 2025-07-24T16:12:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T16:12:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009071 post PendingInvicesDO 2 MED-101008810 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008810 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-101008810' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008810' OR OrderId='MED-101008810' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-24T16:26:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009072 post PendingInvicesDO 2 MED-101008898 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008898 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f2479e2-9acd-4fa0-92da-564898da2257' LIMIT 1 Date : 2025-07-24T16:54:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T16:54:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009073 post PendingInvicesDO 2 MED-101008899 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008899 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e52c15e1-d192-4c87-83b7-631371a1a615' LIMIT 1 Date : 2025-07-24T17:11:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T17:11:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009074 post PendingInvicesDO 2 MED-101008900 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008900 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5293234-ddd0-47e6-b46a-7adb3d86cb4a' LIMIT 1 Date : 2025-07-24T17:23:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T17:23:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009075 post PendingInvicesDO 2 MED-101008901 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008901 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d56b3fb-efe8-43bb-833e-d927c7b74fad' LIMIT 1 Date : 2025-07-24T17:58:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T17:58:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009076 post PendingInvicesDO 2 MED-101008902 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008902 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06aa2a30-1bf2-4123-a06e-ed29b346d180' LIMIT 1 Date : 2025-07-24T18:24:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T18:24:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009077 post PendingInvicesDO 2 MED-101008903 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008903 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8308325e-34b1-4464-af0b-b30ff9fdcda4' LIMIT 1 Date : 2025-07-24T18:31:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T18:31:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009078 post PendingInvicesDO 2 MED-101008904 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008904 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa3c49aa-a856-475c-827c-a40b893792f4' LIMIT 1 Date : 2025-07-26T08:56:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T08:56:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009079 post PendingInvicesDO 2 MED-101008905 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008905 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5fe7610f-89da-48b4-bf85-6b94c48a5cfc' LIMIT 1 Date : 2025-07-26T09:36:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T09:36:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009080 post PendingInvicesDO 2 MED-101008906 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008906 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe7cc3b9-0e17-4b40-96f4-a0592bad9d90' LIMIT 1 Date : 2025-07-26T10:40:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T10:40:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009081 post PendingInvicesDO 2 MED-101008907 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008907 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78d22ddb-2305-4a09-97a9-f25cc1324526' LIMIT 1 Date : 2025-07-26T11:14:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T11:14:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009082 post PendingInvicesDO 2 MED-101008799 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008799 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-101008799' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008799' OR OrderId='MED-101008799' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-26T11:32:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009083 post PendingInvicesDO 2 MED-101008831 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008831 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-101008831' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008831' OR OrderId='MED-101008831' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-26T12:47:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009084 post PendingInvicesDO 2 MED-101008911 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008911 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='156157c1-4c66-438e-8123-debcb4d480c6' LIMIT 1 Date : 2025-07-26T13:51:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T13:51:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009085 post PendingInvicesDO 2 MED-101008912 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008912 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c36b6ca3-e7c5-4b97-a402-9af304e38636' LIMIT 1 Date : 2025-07-26T13:52:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T13:52:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009086 post PendingInvicesDO 2 MED-101008913 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008913 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7a881e2-4e5a-4b90-9150-2fdb832ced09' LIMIT 1 Date : 2025-07-26T13:52:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T13:52:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009087 post PendingInvicesDO 2 MED-101008914 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008914 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e57405b-a797-4644-a0fa-dfa64eebedcf' LIMIT 1 Date : 2025-07-26T14:07:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T14:07:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009088 post PendingInvicesDO 2 MED-101008915 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008915 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8a27040-247c-4321-a931-891fff23d618' LIMIT 1 Date : 2025-07-26T14:32:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T14:32:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009089 post PendingInvicesDO 2 MED-101008917 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008917 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07dd2e80-1f11-4719-a26a-55d3b6fd54c9' LIMIT 1 Date : 2025-07-26T15:34:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T15:34:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009090 post PendingInvicesDO 2 MED-101008920 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008920 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df611152-e7cd-4ab7-bb41-bff525f89b85' LIMIT 1 Date : 2025-07-26T16:57:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T16:57:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009091 post PendingInvicesDO 2 MED-101008836 post PendingInvicesDO 2 MED-101008744 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008836 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008744 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-101008836' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008836' OR OrderId='MED-101008836' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008744' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008744' OR OrderId='MED-101008744' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-26T17:18:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009092 post PendingInvicesDO 2 MED-101008922 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008922 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17ea6446-8af2-45a0-a4a0-8eebd80dd264' LIMIT 1 Date : 2025-07-26T17:47:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T17:47:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009093 post PendingInvicesDO 2 MED-101008923 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008923 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21f78f39-359a-4f7f-a0ce-d62ea27b22ff' LIMIT 1 Date : 2025-07-26T18:07:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T18:07:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009095 post PendingInvicesDO 2 MED-101008827 post PendingInvicesDO 2 MED-101008826 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009094 post PendingInvicesDO 2 MED-101008827 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008826 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008827 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-101008827' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008827' OR OrderId='MED-101008827' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008827' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008827' OR OrderId='MED-101008827' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-27T08:59:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009096 post PendingInvicesDO 2 MED-101008890 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008890 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-101008890' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008890' OR OrderId='MED-101008890' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-27T09:59:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009098 post PendingInvicesDO 2 MED-101008926 post PendingInvicesDO 2 MED-101008925 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009097 post PendingInvicesDO 2 MED-101008926 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008925 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008926 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90b76786-506b-4ab7-867f-a3d9bae27942' LIMIT 1 Date : 2025-07-27T10:37:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8142da17-32f5-40e5-8736-0bb0e3bf47b7' LIMIT 1 Date : 2025-07-27T10:37:41  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90b76786-506b-4ab7-867f-a3d9bae27942' LIMIT 1 Date : 2025-07-27T10:37:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8142da17-32f5-40e5-8736-0bb0e3bf47b7' LIMIT 1 Date : 2025-07-27T10:37:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-27T10:37:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009099 post PendingInvicesDO 2 MED-101008927 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008927 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e103afde-a9ad-4a83-9ae1-4ff913d85908' LIMIT 1 Date : 2025-07-27T10:53:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T10:53:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009100 post PendingInvicesDO 2 MED-101008687 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-101008687' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008687' OR OrderId='MED-101008687' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-27T11:34:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009101 post PendingInvicesDO 2 MED-101008928 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008928 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1f23f9d-8406-4c0f-b051-26c2449cb000' LIMIT 1 Date : 2025-07-27T11:41:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T11:41:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009102 post PendingInvicesDO 2 MED-101008929 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008929 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb68688f-a349-4b17-8f44-0fbcc5391f5e' LIMIT 1 Date : 2025-07-27T12:06:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T12:06:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009103 post PendingInvicesDO 2 MED-101008930 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008930 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d1ff299-d436-47b0-989f-7f7582d36909' LIMIT 1 Date : 2025-07-27T12:08:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T12:08:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009104 post PendingInvicesDO 2 MED-101008931 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008931 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3af4bc1c-f839-4de2-9d2d-907714350b27' LIMIT 1 Date : 2025-07-27T12:09:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T12:09:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009105 post PendingInvicesDO 2 MED-101008868 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-101008868' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008868' OR OrderId='MED-101008868' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-27T12:33:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009106 post PendingInvicesDO 2 MED-101008891 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-101008891' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008891' OR OrderId='MED-101008891' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-27T12:34:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009107 post PendingInvicesDO 2 MED-101008891 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-101008891' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008891' OR OrderId='MED-101008891' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-27T12:38:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009108 post PendingInvicesDO 2 MED-101008933 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008933 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7b4d84d-baff-457d-9f55-d5876f369488' LIMIT 1 Date : 2025-07-27T13:14:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T13:14:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009109 post PendingInvicesDO 2 MED-101008934 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008934 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93f65543-ad54-4940-afce-42cb173f22a5' LIMIT 1 Date : 2025-07-27T13:15:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T13:15:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009110 post PendingInvicesDO 2 MED-101008935 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008935 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2953e6d-7368-4afb-8682-ee543e5b36db' LIMIT 1 Date : 2025-07-27T13:15:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T13:15:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009111 post PendingInvicesDO 2 MED-101008721 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008721 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-101008721' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008721' OR OrderId='MED-101008721' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-27T13:17:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009112 post PendingInvicesDO 2 MED-101008937 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008937 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b49c3b2-5ac3-4c75-b512-a5821b838351' LIMIT 1 Date : 2025-07-27T13:18:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T13:18:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009113 post PendingInvicesDO 2 MED-101008938 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008938 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e696a347-69aa-4fbe-a040-a1e0d6336218' LIMIT 1 Date : 2025-07-27T13:35:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T13:35:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009114 post PendingInvicesDO 2 MED-101008940 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008940 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da61df97-0adc-427c-a8f3-5aed6c2e7d96' LIMIT 1 Date : 2025-07-27T14:48:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T14:48:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009115 post PendingInvicesDO 2 MED-101008941 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008941 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10a6b94d-1378-4dbc-ba12-a01eef7d73b2' LIMIT 1 Date : 2025-07-27T15:27:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T15:27:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009116 post PendingInvicesDO 2 MED-101008942 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008942 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f177cf15-0e95-4989-9f65-516fed3c92f3' LIMIT 1 Date : 2025-07-27T15:33:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T15:33:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009117 post PendingInvicesDO 2 MED-101008943 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008943 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2874b8f-350a-4135-8abf-529a7116f669' LIMIT 1 Date : 2025-07-27T15:57:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T15:57:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009118 post PendingInvicesDO 2 MED-101008944 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008944 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96962f01-c002-4482-a7d3-9b6abfba8147' LIMIT 1 Date : 2025-07-27T16:22:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T16:22:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009119 post PendingInvicesDO 2 MED-101008945 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008945 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='337d74f3-fab6-4932-ab86-63e82dcf1b98' LIMIT 1 Date : 2025-07-27T16:52:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T16:52:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009120 post PendingInvicesDO 2 MED-101008946 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008946 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a05bba13-6559-4801-9433-7040b8921ef2' LIMIT 1 Date : 2025-07-27T17:33:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T17:33:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009121 post PendingInvicesDO 2 MED-101008818 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008818 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-101008818' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008818' OR OrderId='MED-101008818' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-27T17:43:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009122 post PendingInvicesDO 2 MED-101008881 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008881 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-101008881' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008881' OR OrderId='MED-101008881' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-28T08:32:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009123 post PendingInvicesDO 2 MED-101008948 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008948 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9758b033-a257-4930-aca7-df48c376719a' LIMIT 1 Date : 2025-07-28T08:33:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T08:33:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009124 post PendingInvicesDO 2 MED-101008949 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008949 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0cf0d3e4-28eb-478d-9c32-01e27327643f' LIMIT 1 Date : 2025-07-28T09:15:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T09:15:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009125 post PendingInvicesDO 2 MED-101008950 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008950 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b369bc9-719c-4269-a1cd-748b00c66944' LIMIT 1 Date : 2025-07-28T09:52:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T09:52:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009126 post PendingInvicesDO 2 MED-101008951 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008951 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74d0f77d-ccd1-4528-a16f-79333e870a45' LIMIT 1 Date : 2025-07-28T10:50:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T10:50:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009127 post PendingInvicesDO 2 MED-101008952 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008952 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94e1602c-b66a-4aa7-a61a-98b6a2280ff6' LIMIT 1 Date : 2025-07-28T10:54:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T10:54:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009128 post PendingInvicesDO 2 MED-101008953 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008953 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26379c84-08a0-4cec-be20-9f91e41212fb' LIMIT 1 Date : 2025-07-28T11:11:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T11:11:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009129 post PendingInvicesDO 2 MED-101008754 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008754 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-101008754' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008754' OR OrderId='MED-101008754' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-28T11:59:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009130 post PendingInvicesDO 2 MED-101008954 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008954 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2241abf9-964b-438a-9005-69f1d2cc587f' LIMIT 1 Date : 2025-07-28T12:05:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T12:05:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009131 post PendingInvicesDO 2 MED-101008955 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008955 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d60b6046-2b3b-41c8-90aa-e60948cf7ebd' LIMIT 1 Date : 2025-07-28T12:32:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T12:32:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009132 post PendingInvicesDO 2 MED-101008956 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008956 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ddb12e77-d3c9-4510-b546-7afcd8e53cf7' LIMIT 1 Date : 2025-07-28T12:39:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T12:39:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009133 post PendingInvicesDO 2 MED-101008652 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008652 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-101008652' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008652' OR OrderId='MED-101008652' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-28T13:35:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009134 post PendingInvicesDO 2 MED-101008597 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-101008597' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008597' OR OrderId='MED-101008597' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-28T13:35:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009135 post PendingInvicesDO 2 MED-101008958 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008958 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='254a4ea0-c915-4d90-af3c-a179e4137dcc' LIMIT 1 Date : 2025-07-28T13:38:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T13:38:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009136 post PendingInvicesDO 2 MED-101008959 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008959 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a4a50bb-2197-42df-a295-2093c29ada81' LIMIT 1 Date : 2025-07-28T14:22:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T14:22:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009137 post PendingInvicesDO 2 MED-101008790 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008790 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-101008790' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008790' OR OrderId='MED-101008790' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-28T15:23:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009138 post PendingInvicesDO 2 MED-101008961 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008961 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0cd0ab4b-1b2b-496b-a62b-4c4f885759be' LIMIT 1 Date : 2025-07-28T16:01:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T16:01:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009139 post PendingInvicesDO 2 MED-101008962 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008962 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f02bfaf-2f05-4b4d-ad24-bdec2e2cae23' LIMIT 1 Date : 2025-07-28T16:35:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T16:35:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009140 post PendingInvicesDO 2 MED-101008910 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008910 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-101008910' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008910' OR OrderId='MED-101008910' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-28T17:05:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009141 post PendingInvicesDO 2 MED-101008964 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008964 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c27308f-3c5b-48ad-a626-3e3b9e87a102' LIMIT 1 Date : 2025-07-28T17:44:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T17:44:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009142 post PendingInvicesDO 2 MED-101008965 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008965 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d88e740-873f-4378-92e3-1b4e9033905a' LIMIT 1 Date : 2025-07-28T17:59:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T17:59:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009143 post PendingInvicesDO 2 MED-101008966 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008966 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b363589-92ee-4c26-b230-2cb9d61ffa26' LIMIT 1 Date : 2025-07-28T18:01:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T18:01:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009144 post PendingInvicesDO 2 MED-101008967 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008967 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e43fceab-24d2-4dfd-8aa5-d210e17bb7cc' LIMIT 1 Date : 2025-07-28T18:05:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T18:05:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009145 post PendingInvicesDO 2 MED-101008968 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008968 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb25366b-d280-405c-9c4f-536baee50543' LIMIT 1 Date : 2025-07-29T09:01:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T09:01:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009146 post PendingInvicesDO 2 MED-101008969 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008969 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6c9490e-0178-4121-a47b-11ac200462b6' LIMIT 1 Date : 2025-07-29T09:36:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T09:36:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009148 post PendingInvicesDO 2 MED-101008971 post PendingInvicesDO 2 MED-101008970 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009147 post PendingInvicesDO 2 MED-101008971 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008970 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008971 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6186fbd0-53a8-4c8b-99c0-7bfa158e9caf' LIMIT 1 Date : 2025-07-29T09:47:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdb32dcc-e91e-4a50-b8e5-8fd86fe67894' LIMIT 1 Date : 2025-07-29T09:47:09  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6186fbd0-53a8-4c8b-99c0-7bfa158e9caf' LIMIT 1 Date : 2025-07-29T09:47:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdb32dcc-e91e-4a50-b8e5-8fd86fe67894' LIMIT 1 Date : 2025-07-29T09:47:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-29T09:47:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009149 post PendingInvicesDO 2 MED-101008909 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008909 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-101008909' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008909' OR OrderId='MED-101008909' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-29T11:01:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009150 post PendingInvicesDO 2 MED-101008974 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008974 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='653eb426-2ff1-404c-a678-b6ab4c8567c3' LIMIT 1 Date : 2025-07-29T11:02:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T11:02:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009151 post PendingInvicesDO 2 MED-101008975 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008975 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fbc1ea61-bf62-4891-9691-e1251d73864e' LIMIT 1 Date : 2025-07-29T11:04:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T11:04:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009152 post PendingInvicesDO 2 MED-101008978 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008978 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08ae5170-5366-464f-9c92-545e5941aee5' LIMIT 1 Date : 2025-07-29T12:37:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T12:37:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009153 post PendingInvicesDO 2 MED-101008979 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008979 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6552be9-ce1a-42c9-86bf-4585978b14e8' LIMIT 1 Date : 2025-07-29T12:49:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T12:49:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009154 post PendingInvicesDO 2 MED-101008980 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008980 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5131bea5-21c2-448a-b908-b2318a8a25e4' LIMIT 1 Date : 2025-07-29T12:50:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T12:50:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009155 post PendingInvicesDO 2 MED-101008981 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008981 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3bea5544-b89b-474b-a1a9-dafa74ff2e6e' LIMIT 1 Date : 2025-07-29T12:55:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T12:55:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009156 post PendingInvicesDO 2 MED-101008982 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008982 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0285beab-9f08-434a-a43a-a455118cda99' LIMIT 1 Date : 2025-07-29T13:50:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T13:50:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009157 post PendingInvicesDO 2 MED-101008983 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008983 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d9c23fe-a7fe-4d8d-8187-72b253e449fe' LIMIT 1 Date : 2025-07-29T13:53:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T13:53:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009158 post PendingInvicesDO 2 MED-101008751 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-101008751' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008751' OR OrderId='MED-101008751' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-29T14:21:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009160 post PendingInvicesDO 2 MED-101008985 post PendingInvicesDO 2 MED-101008984 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009159 post PendingInvicesDO 2 MED-101008985 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008984 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008985 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75638309-5510-4b7b-b1d4-e8f694a59b6e' LIMIT 1 Date : 2025-07-29T14:32:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4452f630-bc76-4627-a5e3-9c994c2dee0f' LIMIT 1 Date : 2025-07-29T14:32:19  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75638309-5510-4b7b-b1d4-e8f694a59b6e' LIMIT 1 Date : 2025-07-29T14:32:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4452f630-bc76-4627-a5e3-9c994c2dee0f' LIMIT 1 Date : 2025-07-29T14:32:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-29T14:32:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009161 post PendingInvicesDO 2 MED-101008986 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008986 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aef7fabc-2255-4ca3-87b3-372b2efcf464' LIMIT 1 Date : 2025-07-29T15:31:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T15:31:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009162 post PendingInvicesDO 2 MED-101008987 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008987 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f1f5beb-777a-4964-8c1d-194a026acebf' LIMIT 1 Date : 2025-07-29T15:44:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T15:44:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009163 post PendingInvicesDO 2 MED-101008988 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008988 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7aec8d7-7bf4-4d49-bbb1-f3ab00d4853f' LIMIT 1 Date : 2025-07-29T16:49:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T16:49:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009164 post PendingInvicesDO 2 MED-101008989 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008989 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='957c0d94-6c95-4ef7-be06-1bc1168304a3' LIMIT 1 Date : 2025-07-29T17:21:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T17:21:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009165 post PendingInvicesDO 2 MED-101008990 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008990 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f16a4c4-13ae-4159-9f85-4447f1e0c363' LIMIT 1 Date : 2025-07-29T17:51:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T17:51:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009167 post PendingInvicesDO 2 MED-101008919 post PendingInvicesDO 2 MED-101008918 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009166 post PendingInvicesDO 2 MED-101008919 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008918 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008919 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-101008919' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008919' OR OrderId='MED-101008919' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008919' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008919' OR OrderId='MED-101008919' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-29T18:03:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009168 post PendingInvicesDO 2 MED-101008992 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008992 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ab72a7a-36e5-45dc-9467-0bac8cdf378b' LIMIT 1 Date : 2025-07-29T18:38:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T18:38:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009169 post PendingInvicesDO 2 MED-101008993 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008993 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='804fed09-6706-4d18-b5ef-76014ea5eccf' LIMIT 1 Date : 2025-07-30T09:15:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T09:15:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009170 post PendingInvicesDO 2 MED-101008994 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008994 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1791ca85-1e1b-4320-a07c-e2247988bc4b' LIMIT 1 Date : 2025-07-30T09:58:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T09:58:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009171 post PendingInvicesDO 2 MED-101008897 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-101008897' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008897' OR OrderId='MED-101008897' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T10:42:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009172 post PendingInvicesDO 2 MED-101008995 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008995 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1be81adf-2359-4aaf-bac7-5e875a78c17a' LIMIT 1 Date : 2025-07-30T11:24:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T11:24:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009173 post PendingInvicesDO 2 MED-101008996 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008996 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91c900a2-5705-447a-8b6d-f5bceab83c27' LIMIT 1 Date : 2025-07-30T11:30:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T11:30:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009174 post PendingInvicesDO 2 MED-101008805 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008805 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-101008805' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008805' OR OrderId='MED-101008805' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T11:39:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009175 post PendingInvicesDO 2 MED-101008998 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008998 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7408ca1c-82ed-47e7-bfb6-d19998e6955b' LIMIT 1 Date : 2025-07-30T12:21:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T12:21:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009176 post PendingInvicesDO 2 MED-101008999 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008999 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d006e175-4ea9-4d96-bba6-cbf384c91d74' LIMIT 1 Date : 2025-07-30T12:33:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T12:33:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009177 post PendingInvicesDO 2 MED-101008932 post PendingInvicesDO 2 MED-101008891 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008932 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-101008932' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008932' OR OrderId='MED-101008932' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008891' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008891' OR OrderId='MED-101008891' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T13:06:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009178 post PendingInvicesDO 2 MED-101009001 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009001 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d82d2b74-5a7f-4423-94a4-b7895a042dcc' LIMIT 1 Date : 2025-07-30T13:28:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T13:28:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009180 post PendingInvicesDO 2 MED-101009003 post PendingInvicesDO 2 MED-101009002 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009179 post PendingInvicesDO 2 MED-101009003 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009002 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009003 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44afa695-99af-42d1-b52a-aff93b2d1445' LIMIT 1 Date : 2025-07-30T14:22:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3ed84c2-cb04-4ccd-9a3a-0a4c39ccd8d0' LIMIT 1 Date : 2025-07-30T14:22:03  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44afa695-99af-42d1-b52a-aff93b2d1445' LIMIT 1 Date : 2025-07-30T14:22:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3ed84c2-cb04-4ccd-9a3a-0a4c39ccd8d0' LIMIT 1 Date : 2025-07-30T14:22:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-30T14:22:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009181 post PendingInvicesDO 2 MED-101009004 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009004 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd3c73b3-8591-45c4-b103-0d8e07aee34e' LIMIT 1 Date : 2025-07-30T14:55:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T14:55:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009182 post PendingInvicesDO 2 MED-101009005 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009005 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf2bb56e-04b5-4f6d-bb90-1f4ae6c3513d' LIMIT 1 Date : 2025-07-30T15:01:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T15:01:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009183 post PendingInvicesDO 2 MED-101008887 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008887 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-101008887' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008887' OR OrderId='MED-101008887' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T15:29:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009184 post PendingInvicesDO 2 MED-101009006 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009006 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7c7e835-35e1-437d-8087-cc0d0e5b126c' LIMIT 1 Date : 2025-07-30T15:30:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T15:30:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009185 post PendingInvicesDO 2 MED-101009007 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009007 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d45def0-0aeb-4aa1-a39a-2840d3b12476' LIMIT 1 Date : 2025-07-30T15:32:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T15:32:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009186 post PendingInvicesDO 2 MED-101009008 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009008 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='892ef861-1cc1-4392-a5ed-87a91945dabc' LIMIT 1 Date : 2025-07-30T15:41:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T15:41:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009187 post PendingInvicesDO 2 MED-101008725 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008725 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-101008725' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008725' OR OrderId='MED-101008725' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T15:54:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009189 post PendingInvicesDO 2 MED-101008834 post PendingInvicesDO 2 MED-101008833 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009188 post PendingInvicesDO 2 MED-101008834 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008833 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008834 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-101008834' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008834' OR OrderId='MED-101008834' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008834' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008834' OR OrderId='MED-101008834' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T15:55:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009190 post PendingInvicesDO 2 MED-101009009 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009009 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b2db215-7dd7-4494-bf82-62ff95c9f67f' LIMIT 1 Date : 2025-07-30T16:24:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T16:24:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009191 post PendingInvicesDO 2 MED-101009010 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009010 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff4c9a37-4fe6-44cf-8c82-599a9fa45f0e' LIMIT 1 Date : 2025-07-30T16:50:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T16:50:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009192 post PendingInvicesDO 2 MED-101009011 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009011 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f365358-69e4-445d-bc5d-58a9e4db74e9' LIMIT 1 Date : 2025-07-30T17:12:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T17:12:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009194 post PendingInvicesDO 2 MED-101008794 post PendingInvicesDO 2 MED-101008793 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009193 post PendingInvicesDO 2 MED-101008794 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008793 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008794 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-101008794' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008794' OR OrderId='MED-101008794' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008794' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008794' OR OrderId='MED-101008794' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T17:22:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009195 post PendingInvicesDO 2 MED-101008613 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-101008613' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008613' OR OrderId='MED-101008613' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T17:46:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009196 post PendingInvicesDO 2 MED-101008751 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-101008751' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008751' OR OrderId='MED-101008751' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T17:55:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009197 post PendingInvicesDO 2 MED-101008893 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008893 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-101008893' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008893' OR OrderId='MED-101008893' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T08:24:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009198 post PendingInvicesDO 2 MED-101008835 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008835 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-101008835' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008835' OR OrderId='MED-101008835' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T08:47:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009199 post PendingInvicesDO 2 MED-101008801 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008801 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-101008801' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008801' OR OrderId='MED-101008801' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T08:47:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009200 post PendingInvicesDO 2 MED-101009012 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009012 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='565a915c-5b64-4c9a-873b-f87345772c21' LIMIT 1 Date : 2025-07-31T09:02:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T09:02:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009201 post PendingInvicesDO 2 MED-101008845 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008845 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-101008845' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008845' OR OrderId='MED-101008845' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T09:03:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009202 post PendingInvicesDO 2 MED-101009013 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009013 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ce7c07f-c72c-4a48-85e0-a2e8a8139b4d' LIMIT 1 Date : 2025-07-31T09:13:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T09:13:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009203 post PendingInvicesDO 2 MED-101009014 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009014 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2aba30a9-9f76-4699-8e48-aa88c7ab8ccb' LIMIT 1 Date : 2025-07-31T09:50:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T09:50:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009204 post PendingInvicesDO 2 MED-101009015 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009015 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a975d5f2-5a0f-4faa-a6ff-52d502121fe8' LIMIT 1 Date : 2025-07-31T10:13:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T10:13:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009205 post PendingInvicesDO 2 MED-101009016 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009016 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='916ea84a-5700-48a6-be92-f8c26c7501ca' LIMIT 1 Date : 2025-07-31T10:33:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T10:33:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009206 post PendingInvicesDO 2 MED-101009017 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009017 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b47e5509-605b-4e29-9d3b-bb48945ca13b' LIMIT 1 Date : 2025-07-31T10:43:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T10:43:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009207 post PendingInvicesDO 2 MED-101009018 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009018 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9bb871e-5dce-48ab-94df-9499ccb9c6cb' LIMIT 1 Date : 2025-07-31T11:30:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T11:30:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009208 post PendingInvicesDO 2 MED-101008613 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-101008613' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008613' OR OrderId='MED-101008613' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T12:00:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009209 post PendingInvicesDO 2 MED-101009019 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009019 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='701c2e6f-2d48-47d1-a33d-89aed1eed221' LIMIT 1 Date : 2025-07-31T12:06:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T12:06:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009210 post PendingInvicesDO 2 MED-101008483 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008483 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-101008483' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008483' OR OrderId='MED-101008483' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T12:26:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009211 post PendingInvicesDO 2 MED-101009000 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009000 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-101009000' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009000' OR OrderId='MED-101009000' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T12:33:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009212 post PendingInvicesDO 2 MED-101009020 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009020 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7f52137-8fec-4ab9-b565-876b2eb50eea' LIMIT 1 Date : 2025-07-31T13:01:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T13:01:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009213 post PendingInvicesDO 2 MED-101009021 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009021 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b17ba0b-c5df-4a07-a5ae-928e05678bff' LIMIT 1 Date : 2025-07-31T13:45:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T13:45:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009214 post PendingInvicesDO 2 MED-101008687 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-101008687' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008687' OR OrderId='MED-101008687' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T14:04:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009215 post PendingInvicesDO 2 MED-101009022 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009022 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91bb8332-38ba-4db2-b38e-a8e7cce39a46' LIMIT 1 Date : 2025-07-31T14:10:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T14:10:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009216 post PendingInvicesDO 2 MED-101009023 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009023 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d611143-555e-4f46-b7f3-a36a17ba6b4b' LIMIT 1 Date : 2025-07-31T14:19:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T14:19:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009217 post PendingInvicesDO 2 MED-101009024 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009024 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='650a58c0-dab0-46a0-8ed6-6d40398e3191' LIMIT 1 Date : 2025-07-31T15:08:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T15:08:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009218 post PendingInvicesDO 2 MED-101009025 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009025 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ada8533a-82f1-43ec-90fc-74386a32b3c2' LIMIT 1 Date : 2025-07-31T15:34:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T15:34:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009219 post PendingInvicesDO 2 MED-101008586 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-101008586' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008586' OR OrderId='MED-101008586' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T15:56:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009220 post PendingInvicesDO 2 MED-101008991 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008991 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-101008991' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008991' OR OrderId='MED-101008991' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T15:57:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009221 post PendingInvicesDO 2 MED-101008597 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-101008597' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008597' OR OrderId='MED-101008597' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T16:04:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009222 post PendingInvicesDO 2 MED-101008860 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008860 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-101008860' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008860' OR OrderId='MED-101008860' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T16:04:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009223 post PendingInvicesDO 2 MED-101008957 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008957 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-101008957' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008957' OR OrderId='MED-101008957' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T16:05:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009224 post PendingInvicesDO 2 MED-101008997 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008997 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-101008997' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008997' OR OrderId='MED-101008997' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T16:14:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009225 post PendingInvicesDO 2 MED-101008897 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-101008897' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008897' OR OrderId='MED-101008897' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T16:29:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009226 post PendingInvicesDO 2 MED-101009026 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009026 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a810bb4-3948-45e8-b717-7e67ce774953' LIMIT 1 Date : 2025-07-31T16:30:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T16:30:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009227 post PendingInvicesDO 2 MED-101009027 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009027 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27550d9a-1122-47e3-a1a5-cf70fed7df6b' LIMIT 1 Date : 2025-07-31T16:44:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T16:44:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009228 post PendingInvicesDO 2 MED-101009028 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009028 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84821c22-82f5-468b-9759-766095c284f4' LIMIT 1 Date : 2025-07-31T16:47:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T16:47:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009229 post PendingInvicesDO 2 MED-101009029 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009029 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9a6e918-62eb-4ba8-a71a-4b356d847086' LIMIT 1 Date : 2025-07-31T16:48:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T16:48:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009230 post PendingInvicesDO 2 MED-101008947 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-101008947' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008947' OR OrderId='MED-101008947' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T16:56:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009231 post PendingInvicesDO 2 MED-101009030 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009030 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b5b80ad-40cf-400d-bd3a-db0c78dba58b' LIMIT 1 Date : 2025-07-31T17:11:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T17:11:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009232 post PendingInvicesDO 2 MED-101008963 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008963 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-101008963' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008963' OR OrderId='MED-101008963' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T20:07:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009233 post PendingInvicesDO 2 MED-101008921 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-101008921' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008921' OR OrderId='MED-101008921' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T20:15:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009234 post PendingInvicesDO 2 MED-101009034 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009034 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09afb111-3694-4f57-937f-ea51b719bc3c' LIMIT 1 Date : 2025-08-02T07:47:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T07:47:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009235 post PendingInvicesDO 2 MED-101009035 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009035 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='695b8dd1-e113-47ea-b038-e87c6f5e0b9d' LIMIT 1 Date : 2025-08-02T08:22:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T08:22:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009236 post PendingInvicesDO 2 MED-101009036 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009036 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09db1e0d-ab7a-4f2f-9c2a-2842f66e237d' LIMIT 1 Date : 2025-08-02T08:50:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T08:50:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009237 post PendingInvicesDO 2 MED-101009037 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009037 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1839f65f-05b1-4572-9cb9-2aedb6c22d88' LIMIT 1 Date : 2025-08-02T09:27:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T09:27:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009238 post PendingInvicesDO 2 MED-101009038 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009038 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61c86ab9-eca6-47c8-92de-0e30c699ea68' LIMIT 1 Date : 2025-08-02T10:07:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T10:07:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009239 post PendingInvicesDO 2 MED-101009039 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009039 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b832c86-4ef3-495b-ae7f-0dca0dd3476a' LIMIT 1 Date : 2025-08-02T10:10:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T10:10:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009240 post PendingInvicesDO 2 MED-101009040 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009040 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3ae259d-550b-4481-a030-acc8762e8897' LIMIT 1 Date : 2025-08-02T10:27:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T10:27:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009241 post PendingInvicesDO 2 MED-101008947 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-101008947' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008947' OR OrderId='MED-101008947' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-02T10:41:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009242 post PendingInvicesDO 2 MED-101009042 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009042 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ecb4565-c9d9-44a8-8451-66b417c3cbe4' LIMIT 1 Date : 2025-08-02T11:20:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T11:20:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009243 post PendingInvicesDO 2 MED-101009043 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009043 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccd392fc-622a-423a-888b-591cdc46b61f' LIMIT 1 Date : 2025-08-02T11:52:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T11:52:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009244 post PendingInvicesDO 2 MED-101009041 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-101009041' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009041' OR OrderId='MED-101009041' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-02T11:52:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009245 post PendingInvicesDO 2 MED-101009044 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009044 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='def1ef1e-0c2c-4540-b908-60ec0cfeec9a' LIMIT 1 Date : 2025-08-02T12:12:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T12:12:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009246 post PendingInvicesDO 2 MED-101009045 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009045 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5c03645-bd66-4ae6-b7c3-3724a87f1600' LIMIT 1 Date : 2025-08-02T12:32:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T12:32:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009247 post PendingInvicesDO 2 MED-101009046 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009046 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ae35536-8534-4c69-9fd4-6de24b6de491' LIMIT 1 Date : 2025-08-02T13:14:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T13:14:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009248 post PendingInvicesDO 2 MED-101009048 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009048 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='927598ec-eef2-440a-9be4-dbe5af0278fe' LIMIT 1 Date : 2025-08-02T13:37:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T13:37:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009249 post PendingInvicesDO 2 MED-101009050 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009050 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='267a0ee4-fbf4-43b1-bee9-de3eb4980121' LIMIT 1 Date : 2025-08-02T16:16:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T16:16:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009250 post PendingInvicesDO 2 MED-101009051 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009051 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9a1d55d-d7a5-4669-a362-382724970040' LIMIT 1 Date : 2025-08-02T16:45:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T16:45:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009251 post PendingInvicesDO 2 MED-101009052 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009052 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c743ba4b-f5ed-49b9-9ba7-6cf329a318e3' LIMIT 1 Date : 2025-08-02T17:04:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T17:04:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009252 post PendingInvicesDO 2 MED-101009053 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009053 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='788cb39d-479a-4776-8e43-9a8d773e75de' LIMIT 1 Date : 2025-08-02T17:34:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T17:34:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009253 post PendingInvicesDO 2 MED-101009054 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009054 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50e3c974-5a99-49ac-b222-037f2b4cffb0' LIMIT 1 Date : 2025-08-03T08:25:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T08:25:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009254 post PendingInvicesDO 2 MED-101009055 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009055 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7fa99a5-85b7-4f3d-955e-c6bedce3c135' LIMIT 1 Date : 2025-08-03T09:11:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T09:11:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009255 post PendingInvicesDO 2 MED-101009056 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009056 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81529740-29a3-48b9-a3ec-843b00dce7f4' LIMIT 1 Date : 2025-08-03T10:29:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T10:29:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009256 post PendingInvicesDO 2 MED-101009057 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009057 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04c53bca-8bcd-46bb-8fb8-6eeeb3f92a2b' LIMIT 1 Date : 2025-08-03T10:47:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T10:47:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009257 post PendingInvicesDO 2 MED-101009059 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009059 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f70d86af-99ce-4a16-9a57-ec61ef20a99c' LIMIT 1 Date : 2025-08-03T11:31:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T11:31:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009258 post PendingInvicesDO 2 MED-101009060 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009060 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd31a11a-7156-43a6-8b4d-cae3fcae0141' LIMIT 1 Date : 2025-08-03T12:25:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T12:25:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009259 post PendingInvicesDO 2 MED-101008936 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-101008936' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008936' OR OrderId='MED-101008936' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-03T13:24:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009260 post PendingInvicesDO 2 MED-101009062 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009062 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7aef890-7470-42b9-99f0-d67e1ccae08c' LIMIT 1 Date : 2025-08-03T14:27:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T14:27:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009261 post PendingInvicesDO 2 MED-101009063 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009063 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2038ca87-436b-407e-8188-31283d1ea2e2' LIMIT 1 Date : 2025-08-03T14:28:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T14:28:45 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-104009262 post PendingInvicesDO 2 MED-101009064 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009064 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0e67677-17f3-4fe1-8287-447d358ad4df' LIMIT 1 Date : 2025-08-03T14:29:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T14:29:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009263 post PendingInvicesDO 2 MED-101009065 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009065 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20f936cb-a7c6-41bc-8e02-51321ad88b10' LIMIT 1 Date : 2025-08-03T14:47:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T14:47:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009264 post PendingInvicesDO 2 MED-101009066 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009066 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7c86f06-a3b9-41e6-8d17-57b94f3cbf48' LIMIT 1 Date : 2025-08-03T15:14:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T15:14:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009265 post PendingInvicesDO 2 MED-101009067 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009067 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c931038c-8cc6-45bd-b177-11bbe74d6e5b' LIMIT 1 Date : 2025-08-03T15:17:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T15:17:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009266 post PendingInvicesDO 2 MED-101009069 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009069 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29abface-d935-4ac0-8401-c346401cfc8b' LIMIT 1 Date : 2025-08-03T16:10:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T16:10:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009267 post PendingInvicesDO 2 MED-101009070 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009070 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5583f26d-4fe7-4a2c-9fbd-7dc0828cb995' LIMIT 1 Date : 2025-08-03T16:37:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T16:37:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009268 post PendingInvicesDO 2 MED-101009071 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009071 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab8a7810-fed7-4c3e-9cb4-7fec6d2fa8f0' LIMIT 1 Date : 2025-08-03T16:43:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T16:43:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009269 post PendingInvicesDO 2 MED-101008908 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008908 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-101008908' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008908' OR OrderId='MED-101008908' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-03T16:51:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009270 post PendingInvicesDO 2 MED-101009072 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009072 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06cc2245-d1e7-47bc-a012-cc5a8e3352b6' LIMIT 1 Date : 2025-08-03T16:57:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T16:57:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009271 post PendingInvicesDO 2 MED-101009073 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009073 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a41b6771-e017-4c73-be17-a43d6920da8c' LIMIT 1 Date : 2025-08-03T17:21:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T17:21:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009272 post PendingInvicesDO 2 MED-101008921 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-101008921' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008921' OR OrderId='MED-101008921' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-03T18:02:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009273 post PendingInvicesDO 2 MED-101009033 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009033 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-101009033' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009033' OR OrderId='MED-101009033' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-03T18:31:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009274 post PendingInvicesDO 2 MED-101009075 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009075 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd3a1890-9b8a-4eed-a070-a16b8830c6a5' LIMIT 1 Date : 2025-08-04T07:46:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T07:46:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009275 post PendingInvicesDO 2 MED-101009076 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009076 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='581f8751-939d-4932-a58b-5310aedafbd2' LIMIT 1 Date : 2025-08-04T08:17:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T08:17:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009276 post PendingInvicesDO 2 MED-101009077 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009077 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac664fb7-eb5a-4381-bd11-0ba866f54d08' LIMIT 1 Date : 2025-08-04T09:20:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T09:20:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009277 post PendingInvicesDO 2 MED-101009079 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009079 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='abd32723-59a4-4449-8645-66643105e624' LIMIT 1 Date : 2025-08-04T10:40:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T10:40:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009278 post PendingInvicesDO 2 MED-101009081 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009081 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa5a67ea-2108-46de-9793-f7b095ca3f6c' LIMIT 1 Date : 2025-08-04T11:50:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T11:50:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009279 post PendingInvicesDO 2 MED-101009082 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009082 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='695da7c7-bc20-40f4-9bf6-8cb2a15d4c41' LIMIT 1 Date : 2025-08-04T12:21:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T12:21:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009280 post PendingInvicesDO 2 MED-101009083 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009083 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b311a919-6b8c-4e0f-a7b6-68adf7df70a0' LIMIT 1 Date : 2025-08-04T12:26:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T12:26:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009282 post PendingInvicesDO 2 MED-101008973 post PendingInvicesDO 2 MED-101008972 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009281 post PendingInvicesDO 2 MED-101008973 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008972 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008973 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-101008973' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008973' OR OrderId='MED-101008973' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008973' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008973' OR OrderId='MED-101008973' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-04T12:28:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009283 post PendingInvicesDO 2 MED-101009086 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009086 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52eff2e0-0f3f-41b0-b563-1dfa50be902b' LIMIT 1 Date : 2025-08-04T13:42:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T13:42:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009284 post PendingInvicesDO 2 MED-101009087 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009087 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c0dc842-4734-4ed6-953d-143a976aefab' LIMIT 1 Date : 2025-08-04T13:52:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T13:52:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009285 post PendingInvicesDO 2 MED-101009088 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009088 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0beb3c28-db4f-48f9-8cdc-1d5718018596' LIMIT 1 Date : 2025-08-04T14:42:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T14:42:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009286 post PendingInvicesDO 2 MED-101009089 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-101009089' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009089' OR OrderId='MED-101009089' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-04T15:36:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009287 post PendingInvicesDO 2 MED-101009090 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009090 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f1628bf-d811-4e02-be45-7c289966bfb1' LIMIT 1 Date : 2025-08-04T15:47:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T15:47:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009288 post PendingInvicesDO 2 MED-101009091 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009091 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14c72bfd-277d-418a-9ac3-ed3c2bf880ef' LIMIT 1 Date : 2025-08-04T16:03:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T16:03:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009289 post PendingInvicesDO 2 MED-101009092 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009092 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68e0317b-3edb-476d-b467-f7c42ccde38c' LIMIT 1 Date : 2025-08-04T16:31:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T16:31:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009290 post PendingInvicesDO 2 MED-101009093 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009093 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7d73ed7-5f68-4c3d-9c35-9cf465572eb2' LIMIT 1 Date : 2025-08-04T16:57:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T16:57:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009291 post PendingInvicesDO 2 MED-101009094 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009094 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26cbd368-e314-4621-ba1b-c2d01f5a649a' LIMIT 1 Date : 2025-08-05T07:58:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T07:58:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009292 post PendingInvicesDO 2 MED-101009095 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009095 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='968801ad-b4fe-46b4-bb60-de981a317f6d' LIMIT 1 Date : 2025-08-05T08:32:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T08:32:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009293 post PendingInvicesDO 2 MED-101008924 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008924 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-101008924' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008924' OR OrderId='MED-101008924' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-05T09:30:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009294 post PendingInvicesDO 2 MED-101009098 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009098 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38d876eb-4896-44c6-91a2-83cfffa56b52' LIMIT 1 Date : 2025-08-05T10:06:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T10:06:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009295 post PendingInvicesDO 2 MED-101009099 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009099 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8a94102-35b4-4418-b98d-ef82ce334e79' LIMIT 1 Date : 2025-08-05T11:00:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T11:00:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009296 post PendingInvicesDO 2 MED-101009100 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009100 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0720b37f-c80c-4da3-939e-ca94562d1fb4' LIMIT 1 Date : 2025-08-05T11:26:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T11:26:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009297 post PendingInvicesDO 2 MED-101008960 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008960 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-101008960' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008960' OR OrderId='MED-101008960' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-05T11:53:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009298 post PendingInvicesDO 2 MED-101009102 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009102 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15dc280a-244f-47be-9e5d-597426ba1beb' LIMIT 1 Date : 2025-08-05T12:40:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T12:40:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009299 post PendingInvicesDO 2 MED-101009103 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009103 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5855697c-d0fc-4fe2-9f9a-8a0378dcb026' LIMIT 1 Date : 2025-08-05T13:20:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T13:20:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009300 post PendingInvicesDO 2 MED-101008916 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008916 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-101008916' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008916' OR OrderId='MED-101008916' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-05T13:50:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009301 post PendingInvicesDO 2 MED-101009105 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009105 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e05cbe08-c4a1-4fba-a8a4-93b174d25883' LIMIT 1 Date : 2025-08-05T14:11:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T14:11:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009302 post PendingInvicesDO 2 MED-101009106 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009106 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e71175a4-fc06-4335-92e1-558f42e4a11b' LIMIT 1 Date : 2025-08-05T14:13:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T14:13:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009303 post PendingInvicesDO 2 MED-101009108 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009108 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='117a93bb-f2d7-4e29-858c-dcfc7e81d9c7' LIMIT 1 Date : 2025-08-05T15:46:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T15:46:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009304 post PendingInvicesDO 2 MED-101009109 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009109 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67f876a1-9d67-488f-8fcb-9b155e81ed00' LIMIT 1 Date : 2025-08-05T16:51:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T16:51:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009305 post PendingInvicesDO 2 MED-101009110 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009110 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='add5f1a6-6853-4c0f-b2ed-d371f8b081e6' LIMIT 1 Date : 2025-08-05T17:19:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T17:19:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009306 post PendingInvicesDO 2 MED-101009111 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009111 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fc4b3e2-de96-44e2-bfa9-74f3376071bf' LIMIT 1 Date : 2025-08-05T17:41:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T17:41:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009307 post PendingInvicesDO 2 MED-101009112 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009112 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7be2e264-7eea-4c54-b078-825f6d270c19' LIMIT 1 Date : 2025-08-06T08:00:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T08:00:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009308 post PendingInvicesDO 2 MED-101009113 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009113 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e3c88ae-7f75-427b-be46-147fa3ddd357' LIMIT 1 Date : 2025-08-06T08:24:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T08:24:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009310 post PendingInvicesDO 2 MED-101009032 post PendingInvicesDO 2 MED-101009031 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009309 post PendingInvicesDO 2 MED-101009032 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009031 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009032 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-101009032' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009032' OR OrderId='MED-101009032' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009032' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009032' OR OrderId='MED-101009032' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-06T08:25:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009311 post PendingInvicesDO 2 MED-101009115 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009115 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed150331-f16f-45f4-bd10-db25653f3cde' LIMIT 1 Date : 2025-08-06T09:30:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T09:30:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009312 post PendingInvicesDO 2 MED-101009116 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009116 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e3410b6-6e22-47d4-a2a2-21e234e5e202' LIMIT 1 Date : 2025-08-06T09:57:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T09:57:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009313 post PendingInvicesDO 2 MED-101009117 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009117 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b2ccd66-5539-4c1f-8427-339d55836b62' LIMIT 1 Date : 2025-08-06T10:30:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T10:30:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009314 post PendingInvicesDO 2 MED-101009118 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009118 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ca25845-0de2-4294-bbbc-b3437f18e5a7' LIMIT 1 Date : 2025-08-06T10:47:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T10:47:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009315 post PendingInvicesDO 2 MED-101009119 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009119 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d23938a-c474-4d0e-8714-939dd5a3ed55' LIMIT 1 Date : 2025-08-06T10:47:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T10:47:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009316 post PendingInvicesDO 2 MED-101009120 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009120 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b90d257-2abd-46e5-95b8-7d1543be016a' LIMIT 1 Date : 2025-08-06T10:48:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T10:48:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009317 post PendingInvicesDO 2 MED-101009121 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009121 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb0d1520-cfed-431d-84ba-3b5b2e61bb12' LIMIT 1 Date : 2025-08-06T11:06:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T11:06:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009318 post PendingInvicesDO 2 MED-101009122 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009122 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1fa3ed91-8f91-4358-98db-5c8884f370a5' LIMIT 1 Date : 2025-08-06T11:42:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T11:42:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009319 post PendingInvicesDO 2 MED-101009123 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-101009123' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009123' OR OrderId='MED-101009123' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-06T12:43:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009320 post PendingInvicesDO 2 MED-101009047 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009047 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-101009047' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009047' OR OrderId='MED-101009047' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-06T13:01:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009321 post PendingInvicesDO 2 MED-101009125 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009125 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7da4fb92-6bcd-4028-b9bf-a10ea111ff56' LIMIT 1 Date : 2025-08-06T13:18:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T13:18:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009322 post PendingInvicesDO 2 MED-101009127 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009127 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fbf57eb-bdcb-42a6-af1d-8705a88e9c5d' LIMIT 1 Date : 2025-08-06T14:32:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T14:32:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009323 post PendingInvicesDO 2 MED-101009128 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009128 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c78ee67d-c6ce-43e0-9c33-d6a3402524be' LIMIT 1 Date : 2025-08-06T14:37:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T14:37:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009324 post PendingInvicesDO 2 MED-101009129 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009129 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc50eb2d-da0a-487d-af38-d55ceb98f73b' LIMIT 1 Date : 2025-08-06T14:38:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T14:38:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009325 post PendingInvicesDO 2 MED-101009130 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009130 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0bc5cc3-fab5-4cf9-a156-7acf87059d10' LIMIT 1 Date : 2025-08-06T14:41:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T14:41:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009326 post PendingInvicesDO 2 MED-101009131 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009131 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed73ed30-b16d-4be9-8b47-2080c8c42d67' LIMIT 1 Date : 2025-08-06T14:56:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T14:56:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009327 post PendingInvicesDO 2 MED-101009089 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-101009089' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009089' OR OrderId='MED-101009089' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-06T15:27:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009328 post PendingInvicesDO 2 MED-101009133 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009133 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33db598b-2d51-420f-b67e-323dc8d8f805' LIMIT 1 Date : 2025-08-06T15:44:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T15:44:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009329 post PendingInvicesDO 2 MED-101009134 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009134 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27d66cf1-cf19-48c3-b1a7-8e1351f11cc0' LIMIT 1 Date : 2025-08-06T16:08:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T16:08:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009330 post PendingInvicesDO 2 MED-101009135 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009135 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03fce4f6-3b4b-489e-8c05-8a934a9cc12a' LIMIT 1 Date : 2025-08-06T16:36:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T16:36:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009332 post PendingInvicesDO 2 MED-101009137 post PendingInvicesDO 2 MED-101009136 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009331 post PendingInvicesDO 2 MED-101009137 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009136 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009137 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73a7b393-2cbf-450b-ab30-48f53f3e2879' LIMIT 1 Date : 2025-08-06T16:45:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f17f6579-1977-4d95-bd3c-553013cbf426' LIMIT 1 Date : 2025-08-06T16:45:05  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73a7b393-2cbf-450b-ab30-48f53f3e2879' LIMIT 1 Date : 2025-08-06T16:45:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f17f6579-1977-4d95-bd3c-553013cbf426' LIMIT 1 Date : 2025-08-06T16:45:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-06T16:45:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009333 post PendingInvicesDO 2 MED-101009138 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009138 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1427af11-4394-40bb-9ee1-d137d75e8c77' LIMIT 1 Date : 2025-08-07T07:59:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T07:59:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009334 post PendingInvicesDO 2 MED-101009139 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009139 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5d5f0de-2a44-4d4b-951f-9bce98783768' LIMIT 1 Date : 2025-08-07T08:34:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T08:34:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009335 post PendingInvicesDO 2 MED-101009140 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009140 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='578443cd-ef97-48dc-8665-82fbd9e33d76' LIMIT 1 Date : 2025-08-07T08:42:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T08:42:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009336 post PendingInvicesDO 2 MED-101009141 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009141 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd0d4939-9fd0-4eae-9078-9e428af1b53b' LIMIT 1 Date : 2025-08-07T09:26:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T09:26:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009338 post PendingInvicesDO 2 MED-101009143 post PendingInvicesDO 2 MED-101009142 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009337 post PendingInvicesDO 2 MED-101009143 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009142 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009143 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32e61e0c-a0df-460f-8b5c-bf514674f9d8' LIMIT 1 Date : 2025-08-07T09:53:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ee2fa72-3f5e-4756-afb8-d493132b8358' LIMIT 1 Date : 2025-08-07T09:53:41  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32e61e0c-a0df-460f-8b5c-bf514674f9d8' LIMIT 1 Date : 2025-08-07T09:53:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ee2fa72-3f5e-4756-afb8-d493132b8358' LIMIT 1 Date : 2025-08-07T09:53:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-07T09:53:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009339 post PendingInvicesDO 2 MED-101009033 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-101009033' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009033' OR OrderId='MED-101009033' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-07T10:23:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009340 post PendingInvicesDO 2 MED-101009145 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009145 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d3763b2-c5f4-4ca4-9ff0-3a8f13b4d15a' LIMIT 1 Date : 2025-08-07T10:46:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T10:46:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009341 post PendingInvicesDO 2 MED-101009146 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009146 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d27985e7-8717-4188-8ef0-065193af32f7' LIMIT 1 Date : 2025-08-07T10:59:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T10:59:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009342 post PendingInvicesDO 2 MED-101009147 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009147 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='182b04a2-954d-4d3f-9ffa-b81d9342dcc1' LIMIT 1 Date : 2025-08-07T11:16:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T11:16:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009343 post PendingInvicesDO 2 MED-101009148 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009148 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38e48f95-cd2e-4bf9-81f7-3a87026434b0' LIMIT 1 Date : 2025-08-07T12:59:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T12:59:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009344 post PendingInvicesDO 2 MED-101009152 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009152 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3229773e-c1b1-4197-b98b-fbc4e552e788' LIMIT 1 Date : 2025-08-07T14:38:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T14:38:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009345 post PendingInvicesDO 2 MED-101009154 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009154 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3a36536-2fae-413f-a9a3-819232de140c' LIMIT 1 Date : 2025-08-07T16:11:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T16:11:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009346 post PendingInvicesDO 2 MED-101009155 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009155 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a9f0dc0-d847-4904-a54d-a33d636f931f' LIMIT 1 Date : 2025-08-07T16:12:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T16:12:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009347 post PendingInvicesDO 2 MED-101009156 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009156 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51b3f45b-2a08-4b7c-8212-f4e34284068e' LIMIT 1 Date : 2025-08-07T16:14:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T16:14:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009348 post PendingInvicesDO 2 MED-101009157 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009157 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b11cbe81-af83-4ae2-9b49-5d89db6631e7' LIMIT 1 Date : 2025-08-07T16:30:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T16:30:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009350 post PendingInvicesDO 2 MED-101009159 post PendingInvicesDO 2 MED-101009158 post PendingInvicesDO 2 MED-101009159 post PendingInvicesDO 2 MED-101009158 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009349 post PendingInvicesDO 2 MED-101009159 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009158 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009159 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ebbed3a-b72f-4ab7-9247-5be7de345b06' LIMIT 1 Date : 2025-08-07T16:47:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3da37b36-ef9b-4174-b202-46beda8465de' LIMIT 1 Date : 2025-08-07T16:47:55  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ebbed3a-b72f-4ab7-9247-5be7de345b06' LIMIT 1 Date : 2025-08-07T16:47:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3da37b36-ef9b-4174-b202-46beda8465de' LIMIT 1 Date : 2025-08-07T16:47:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-07T16:47:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009351 post PendingInvicesDO 2 MED-101009160 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009160 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41b60e3d-e9ed-4149-be2a-e598d35e1f4c' LIMIT 1 Date : 2025-08-07T17:10:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T17:10:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009352 post PendingInvicesDO 2 MED-101009150 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009150 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-101009150' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009150' OR OrderId='MED-101009150' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-09T09:03:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009353 post PendingInvicesDO 2 MED-101009161 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009161 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a651306b-25ff-44bf-ae6c-89e107e4a6fe' LIMIT 1 Date : 2025-08-09T09:03:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T09:03:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009354 post PendingInvicesDO 2 MED-101009104 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009104 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-101009104' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009104' OR OrderId='MED-101009104' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-09T09:46:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009355 post PendingInvicesDO 2 MED-101009163 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009163 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c182e00-ae43-45ae-add6-b85d759d9545' LIMIT 1 Date : 2025-08-09T09:47:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T09:47:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009356 post PendingInvicesDO 2 MED-101009164 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009164 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dce90cc6-b298-4157-88ff-2810587d5c0a' LIMIT 1 Date : 2025-08-09T09:54:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T09:54:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009357 post PendingInvicesDO 2 MED-101009165 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009165 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='749fb125-79cc-483e-aae6-175031c31a0d' LIMIT 1 Date : 2025-08-09T10:28:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T10:28:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009358 post PendingInvicesDO 2 MED-101009166 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009166 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09d0f1a4-95fa-4b9f-bfc3-c247c925aac4' LIMIT 1 Date : 2025-08-09T10:35:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T10:35:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009359 post PendingInvicesDO 2 MED-101009167 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009167 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2cbfe113-0b6b-4813-bac8-802ffe79deff' LIMIT 1 Date : 2025-08-09T11:00:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T11:00:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009360 post PendingInvicesDO 2 MED-101009168 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009168 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a201ee2c-38e6-48b9-a979-76fb4f7ecc56' LIMIT 1 Date : 2025-08-09T11:15:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T11:15:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009361 post PendingInvicesDO 2 MED-101009171 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009171 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7efeba0-0b96-40aa-81db-25ab8674749f' LIMIT 1 Date : 2025-08-09T12:02:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T12:02:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009362 post PendingInvicesDO 2 MED-101009124 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009124 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-101009124' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009124' OR OrderId='MED-101009124' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-09T13:38:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009363 post PendingInvicesDO 2 MED-101009174 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009174 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d42ada6-e55a-4ca9-bd5f-22f84f9d9fe2' LIMIT 1 Date : 2025-08-09T15:09:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T15:09:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009364 post PendingInvicesDO 2 MED-101009175 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009175 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55fdfe12-004d-4e6a-9ff8-3a6298ad4958' LIMIT 1 Date : 2025-08-09T15:12:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T15:12:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009365 post PendingInvicesDO 2 MED-101009176 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009176 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57ac4c9d-1f50-496e-956b-85a91d65b042' LIMIT 1 Date : 2025-08-09T15:14:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T15:14:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009366 post PendingInvicesDO 2 MED-101009177 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009177 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63d0211f-69c5-4529-85c2-53ae6cec7d3e' LIMIT 1 Date : 2025-08-09T15:16:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T15:16:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009367 post PendingInvicesDO 2 MED-101009096 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009096 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-101009096' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009096' OR OrderId='MED-101009096' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-09T15:17:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009368 post PendingInvicesDO 2 MED-101009179 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009179 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47541074-6d42-4ccd-a966-7e16d3f383e8' LIMIT 1 Date : 2025-08-09T15:20:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T15:20:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009369 post PendingInvicesDO 2 MED-101009180 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009180 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='efc18cc4-c1f4-4d88-ba76-63beb6a79283' LIMIT 1 Date : 2025-08-09T15:38:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T15:38:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009370 post PendingInvicesDO 2 MED-101009181 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009181 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bff54a0a-83c2-4630-bbe0-3885fa7b4338' LIMIT 1 Date : 2025-08-09T15:50:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T15:50:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009371 post PendingInvicesDO 2 MED-101009182 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009182 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5a2ea73-ebcc-47a4-87c4-a2e997822279' LIMIT 1 Date : 2025-08-09T16:06:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T16:06:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009372 post PendingInvicesDO 2 MED-101009183 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009183 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa3ada8b-ab4d-4afc-874a-db94aa4ff572' LIMIT 1 Date : 2025-08-09T16:44:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T16:44:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009373 post PendingInvicesDO 2 MED-101009184 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009184 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22c27e1a-3803-431e-b8a5-786b7d0f42ef' LIMIT 1 Date : 2025-08-09T17:10:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T17:10:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009374 post PendingInvicesDO 2 MED-101009185 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009185 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7ca6823-f3e5-4a2c-8eee-8b6254628c00' LIMIT 1 Date : 2025-08-09T17:22:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T17:22:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009375 post PendingInvicesDO 2 MED-101009186 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009186 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5dfcb72-5e6b-4003-8ad9-6ffb5e240f63' LIMIT 1 Date : 2025-08-09T17:30:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T17:30:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009376 post PendingInvicesDO 2 MED-101009187 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009187 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11945542-8525-462f-be32-ea1ae30d62ca' LIMIT 1 Date : 2025-08-09T17:47:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T17:47:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009377 post PendingInvicesDO 2 MED-101009188 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009188 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b590db69-9342-49de-9716-aec707b89107' LIMIT 1 Date : 2025-08-09T17:54:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T17:54:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009378 post PendingInvicesDO 2 MED-101009074 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-101009074' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009074' OR OrderId='MED-101009074' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-09T18:15:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009379 post PendingInvicesDO 2 MED-101009190 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009190 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbd1ada5-77cd-4516-9317-769dd026c78d' LIMIT 1 Date : 2025-08-10T08:07:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T08:07:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009380 post PendingInvicesDO 2 MED-101009041 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-101009041' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009041' OR OrderId='MED-101009041' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T10:34:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009381 post PendingInvicesDO 2 MED-101009097 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009097 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-101009097' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009097' OR OrderId='MED-101009097' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T10:36:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009383 post PendingInvicesDO 2 MED-101009192 post PendingInvicesDO 2 MED-101009191 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009382 post PendingInvicesDO 2 MED-101009192 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009191 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009192 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-101009192' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009192' OR OrderId='MED-101009192' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009192' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009192' OR OrderId='MED-101009192' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T10:36:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009384 post PendingInvicesDO 2 MED-101009194 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009194 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d140d4f-42d5-4dd6-8fd4-a0f5746f0576' LIMIT 1 Date : 2025-08-10T11:11:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T11:11:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009385 post PendingInvicesDO 2 MED-101009196 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009196 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96d4267d-d786-4e01-972b-fd965e960437' LIMIT 1 Date : 2025-08-10T11:47:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T11:47:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009386 post PendingInvicesDO 2 MED-101009172 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-101009172' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009172' OR OrderId='MED-101009172' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T12:59:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009387 post PendingInvicesDO 2 MED-101009101 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009101 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-101009101' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009101' OR OrderId='MED-101009101' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T13:06:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009388 post PendingInvicesDO 2 MED-101009200 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009200 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c9e5bf7-a1e5-4a5a-b940-420d40031c7c' LIMIT 1 Date : 2025-08-10T14:37:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T14:37:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009389 post PendingInvicesDO 2 MED-101009201 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009201 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6532e48e-bb52-4bb5-8b4e-81a834083c51' LIMIT 1 Date : 2025-08-10T15:07:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T15:07:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009390 post PendingInvicesDO 2 MED-101009202 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009202 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8eee114e-c6c8-422a-89d6-31913901de41' LIMIT 1 Date : 2025-08-10T15:29:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T15:29:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009391 post PendingInvicesDO 2 MED-101009114 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009114 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-101009114' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009114' OR OrderId='MED-101009114' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T16:33:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009392 post PendingInvicesDO 2 MED-101009203 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009203 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34d10a3f-180c-4193-8b53-ae98a81ac8c0' LIMIT 1 Date : 2025-08-10T16:36:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T16:36:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009393 post PendingInvicesDO 2 MED-101009204 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009204 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d652c2dd-cbb8-41f3-a63f-c7fd4083e9ec' LIMIT 1 Date : 2025-08-10T16:56:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T16:56:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009394 post PendingInvicesDO 2 MED-101009149 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009149 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-101009149' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009149' OR OrderId='MED-101009149' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T16:58:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009395 post PendingInvicesDO 2 MED-101009205 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009205 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-101009205' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009205' OR OrderId='MED-101009205' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T17:04:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009396 post PendingInvicesDO 2 MED-101009206 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009206 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6934dbc-9ebc-408a-a5c4-95ea92c640bd' LIMIT 1 Date : 2025-08-10T17:08:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T17:08:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009397 post PendingInvicesDO 2 MED-101009207 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009207 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3bc393a-2fdb-4e6a-880e-cb46ff64454b' LIMIT 1 Date : 2025-08-10T17:15:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T17:15:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009398 post PendingInvicesDO 2 MED-101009208 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009208 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08568648-e2f3-4079-8b37-02527ddb4857' LIMIT 1 Date : 2025-08-10T17:26:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T17:26:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009399 post PendingInvicesDO 2 MED-101009074 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-101009074' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009074' OR OrderId='MED-101009074' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T17:39:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009400 post PendingInvicesDO 2 MED-101009210 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009210 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fe26fd4-a20b-4885-9e2c-2f10fd5fccad' LIMIT 1 Date : 2025-08-11T08:06:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T08:06:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009402 post PendingInvicesDO 2 MED-101009212 post PendingInvicesDO 2 MED-101009211 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009401 post PendingInvicesDO 2 MED-101009212 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009211 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009212 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4eeaee7-9536-4b51-ab59-dc9da11a28b5' LIMIT 1 Date : 2025-08-11T09:24:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='274332b5-a526-4e06-b597-863d7e1e5df2' LIMIT 1 Date : 2025-08-11T09:24:33  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4eeaee7-9536-4b51-ab59-dc9da11a28b5' LIMIT 1 Date : 2025-08-11T09:24:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='274332b5-a526-4e06-b597-863d7e1e5df2' LIMIT 1 Date : 2025-08-11T09:24:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-11T09:24:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009403 post PendingInvicesDO 2 MED-101009078 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-101009078' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009078' OR OrderId='MED-101009078' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-11T09:41:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009404 post PendingInvicesDO 2 MED-101009213 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009213 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2807aaee-e88c-4d60-a08d-d3bb827d3eb0' LIMIT 1 Date : 2025-08-11T09:55:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T09:55:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009406 post PendingInvicesDO 2 MED-101008977 post PendingInvicesDO 2 MED-101008976 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009405 post PendingInvicesDO 2 MED-101008977 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101008976 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101008977 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-101008977' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008977' OR OrderId='MED-101008977' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101008977' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008977' OR OrderId='MED-101008977' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-11T10:34:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009407 post PendingInvicesDO 2 MED-101009214 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009214 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f3693ae-94ac-48e4-ad18-4bcfcee21c72' LIMIT 1 Date : 2025-08-11T10:57:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T10:57:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009409 post PendingInvicesDO 2 MED-101009085 post PendingInvicesDO 2 MED-101009084 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009408 post PendingInvicesDO 2 MED-101009085 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009084 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009085 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-101009085' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009085' OR OrderId='MED-101009085' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009085' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009085' OR OrderId='MED-101009085' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-11T11:07:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009410 post PendingInvicesDO 2 MED-101009220 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009220 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1ed0f06-4df2-456e-b84a-c53c9633bba5' LIMIT 1 Date : 2025-08-11T13:25:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T13:25:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009411 post PendingInvicesDO 2 MED-101009221 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009221 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8d8130e-f044-4e8e-bb43-c41cc0312b4a' LIMIT 1 Date : 2025-08-11T13:43:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T13:43:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009412 post PendingInvicesDO 2 MED-101009222 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009222 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21051480-285b-477c-ad12-3e7db1e1271f' LIMIT 1 Date : 2025-08-11T14:14:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T14:14:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009413 post PendingInvicesDO 2 MED-101009223 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009223 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b123554-aca2-4c52-adae-6e408b45ceef' LIMIT 1 Date : 2025-08-11T14:22:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T14:22:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009414 post PendingInvicesDO 2 MED-101009224 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009224 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a67c7f5e-3b0c-458f-ac9b-490396c34cd1' LIMIT 1 Date : 2025-08-11T14:31:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T14:31:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009415 post PendingInvicesDO 2 MED-101009225 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009225 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e074eab-1283-44a8-9949-b0042ac3e86c' LIMIT 1 Date : 2025-08-11T14:58:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T14:58:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009416 post PendingInvicesDO 2 MED-101009226 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009226 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a1edc7e-f3c9-487f-8adb-6aad77181772' LIMIT 1 Date : 2025-08-11T15:13:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T15:13:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009417 post PendingInvicesDO 2 MED-101009227 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009227 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2f33e70-1965-4ad1-aaee-fae9285e298c' LIMIT 1 Date : 2025-08-11T15:33:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T15:33:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009418 post PendingInvicesDO 2 MED-101009229 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009229 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3bebc94b-1889-4f9b-8cab-6fa37d413f61' LIMIT 1 Date : 2025-08-11T16:00:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T16:00:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009419 post PendingInvicesDO 2 MED-101009230 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009230 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9e228a7-ec17-45bb-9445-9be7886f309c' LIMIT 1 Date : 2025-08-11T16:18:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T16:18:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009420 post PendingInvicesDO 2 MED-101009231 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009231 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e280d839-039e-43f2-be4c-2172f3266071' LIMIT 1 Date : 2025-08-11T16:20:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T16:20:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009421 post PendingInvicesDO 2 MED-101009232 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009232 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a81907e-cda4-4bf9-a99a-c482b16aff90' LIMIT 1 Date : 2025-08-11T16:35:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T16:35:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009422 post PendingInvicesDO 2 MED-101009233 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009233 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81e546a5-5e85-41ac-b010-aca9a68764ec' LIMIT 1 Date : 2025-08-11T16:36:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T16:36:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009423 post PendingInvicesDO 2 MED-101009235 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009235 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5949569-8f8d-4ad8-b69a-05c8c230038a' LIMIT 1 Date : 2025-08-12T07:35:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T07:35:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009424 post PendingInvicesDO 2 MED-101009236 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009236 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83c87641-96f1-43a2-bf58-1a5cd3b223c9' LIMIT 1 Date : 2025-08-12T08:27:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T08:27:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009425 post PendingInvicesDO 2 MED-101009237 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009237 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='268bdcb6-c0c5-45b7-88fd-4976cb2b2c6e' LIMIT 1 Date : 2025-08-12T08:51:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T08:51:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009426 post PendingInvicesDO 2 MED-101009151 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009151 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-101009151' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009151' OR OrderId='MED-101009151' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-12T09:53:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009427 post PendingInvicesDO 2 MED-101008936 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-101008936' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101008936' OR OrderId='MED-101008936' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-12T09:53:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009428 post PendingInvicesDO 2 MED-101009173 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009173 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-101009173' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009173' OR OrderId='MED-101009173' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-12T09:54:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009429 post PendingInvicesDO 2 MED-101009193 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009193 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-101009193' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009193' OR OrderId='MED-101009193' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-12T09:55:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009430 post PendingInvicesDO 2 MED-101009239 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009239 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac21cc9a-beda-4c6c-b57b-2c0652392ef6' LIMIT 1 Date : 2025-08-12T10:00:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T10:00:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009431 post PendingInvicesDO 2 MED-101009240 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009240 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='046a071e-9414-476a-b252-70abd5811a16' LIMIT 1 Date : 2025-08-12T10:13:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T10:13:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009432 post PendingInvicesDO 2 MED-101009241 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009241 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d3c5f0c-9c95-4ed8-a00b-c2a125bd275b' LIMIT 1 Date : 2025-08-12T10:47:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T10:47:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009433 post PendingInvicesDO 2 MED-101009242 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009242 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23c7fb53-e69d-4068-8d8e-44d11ce6302a' LIMIT 1 Date : 2025-08-12T11:04:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T11:04:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009434 post PendingInvicesDO 2 MED-101009245 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009245 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4eb7b575-e3d1-462a-a749-329ca00c571e' LIMIT 1 Date : 2025-08-12T12:39:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T12:39:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009435 post PendingInvicesDO 2 MED-101009246 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009246 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da32071d-afb1-44c8-babe-dcbf757c7252' LIMIT 1 Date : 2025-08-12T13:47:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T13:47:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009436 post PendingInvicesDO 2 MED-101009247 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009247 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b01873b2-8f40-493c-a2e4-5727e31968bb' LIMIT 1 Date : 2025-08-12T14:06:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T14:06:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009437 post PendingInvicesDO 2 MED-101009248 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009248 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da83bfc9-d931-4612-a5ab-0f34c15a66d4' LIMIT 1 Date : 2025-08-12T14:18:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T14:18:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009438 post PendingInvicesDO 2 MED-101009162 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009162 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-101009162' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009162' OR OrderId='MED-101009162' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-12T14:22:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009439 post PendingInvicesDO 2 MED-101009249 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009249 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4589cd1f-d9f0-470e-a114-775926f284df' LIMIT 1 Date : 2025-08-12T14:48:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T14:48:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009440 post PendingInvicesDO 2 MED-101009250 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009250 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02b8b2bd-749d-4c97-a49b-bfa781f17153' LIMIT 1 Date : 2025-08-12T15:14:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T15:14:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009441 post PendingInvicesDO 2 MED-101009251 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009251 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fbbaac18-e893-40b4-bc75-d794a2e3b332' LIMIT 1 Date : 2025-08-12T15:55:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T15:55:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009442 post PendingInvicesDO 2 MED-101009252 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009252 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7a0171e-1bf2-42ef-ae37-2a9d4e01bde5' LIMIT 1 Date : 2025-08-12T16:07:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T16:07:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009443 post PendingInvicesDO 2 MED-101009253 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009253 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='458ec9c0-bc1f-49ac-acda-baa7c9c1e07d' LIMIT 1 Date : 2025-08-12T16:37:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T16:37:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009444 post PendingInvicesDO 2 MED-101009254 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009254 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91239f32-ea79-4cd0-8a1a-108c9f9dd4e8' LIMIT 1 Date : 2025-08-13T07:40:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T07:40:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009445 post PendingInvicesDO 2 MED-101009123 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-101009123' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009123' OR OrderId='MED-101009123' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-13T08:28:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009446 post PendingInvicesDO 2 MED-101009255 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-101009255' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009255' OR OrderId='MED-101009255' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-13T08:54:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009447 post PendingInvicesDO 2 MED-101009256 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009256 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21f60106-6f94-4bb7-8252-67c89c554742' LIMIT 1 Date : 2025-08-13T09:27:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T09:27:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009448 post PendingInvicesDO 2 MED-101009257 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009257 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='608885e3-1c46-4eff-bbf4-04c0b7d68071' LIMIT 1 Date : 2025-08-13T09:30:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T09:30:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009449 post PendingInvicesDO 2 MED-101009258 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009258 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2612e40e-6c8c-45d3-b162-70934c3a8f18' LIMIT 1 Date : 2025-08-13T09:41:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T09:41:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009450 post PendingInvicesDO 2 MED-101009259 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009259 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36e6ed76-e902-4fcf-9a25-e833924f807d' LIMIT 1 Date : 2025-08-13T10:16:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T10:16:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009451 post PendingInvicesDO 2 MED-101009261 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009261 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a913a0b-8d2e-4cf2-a8ae-257eee46450b' LIMIT 1 Date : 2025-08-13T11:14:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T11:14:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009453 post PendingInvicesDO 2 MED-101009263 post PendingInvicesDO 2 MED-101009262 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009452 post PendingInvicesDO 2 MED-101009263 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009262 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009263 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c706a4b2-5b16-4ca1-9d8f-1aeb565dbcf5' LIMIT 1 Date : 2025-08-13T11:34:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d43a6bc8-4d65-4fb2-8cfe-22b0da1ba212' LIMIT 1 Date : 2025-08-13T11:34:30  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c706a4b2-5b16-4ca1-9d8f-1aeb565dbcf5' LIMIT 1 Date : 2025-08-13T11:34:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d43a6bc8-4d65-4fb2-8cfe-22b0da1ba212' LIMIT 1 Date : 2025-08-13T11:34:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-13T11:34:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009454 post PendingInvicesDO 2 MED-101009264 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009264 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0be8839a-2cc9-473d-b778-133357145dc2' LIMIT 1 Date : 2025-08-13T12:01:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T12:01:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009455 post PendingInvicesDO 2 MED-101009198 post PendingInvicesDO 2 MED-101009172 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009198 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-101009198' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009198' OR OrderId='MED-101009198' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009172' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009172' OR OrderId='MED-101009172' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-13T12:52:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009456 post PendingInvicesDO 2 MED-101009266 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009266 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa16d5f1-49dd-4560-a1bf-d4dd1fd39416' LIMIT 1 Date : 2025-08-13T13:34:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T13:34:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009457 post PendingInvicesDO 2 MED-101009260 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-101009260' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009260' OR OrderId='MED-101009260' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-13T14:53:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009459 post PendingInvicesDO 2 MED-101009268 post PendingInvicesDO 2 MED-101009267 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009458 post PendingInvicesDO 2 MED-101009268 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009267 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009268 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-101009268' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009268' OR OrderId='MED-101009268' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009268' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009268' OR OrderId='MED-101009268' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-13T14:54:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009460 post PendingInvicesDO 2 MED-101009269 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009269 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e46171fd-b27b-4236-822c-8901a8f4dd63' LIMIT 1 Date : 2025-08-13T15:01:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T15:01:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009461 post PendingInvicesDO 2 MED-101009270 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009270 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='810a28a4-b1a3-4636-8e0a-69786613542f' LIMIT 1 Date : 2025-08-13T15:26:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T15:26:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009462 post PendingInvicesDO 2 MED-101009271 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009271 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='65b19abb-6ead-44b7-a187-c11c15c37d26' LIMIT 1 Date : 2025-08-13T15:32:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T15:32:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009463 post PendingInvicesDO 2 MED-101009272 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009272 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3e29930-8bd5-4b5d-9222-b42adafedb8a' LIMIT 1 Date : 2025-08-13T15:39:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T15:39:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009464 post PendingInvicesDO 2 MED-101009273 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009273 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26330591-708d-4e9f-a2a9-47d51ee1a5b2' LIMIT 1 Date : 2025-08-13T16:24:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T16:24:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009465 post PendingInvicesDO 2 MED-101009274 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009274 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8e42f7f-77ab-4401-96d5-df25024fda2a' LIMIT 1 Date : 2025-08-13T16:41:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T16:41:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009466 post PendingInvicesDO 2 MED-101009275 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009275 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bca3aca-02fb-40ac-89f1-0bfc4dfd2838' LIMIT 1 Date : 2025-08-13T16:43:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T16:43:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009467 post PendingInvicesDO 2 MED-101009276 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009276 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2eded23-e0ee-4901-b846-bf4b24404556' LIMIT 1 Date : 2025-08-13T16:50:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T16:50:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009468 post PendingInvicesDO 2 MED-101009277 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009277 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a61c449a-3a16-4e17-b6b9-66458ff63efd' LIMIT 1 Date : 2025-08-13T17:11:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T17:11:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009469 post PendingInvicesDO 2 MED-101009278 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009278 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d872445-1bd7-4f2d-86b2-b9881676c0ba' LIMIT 1 Date : 2025-08-14T08:07:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T08:07:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009470 post PendingInvicesDO 2 MED-101009279 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009279 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42ccf523-3178-4632-8d9e-c736cd0b4605' LIMIT 1 Date : 2025-08-14T08:28:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T08:28:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009472 post PendingInvicesDO 2 MED-101009170 post PendingInvicesDO 2 MED-101009169 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009471 post PendingInvicesDO 2 MED-101009170 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009169 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009170 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-101009170' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009170' OR OrderId='MED-101009170' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009170' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009170' OR OrderId='MED-101009170' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-14T08:56:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009473 post PendingInvicesDO 2 MED-101009281 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009281 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f860ff47-c474-45be-bfff-dc0fd0c0b4ed' LIMIT 1 Date : 2025-08-14T09:34:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T09:34:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009474 post PendingInvicesDO 2 MED-101009282 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009282 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f11950f8-71b0-4f38-9060-6659efe86940' LIMIT 1 Date : 2025-08-14T09:57:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T09:57:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009475 post PendingInvicesDO 2 MED-101009283 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009283 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b55cc60c-4454-4c5c-b6b1-a1d3af589dc2' LIMIT 1 Date : 2025-08-14T10:39:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T10:39:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009476 post PendingInvicesDO 2 MED-101009255 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-101009255' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009255' OR OrderId='MED-101009255' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-14T11:16:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009477 post PendingInvicesDO 2 MED-101009284 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009284 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56d277f6-bcf7-42fa-8a8b-9f2689dd520b' LIMIT 1 Date : 2025-08-14T11:26:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T11:26:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009478 post PendingInvicesDO 2 MED-101009285 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009285 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5dff412f-daac-4bee-ada7-046e04a84ef3' LIMIT 1 Date : 2025-08-14T12:04:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T12:04:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009479 post PendingInvicesDO 2 MED-101009080 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009080 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-101009080' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009080' OR OrderId='MED-101009080' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-14T12:29:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009480 post PendingInvicesDO 2 MED-101009265 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-101009265' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009265' OR OrderId='MED-101009265' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-14T13:34:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009481 post PendingInvicesDO 2 MED-101009289 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009289 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffeb120b-1542-44ec-911f-4293e8e77ee8' LIMIT 1 Date : 2025-08-14T13:55:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T13:55:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009482 post PendingInvicesDO 2 MED-101009290 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009290 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6d5b559-8842-45c2-9507-9a7942b8866f' LIMIT 1 Date : 2025-08-14T14:23:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T14:23:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009483 post PendingInvicesDO 2 MED-101009291 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009291 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9fa23c1-66ad-4173-a537-179a20b2701b' LIMIT 1 Date : 2025-08-14T14:56:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T14:56:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009484 post PendingInvicesDO 2 MED-101009292 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009292 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96670b0a-ca5b-44ed-8680-f54ffe1c364f' LIMIT 1 Date : 2025-08-14T15:16:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T15:16:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009485 post PendingInvicesDO 2 MED-101009293 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009293 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6f3216c-3dbb-4999-87d5-91f01d5c2fbf' LIMIT 1 Date : 2025-08-14T15:39:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T15:39:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009486 post PendingInvicesDO 2 MED-101009294 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009294 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3355f8c-4e59-4867-bd67-7dc79ff93d9c' LIMIT 1 Date : 2025-08-14T15:51:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T15:51:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009487 post PendingInvicesDO 2 MED-101009058 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009058 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-101009058' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009058' OR OrderId='MED-101009058' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-14T16:34:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009488 post PendingInvicesDO 2 MED-101009298 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009298 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='53c275da-8e65-458e-9a19-4f46b0079745' LIMIT 1 Date : 2025-08-14T16:38:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T16:38:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009489 post PendingInvicesDO 2 MED-101009126 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-101009126' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009126' OR OrderId='MED-101009126' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-14T17:03:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009490 post PendingInvicesDO 2 MED-101009132 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-101009132' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009132' OR OrderId='MED-101009132' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-16T06:50:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009491 post PendingInvicesDO 2 MED-101009302 post PendingInvicesDO 2 MED-101009301 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009301 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009302 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-101009302' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009302' OR OrderId='MED-101009302' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-16T08:07:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009492 post PendingInvicesDO 2 MED-101009303 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009303 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bea4eff8-243b-41c0-a05b-3b78fb352d08' LIMIT 1 Date : 2025-08-16T08:21:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T08:21:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009493 post PendingInvicesDO 2 MED-101009304 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009304 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84c5215e-155e-4433-99b3-698616f929cc' LIMIT 1 Date : 2025-08-16T08:56:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T08:56:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009494 post PendingInvicesDO 2 MED-101009305 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009305 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='405aa8a4-3b62-4221-bcb2-a6592e9e52aa' LIMIT 1 Date : 2025-08-16T09:21:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T09:21:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009495 post PendingInvicesDO 2 MED-101009306 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009306 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ce5928a-76f0-473e-b2f4-0ad511e47c9f' LIMIT 1 Date : 2025-08-16T09:49:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T09:49:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009496 post PendingInvicesDO 2 MED-101009189 post PendingInvicesDO 2 MED-101009209 post PendingInvicesDO 2 MED-101009144 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009144 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009189 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009209 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-101009189' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009189' OR OrderId='MED-101009189' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009209' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009209' OR OrderId='MED-101009209' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009144' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009144' OR OrderId='MED-101009144' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-16T10:23:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009497 post PendingInvicesDO 2 MED-101009307 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-101009307' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009307' OR OrderId='MED-101009307' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-16T10:36:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009498 post PendingInvicesDO 2 MED-101009309 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009309 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2671e7cb-4039-42f8-b712-d986b21aac03' LIMIT 1 Date : 2025-08-16T10:38:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T10:38:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009499 post PendingInvicesDO 2 MED-101009197 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009197 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-101009197' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009197' OR OrderId='MED-101009197' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-16T10:41:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009500 post PendingInvicesDO 2 MED-101009311 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009311 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c1ac115-3c11-48cc-bbcf-78e291c84c18' LIMIT 1 Date : 2025-08-16T11:11:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T11:11:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009501 post PendingInvicesDO 2 MED-101009312 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009312 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35804fa8-58dd-4348-8160-b65e451a1dd9' LIMIT 1 Date : 2025-08-16T11:18:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T11:18:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009502 post PendingInvicesDO 2 MED-101009313 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009313 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c76c4c57-d895-4b1f-ac59-50bd976e5656' LIMIT 1 Date : 2025-08-16T11:48:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T11:48:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009503 post PendingInvicesDO 2 MED-101009314 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009314 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b7d6ffb-101e-40ba-9817-2f36f0cb81e4' LIMIT 1 Date : 2025-08-16T12:09:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T12:09:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009504 post PendingInvicesDO 2 MED-101009315 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009315 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7ef26a6-8a0d-4754-80df-164025f942ef' LIMIT 1 Date : 2025-08-16T12:23:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T12:23:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009505 post PendingInvicesDO 2 MED-101009316 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009316 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1bc53ff2-5d8c-4c11-8225-09bd51b045d2' LIMIT 1 Date : 2025-08-16T12:41:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T12:41:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009506 post PendingInvicesDO 2 MED-101009078 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-101009078' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009078' OR OrderId='MED-101009078' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-16T13:03:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009507 post PendingInvicesDO 2 MED-101009265 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-101009265' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009265' OR OrderId='MED-101009265' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-16T14:10:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009508 post PendingInvicesDO 2 MED-101009320 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009320 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b395fe4-b099-4ee0-a031-a89f2cb8988f' LIMIT 1 Date : 2025-08-16T14:21:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T14:21:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009509 post PendingInvicesDO 2 MED-101009195 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-101009195' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009195' OR OrderId='MED-101009195' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-16T15:47:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009510 post PendingInvicesDO 2 MED-101009323 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009323 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4180731-0f21-4d3d-9457-1438c04de96a' LIMIT 1 Date : 2025-08-16T16:14:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T16:14:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009511 post PendingInvicesDO 2 MED-101009089 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-101009089' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009089' OR OrderId='MED-101009089' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-16T16:23:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009512 post PendingInvicesDO 2 MED-101009325 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009325 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33982764-626c-4321-8e2c-0313f97a1e8b' LIMIT 1 Date : 2025-08-16T16:41:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T16:41:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009513 post PendingInvicesDO 2 MED-101009326 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009326 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b7e219a-3385-42b7-a12f-5e8561b23112' LIMIT 1 Date : 2025-08-17T08:17:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T08:17:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009514 post PendingInvicesDO 2 MED-101009238 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009238 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-101009238' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009238' OR OrderId='MED-101009238' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-17T08:22:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009515 post PendingInvicesDO 2 MED-101009228 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-101009228' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009228' OR OrderId='MED-101009228' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-17T09:22:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009516 post PendingInvicesDO 2 MED-101009328 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009328 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca864ede-7a82-4f86-9c0b-d8a027a25f84' LIMIT 1 Date : 2025-08-17T09:23:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T09:23:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009517 post PendingInvicesDO 2 MED-101009329 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009329 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7dbfc0fc-bb6d-43d4-b227-cd69c6237e4f' LIMIT 1 Date : 2025-08-17T09:36:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T09:36:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009518 post PendingInvicesDO 2 MED-101009330 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009330 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d96f42c3-7e5c-4681-9775-1adcd34569fe' LIMIT 1 Date : 2025-08-17T09:44:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T09:44:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009519 post PendingInvicesDO 2 MED-101009331 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009331 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86209185-90fe-4086-ae82-a44875d56ba9' LIMIT 1 Date : 2025-08-17T10:00:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T10:00:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009520 post PendingInvicesDO 2 MED-101009332 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009332 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94ae283d-2f4c-4797-9978-57c75a21860a' LIMIT 1 Date : 2025-08-17T10:19:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T10:19:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009521 post PendingInvicesDO 2 MED-101009333 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009333 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1aeea37a-7f3f-4fc3-b54b-586be782f9ab' LIMIT 1 Date : 2025-08-17T10:40:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T10:40:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009522 post PendingInvicesDO 2 MED-101009335 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009335 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9255902a-0910-4de4-ac4b-843290818786' LIMIT 1 Date : 2025-08-17T11:45:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T11:45:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009523 post PendingInvicesDO 2 MED-101009336 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009336 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3780d46f-a398-40e5-810b-9ebef1c84b07' LIMIT 1 Date : 2025-08-17T12:05:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T12:05:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009524 post PendingInvicesDO 2 MED-101009337 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009337 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd3e2025-c044-4ab5-81f6-3605e052a3d9' LIMIT 1 Date : 2025-08-17T12:37:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T12:37:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009526 post PendingInvicesDO 2 MED-101009288 post PendingInvicesDO 2 MED-101009318 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009525 post PendingInvicesDO 2 MED-101009288 post PendingInvicesDO 2 MED-101009265 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009288 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-101009288' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009288' OR OrderId='MED-101009288' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009288' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009288' OR OrderId='MED-101009288' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009265' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009265' OR OrderId='MED-101009265' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-17T13:06:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009527 post PendingInvicesDO 2 MED-101009319 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-101009319' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009319' OR OrderId='MED-101009319' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-17T13:15:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009528 post PendingInvicesDO 2 MED-101009319 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-101009319' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009319' OR OrderId='MED-101009319' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-17T13:18:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009529 post PendingInvicesDO 2 MED-101009199 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009199 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-101009199' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009199' OR OrderId='MED-101009199' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-17T13:57:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009530 post PendingInvicesDO 2 MED-101009340 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009340 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c7b2b44-d504-4743-ab9e-ed94f5c67ced' LIMIT 1 Date : 2025-08-17T14:15:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T14:15:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009531 post PendingInvicesDO 2 MED-101009341 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009341 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ea69ad0-bf2a-4902-9e02-269b81121d50' LIMIT 1 Date : 2025-08-17T14:20:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T14:20:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009532 post PendingInvicesDO 2 MED-101009342 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009342 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00699d7e-b007-41dd-a29f-f80d08d537da' LIMIT 1 Date : 2025-08-17T14:28:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T14:28:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009533 post PendingInvicesDO 2 MED-101009343 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009343 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7bdee28f-6d65-4d6d-9116-64a5192c3cf1' LIMIT 1 Date : 2025-08-17T14:48:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T14:48:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009534 post PendingInvicesDO 2 MED-101009344 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009344 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6796c664-9593-467f-8aad-29bd5fa775b4' LIMIT 1 Date : 2025-08-17T14:51:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T14:51:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009535 post PendingInvicesDO 2 MED-101009345 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009345 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90f6fffc-e8d2-4180-b255-0e41e3dc7eb0' LIMIT 1 Date : 2025-08-17T15:05:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T15:05:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009536 post PendingInvicesDO 2 MED-101009346 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009346 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f97ce9a-d13d-4831-bcbf-9f729e7d9859' LIMIT 1 Date : 2025-08-17T15:29:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T15:29:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009537 post PendingInvicesDO 2 MED-101009347 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009347 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef43cf78-9b4d-4524-8104-6abd1535d5e7' LIMIT 1 Date : 2025-08-17T15:49:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T15:49:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009538 post PendingInvicesDO 2 MED-101009348 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009348 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b99b9044-6883-4b38-8b48-cea8451e93b8' LIMIT 1 Date : 2025-08-17T15:59:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T15:59:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009539 post PendingInvicesDO 2 MED-101009349 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009349 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1313fde-1974-484d-8b83-8355445f0911' LIMIT 1 Date : 2025-08-17T16:24:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T16:24:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009540 post PendingInvicesDO 2 MED-101009350 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009350 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7dab76c-935c-47f6-b301-c649e7691e53' LIMIT 1 Date : 2025-08-17T16:39:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T16:39:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009541 post PendingInvicesDO 2 MED-101009351 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009351 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5771f95d-ecde-46d7-b748-e93619d1fd6f' LIMIT 1 Date : 2025-08-18T12:00:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T12:00:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009542 post PendingInvicesDO 2 MED-101009352 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009352 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24f3ec18-4dbf-4593-adf0-a6fd5342bb8c' LIMIT 1 Date : 2025-08-18T12:30:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T12:30:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009543 post PendingInvicesDO 2 MED-101009353 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009353 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b01913e5-c645-406b-8deb-4b85a9875a04' LIMIT 1 Date : 2025-08-18T13:22:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T13:22:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009544 post PendingInvicesDO 2 MED-101009354 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009354 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd37b95f-d12a-4dba-b09a-e3e0d7643b09' LIMIT 1 Date : 2025-08-18T13:45:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T13:45:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009545 post PendingInvicesDO 2 MED-101009355 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009355 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='febcdd69-8524-4158-9d65-e1a8d4fdd713' LIMIT 1 Date : 2025-08-18T14:42:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T14:42:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009546 post PendingInvicesDO 2 MED-101009356 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009356 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00ff5c0f-6f02-4450-9033-cb7c0b5792fd' LIMIT 1 Date : 2025-08-18T15:16:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T15:16:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009547 post PendingInvicesDO 2 MED-101009357 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009357 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf2dc467-a807-4f70-a148-97f4e2ee0a0a' LIMIT 1 Date : 2025-08-18T15:49:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T15:49:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009548 post PendingInvicesDO 2 MED-101009358 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009358 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='000b8873-6f57-4aa6-8c42-7cf0589c13eb' LIMIT 1 Date : 2025-08-18T16:25:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T16:25:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009549 post PendingInvicesDO 2 MED-101009359 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009359 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34855fac-ffa4-4d67-a66c-33e5df125af3' LIMIT 1 Date : 2025-08-18T17:01:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T17:01:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009550 post PendingInvicesDO 2 MED-101009360 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009360 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4bfee98-9ecf-493f-8414-b77a54bb1d64' LIMIT 1 Date : 2025-08-19T16:08:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T16:08:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009551 post PendingInvicesDO 2 MED-101009361 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009361 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77053ba2-b004-4221-b4b5-b8027377e0b8' LIMIT 1 Date : 2025-08-19T16:43:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T16:43:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009553 post PendingInvicesDO 2 MED-101009300 post PendingInvicesDO 2 MED-101009299 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009552 post PendingInvicesDO 2 MED-101009300 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009299 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009300 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-101009300' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009300' OR OrderId='MED-101009300' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009300' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009300' OR OrderId='MED-101009300' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-19T17:14:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009554 post PendingInvicesDO 2 MED-101009362 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009362 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b53e9f4f-abfc-46ae-a782-6ec4fadcafcb' LIMIT 1 Date : 2025-08-19T17:15:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T17:15:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009555 post PendingInvicesDO 2 MED-101009363 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009363 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f2f5a46-411f-4b57-97c8-5115533d2301' LIMIT 1 Date : 2025-08-19T22:19:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T22:19:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009556 post PendingInvicesDO 2 MED-101009364 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009364 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='783cf06e-f238-414f-b755-12207fa381ea' LIMIT 1 Date : 2025-08-19T22:26:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T22:26:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009557 post PendingInvicesDO 2 MED-101009365 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009365 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4aa2c5d7-543a-4a29-abb9-f61338698f32' LIMIT 1 Date : 2025-08-20T16:28:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T16:28:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009558 post PendingInvicesDO 2 MED-101009366 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009366 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b9f9b5e-e2f4-4478-a74a-8871132f904e' LIMIT 1 Date : 2025-08-20T23:19:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T23:19:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009559 post PendingInvicesDO 2 MED-101009367 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009367 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bce99757-5b92-43c1-8449-174c590bbafa' LIMIT 1 Date : 2025-08-20T23:22:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T23:22:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009560 post PendingInvicesDO 2 MED-101009368 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009368 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b33e73ee-2a64-46d6-9d5e-c49baa3c74a5' LIMIT 1 Date : 2025-08-21T16:37:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T16:37:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009561 post PendingInvicesDO 2 MED-101009369 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009369 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c367a94-13e7-405e-a3e4-8c524acec4ca' LIMIT 1 Date : 2025-08-21T16:39:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T16:39:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009563 post PendingInvicesDO 2 MED-101009217 post PendingInvicesDO 2 MED-101009216 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009562 post PendingInvicesDO 2 MED-101009217 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009216 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009217 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-101009217' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009217' OR OrderId='MED-101009217' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009217' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009217' OR OrderId='MED-101009217' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-21T16:57:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009564 post PendingInvicesDO 2 MED-101009371 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009371 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e14eed5-5157-484f-8e7a-6833b0aaeff5' LIMIT 1 Date : 2025-08-21T16:59:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T16:59:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009565 post PendingInvicesDO 2 MED-101009372 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009372 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='093c4fcc-37bd-478d-a882-63b21f5cef74' LIMIT 1 Date : 2025-08-21T17:01:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T17:01:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009566 post PendingInvicesDO 2 MED-101009373 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009373 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9aaa97c1-7f83-48ae-b456-f712ea8b357c' LIMIT 1 Date : 2025-08-21T17:03:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T17:03:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009567 post PendingInvicesDO 2 MED-101009374 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009374 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab87216b-fe5a-4e85-9592-6d10af551adc' LIMIT 1 Date : 2025-08-21T17:33:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T17:33:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009568 post PendingInvicesDO 2 MED-101009375 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009375 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ca8ef63-e46c-42d8-8a23-6469c5472984' LIMIT 1 Date : 2025-08-21T18:37:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T18:37:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009569 post PendingInvicesDO 2 MED-101009376 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009376 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d709427-e678-4bf4-a159-d3fe09a748e7' LIMIT 1 Date : 2025-08-22T09:48:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T09:48:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009570 post PendingInvicesDO 2 MED-101009307 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-101009307' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009307' OR OrderId='MED-101009307' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-22T10:06:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009571 post PendingInvicesDO 2 MED-101009378 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009378 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3c7bfd6-4d82-4fd9-9e70-0e50010acd0a' LIMIT 1 Date : 2025-08-22T10:22:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T10:22:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009572 post PendingInvicesDO 2 MED-101009379 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009379 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e264d2b7-bd2e-4266-ab5b-4637aaa8df95' LIMIT 1 Date : 2025-08-22T10:42:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T10:42:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009573 post PendingInvicesDO 2 MED-101009380 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009380 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9638da9-4f3f-4617-8db7-3929fa197d33' LIMIT 1 Date : 2025-08-22T10:53:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T10:53:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009574 post PendingInvicesDO 2 MED-101009310 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009310 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-101009310' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009310' OR OrderId='MED-101009310' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-22T11:03:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009575 post PendingInvicesDO 2 MED-101009382 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009382 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8bade9d-d375-404a-93d3-d7d230d89c50' LIMIT 1 Date : 2025-08-22T11:20:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T11:20:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009576 post PendingInvicesDO 2 MED-101009383 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009383 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ed27db6-c6ea-40ff-8b98-a7de1548a5d6' LIMIT 1 Date : 2025-08-22T11:33:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T11:33:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009577 post PendingInvicesDO 2 MED-101009384 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009384 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61497cf1-44a2-4b81-b1bc-2d9ad407ca5b' LIMIT 1 Date : 2025-08-22T11:53:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T11:53:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009578 post PendingInvicesDO 2 MED-101009385 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009385 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a727c1a-744d-45aa-af3d-b2248b302fa8' LIMIT 1 Date : 2025-08-22T11:55:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T11:55:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009579 post PendingInvicesDO 2 MED-101009386 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009386 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4d9356b-e204-432f-9779-5be1a54eaea7' LIMIT 1 Date : 2025-08-22T12:02:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T12:02:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009580 post PendingInvicesDO 2 MED-101009339 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009339 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-101009339' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009339' OR OrderId='MED-101009339' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-22T14:07:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009581 post PendingInvicesDO 2 MED-101009334 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009334 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-101009334' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009334' OR OrderId='MED-101009334' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-22T16:00:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009582 post PendingInvicesDO 2 MED-101009280 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-101009280' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009280' OR OrderId='MED-101009280' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-22T16:01:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009583 post PendingInvicesDO 2 MED-101009391 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009391 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e67eb243-156f-46af-a387-6aa9290c254c' LIMIT 1 Date : 2025-08-22T16:37:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T16:37:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009584 post PendingInvicesDO 2 MED-101009370 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009370 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-101009370' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009370' OR OrderId='MED-101009370' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-22T17:27:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009585 post PendingInvicesDO 2 MED-101009393 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009393 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c866d441-86af-4dfc-8623-723e164e3f3d' LIMIT 1 Date : 2025-08-22T17:32:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T17:32:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009586 post PendingInvicesDO 2 MED-101009327 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009327 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-101009327' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009327' OR OrderId='MED-101009327' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-22T17:43:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009587 post PendingInvicesDO 2 MED-101009394 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009394 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db872fb8-ef6d-4a66-86c7-9e14b1d2ad6c' LIMIT 1 Date : 2025-08-22T17:49:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T17:49:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009588 post PendingInvicesDO 2 MED-101009395 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009395 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43b45060-b4e4-4b2e-a23c-bd55f5a6911c' LIMIT 1 Date : 2025-08-22T17:55:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T17:55:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009589 post PendingInvicesDO 2 MED-101009396 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009396 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69587994-dc5f-47c1-99c1-fd3746c23925' LIMIT 1 Date : 2025-08-23T15:52:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T15:52:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009590 post PendingInvicesDO 2 MED-101009397 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009397 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cafd3f2f-e288-4f1c-8c26-808ef8be8834' LIMIT 1 Date : 2025-08-23T16:24:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T16:24:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009591 post PendingInvicesDO 2 MED-101009398 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009398 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5cd23184-1714-429c-bbbf-c58542638396' LIMIT 1 Date : 2025-08-23T16:30:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T16:30:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009592 post PendingInvicesDO 2 MED-101009399 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009399 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51315b5b-d142-4a37-b0c3-aca00fdd76d0' LIMIT 1 Date : 2025-08-23T16:47:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T16:47:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009593 post PendingInvicesDO 2 MED-101009400 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009400 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74c94978-2c6f-4ca1-b881-7507d8a16265' LIMIT 1 Date : 2025-08-23T17:06:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T17:06:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009594 post PendingInvicesDO 2 MED-101009401 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009401 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='142f2a38-0d37-4dbd-b215-c8c7fd554fb3' LIMIT 1 Date : 2025-08-23T17:14:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T17:14:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009595 post PendingInvicesDO 2 MED-101009402 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009402 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a231aa91-f5ab-42a2-988d-2ff4a907825f' LIMIT 1 Date : 2025-08-24T15:32:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T15:32:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009596 post PendingInvicesDO 2 MED-101009403 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-101009403' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009403' OR OrderId='MED-101009403' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-24T15:49:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009597 post PendingInvicesDO 2 MED-101009404 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009404 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4feefd1e-3a3a-4928-a6dd-c0e8a76358de' LIMIT 1 Date : 2025-08-24T15:59:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T15:59:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009598 post PendingInvicesDO 2 MED-101009405 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009405 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32ad1ea3-eb69-481f-aa71-5a6682037ac4' LIMIT 1 Date : 2025-08-24T16:17:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T16:17:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009599 post PendingInvicesDO 2 MED-101009195 post PendingInvicesDO 2 MED-101009322 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009322 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-101009195' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009195' OR OrderId='MED-101009195' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009322' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009322' OR OrderId='MED-101009322' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-24T16:26:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009600 post PendingInvicesDO 2 MED-101009407 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009407 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bbf545da-7a20-4625-abf6-6c078c5df4ce' LIMIT 1 Date : 2025-08-24T16:55:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T16:55:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009601 post PendingInvicesDO 2 MED-101009234 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009234 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-101009234' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009234' OR OrderId='MED-101009234' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-24T17:21:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009602 post PendingInvicesDO 2 MED-101009410 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009410 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a769639f-9b89-43b6-9a82-441cee6d9460' LIMIT 1 Date : 2025-08-24T17:56:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T17:56:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009603 post PendingInvicesDO 2 MED-101009389 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009389 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-101009389' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009389' OR OrderId='MED-101009389' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-24T18:57:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009604 post PendingInvicesDO 2 MED-101009388 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009388 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-101009388' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009388' OR OrderId='MED-101009388' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-25T15:08:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009605 post PendingInvicesDO 2 MED-101009408 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009408 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-101009408' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009408' OR OrderId='MED-101009408' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-25T15:08:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009606 post PendingInvicesDO 2 MED-101009411 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009411 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='886a45d0-8930-4e7d-8aa7-8c22db92a784' LIMIT 1 Date : 2025-08-25T15:17:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T15:17:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009607 post PendingInvicesDO 2 MED-101009412 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009412 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4335d22f-249b-413e-9b4c-4377444c5994' LIMIT 1 Date : 2025-08-25T15:38:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T15:38:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009608 post PendingInvicesDO 2 MED-101009413 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009413 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a942c10b-302c-47ce-911b-b51405ac5057' LIMIT 1 Date : 2025-08-25T16:13:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T16:13:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009609 post PendingInvicesDO 2 MED-101009414 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009414 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='545fcc35-2f8a-45b4-bb85-15aeec91a606' LIMIT 1 Date : 2025-08-25T16:50:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T16:50:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009610 post PendingInvicesDO 2 MED-101009415 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009415 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f465e60-af2c-4edc-b5ad-10d067a31ff4' LIMIT 1 Date : 2025-08-25T17:08:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T17:08:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009611 post PendingInvicesDO 2 MED-101009416 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009416 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2bde92e5-4370-4377-af2f-89d8a3071eca' LIMIT 1 Date : 2025-08-25T17:23:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T17:23:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009612 post PendingInvicesDO 2 MED-101009417 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009417 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c5f3735-7f03-458b-b366-0bc86324c1f6' LIMIT 1 Date : 2025-08-26T15:25:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T15:25:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009613 post PendingInvicesDO 2 MED-101009418 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009418 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09609186-d5da-4a28-abe6-1a1bc519076f' LIMIT 1 Date : 2025-08-26T15:46:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T15:46:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009614 post PendingInvicesDO 2 MED-101009419 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009419 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='415c2401-fa7d-4ce8-b986-1b9f53e17316' LIMIT 1 Date : 2025-08-26T16:01:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T16:01:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009615 post PendingInvicesDO 2 MED-101009420 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009420 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b4ac9f7-b9b0-4862-821e-6fa4aaf5304e' LIMIT 1 Date : 2025-08-26T16:23:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T16:23:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009616 post PendingInvicesDO 2 MED-101009421 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009421 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='883f3d18-13fc-453e-b733-4df6f1b5e51b' LIMIT 1 Date : 2025-08-26T17:04:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T17:04:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009617 post PendingInvicesDO 2 MED-101009422 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009422 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a21a4cff-087b-46d0-8a04-2a85d174ecf7' LIMIT 1 Date : 2025-08-26T17:08:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T17:08:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009618 post PendingInvicesDO 2 MED-101009423 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009423 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='780b040f-3968-4b94-9e4c-1f0f05d0f898' LIMIT 1 Date : 2025-08-26T17:44:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T17:44:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009619 post PendingInvicesDO 2 MED-101009424 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009424 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d90a78a6-a96f-4021-b897-aec179490f3e' LIMIT 1 Date : 2025-08-26T18:03:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T18:03:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009620 post PendingInvicesDO 2 MED-101009307 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-101009307' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009307' OR OrderId='MED-101009307' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-26T18:16:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009621 post PendingInvicesDO 2 MED-101009308 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009308 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-101009308' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009308' OR OrderId='MED-101009308' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-26T18:17:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009622 post PendingInvicesDO 2 MED-101009409 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-101009409' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009409' OR OrderId='MED-101009409' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-26T18:54:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009623 post PendingInvicesDO 2 MED-101009427 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009427 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1729180d-31b4-40c8-92b4-1912e3eaee7b' LIMIT 1 Date : 2025-08-26T18:58:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T18:58:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009624 post PendingInvicesDO 2 MED-101009430 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009430 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-101009430' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009430' OR OrderId='MED-101009430' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-26T20:58:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009626 post PendingInvicesDO 2 MED-101009436 post PendingInvicesDO 2 MED-101009435 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009625 post PendingInvicesDO 2 MED-101009436 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009435 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009436 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-101009436' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009436' OR OrderId='MED-101009436' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009436' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009436' OR OrderId='MED-101009436' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-27T08:46:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009627 post PendingInvicesDO 2 MED-101009439 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009439 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c684c1a-0e12-4b8e-bc6c-a5d833ea1a17' LIMIT 1 Date : 2025-08-27T09:10:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T09:10:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009628 post PendingInvicesDO 2 MED-101009440 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009440 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7049fe5c-9972-49d2-8f72-9bf5052da302' LIMIT 1 Date : 2025-08-27T09:23:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T09:23:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009630 post PendingInvicesDO 2 MED-101009442 post PendingInvicesDO 2 MED-101009441 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009629 post PendingInvicesDO 2 MED-101009442 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009441 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009442 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fff4f776-18db-4219-a9f5-9a4e42fcb5a8' LIMIT 1 Date : 2025-08-27T09:48:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32c46fe4-8470-4a13-af80-2d5f54637599' LIMIT 1 Date : 2025-08-27T09:48:05  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fff4f776-18db-4219-a9f5-9a4e42fcb5a8' LIMIT 1 Date : 2025-08-27T09:48:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32c46fe4-8470-4a13-af80-2d5f54637599' LIMIT 1 Date : 2025-08-27T09:48:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-27T09:48:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009632 post PendingInvicesDO 2 MED-101009444 post PendingInvicesDO 2 MED-101009443 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009631 post PendingInvicesDO 2 MED-101009444 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009443 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009444 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f1adf86-a7f1-42c1-93b7-e74140d77261' LIMIT 1 Date : 2025-08-27T10:55:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98d1f275-4995-449f-9d98-dbaf5a5f5183' LIMIT 1 Date : 2025-08-27T10:55:28  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f1adf86-a7f1-42c1-93b7-e74140d77261' LIMIT 1 Date : 2025-08-27T10:55:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98d1f275-4995-449f-9d98-dbaf5a5f5183' LIMIT 1 Date : 2025-08-27T10:55:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-27T10:55:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009633 post PendingInvicesDO 2 MED-101009445 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009445 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e3e16b0-9206-43c8-8b42-45ce15a08317' LIMIT 1 Date : 2025-08-27T11:15:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T11:15:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009634 post PendingInvicesDO 2 MED-101009317 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-101009317' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009317' OR OrderId='MED-101009317' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-27T11:16:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009635 post PendingInvicesDO 2 MED-101009446 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009446 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb847ebc-cb22-4e84-8847-accdc965bb4a' LIMIT 1 Date : 2025-08-27T11:23:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T11:23:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009636 post PendingInvicesDO 2 MED-101009447 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009447 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a04a913-621b-4899-86ef-bc98fa184044' LIMIT 1 Date : 2025-08-27T11:57:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T11:57:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009637 post PendingInvicesDO 2 MED-101009448 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009448 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee756983-9a4d-48f5-ba3e-841ce1d7ee78' LIMIT 1 Date : 2025-08-27T12:17:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T12:17:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009638 post PendingInvicesDO 2 MED-101009449 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009449 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2eedee32-9d8f-4fb2-8d03-dcae4bacbfbc' LIMIT 1 Date : 2025-08-27T13:13:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T13:13:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009639 post PendingInvicesDO 2 MED-101009381 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009381 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-101009381' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009381' OR OrderId='MED-101009381' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-27T13:22:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009640 post PendingInvicesDO 2 MED-101009431 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009431 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-101009431' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009431' OR OrderId='MED-101009431' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-27T13:31:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009641 post PendingInvicesDO 2 MED-101009132 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-101009132' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009132' OR OrderId='MED-101009132' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-27T13:32:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009642 post PendingInvicesDO 2 MED-101009450 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009450 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a67ef078-ab3b-4ec3-b7d4-ba8cd51d955a' LIMIT 1 Date : 2025-08-27T13:33:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T13:33:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009643 post PendingInvicesDO 2 MED-101009451 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009451 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cfb29f4d-ef0a-41e9-b25b-d29927d4299c' LIMIT 1 Date : 2025-08-27T13:43:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T13:43:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009644 post PendingInvicesDO 2 MED-101009452 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009452 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='012d4f1c-b030-489b-93cd-15798f8e0538' LIMIT 1 Date : 2025-08-27T14:04:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T14:04:06 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-104009645 post PendingInvicesDO 2 MED-101009453 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009453 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81aabeae-37f1-4cd9-95af-13c32c2ceb7a' LIMIT 1 Date : 2025-08-27T14:34:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T14:34:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009646 post PendingInvicesDO 2 MED-101009454 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009454 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c999e1e4-b1f8-48c1-94a4-6efec4e64d43' LIMIT 1 Date : 2025-08-27T14:57:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T14:57:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009647 post PendingInvicesDO 2 MED-101009409 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-101009409' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009409' OR OrderId='MED-101009409' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-27T16:17:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009648 post PendingInvicesDO 2 MED-101009459 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009459 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cdf909ef-703f-429a-b568-7356798d60d3' LIMIT 1 Date : 2025-08-27T16:38:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T16:38:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009649 post PendingInvicesDO 2 MED-101009317 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-101009317' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009317' OR OrderId='MED-101009317' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-27T17:20:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009650 post PendingInvicesDO 2 MED-101009460 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009460 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a893d29b-8b0c-4692-bba1-571dab85391a' LIMIT 1 Date : 2025-08-27T17:24:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T17:24:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009651 post PendingInvicesDO 2 MED-101009461 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009461 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='901e14fb-b2db-48b1-b7f0-c5ce78d357b9' LIMIT 1 Date : 2025-08-28T09:31:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T09:31:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009652 post PendingInvicesDO 2 MED-101009462 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009462 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='afb2ac3f-f068-402d-a1eb-24e368a0f345' LIMIT 1 Date : 2025-08-28T09:51:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T09:51:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009653 post PendingInvicesDO 2 MED-101009463 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009463 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46946e2f-0ce3-4359-95c1-37660b8949ff' LIMIT 1 Date : 2025-08-28T10:01:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T10:01:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009654 post PendingInvicesDO 2 MED-101009465 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009465 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0cc81e2f-b042-4d14-a39e-bd22ca25c0e1' LIMIT 1 Date : 2025-08-28T10:30:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T10:30:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009655 post PendingInvicesDO 2 MED-101009466 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009466 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93c9875c-40da-422e-a86e-9f72b0719997' LIMIT 1 Date : 2025-08-28T10:54:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T10:54:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009656 post PendingInvicesDO 2 MED-101009280 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-101009280' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009280' OR OrderId='MED-101009280' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-28T11:10:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009657 post PendingInvicesDO 2 MED-101009468 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009468 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d99e13ba-1786-499c-a6a3-d2fdbdff87b1' LIMIT 1 Date : 2025-08-28T11:36:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T11:36:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009658 post PendingInvicesDO 2 MED-101009434 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009434 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-101009434' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009434' OR OrderId='MED-101009434' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-28T11:47:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009659 post PendingInvicesDO 2 MED-101009470 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009470 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20ff46ab-03b3-495f-9765-39b72e48e9e7' LIMIT 1 Date : 2025-08-28T12:25:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T12:25:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009660 post PendingInvicesDO 2 MED-101009471 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009471 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e318323f-6734-44d2-ad16-7a5c1ba42327' LIMIT 1 Date : 2025-08-28T12:27:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T12:27:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009661 post PendingInvicesDO 2 MED-101009338 post PendingInvicesDO 2 MED-101009319 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009338 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-101009338' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009338' OR OrderId='MED-101009338' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009319' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009319' OR OrderId='MED-101009319' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-28T13:32:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009663 post PendingInvicesDO 2 MED-101009287 post PendingInvicesDO 2 MED-101009286 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009662 post PendingInvicesDO 2 MED-101009287 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009286 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009287 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-101009287' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009287' OR OrderId='MED-101009287' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009287' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009287' OR OrderId='MED-101009287' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-28T13:49:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009664 post PendingInvicesDO 2 MED-101009474 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009474 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6314e5d8-ceb7-421f-a54f-e0ae22424f7b' LIMIT 1 Date : 2025-08-28T14:27:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T14:27:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009665 post PendingInvicesDO 2 MED-101009475 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009475 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5f843d4-5a8b-41ac-a3c7-7cc4b4ec9e3c' LIMIT 1 Date : 2025-08-28T14:43:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T14:43:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009666 post PendingInvicesDO 2 MED-101009476 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009476 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a264452-6814-45fa-9d25-e238102514ce' LIMIT 1 Date : 2025-08-28T14:44:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T14:44:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009667 post PendingInvicesDO 2 MED-101009477 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009477 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b05c27f3-951e-4f55-a9b8-323c58c84bc5' LIMIT 1 Date : 2025-08-28T14:51:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T14:51:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009668 post PendingInvicesDO 2 MED-101009324 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009324 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-101009324' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009324' OR OrderId='MED-101009324' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-28T15:02:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009669 post PendingInvicesDO 2 MED-101009479 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009479 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='054859e4-c5bb-468c-8117-aed2bca9f961' LIMIT 1 Date : 2025-08-28T15:45:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T15:45:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009670 post PendingInvicesDO 2 MED-101009480 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009480 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17c807b7-eb53-4bf9-850d-33a46f8b038a' LIMIT 1 Date : 2025-08-28T16:36:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T16:36:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009671 post PendingInvicesDO 2 MED-101009481 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009481 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df9ccce9-3bca-4d26-befa-05839cf0c8b4' LIMIT 1 Date : 2025-08-28T17:05:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T17:05:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009672 post PendingInvicesDO 2 MED-101009482 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009482 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ee289db-8a83-4900-a3cb-da1351bb788b' LIMIT 1 Date : 2025-08-28T17:09:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T17:09:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009673 post PendingInvicesDO 2 MED-101009483 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009483 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c08a7f62-ad7c-4c3b-908c-02188b680664' LIMIT 1 Date : 2025-08-28T17:24:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T17:24:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009674 post PendingInvicesDO 2 MED-101009390 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009390 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-101009390' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009390' OR OrderId='MED-101009390' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-28T18:14:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009675 post PendingInvicesDO 2 MED-101009392 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009392 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-101009392' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009392' OR OrderId='MED-101009392' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-28T18:16:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009676 post PendingInvicesDO 2 MED-101009260 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-101009260' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009260' OR OrderId='MED-101009260' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-29T10:35:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009677 post PendingInvicesDO 2 MED-101009484 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009484 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85a9a762-4daf-481d-a938-aa64be05cffa' LIMIT 1 Date : 2025-08-29T10:39:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T10:39:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009678 post PendingInvicesDO 2 MED-101009403 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-101009403' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009403' OR OrderId='MED-101009403' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-29T10:49:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009679 post PendingInvicesDO 2 MED-101009485 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009485 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf8cfa17-5426-42f1-b4ef-096ee1871582' LIMIT 1 Date : 2025-08-29T10:52:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T10:52:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009680 post PendingInvicesDO 2 MED-101009243 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-101009243' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009243' OR OrderId='MED-101009243' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-29T11:08:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009681 post PendingInvicesDO 2 MED-101009486 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009486 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00d90ce0-d63f-44ca-a9de-b0743950ed67' LIMIT 1 Date : 2025-08-29T11:12:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T11:12:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009682 post PendingInvicesDO 2 MED-101009487 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009487 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c9a9df3-e5a3-45c3-af87-01140e624ad6' LIMIT 1 Date : 2025-08-29T11:30:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T11:30:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009683 post PendingInvicesDO 2 MED-101009488 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009488 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b95c1fb-ccc5-4ef4-9f9b-8f716d4fcea9' LIMIT 1 Date : 2025-08-29T11:44:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T11:44:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009684 post PendingInvicesDO 2 MED-101009489 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009489 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='700635ab-e9d2-4ccc-8cf5-98746a64ae0c' LIMIT 1 Date : 2025-08-29T13:11:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T13:11:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009685 post PendingInvicesDO 2 MED-101009317 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-101009317' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009317' OR OrderId='MED-101009317' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-29T13:38:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009686 post PendingInvicesDO 2 MED-101009490 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009490 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='449f03d7-a850-4466-a9ab-a2e1683a457d' LIMIT 1 Date : 2025-08-29T14:15:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T14:15:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009687 post PendingInvicesDO 2 MED-101009491 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009491 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6a8cdc0-916f-47cb-bcc0-6f544d3b165b' LIMIT 1 Date : 2025-08-29T14:22:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T14:22:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009688 post PendingInvicesDO 2 MED-101009492 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009492 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78ace614-b997-45fb-a8a7-031a559ea8a0' LIMIT 1 Date : 2025-08-29T14:37:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T14:37:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009689 post PendingInvicesDO 2 MED-101009321 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009321 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-101009321' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009321' OR OrderId='MED-101009321' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-29T14:46:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009690 post PendingInvicesDO 2 MED-101009494 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009494 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2d7c2e1-dd7a-47b8-ae3c-d63a6aaf48f3' LIMIT 1 Date : 2025-08-30T08:21:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T08:21:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009691 post PendingInvicesDO 2 MED-101009495 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009495 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='89969f7b-e8d9-41ec-90c6-6e1cb3e1524d' LIMIT 1 Date : 2025-08-30T09:00:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T09:00:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009692 post PendingInvicesDO 2 MED-101009496 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009496 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4824319e-43b2-4f36-8f8e-e3c3c96a1215' LIMIT 1 Date : 2025-08-30T10:17:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T10:17:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009693 post PendingInvicesDO 2 MED-101009215 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009215 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-101009215' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009215' OR OrderId='MED-101009215' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T10:28:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009694 post PendingInvicesDO 2 MED-101009498 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009498 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8289f98b-0177-471d-87d1-95e315cc81c3' LIMIT 1 Date : 2025-08-30T10:31:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T10:31:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009695 post PendingInvicesDO 2 MED-101009499 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009499 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28511b37-3e0c-4dc6-a7ab-e805aa26019f' LIMIT 1 Date : 2025-08-30T10:41:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T10:41:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009697 post PendingInvicesDO 2 MED-101009458 post PendingInvicesDO 2 MED-101009457 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009696 post PendingInvicesDO 2 MED-101009458 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009457 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009458 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-101009458' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009458' OR OrderId='MED-101009458' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009458' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009458' OR OrderId='MED-101009458' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T11:14:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009699 post PendingInvicesDO 2 MED-101009433 post PendingInvicesDO 2 MED-101009432 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009698 post PendingInvicesDO 2 MED-101009433 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009432 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009433 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-101009433' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009433' OR OrderId='MED-101009433' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009433' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009433' OR OrderId='MED-101009433' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T11:15:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009701 post PendingInvicesDO 2 MED-101009456 post PendingInvicesDO 2 MED-101009455 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009700 post PendingInvicesDO 2 MED-101009456 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009455 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009456 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-101009456' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009456' OR OrderId='MED-101009456' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009456' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009456' OR OrderId='MED-101009456' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T11:15:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009703 post PendingInvicesDO 2 MED-101009429 post PendingInvicesDO 2 MED-101009428 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009702 post PendingInvicesDO 2 MED-101009429 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009428 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009429 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-101009429' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009429' OR OrderId='MED-101009429' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009429' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009429' OR OrderId='MED-101009429' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T11:15:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009704 post PendingInvicesDO 2 MED-101009467 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009467 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-101009467' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009467' OR OrderId='MED-101009467' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T11:16:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009706 post PendingInvicesDO 2 MED-101009438 post PendingInvicesDO 2 MED-101009437 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009705 post PendingInvicesDO 2 MED-101009438 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009437 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009438 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-101009438' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009438' OR OrderId='MED-101009438' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009438' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009438' OR OrderId='MED-101009438' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T11:16:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009707 post PendingInvicesDO 2 MED-101009469 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009469 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-101009469' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009469' OR OrderId='MED-101009469' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T11:17:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009708 post PendingInvicesDO 2 MED-101009426 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009426 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-101009426' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009426' OR OrderId='MED-101009426' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T11:18:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009709 post PendingInvicesDO 2 MED-101009500 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009500 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4f43b74-fdb9-48e8-aa7e-8d57b58130dc' LIMIT 1 Date : 2025-08-30T11:22:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T11:22:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009710 post PendingInvicesDO 2 MED-101009501 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009501 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51d9b208-889e-4418-bedd-41b28cf75545' LIMIT 1 Date : 2025-08-30T11:50:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T11:50:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009711 post PendingInvicesDO 2 MED-101009502 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009502 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b0a967c-3343-4a1f-a74d-658f93de61ee' LIMIT 1 Date : 2025-08-30T12:07:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T12:07:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009712 post PendingInvicesDO 2 MED-101009228 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-101009228' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009228' OR OrderId='MED-101009228' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T13:01:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009713 post PendingInvicesDO 2 MED-101009503 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009503 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a565384-8157-4cf6-90df-045646ccb656' LIMIT 1 Date : 2025-08-30T13:03:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T13:03:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009714 post PendingInvicesDO 2 MED-101009243 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-101009243' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009243' OR OrderId='MED-101009243' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T13:37:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009715 post PendingInvicesDO 2 MED-101009504 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009504 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aec24def-444e-40ae-8c27-9ec2e7dc47b1' LIMIT 1 Date : 2025-08-30T13:39:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T13:39:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009716 post PendingInvicesDO 2 MED-101009478 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-101009478' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009478' OR OrderId='MED-101009478' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T13:44:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009717 post PendingInvicesDO 2 MED-101009317 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-101009317' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009317' OR OrderId='MED-101009317' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T13:55:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009718 post PendingInvicesDO 2 MED-101009049 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009049 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-101009049' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009049' OR OrderId='MED-101009049' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T15:30:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009719 post PendingInvicesDO 2 MED-101009507 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009507 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86450141-1575-44dc-88df-c7497cddba5d' LIMIT 1 Date : 2025-08-30T16:26:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T16:26:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009720 post PendingInvicesDO 2 MED-101009464 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009464 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-101009464' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009464' OR OrderId='MED-101009464' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T16:40:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009721 post PendingInvicesDO 2 MED-101009508 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009508 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1527941e-b73a-4300-bcaf-28135be8a407' LIMIT 1 Date : 2025-08-30T16:46:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T16:46:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009722 post PendingInvicesDO 2 MED-101009509 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009509 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ea9e7f5-3bdd-4bf8-9ab2-1fd2e4c5da50' LIMIT 1 Date : 2025-08-30T16:47:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T16:47:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009723 post PendingInvicesDO 2 MED-101009510 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009510 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8508c6a7-21d3-41e6-8eae-701f2a81fcd4' LIMIT 1 Date : 2025-08-30T17:20:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T17:20:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009724 post PendingInvicesDO 2 MED-101009178 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-101009178' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009178' OR OrderId='MED-101009178' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T17:42:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009725 post PendingInvicesDO 2 MED-101009377 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009377 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-101009377' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009377' OR OrderId='MED-101009377' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T17:47:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009726 post PendingInvicesDO 2 MED-101009425 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-101009425' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009425' OR OrderId='MED-101009425' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T17:49:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009727 post PendingInvicesDO 2 MED-101009493 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009493 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-101009493' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009493' OR OrderId='MED-101009493' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-31T07:47:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009728 post PendingInvicesDO 2 MED-101009511 post PendingInvicesDO 2 MED-101009425 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009511 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-101009511' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009511' OR OrderId='MED-101009511' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009425' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009425' OR OrderId='MED-101009425' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-31T07:48:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009729 post PendingInvicesDO 2 MED-101009512 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009512 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac63ff7b-6a6d-4107-beb0-d304dcc8cea7' LIMIT 1 Date : 2025-08-31T07:58:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T07:58:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009730 post PendingInvicesDO 2 MED-101009513 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009513 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='709d3878-6021-4564-8d5c-3bc7f3154597' LIMIT 1 Date : 2025-08-31T08:07:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T08:07:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009731 post PendingInvicesDO 2 MED-101009514 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009514 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a1fc3b2-5ae7-4303-bace-7c170a4a42ee' LIMIT 1 Date : 2025-08-31T08:59:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T08:59:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009732 post PendingInvicesDO 2 MED-101009515 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009515 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ebe97a10-841d-4544-8805-761852ac311f' LIMIT 1 Date : 2025-08-31T09:24:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T09:25:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009733 post PendingInvicesDO 2 MED-101009472 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009472 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-101009472' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009472' OR OrderId='MED-101009472' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-31T09:56:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009734 post PendingInvicesDO 2 MED-101009517 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009517 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc8b3ea3-fcfa-4ae8-9d7c-fa5343ef497f' LIMIT 1 Date : 2025-08-31T10:03:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T10:03:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009735 post PendingInvicesDO 2 MED-101009518 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009518 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2001a0d8-6660-4210-8965-3474bd9ea60e' LIMIT 1 Date : 2025-08-31T10:21:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T10:21:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009736 post PendingInvicesDO 2 MED-101009519 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009519 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='532e6c40-337d-4b80-8b6d-ba063f16e4f0' LIMIT 1 Date : 2025-08-31T11:07:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T11:07:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009737 post PendingInvicesDO 2 MED-101009297 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009297 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-101009297' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009297' OR OrderId='MED-101009297' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-31T11:42:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009738 post PendingInvicesDO 2 MED-101009520 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009520 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5fbba3a9-04df-42c6-bcc7-25f20ed07b48' LIMIT 1 Date : 2025-08-31T13:13:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T13:13:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009739 post PendingInvicesDO 2 MED-101009522 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009522 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d4d8fd4-3569-4ada-b3f5-b5a16c354ef6' LIMIT 1 Date : 2025-08-31T14:22:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T14:22:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009740 post PendingInvicesDO 2 MED-101009523 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009523 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a4aa0f7-72cd-4b3c-b05f-af96b618d2af' LIMIT 1 Date : 2025-08-31T14:39:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T14:39:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009741 post PendingInvicesDO 2 MED-101009524 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009524 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc286ce8-a485-40a8-af85-b17908787691' LIMIT 1 Date : 2025-08-31T15:14:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T15:14:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009742 post PendingInvicesDO 2 MED-101009068 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009068 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-101009068' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009068' OR OrderId='MED-101009068' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-31T15:27:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009743 post PendingInvicesDO 2 MED-101009295 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009295 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-101009295' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009295' OR OrderId='MED-101009295' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-31T15:28:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009744 post PendingInvicesDO 2 MED-101009296 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009296 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-101009296' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009296' OR OrderId='MED-101009296' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-31T15:28:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009745 post PendingInvicesDO 2 MED-101009126 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-101009126' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009126' OR OrderId='MED-101009126' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-31T15:28:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009746 post PendingInvicesDO 2 MED-101009406 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009406 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-101009406' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009406' OR OrderId='MED-101009406' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-31T15:33:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009747 post PendingInvicesDO 2 MED-101009526 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009526 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5f53f0b-4382-4553-96b7-4d513918d264' LIMIT 1 Date : 2025-08-31T15:46:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T15:46:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009748 post PendingInvicesDO 2 MED-101009527 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009527 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1980d10-17b4-42a1-a61f-56b53c7076f6' LIMIT 1 Date : 2025-08-31T16:29:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T16:29:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009749 post PendingInvicesDO 2 MED-101009528 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009528 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32d28030-57a8-43cf-be77-a6aaa3d0738a' LIMIT 1 Date : 2025-08-31T16:37:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T16:37:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009750 post PendingInvicesDO 2 MED-101009243 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-101009243' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009243' OR OrderId='MED-101009243' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-31T17:09:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009751 post PendingInvicesDO 2 MED-101009529 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009529 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92a8aa82-d646-4934-8b32-ae76270334fe' LIMIT 1 Date : 2025-08-31T17:38:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T17:38:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009752 post PendingInvicesDO 2 MED-101009178 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-101009178' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009178' OR OrderId='MED-101009178' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-31T19:41:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009753 post PendingInvicesDO 2 MED-101009530 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009530 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2fb0a46-1d47-412c-b034-112e34af978d' LIMIT 1 Date : 2025-09-01T11:27:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T11:27:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009754 post PendingInvicesDO 2 MED-101009531 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009531 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60477cb2-7864-487e-baa9-34a102aa3ddf' LIMIT 1 Date : 2025-09-01T11:52:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T11:52:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009755 post PendingInvicesDO 2 MED-101009473 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009473 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-101009473' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009473' OR OrderId='MED-101009473' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-01T12:35:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009756 post PendingInvicesDO 2 MED-101009532 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009532 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de39e05c-4cd7-4557-aca0-e838b9df77cf' LIMIT 1 Date : 2025-09-01T13:09:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T13:09:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009757 post PendingInvicesDO 2 MED-101009533 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009533 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='035650eb-0012-43e6-b245-0a37b8d89045' LIMIT 1 Date : 2025-09-01T13:48:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T13:48:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009758 post PendingInvicesDO 2 MED-101009534 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009534 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7be7589-62c9-46b8-8e11-8aaa5cae06b0' LIMIT 1 Date : 2025-09-01T14:14:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T14:14:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009759 post PendingInvicesDO 2 MED-101009537 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009537 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a598cd9e-ec23-4fe9-bad3-34eb2c4eafb8' LIMIT 1 Date : 2025-09-01T15:21:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T15:21:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009760 post PendingInvicesDO 2 MED-101009538 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009538 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36886517-4489-4fd3-96f8-08f6ce178bfa' LIMIT 1 Date : 2025-09-01T15:40:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T15:40:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009761 post PendingInvicesDO 2 MED-101009539 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009539 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2622516c-b581-40c6-b89f-dcb23b1dd499' LIMIT 1 Date : 2025-09-01T16:10:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T16:10:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009762 post PendingInvicesDO 2 MED-101009540 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009540 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a978461-5ec2-43d9-b878-f3c1e7ec8c31' LIMIT 1 Date : 2025-09-01T16:35:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T16:35:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009763 post PendingInvicesDO 2 MED-101009478 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-101009478' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009478' OR OrderId='MED-101009478' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-01T16:55:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009764 post PendingInvicesDO 2 MED-101009541 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009541 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='554283d9-5a2d-4ac3-a709-006f63284209' LIMIT 1 Date : 2025-09-01T17:01:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T17:01:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009765 post PendingInvicesDO 2 MED-101009497 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009497 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-101009497' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009497' OR OrderId='MED-101009497' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-01T17:02:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009766 post PendingInvicesDO 2 MED-101009542 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009542 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='949ff2f6-b02a-4dc5-8cd2-81587fc351d9' LIMIT 1 Date : 2025-09-01T17:10:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T17:10:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009767 post PendingInvicesDO 2 MED-101009545 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009545 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7c0a1c8-bc14-4b52-b865-8d45b41a242c' LIMIT 1 Date : 2025-09-01T18:16:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T18:16:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009768 post PendingInvicesDO 2 MED-101009546 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009546 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87d282ef-4ac0-4496-826d-25a765da6106' LIMIT 1 Date : 2025-09-01T18:38:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T18:38:15 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-104009770 post PendingInvicesDO 2 MED-101009548 post PendingInvicesDO 2 MED-101009547 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009769 post PendingInvicesDO 2 MED-101009548 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009547 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009548 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='acbc8772-7fa2-479e-b9d3-08c5bed9e202' LIMIT 1 Date : 2025-09-01T18:57:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fad1a41-2314-4114-ab20-a01c8f6e54e5' LIMIT 1 Date : 2025-09-01T18:57:30  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='acbc8772-7fa2-479e-b9d3-08c5bed9e202' LIMIT 1 Date : 2025-09-01T18:57:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fad1a41-2314-4114-ab20-a01c8f6e54e5' LIMIT 1 Date : 2025-09-01T18:57:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-01T18:57:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009772 post PendingInvicesDO 2 MED-101009544 post PendingInvicesDO 2 MED-101009543 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009771 post PendingInvicesDO 2 MED-101009544 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009543 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009544 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-101009544' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009544' OR OrderId='MED-101009544' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009544' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009544' OR OrderId='MED-101009544' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-01T18:58:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009774 post PendingInvicesDO 2 MED-101009536 post PendingInvicesDO 2 MED-101009535 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009773 post PendingInvicesDO 2 MED-101009536 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009535 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009536 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-101009536' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009536' OR OrderId='MED-101009536' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009536' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009536' OR OrderId='MED-101009536' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-01T19:13:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009775 post PendingInvicesDO 2 MED-101009516 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009516 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-101009516' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009516' OR OrderId='MED-101009516' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-01T19:51:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009776 post PendingInvicesDO 2 MED-101009525 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-101009525' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009525' OR OrderId='MED-101009525' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-01T19:51:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009777 post PendingInvicesDO 2 MED-101009550 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009550 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f26a5a41-a6ce-436d-9114-08255b567fdb' LIMIT 1 Date : 2025-09-02T10:35:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T10:35:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009778 post PendingInvicesDO 2 MED-101009551 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009551 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83b39668-2f30-469c-acd5-5d798d8a7aa2' LIMIT 1 Date : 2025-09-02T11:03:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T11:03:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009779 post PendingInvicesDO 2 MED-101009552 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009552 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56aeff0b-212d-4be1-be45-9674a9c7c2fe' LIMIT 1 Date : 2025-09-02T12:37:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T12:37:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009780 post PendingInvicesDO 2 MED-101009553 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009553 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='30d4a22f-7e40-41f6-97de-2135654941f0' LIMIT 1 Date : 2025-09-02T13:25:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T13:25:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009781 post PendingInvicesDO 2 MED-101009554 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009554 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f6bd496-aeea-4a82-a709-bcd9fa1f8c49' LIMIT 1 Date : 2025-09-02T13:38:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T13:38:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009782 post PendingInvicesDO 2 MED-101009555 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009555 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8db3adb-0f0d-48a2-93e6-7e4938d5d5d0' LIMIT 1 Date : 2025-09-02T14:00:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T14:00:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009783 post PendingInvicesDO 2 MED-101009556 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009556 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b966d9a-13cb-4ded-8312-25dea8a15918' LIMIT 1 Date : 2025-09-02T14:01:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T14:01:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009784 post PendingInvicesDO 2 MED-101009557 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009557 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='184dc1e7-3fbe-4874-a2db-2d11c28c3ef1' LIMIT 1 Date : 2025-09-02T14:04:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T14:04:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009785 post PendingInvicesDO 2 MED-101009558 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009558 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9cf297f-f5a7-4cf3-a4b6-5a525d922206' LIMIT 1 Date : 2025-09-02T14:13:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T14:13:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009786 post PendingInvicesDO 2 MED-101009559 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009559 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d3d7ca2-14ec-48cc-8797-8b654cbbd6ca' LIMIT 1 Date : 2025-09-02T14:27:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T14:27:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009787 post PendingInvicesDO 2 MED-101009562 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009562 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a082e5d2-05b0-4fd0-8adc-a9907911ca6b' LIMIT 1 Date : 2025-09-02T15:29:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T15:29:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009788 post PendingInvicesDO 2 MED-101009563 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009563 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cac7e252-e327-489b-a31f-aef5837b0c54' LIMIT 1 Date : 2025-09-02T15:50:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T15:50:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009789 post PendingInvicesDO 2 MED-101009564 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009564 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ab03fe6-0aa5-411e-b615-02cf53709fbe' LIMIT 1 Date : 2025-09-02T15:54:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T15:54:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009790 post PendingInvicesDO 2 MED-101009565 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009565 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27ef7ebb-76f4-4e20-9344-268d3451ce17' LIMIT 1 Date : 2025-09-02T15:59:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T15:59:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009791 post PendingInvicesDO 2 MED-101009566 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009566 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc30f18d-a74d-4bad-b1e2-dc5f5719d4de' LIMIT 1 Date : 2025-09-02T16:00:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:00:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009792 post PendingInvicesDO 2 MED-101009567 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009567 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e1424a8c-74ad-45f4-b19b-dc1767219f19' LIMIT 1 Date : 2025-09-02T16:01:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:01:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009793 post PendingInvicesDO 2 MED-101009568 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009568 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a551c382-07bc-417d-ae8c-b24547d99eea' LIMIT 1 Date : 2025-09-02T16:02:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:02:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009794 post PendingInvicesDO 2 MED-101009569 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009569 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dcf87631-09ae-4bba-95e1-2380d6d79adb' LIMIT 1 Date : 2025-09-02T16:03:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:03:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009795 post PendingInvicesDO 2 MED-101009570 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009570 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b4e43f8-21df-4b26-8b53-0132db91b79c' LIMIT 1 Date : 2025-09-02T16:04:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:04:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009796 post PendingInvicesDO 2 MED-101009571 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009571 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e9e1a9e-501d-444f-bbe9-85e9ee50c7f1' LIMIT 1 Date : 2025-09-02T16:08:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:08:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009797 post PendingInvicesDO 2 MED-101009572 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009572 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f77c7d86-d2b9-48aa-8175-187b783e5f4b' LIMIT 1 Date : 2025-09-02T16:10:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:11:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009798 post PendingInvicesDO 2 MED-101009573 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009573 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d24c41ab-4021-41b2-9b1b-5bea0062b0b3' LIMIT 1 Date : 2025-09-02T16:11:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:11:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009799 post PendingInvicesDO 2 MED-101009574 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009574 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='adf42260-338b-4f8f-92b0-b793f25c83cb' LIMIT 1 Date : 2025-09-02T16:13:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:13:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009800 post PendingInvicesDO 2 MED-101009575 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009575 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7100a0f3-ef5b-4efa-be64-c1d7136187a4' LIMIT 1 Date : 2025-09-02T16:14:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:14:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009801 post PendingInvicesDO 2 MED-101009576 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009576 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2674be8c-41be-4b6c-a681-9407f30afc4a' LIMIT 1 Date : 2025-09-02T16:15:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:15:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009802 post PendingInvicesDO 2 MED-101009577 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009577 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='065fe549-a9bd-4f23-93c7-d73caec40286' LIMIT 1 Date : 2025-09-02T16:19:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:19:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009803 post PendingInvicesDO 2 MED-101009579 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009579 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45bed99a-18d5-4a26-b042-be9e95960624' LIMIT 1 Date : 2025-09-02T16:45:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:45:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009804 post PendingInvicesDO 2 MED-101009580 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009580 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d35939d7-1ae0-433a-961a-08a4b79bbb01' LIMIT 1 Date : 2025-09-02T16:55:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:55:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009805 post PendingInvicesDO 2 MED-101009581 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009581 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0bb60755-cc8c-4c97-9b64-5f5ecf47a5f3' LIMIT 1 Date : 2025-09-03T08:14:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T08:14:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009806 post PendingInvicesDO 2 MED-101009582 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009582 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f708e38-19f0-42fd-881f-bd4771137054' LIMIT 1 Date : 2025-09-03T09:02:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T09:02:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009808 post PendingInvicesDO 2 MED-101009584 post PendingInvicesDO 2 MED-101009583 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009807 post PendingInvicesDO 2 MED-101009584 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009583 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009584 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bafd654b-5e1b-4fdf-b8a6-d3c378d1a1b8' LIMIT 1 Date : 2025-09-03T09:27:13  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0a803da-142e-45d3-836a-31243f1b8583' LIMIT 1 Date : 2025-09-03T09:27:13  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bafd654b-5e1b-4fdf-b8a6-d3c378d1a1b8' LIMIT 1 Date : 2025-09-03T09:27:13  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0a803da-142e-45d3-836a-31243f1b8583' LIMIT 1 Date : 2025-09-03T09:27:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-03T09:27:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009810 post PendingInvicesDO 2 MED-101009586 post PendingInvicesDO 2 MED-101009585 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009809 post PendingInvicesDO 2 MED-101009586 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009585 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009586 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a702f62e-c7f6-4aee-bb4a-14cfef92314d' LIMIT 1 Date : 2025-09-03T09:54:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd911a84-8a20-461b-80df-7805b186767a' LIMIT 1 Date : 2025-09-03T09:54:35  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a702f62e-c7f6-4aee-bb4a-14cfef92314d' LIMIT 1 Date : 2025-09-03T09:54:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd911a84-8a20-461b-80df-7805b186767a' LIMIT 1 Date : 2025-09-03T09:54:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-03T09:54:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009811 post PendingInvicesDO 2 MED-101009587 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009587 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='89e95984-9809-45a0-b26c-eea2b9b54eb1' LIMIT 1 Date : 2025-09-03T10:26:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T10:26:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009812 post PendingInvicesDO 2 MED-101009588 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009588 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82bc4356-93ba-4702-86cd-4e889018d3c5' LIMIT 1 Date : 2025-09-03T10:44:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T10:44:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009813 post PendingInvicesDO 2 MED-101009589 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009589 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5bce9f3a-b089-4f0a-b588-cdb288d0e3a8' LIMIT 1 Date : 2025-09-03T11:13:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T11:13:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009814 post PendingInvicesDO 2 MED-101009590 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009590 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ef6688f-d74f-4d21-9f85-666fae27810e' LIMIT 1 Date : 2025-09-03T11:43:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T11:43:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009815 post PendingInvicesDO 2 MED-101009591 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009591 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6b8d9c1-ab1a-4237-82f5-9b54c66f61e6' LIMIT 1 Date : 2025-09-03T12:05:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T12:05:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009816 post PendingInvicesDO 2 MED-101009592 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009592 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75734cb1-8e0c-4258-bd1d-4dc7eccee3a8' LIMIT 1 Date : 2025-09-03T13:18:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T13:18:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009817 post PendingInvicesDO 2 MED-101009593 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009593 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aabd4a70-f922-435c-875c-4dd0cf4f644f' LIMIT 1 Date : 2025-09-03T13:20:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T13:20:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009818 post PendingInvicesDO 2 MED-101009594 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009594 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e1d23ca-2d8d-4548-a182-386097ac71f7' LIMIT 1 Date : 2025-09-03T13:24:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T13:24:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009819 post PendingInvicesDO 2 MED-101009595 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009595 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8deb66c9-b184-46c9-83af-548b5ae6892f' LIMIT 1 Date : 2025-09-03T13:41:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T13:41:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009820 post PendingInvicesDO 2 MED-101009596 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009596 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='acfdcf30-bb85-421a-b8bb-4ac0aeab772b' LIMIT 1 Date : 2025-09-03T14:06:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T14:06:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009821 post PendingInvicesDO 2 MED-101009549 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009549 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-101009549' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009549' OR OrderId='MED-101009549' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-03T14:39:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009822 post PendingInvicesDO 2 MED-101009598 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009598 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee928ff5-220d-4856-b041-80d615c2417d' LIMIT 1 Date : 2025-09-03T14:41:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T14:41:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009823 post PendingInvicesDO 2 MED-101009600 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009600 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffd778e2-a911-4a48-9886-354862d525e9' LIMIT 1 Date : 2025-09-03T15:12:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T15:12:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009824 post PendingInvicesDO 2 MED-101009601 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009601 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1396392f-78e8-446c-a5c7-738e25aef13a' LIMIT 1 Date : 2025-09-03T15:29:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T15:29:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009825 post PendingInvicesDO 2 MED-101009602 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009602 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e2faa5d-649e-445f-9377-a2314a1dd9ea' LIMIT 1 Date : 2025-09-03T15:33:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T15:33:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009826 post PendingInvicesDO 2 MED-101009603 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009603 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='795d88b2-69f4-417d-b3b7-0fa76ae0cef5' LIMIT 1 Date : 2025-09-03T15:37:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T15:37:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009827 post PendingInvicesDO 2 MED-101009604 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009604 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4bae03c-459d-4c24-bcab-6e0740ded153' LIMIT 1 Date : 2025-09-03T15:41:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T15:41:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009828 post PendingInvicesDO 2 MED-101009605 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009605 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d804e04f-c071-4d4f-b6f2-88610227f912' LIMIT 1 Date : 2025-09-03T15:51:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T15:51:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009829 post PendingInvicesDO 2 MED-101009606 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009606 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c379b199-c948-4032-9bda-74218dec1fbb' LIMIT 1 Date : 2025-09-03T15:56:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T15:56:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009830 post PendingInvicesDO 2 MED-101009607 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009607 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f2518f0-bb90-4f65-ba0a-6e347302dff9' LIMIT 1 Date : 2025-09-04T08:28:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T08:28:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009831 post PendingInvicesDO 2 MED-101009599 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-101009599' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009599' OR OrderId='MED-101009599' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-04T08:56:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009832 post PendingInvicesDO 2 MED-101009525 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-101009525' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009525' OR OrderId='MED-101009525' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-04T09:04:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009833 post PendingInvicesDO 2 MED-101009609 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009609 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa8b75da-8d77-40e5-90d9-9cef0bbf8a38' LIMIT 1 Date : 2025-09-04T09:40:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T09:40:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009834 post PendingInvicesDO 2 MED-101009610 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009610 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a083dc5-144f-47d4-9bd5-c6dd1c2ef3e4' LIMIT 1 Date : 2025-09-04T10:05:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T10:05:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009835 post PendingInvicesDO 2 MED-101009611 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009611 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1843efc3-0e62-4264-b791-cb001a6a0b5a' LIMIT 1 Date : 2025-09-04T10:35:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T10:35:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009836 post PendingInvicesDO 2 MED-101009612 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009612 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf49bbf5-f774-4256-ac3f-12f3ee899bc4' LIMIT 1 Date : 2025-09-04T10:37:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T10:37:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009837 post PendingInvicesDO 2 MED-101009505 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009505 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-101009505' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009505' OR OrderId='MED-101009505' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-04T10:41:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009838 post PendingInvicesDO 2 MED-101009615 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009615 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d155479-ef62-4ada-8111-79855b80ca08' LIMIT 1 Date : 2025-09-04T11:13:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T11:13:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009839 post PendingInvicesDO 2 MED-101009616 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009616 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a7faccb-9215-462b-8730-1993e84bdcd1' LIMIT 1 Date : 2025-09-04T11:40:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T11:40:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009840 post PendingInvicesDO 2 MED-101009617 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009617 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2444557d-4cb6-4650-93ed-5b1d16b43d81' LIMIT 1 Date : 2025-09-04T12:06:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T12:06:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009841 post PendingInvicesDO 2 MED-101009618 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009618 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9b32126-0580-4225-a462-ceec6b3351c0' LIMIT 1 Date : 2025-09-04T12:13:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T12:13:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009842 post PendingInvicesDO 2 MED-101009597 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009597 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-101009597' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009597' OR OrderId='MED-101009597' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-04T13:37:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009843 post PendingInvicesDO 2 MED-101009620 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009620 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0eed99d1-65fc-4f65-a4c0-bdce3730eb26' LIMIT 1 Date : 2025-09-04T13:59:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T13:59:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009844 post PendingInvicesDO 2 MED-101009621 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009621 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4bd05dd7-dc1c-4002-b04b-ea48b2c27cac' LIMIT 1 Date : 2025-09-04T14:34:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T14:34:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009846 post PendingInvicesDO 2 MED-101009623 post PendingInvicesDO 2 MED-101009622 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009845 post PendingInvicesDO 2 MED-101009623 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009622 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009623 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='281103fd-229f-423d-a7ea-5dfcb29062c5' LIMIT 1 Date : 2025-09-04T15:03:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5bee1240-c59a-42c8-af28-60e85439be81' LIMIT 1 Date : 2025-09-04T15:03:07  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='281103fd-229f-423d-a7ea-5dfcb29062c5' LIMIT 1 Date : 2025-09-04T15:03:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5bee1240-c59a-42c8-af28-60e85439be81' LIMIT 1 Date : 2025-09-04T15:03:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-04T15:03:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009847 post PendingInvicesDO 2 MED-101009624 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009624 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='398d83ab-ccce-44dc-86ef-122b2a38d85c' LIMIT 1 Date : 2025-09-04T15:07:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T15:07:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009848 post PendingInvicesDO 2 MED-101009625 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009625 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be5738bb-7b7e-46a7-ac75-4cf9e12dcddd' LIMIT 1 Date : 2025-09-04T15:08:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T15:08:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009850 post PendingInvicesDO 2 MED-101009627 post PendingInvicesDO 2 MED-101009626 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009849 post PendingInvicesDO 2 MED-101009627 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009626 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009627 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58a57fec-ea58-42bf-a12d-e17f28d0161a' LIMIT 1 Date : 2025-09-04T15:16:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5a89790-fbfe-4142-b26c-f4dcedff481e' LIMIT 1 Date : 2025-09-04T15:16:22  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58a57fec-ea58-42bf-a12d-e17f28d0161a' LIMIT 1 Date : 2025-09-04T15:16:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5a89790-fbfe-4142-b26c-f4dcedff481e' LIMIT 1 Date : 2025-09-04T15:16:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-04T15:16:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009851 post PendingInvicesDO 2 MED-101009628 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009628 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='051c8238-b8e3-4b14-b709-84bcb29f0d09' LIMIT 1 Date : 2025-09-04T15:36:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T15:36:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009852 post PendingInvicesDO 2 MED-101009630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98568bd1-f036-41fa-b383-898bcf20bbde' LIMIT 1 Date : 2025-09-04T16:26:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T16:26:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009853 post PendingInvicesDO 2 MED-101009631 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009631 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='467d8b75-4ad3-4b4a-acf8-410dbc67c68f' LIMIT 1 Date : 2025-09-06T08:17:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T08:17:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009854 post PendingInvicesDO 2 MED-101009632 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009632 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52954028-fae4-4c48-97da-df399eea2d04' LIMIT 1 Date : 2025-09-06T08:54:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T08:54:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009855 post PendingInvicesDO 2 MED-101009619 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009619 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-101009619' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009619' OR OrderId='MED-101009619' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-06T09:51:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009856 post PendingInvicesDO 2 MED-101009560 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009560 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-101009560' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009560' OR OrderId='MED-101009560' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-06T10:18:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009857 post PendingInvicesDO 2 MED-101009634 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-101009634' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009634' OR OrderId='MED-101009634' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-06T11:15:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009858 post PendingInvicesDO 2 MED-101009635 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009635 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dfb28dd3-d65f-45fa-a73f-3f6f87af5f1e' LIMIT 1 Date : 2025-09-06T11:17:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T11:17:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009859 post PendingInvicesDO 2 MED-101009636 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009636 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='970f316d-cac1-4144-a5f5-ebbbd1732d72' LIMIT 1 Date : 2025-09-06T11:28:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T11:28:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009860 post PendingInvicesDO 2 MED-101009637 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009637 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e1600ab-ebe3-4d63-ba78-5288cda5c686' LIMIT 1 Date : 2025-09-06T11:43:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T11:43:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009861 post PendingInvicesDO 2 MED-101009638 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009638 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a378117b-a741-4c79-b6bc-1050fcaba4a1' LIMIT 1 Date : 2025-09-06T12:21:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T12:21:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009862 post PendingInvicesDO 2 MED-101009639 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009639 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4328b46-d5a2-45ca-a5b5-1c144eabf87f' LIMIT 1 Date : 2025-09-06T12:42:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T12:42:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009863 post PendingInvicesDO 2 MED-101009640 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009640 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6cf8e62a-c5b9-4132-a3e7-cebc6ff54bed' LIMIT 1 Date : 2025-09-06T12:44:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T12:44:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009864 post PendingInvicesDO 2 MED-101009642 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009642 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b203902-d124-41a3-bd00-f5e6e7b8fb29' LIMIT 1 Date : 2025-09-06T13:27:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T13:27:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009865 post PendingInvicesDO 2 MED-101009643 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009643 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36cfa60d-128e-4e69-80a2-92ff84b974fb' LIMIT 1 Date : 2025-09-06T13:28:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T13:28:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009866 post PendingInvicesDO 2 MED-101009644 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009644 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3cc1a166-2432-4fad-82d6-ec047d62c129' LIMIT 1 Date : 2025-09-06T13:29:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T13:29:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009867 post PendingInvicesDO 2 MED-101009645 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009645 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bef28139-4b69-4ca0-9c9f-6c35369e68db' LIMIT 1 Date : 2025-09-06T13:36:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T13:36:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009868 post PendingInvicesDO 2 MED-101009506 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009506 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-101009506' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009506' OR OrderId='MED-101009506' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-06T14:42:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009869 post PendingInvicesDO 2 MED-101009647 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-101009647' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009647' OR OrderId='MED-101009647' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-06T16:03:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009870 post PendingInvicesDO 2 MED-101009648 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009648 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1cc9d5b2-d952-45d8-baa4-e27276d6f17d' LIMIT 1 Date : 2025-09-06T16:17:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:17:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009871 post PendingInvicesDO 2 MED-101009649 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009649 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab249c60-86d8-4601-8cea-a302e2b7a55f' LIMIT 1 Date : 2025-09-06T16:18:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:18:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009872 post PendingInvicesDO 2 MED-101009650 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009650 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7033d2b0-4c94-4def-a23f-371a9d510128' LIMIT 1 Date : 2025-09-06T16:19:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:19:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009873 post PendingInvicesDO 2 MED-101009651 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009651 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ee35bfe-4710-4161-94e5-60cb581980eb' LIMIT 1 Date : 2025-09-06T16:22:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:22:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009874 post PendingInvicesDO 2 MED-101009652 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009652 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bbd55ff7-7c77-4b7b-9ef4-3bfa0c680985' LIMIT 1 Date : 2025-09-06T16:28:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:28:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009875 post PendingInvicesDO 2 MED-101009653 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009653 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87f8756a-10e2-433d-a8b1-9725011ab416' LIMIT 1 Date : 2025-09-06T16:29:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:29:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009876 post PendingInvicesDO 2 MED-101009654 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009654 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63269c82-abec-432b-8b16-d2b83aea1879' LIMIT 1 Date : 2025-09-06T16:31:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:31:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009877 post PendingInvicesDO 2 MED-101009655 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009655 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b905e808-f95f-4a4c-a313-348db9123908' LIMIT 1 Date : 2025-09-06T16:33:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:33:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009878 post PendingInvicesDO 2 MED-101009656 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009656 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4fcd3e2-b66d-4d43-8e67-a9180f7a08cc' LIMIT 1 Date : 2025-09-06T16:34:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:34:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009879 post PendingInvicesDO 2 MED-101009599 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-101009599' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009599' OR OrderId='MED-101009599' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-06T16:44:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009880 post PendingInvicesDO 2 MED-101009658 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009658 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='293228e3-b975-4a30-9928-cc827cda1271' LIMIT 1 Date : 2025-09-06T17:08:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T17:08:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009881 post PendingInvicesDO 2 MED-101009659 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009659 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47b8b26b-8e65-444b-b7cd-9c2b3ca6c91b' LIMIT 1 Date : 2025-09-07T08:27:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T08:27:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009882 post PendingInvicesDO 2 MED-101009660 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009660 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0207638b-58cf-4d07-b657-67ae7d4d9503' LIMIT 1 Date : 2025-09-07T09:02:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T09:02:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009883 post PendingInvicesDO 2 MED-101009661 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009661 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59aec607-b65a-4e6c-ac26-051b6719710f' LIMIT 1 Date : 2025-09-07T09:47:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T09:47:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009884 post PendingInvicesDO 2 MED-101009662 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009662 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3479984-fd98-405a-825e-ecd4904c0acb' LIMIT 1 Date : 2025-09-07T10:14:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T10:14:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009885 post PendingInvicesDO 2 MED-101009663 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009663 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='032fe53a-04f1-4b88-8200-15114217d16f' LIMIT 1 Date : 2025-09-07T10:35:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T10:35:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009886 post PendingInvicesDO 2 MED-101009664 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009664 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='442609ed-13d1-452c-a08f-839e9db01da8' LIMIT 1 Date : 2025-09-07T10:52:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T10:52:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009887 post PendingInvicesDO 2 MED-101009665 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009665 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e782a199-fbb2-4c42-a926-e37327e11397' LIMIT 1 Date : 2025-09-07T11:28:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T11:28:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009888 post PendingInvicesDO 2 MED-101009667 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009667 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43926310-5ddc-4db3-95d3-134759c82f24' LIMIT 1 Date : 2025-09-07T12:36:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T12:36:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009889 post PendingInvicesDO 2 MED-101009668 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009668 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7313f26b-0219-4214-8c1a-f1c9ea1b56bd' LIMIT 1 Date : 2025-09-07T12:45:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T12:45:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009890 post PendingInvicesDO 2 MED-101009633 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009633 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-101009633' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009633' OR OrderId='MED-101009633' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-07T13:31:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009891 post PendingInvicesDO 2 MED-101009670 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009670 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24a32e0e-734d-4625-afa1-997f3fd9eef0' LIMIT 1 Date : 2025-09-07T13:46:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T13:46:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009892 post PendingInvicesDO 2 MED-101009671 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009671 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69d09a0f-32a3-4857-82c6-3a6224fa9ef5' LIMIT 1 Date : 2025-09-07T14:19:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T14:19:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009893 post PendingInvicesDO 2 MED-101009672 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009672 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8de8f45-ac21-4890-bf6a-f713a8a0aff2' LIMIT 1 Date : 2025-09-07T14:55:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T14:55:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009894 post PendingInvicesDO 2 MED-101009673 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009673 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57a2b4ff-66c2-4244-8558-0899aea93289' LIMIT 1 Date : 2025-09-07T15:31:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T15:31:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009895 post PendingInvicesDO 2 MED-101009675 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009675 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21411295-0ced-4a40-87b8-c1040e9a1f72' LIMIT 1 Date : 2025-09-07T16:44:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T16:44:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009896 post PendingInvicesDO 2 MED-101009676 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009676 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af47276e-9d14-4510-8352-b4d794f531ba' LIMIT 1 Date : 2025-09-07T16:46:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T16:46:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009897 post PendingInvicesDO 2 MED-101009677 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009677 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16f77967-d2c3-4391-8080-3dfb6200def3' LIMIT 1 Date : 2025-09-07T16:52:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T16:52:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009898 post PendingInvicesDO 2 MED-101009678 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009678 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6c4dbd0-633b-4653-a920-5bccae21c3d0' LIMIT 1 Date : 2025-09-07T17:23:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T17:23:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009899 post PendingInvicesDO 2 MED-101009679 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009679 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbdaf658-e3c6-452f-8765-e9fa1ad1c2db' LIMIT 1 Date : 2025-09-07T17:29:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T17:29:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009900 post PendingInvicesDO 2 MED-101009680 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009680 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88a6a0f7-95da-4415-8bed-67704cac4f80' LIMIT 1 Date : 2025-09-08T08:49:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T08:49:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009901 post PendingInvicesDO 2 MED-101009681 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009681 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='988b7b7d-478c-46ba-a6ff-821cc65cdd6e' LIMIT 1 Date : 2025-09-08T09:05:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T09:05:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009902 post PendingInvicesDO 2 MED-101009682 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009682 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6199144a-1373-4c9f-91d8-d4de2678cc66' LIMIT 1 Date : 2025-09-08T09:35:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T09:35:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009903 post PendingInvicesDO 2 MED-101009683 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009683 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c82c6a2c-83c0-4cd5-8841-de3aac64a968' LIMIT 1 Date : 2025-09-08T10:11:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T10:11:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009905 post PendingInvicesDO 2 MED-101009614 post PendingInvicesDO 2 MED-101009613 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009904 post PendingInvicesDO 2 MED-101009614 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009613 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009614 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-101009614' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009614' OR OrderId='MED-101009614' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009614' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009614' OR OrderId='MED-101009614' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-08T11:06:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009906 post PendingInvicesDO 2 MED-101009685 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009685 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32b062f0-2f4b-4139-b0fa-c60a95e6b1c1' LIMIT 1 Date : 2025-09-08T11:34:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T11:34:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009907 post PendingInvicesDO 2 MED-101009686 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009686 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a4fc958-99a4-4efd-9e58-02249abd467f' LIMIT 1 Date : 2025-09-08T12:59:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T12:59:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009908 post PendingInvicesDO 2 MED-101009687 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009687 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1373ad04-6cfc-4c13-b44e-de0ed74b29f2' LIMIT 1 Date : 2025-09-08T13:19:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T13:19:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009909 post PendingInvicesDO 2 MED-101009688 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009688 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02af4363-9c1d-4f5b-87b0-ffca49f681d8' LIMIT 1 Date : 2025-09-08T13:28:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T13:28:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009910 post PendingInvicesDO 2 MED-101009689 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009689 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a61b34ba-7790-4ac2-aa06-748a86485779' LIMIT 1 Date : 2025-09-08T16:45:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T16:45:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009911 post PendingInvicesDO 2 MED-101009690 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009690 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a8ce90a-354c-48c8-9a2b-2b8aa4dae0b8' LIMIT 1 Date : 2025-09-08T17:03:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T17:03:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009912 post PendingInvicesDO 2 MED-101009691 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009691 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18e2d952-b740-4e35-9fac-9c1e9aa96445' LIMIT 1 Date : 2025-09-08T17:21:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T17:21:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009913 post PendingInvicesDO 2 MED-101009692 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009692 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83c15920-f752-4f04-a1a1-42f58cfbfed1' LIMIT 1 Date : 2025-09-08T17:24:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T17:24:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009914 post PendingInvicesDO 2 MED-101009693 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009693 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a104a6e-ab3f-4143-bb70-728f4f68858e' LIMIT 1 Date : 2025-09-08T20:31:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T20:31:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009915 post PendingInvicesDO 2 MED-101009694 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009694 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ca510db-4cf7-4386-9cc6-c7838c0023fc' LIMIT 1 Date : 2025-09-08T20:59:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T20:59:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009916 post PendingInvicesDO 2 MED-101009695 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009695 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02f1b0be-60e8-4da2-9918-1eee23b16743' LIMIT 1 Date : 2025-09-08T21:37:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T21:37:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009917 post PendingInvicesDO 2 MED-101009696 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009696 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e9843e3-a779-4548-bddd-f9335a5cc8dd' LIMIT 1 Date : 2025-09-08T22:10:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T22:10:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009918 post PendingInvicesDO 2 MED-101009697 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009697 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81cb8fa4-005d-4c13-b1a2-c4ab324e4d19' LIMIT 1 Date : 2025-09-08T22:13:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T22:13:31 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-104009920 post PendingInvicesDO 2 MED-101009702 post PendingInvicesDO 2 MED-101009701 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009919 post PendingInvicesDO 2 MED-101009702 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009701 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009702 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8503971-5241-49bc-b623-e88b188533a6' LIMIT 1 Date : 2025-09-09T09:33:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3fb8ccf-4648-4bb6-8b6d-3e9a04355aa7' LIMIT 1 Date : 2025-09-09T09:33:06  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8503971-5241-49bc-b623-e88b188533a6' LIMIT 1 Date : 2025-09-09T09:33:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3fb8ccf-4648-4bb6-8b6d-3e9a04355aa7' LIMIT 1 Date : 2025-09-09T09:33:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-09T09:33:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009922 post PendingInvicesDO 2 MED-101009700 post PendingInvicesDO 2 MED-101009699 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009921 post PendingInvicesDO 2 MED-101009700 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009699 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009700 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-101009700' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009700' OR OrderId='MED-101009700' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009700' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009700' OR OrderId='MED-101009700' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-09T09:34:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009923 post PendingInvicesDO 2 MED-101009703 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009703 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7579bd12-336e-47a3-a668-3060f04542b5' LIMIT 1 Date : 2025-09-09T10:15:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T10:15:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009924 post PendingInvicesDO 2 MED-101009704 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009704 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31a88c2a-b137-4af0-ae1d-4cfbd850f27c' LIMIT 1 Date : 2025-09-09T10:45:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T10:45:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009925 post PendingInvicesDO 2 MED-101009705 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009705 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00ad35b7-f972-4e88-a2e2-40c7707a14b5' LIMIT 1 Date : 2025-09-09T11:03:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T11:03:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009926 post PendingInvicesDO 2 MED-101009706 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009706 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbbb07e2-5b71-4be6-9cad-1dfb80405515' LIMIT 1 Date : 2025-09-09T11:21:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T11:21:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009927 post PendingInvicesDO 2 MED-101009578 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-101009578' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009578' OR OrderId='MED-101009578' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-09T11:54:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009928 post PendingInvicesDO 2 MED-101009707 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009707 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='306357a1-3353-4768-88aa-484f811539d4' LIMIT 1 Date : 2025-09-09T12:01:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T12:01:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009929 post PendingInvicesDO 2 MED-101009711 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009711 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fbf6089-8a6e-4b55-94a2-b901a47f115d' LIMIT 1 Date : 2025-09-09T14:58:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T14:58:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009930 post PendingInvicesDO 2 MED-101009698 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009698 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-101009698' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009698' OR OrderId='MED-101009698' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-09T15:19:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009931 post PendingInvicesDO 2 MED-101009714 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009714 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f32dca3-2f20-4388-b115-9b2979e789c1' LIMIT 1 Date : 2025-09-09T16:45:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T16:45:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009932 post PendingInvicesDO 2 MED-101009715 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009715 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffa8e9ea-cdb0-4c26-8b24-0e51c7556e66' LIMIT 1 Date : 2025-09-09T16:51:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T16:51:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009933 post PendingInvicesDO 2 MED-101009716 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009716 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='764c5d17-19e1-4d0a-9a48-b920598d2479' LIMIT 1 Date : 2025-09-09T16:57:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T16:57:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009934 post PendingInvicesDO 2 MED-101009717 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009717 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09dc7153-28b7-4699-9177-108d13d88c06' LIMIT 1 Date : 2025-09-09T17:12:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T17:12:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009935 post PendingInvicesDO 2 MED-101009718 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009718 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='501d4e72-a576-4678-b240-66b511059907' LIMIT 1 Date : 2025-09-09T17:13:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T17:13:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009936 post PendingInvicesDO 2 MED-101009719 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009719 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ccf7554-901f-4b01-8ec8-b4e36c5ab092' LIMIT 1 Date : 2025-09-09T17:14:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T17:14:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009937 post PendingInvicesDO 2 MED-101009720 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009720 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='725cab29-a878-4241-9ea6-fa957af71d0c' LIMIT 1 Date : 2025-09-09T17:18:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T17:18:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009938 post PendingInvicesDO 2 MED-101009721 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009721 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='272b2bbd-f72b-42f4-8c61-b477b7003793' LIMIT 1 Date : 2025-09-09T17:23:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T17:23:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009940 post PendingInvicesDO 2 MED-101009713 post PendingInvicesDO 2 MED-101009712 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009939 post PendingInvicesDO 2 MED-101009713 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009712 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009713 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-101009713' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009713' OR OrderId='MED-101009713' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009713' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009713' OR OrderId='MED-101009713' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-09T18:25:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009942 post PendingInvicesDO 2 MED-101009709 post PendingInvicesDO 2 MED-101009708 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009941 post PendingInvicesDO 2 MED-101009709 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009708 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009709 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-101009709' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009709' OR OrderId='MED-101009709' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009709' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009709' OR OrderId='MED-101009709' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-09T18:55:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009943 post PendingInvicesDO 2 MED-101009722 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-101009722' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009722' OR OrderId='MED-101009722' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-10T08:37:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009945 post PendingInvicesDO 2 MED-101009724 post PendingInvicesDO 2 MED-101009723 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009944 post PendingInvicesDO 2 MED-101009724 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009723 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009724 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c16f93af-7b0d-4054-b4bd-80d9906f6737' LIMIT 1 Date : 2025-09-10T09:21:53  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f21e2f1-98aa-40d6-afd5-4114a9a8bcab' LIMIT 1 Date : 2025-09-10T09:21:53  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c16f93af-7b0d-4054-b4bd-80d9906f6737' LIMIT 1 Date : 2025-09-10T09:21:53  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f21e2f1-98aa-40d6-afd5-4114a9a8bcab' LIMIT 1 Date : 2025-09-10T09:21:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-10T09:21:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009946 post PendingInvicesDO 2 MED-101009725 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009725 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af12cf02-1e7c-46b4-9fd1-a1de18c0b48d' LIMIT 1 Date : 2025-09-10T10:01:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T10:01:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009947 post PendingInvicesDO 2 MED-101009726 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009726 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee7f5c7b-8686-4b7f-ac35-594f7a152c58' LIMIT 1 Date : 2025-09-10T10:10:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T10:10:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009948 post PendingInvicesDO 2 MED-101009727 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-101009727' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009727' OR OrderId='MED-101009727' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-10T11:13:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009949 post PendingInvicesDO 2 MED-101009728 post PendingInvicesDO 2 MED-101009729 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-101009729' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009729' OR OrderId='MED-101009729' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-10T11:51:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009950 post PendingInvicesDO 2 MED-101009730 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009730 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02cc51fc-2a92-4380-8add-9875b873a0c3' LIMIT 1 Date : 2025-09-10T12:07:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T12:07:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009951 post PendingInvicesDO 2 MED-101009669 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009669 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-101009669' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009669' OR OrderId='MED-101009669' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-10T13:29:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009952 post PendingInvicesDO 2 MED-101009732 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009732 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0c4a152-b324-4176-ae57-52ea55be07c5' LIMIT 1 Date : 2025-09-10T13:44:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T13:44:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009953 post PendingInvicesDO 2 MED-101009733 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009733 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fea93099-c561-42da-af45-1ac4a1a3685b' LIMIT 1 Date : 2025-09-10T14:26:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T14:26:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009954 post PendingInvicesDO 2 MED-101009734 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009734 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d787027-451e-4746-aac4-ec5bd71bde44' LIMIT 1 Date : 2025-09-10T15:05:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T15:05:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009955 post PendingInvicesDO 2 MED-101009608 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009608 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-101009608' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009608' OR OrderId='MED-101009608' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-10T15:26:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009956 post PendingInvicesDO 2 MED-101009736 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009736 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e596138d-ab6d-49f7-84f9-6304cfe3344c' LIMIT 1 Date : 2025-09-10T15:52:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T15:52:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009957 post PendingInvicesDO 2 MED-101009666 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-101009666' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009666' OR OrderId='MED-101009666' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-10T16:05:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009958 post PendingInvicesDO 2 MED-101009738 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009738 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59ab63b4-c385-4ee5-8ce6-6be715269ce1' LIMIT 1 Date : 2025-09-10T16:16:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T16:16:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009959 post PendingInvicesDO 2 MED-101009739 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009739 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86ac2116-cccd-4ce9-a47a-5b53f9675117' LIMIT 1 Date : 2025-09-10T16:40:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T16:40:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009960 post PendingInvicesDO 2 MED-101009740 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009740 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48ee823f-b231-46db-bf1e-8f0880f1d581' LIMIT 1 Date : 2025-09-10T16:59:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T16:59:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009961 post PendingInvicesDO 2 MED-101009741 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009741 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe7a9fac-86e2-4db3-919a-b1ee41e99ae4' LIMIT 1 Date : 2025-09-10T17:28:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T17:28:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009962 post PendingInvicesDO 2 MED-101009742 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009742 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd0db4e8-1e2c-4bb4-a6ac-83a8d65d2382' LIMIT 1 Date : 2025-09-10T17:29:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T17:29:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009963 post PendingInvicesDO 2 MED-101009743 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009743 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f5d5081-10f1-4dd6-a249-72adb193ec69' LIMIT 1 Date : 2025-09-10T17:31:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T17:31:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009964 post PendingInvicesDO 2 MED-101009744 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009744 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='937d66d6-d02b-47b7-9955-b3ec2dd5e410' LIMIT 1 Date : 2025-09-10T17:41:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T17:41:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009965 post PendingInvicesDO 2 MED-101009745 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009745 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39ebe87c-a64c-458c-9be7-e2aaec34b8f2' LIMIT 1 Date : 2025-09-10T17:43:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T17:43:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009966 post PendingInvicesDO 2 MED-101009746 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009746 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='daf568f1-a7d3-4e7e-af8a-859206db9a3a' LIMIT 1 Date : 2025-09-10T17:44:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T17:44:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009967 post PendingInvicesDO 2 MED-101009747 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009747 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94eb4368-926a-4df3-9242-72cf331f0f28' LIMIT 1 Date : 2025-09-10T17:49:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T17:49:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009968 post PendingInvicesDO 2 MED-101009750 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009750 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47abb48b-3d5d-4584-8e05-11bb913689db' LIMIT 1 Date : 2025-09-11T09:25:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T09:25:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009969 post PendingInvicesDO 2 MED-101009751 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009751 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4211374-1f39-4e63-914b-dc5e35cc4207' LIMIT 1 Date : 2025-09-11T10:01:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T10:01:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009970 post PendingInvicesDO 2 MED-101009752 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009752 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc861897-216f-4e95-8ac7-705c7771651a' LIMIT 1 Date : 2025-09-11T10:21:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T10:21:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009971 post PendingInvicesDO 2 MED-101009753 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009753 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef6dd006-54be-4f3a-a620-ffa6ffdbea83' LIMIT 1 Date : 2025-09-11T10:58:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T10:58:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009972 post PendingInvicesDO 2 MED-101009756 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009756 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9820446b-95e4-4896-8f69-cd7acd4d3037' LIMIT 1 Date : 2025-09-11T12:35:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T12:35:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009973 post PendingInvicesDO 2 MED-101009758 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009758 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbb68674-0506-4d83-8cdb-5f9b0531d294' LIMIT 1 Date : 2025-09-11T14:06:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T14:07:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009974 post PendingInvicesDO 2 MED-101009759 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009759 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70caf973-01de-4295-90d6-56b4f5b7bc5e' LIMIT 1 Date : 2025-09-11T14:39:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T14:39:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009975 post PendingInvicesDO 2 MED-101009760 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009760 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9644f294-1386-4a7c-a82c-6288f82eabb4' LIMIT 1 Date : 2025-09-11T14:56:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T14:56:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009976 post PendingInvicesDO 2 MED-101009757 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009757 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-101009757' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009757' OR OrderId='MED-101009757' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-11T14:56:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009977 post PendingInvicesDO 2 MED-101009761 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009761 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='189bfb26-862a-44f5-89d7-75a694f9a1a4' LIMIT 1 Date : 2025-09-11T15:00:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T15:00:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009978 post PendingInvicesDO 2 MED-101009762 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009762 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a120c3c-c7ca-4a2b-bc2b-7f59c43b045b' LIMIT 1 Date : 2025-09-11T15:02:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T15:02:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009979 post PendingInvicesDO 2 MED-101009763 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009763 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ce6a62e-fcb3-4f0c-9254-7496083cc04b' LIMIT 1 Date : 2025-09-11T15:09:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T15:09:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009980 post PendingInvicesDO 2 MED-101009561 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-101009561' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009561' OR OrderId='MED-101009561' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-11T15:36:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009981 post PendingInvicesDO 2 MED-101009764 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009764 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df166935-c50b-4426-9191-1018b556b76f' LIMIT 1 Date : 2025-09-11T15:36:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T15:36:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009982 post PendingInvicesDO 2 MED-101009765 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009765 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34b72380-b009-4a9b-9344-e5de0c6f3611' LIMIT 1 Date : 2025-09-11T15:44:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T15:44:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009983 post PendingInvicesDO 2 MED-101009634 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-101009634' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009634' OR OrderId='MED-101009634' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-11T16:24:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009984 post PendingInvicesDO 2 MED-101009766 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009766 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8813f5b5-0971-41ff-9c61-15b55147f36a' LIMIT 1 Date : 2025-09-11T16:25:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T16:25:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009985 post PendingInvicesDO 2 MED-101009767 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009767 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d6c55e6-7d87-412e-bf1a-ab312ca0baa7' LIMIT 1 Date : 2025-09-11T16:26:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T16:26:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009986 post PendingInvicesDO 2 MED-101009768 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009768 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78325ace-d2c4-47ec-8ac7-c30cc911c1a9' LIMIT 1 Date : 2025-09-11T16:46:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T16:46:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009987 post PendingInvicesDO 2 MED-101009769 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009769 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48922860-d28d-43b6-aeef-f03422d6e4b4' LIMIT 1 Date : 2025-09-11T17:24:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T17:24:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009988 post PendingInvicesDO 2 MED-101009770 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009770 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f06d46f-8ee3-488c-8dfb-05b572c48260' LIMIT 1 Date : 2025-09-11T17:45:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T17:45:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009990 post PendingInvicesDO 2 MED-101009749 post PendingInvicesDO 2 MED-101009748 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009989 post PendingInvicesDO 2 MED-101009749 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009748 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009749 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-101009749' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009749' OR OrderId='MED-101009749' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009749' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009749' OR OrderId='MED-101009749' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-11T18:14:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009991 post PendingInvicesDO 2 MED-101009771 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009771 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10bbc837-982f-4c42-b6d9-b27849394419' LIMIT 1 Date : 2025-09-13T08:29:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T08:29:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009992 post PendingInvicesDO 2 MED-101009774 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009774 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aadd1f2f-9c0e-41a5-a244-dc3afda77c6c' LIMIT 1 Date : 2025-09-13T10:15:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T10:15:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009993 post PendingInvicesDO 2 MED-101009775 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009775 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7ec5cae-8718-4c4d-aeb3-029af2103309' LIMIT 1 Date : 2025-09-13T10:39:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T10:39:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009995 post PendingInvicesDO 2 MED-101009755 post PendingInvicesDO 2 MED-101009754 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009994 post PendingInvicesDO 2 MED-101009755 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009754 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009755 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-101009755' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009755' OR OrderId='MED-101009755' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009755' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009755' OR OrderId='MED-101009755' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-13T10:40:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009997 post PendingInvicesDO 2 MED-101009773 post PendingInvicesDO 2 MED-101009772 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104009996 post PendingInvicesDO 2 MED-101009773 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009772 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009773 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-101009773' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009773' OR OrderId='MED-101009773' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009773' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009773' OR OrderId='MED-101009773' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-13T10:40:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009998 post PendingInvicesDO 2 MED-101009776 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009776 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b65a1d36-70cc-4813-93b2-8f84bbc69ec6' LIMIT 1 Date : 2025-09-13T10:47:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T10:47:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104009999 post PendingInvicesDO 2 MED-101009777 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009777 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d47acdd-8290-479d-8855-e16c81d9f483' LIMIT 1 Date : 2025-09-13T11:05:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T11:05:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010000 post PendingInvicesDO 2 MED-101009778 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009778 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46290e33-6a0f-4c85-bb40-efd99029c1db' LIMIT 1 Date : 2025-09-13T11:09:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T11:09:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010001 post PendingInvicesDO 2 MED-101009779 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009779 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2454984-d81b-4be3-b720-9d76aa02899b' LIMIT 1 Date : 2025-09-13T11:15:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T11:15:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010002 post PendingInvicesDO 2 MED-101009780 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009780 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='135ba0a5-cab0-4159-a66f-57398010cac5' LIMIT 1 Date : 2025-09-13T11:28:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T11:28:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010003 post PendingInvicesDO 2 MED-101009781 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009781 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c482a692-0a0b-4531-b21f-4f9c8453b617' LIMIT 1 Date : 2025-09-13T11:56:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T11:56:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010004 post PendingInvicesDO 2 MED-101009782 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009782 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70e72bf3-d417-4a1f-86b2-9896a1a2c3c6' LIMIT 1 Date : 2025-09-13T12:39:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T12:39:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010005 post PendingInvicesDO 2 MED-101009783 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009783 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='427e5da8-9245-4ff6-bcdd-3c0e63aa7cbc' LIMIT 1 Date : 2025-09-13T12:41:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T12:41:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010006 post PendingInvicesDO 2 MED-101009666 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-101009666' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009666' OR OrderId='MED-101009666' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-13T12:51:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010007 post PendingInvicesDO 2 MED-101009785 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009785 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27ad07fc-194c-4380-8e4d-f2cf1c8db3e9' LIMIT 1 Date : 2025-09-13T13:32:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T13:32:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010008 post PendingInvicesDO 2 MED-101009786 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009786 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='607feab1-2b5f-40bd-a379-be3893186695' LIMIT 1 Date : 2025-09-13T13:49:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T13:49:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010009 post PendingInvicesDO 2 MED-101009787 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009787 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ad67abc-62e4-4900-9f1d-d9d4c8287e5f' LIMIT 1 Date : 2025-09-13T13:52:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T13:52:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010010 post PendingInvicesDO 2 MED-101009788 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009788 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ac094ca-4628-495c-b890-2e22582d92ad' LIMIT 1 Date : 2025-09-13T13:53:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T13:53:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010011 post PendingInvicesDO 2 MED-101009789 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009789 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e4cdaa7-eee7-44fc-b7f2-8eb2cde1830a' LIMIT 1 Date : 2025-09-13T14:10:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T14:10:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010012 post PendingInvicesDO 2 MED-101009790 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009790 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd57e5d3-1681-41c5-9702-f88a72cd2c48' LIMIT 1 Date : 2025-09-13T15:12:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T15:12:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010013 post PendingInvicesDO 2 MED-101009791 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009791 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5db85fef-8370-4fe6-b673-8962af94a3af' LIMIT 1 Date : 2025-09-13T15:56:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T15:56:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010014 post PendingInvicesDO 2 MED-101009792 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009792 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d118d4f-4aeb-41d3-99ce-85185632da35' LIMIT 1 Date : 2025-09-13T16:02:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T16:02:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010015 post PendingInvicesDO 2 MED-101009793 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009793 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='518d0f41-442f-41da-8720-bf33f23fb1a4' LIMIT 1 Date : 2025-09-13T16:04:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T16:04:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010016 post PendingInvicesDO 2 MED-101009794 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009794 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c96a844e-dad4-4c02-a770-9267f56ff52a' LIMIT 1 Date : 2025-09-13T16:06:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T16:06:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010017 post PendingInvicesDO 2 MED-101009795 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009795 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf83ba3f-9412-4d93-84c1-f9997c3a63ca' LIMIT 1 Date : 2025-09-13T16:07:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T16:07:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010018 post PendingInvicesDO 2 MED-101009796 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009796 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1b5307b-ed71-426a-9db7-9fe315423fae' LIMIT 1 Date : 2025-09-13T16:08:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T16:08:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010019 post PendingInvicesDO 2 MED-101009797 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009797 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1f37164-680d-413d-b9bb-a1f4508d2f6e' LIMIT 1 Date : 2025-09-13T16:10:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T16:10:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010020 post PendingInvicesDO 2 MED-101009798 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009798 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35dd5d47-ae12-4acd-a5f4-49d7b6a8db39' LIMIT 1 Date : 2025-09-14T09:01:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T09:01:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010021 post PendingInvicesDO 2 MED-101009799 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009799 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0a809a6-c4d6-4e92-b8f9-3145b8365cb6' LIMIT 1 Date : 2025-09-14T09:35:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T09:35:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010022 post PendingInvicesDO 2 MED-101009727 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-101009727' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009727' OR OrderId='MED-101009727' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-14T10:05:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010023 post PendingInvicesDO 2 MED-101009800 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009800 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9de814d4-a546-4828-895b-488d23711ae5' LIMIT 1 Date : 2025-09-14T10:27:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T10:27:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010024 post PendingInvicesDO 2 MED-101009578 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-101009578' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009578' OR OrderId='MED-101009578' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-14T11:01:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010025 post PendingInvicesDO 2 MED-101009803 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009803 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b4f0ecb-6497-47c8-bf2e-9e249add7c08' LIMIT 1 Date : 2025-09-14T11:51:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T11:51:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010026 post PendingInvicesDO 2 MED-101009804 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009804 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d983691c-259d-45d1-aa16-2ccaaf07579b' LIMIT 1 Date : 2025-09-14T12:05:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T12:05:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010027 post PendingInvicesDO 2 MED-101009641 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-101009641' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009641' OR OrderId='MED-101009641' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-14T12:22:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010028 post PendingInvicesDO 2 MED-101009805 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009805 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='110c604f-6331-4ac1-a971-c36a4301f1be' LIMIT 1 Date : 2025-09-14T12:23:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T12:23:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010029 post PendingInvicesDO 2 MED-101009806 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009806 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca8faf3d-8d55-4af9-bc05-29fa12ad95ad' LIMIT 1 Date : 2025-09-14T12:36:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T12:37:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010030 post PendingInvicesDO 2 MED-101009807 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009807 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6dab06fe-c3fc-4ce5-bdcc-b52ecc43d13e' LIMIT 1 Date : 2025-09-14T12:40:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T12:40:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010031 post PendingInvicesDO 2 MED-101009808 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009808 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b320852c-21a1-4ed9-9331-5b0c1286181b' LIMIT 1 Date : 2025-09-14T12:44:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T12:44:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010032 post PendingInvicesDO 2 MED-101009809 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009809 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bfc0ac43-f5e6-4830-8aff-4f3f64031cde' LIMIT 1 Date : 2025-09-14T12:45:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T12:45:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010033 post PendingInvicesDO 2 MED-101009561 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-101009561' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009561' OR OrderId='MED-101009561' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-14T12:46:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010034 post PendingInvicesDO 2 MED-101009810 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009810 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1abad0be-fc2f-40d3-9278-30d1b7bad552' LIMIT 1 Date : 2025-09-14T12:54:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T12:54:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010035 post PendingInvicesDO 2 MED-101009811 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009811 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='760669fd-790a-40ba-95b8-1ea57dcd08fb' LIMIT 1 Date : 2025-09-14T13:20:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T13:20:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010036 post PendingInvicesDO 2 MED-101009812 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009812 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='599da253-3b09-48c1-9b59-c2ae4049e445' LIMIT 1 Date : 2025-09-14T13:37:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T13:37:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010037 post PendingInvicesDO 2 MED-101009813 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009813 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a6278bd-c975-41ef-a8ab-c1aab820109b' LIMIT 1 Date : 2025-09-14T14:21:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T14:21:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010038 post PendingInvicesDO 2 MED-101009815 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009815 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1af20ec1-5756-4830-8379-32888b1f0c14' LIMIT 1 Date : 2025-09-14T15:37:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T15:37:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010039 post PendingInvicesDO 2 MED-101009816 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009816 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='358847ac-46f0-4749-b6e0-afcf36e081fc' LIMIT 1 Date : 2025-09-14T16:20:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T16:20:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010040 post PendingInvicesDO 2 MED-101009817 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009817 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d29e056-afb1-4d5e-853f-6eb2875fe668' LIMIT 1 Date : 2025-09-14T16:23:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T16:23:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010041 post PendingInvicesDO 2 MED-101009818 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009818 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7b3ead6-eae1-41fc-a166-4de8c84ae165' LIMIT 1 Date : 2025-09-14T16:24:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T16:24:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010042 post PendingInvicesDO 2 MED-101009819 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009819 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd8e1f49-353a-464d-bbb0-ecf9865fffe7' LIMIT 1 Date : 2025-09-14T16:55:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T16:55:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010043 post PendingInvicesDO 2 MED-101009820 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009820 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f19c0aa-a1c0-46bb-84f6-4b1ebb039451' LIMIT 1 Date : 2025-09-14T17:01:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T17:01:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010044 post PendingInvicesDO 2 MED-101009821 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009821 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='802405dd-4aed-4379-adcd-c8a9cf016eb3' LIMIT 1 Date : 2025-09-15T09:01:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T09:01:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010045 post PendingInvicesDO 2 MED-101009822 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009822 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88a12326-ef76-4a93-82ff-04b06fbf682d' LIMIT 1 Date : 2025-09-15T09:20:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T09:20:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010046 post PendingInvicesDO 2 MED-101009824 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009824 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ebc857f-a03c-4de8-998c-4db56084f758' LIMIT 1 Date : 2025-09-15T09:56:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T09:56:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010047 post PendingInvicesDO 2 MED-101009825 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009825 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b67756e9-a74d-49a9-846b-52bdf4713276' LIMIT 1 Date : 2025-09-15T10:23:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T10:23:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010048 post PendingInvicesDO 2 MED-101009827 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009827 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79edbdd1-5ab8-43ae-a2da-bf79247cdde8' LIMIT 1 Date : 2025-09-15T10:56:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T10:56:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010049 post PendingInvicesDO 2 MED-101009828 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009828 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1831d874-0b74-4367-8db3-c863bf93d4d9' LIMIT 1 Date : 2025-09-15T11:23:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T11:23:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010050 post PendingInvicesDO 2 MED-101009831 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009831 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb21f3f0-32f2-4425-9878-dcf250c8abef' LIMIT 1 Date : 2025-09-15T12:19:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T12:19:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010052 post PendingInvicesDO 2 MED-101009830 post PendingInvicesDO 2 MED-101009829 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010051 post PendingInvicesDO 2 MED-101009830 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009829 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009830 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-101009830' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009830' OR OrderId='MED-101009830' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009830' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009830' OR OrderId='MED-101009830' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-15T12:20:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010053 post PendingInvicesDO 2 MED-101009832 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009832 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3b164ab-deb0-4b44-b132-343eb5c127fb' LIMIT 1 Date : 2025-09-15T12:39:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T12:39:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010054 post PendingInvicesDO 2 MED-101009833 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009833 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b3204a6-885b-4803-ae97-817ed1dc919e' LIMIT 1 Date : 2025-09-15T12:40:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T12:40:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010055 post PendingInvicesDO 2 MED-101009834 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009834 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00b8263c-5f20-4fd1-b3d3-05138739cfd1' LIMIT 1 Date : 2025-09-15T13:21:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T13:21:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010056 post PendingInvicesDO 2 MED-101009835 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009835 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44eecbbb-56c5-41ac-9aea-4491a8677f9e' LIMIT 1 Date : 2025-09-15T13:44:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T13:44:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010057 post PendingInvicesDO 2 MED-101009836 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009836 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a32f76e3-94a7-4ca0-92b8-7bfc18c9632c' LIMIT 1 Date : 2025-09-15T13:49:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T13:49:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010058 post PendingInvicesDO 2 MED-101009837 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009837 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c471346-6f4c-4d05-a0c8-144edc35f708' LIMIT 1 Date : 2025-09-15T13:56:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T13:56:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010059 post PendingInvicesDO 2 MED-101009737 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009737 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-101009737' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009737' OR OrderId='MED-101009737' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-15T14:01:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010060 post PendingInvicesDO 2 MED-101009839 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009839 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78e9e26b-637a-4499-9959-b91cd6bb974d' LIMIT 1 Date : 2025-09-15T14:28:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T14:28:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010061 post PendingInvicesDO 2 MED-101009784 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-101009784' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009784' OR OrderId='MED-101009784' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-15T14:45:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010062 post PendingInvicesDO 2 MED-101009840 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-101009840' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009840' OR OrderId='MED-101009840' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-15T15:06:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010063 post PendingInvicesDO 2 MED-101009841 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009841 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2343832-a9d4-4935-b6f4-7c6d00aa752a' LIMIT 1 Date : 2025-09-15T15:29:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T15:29:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010064 post PendingInvicesDO 2 MED-101009842 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009842 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a74db29c-caef-4d98-bc71-ada67f2ff11e' LIMIT 1 Date : 2025-09-15T16:00:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T16:00:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010065 post PendingInvicesDO 2 MED-101009843 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009843 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a5cad3c-acb5-461c-bf53-3ab9603cc1e3' LIMIT 1 Date : 2025-09-15T16:22:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T16:22:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010066 post PendingInvicesDO 2 MED-101009844 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009844 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3bece2b5-893a-4aff-92b6-d8752668a9f8' LIMIT 1 Date : 2025-09-15T17:00:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T17:00:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010067 post PendingInvicesDO 2 MED-101009845 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009845 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18c3b0e6-a191-40aa-883c-75c37692c929' LIMIT 1 Date : 2025-09-17T08:27:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T08:27:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010068 post PendingInvicesDO 2 MED-101009846 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009846 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='350a9f66-1ce0-480a-a1e8-3ed2c80730c3' LIMIT 1 Date : 2025-09-17T09:30:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T09:30:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010069 post PendingInvicesDO 2 MED-101009847 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009847 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81857cf0-de6e-459e-a334-af5ef1cb2461' LIMIT 1 Date : 2025-09-17T09:47:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T09:47:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010070 post PendingInvicesDO 2 MED-101009848 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009848 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d06b151-0d44-43f1-8c22-b0d0f4ad4416' LIMIT 1 Date : 2025-09-17T10:31:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T10:31:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010071 post PendingInvicesDO 2 MED-101009684 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-101009684' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009684' OR OrderId='MED-101009684' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-17T10:59:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010072 post PendingInvicesDO 2 MED-101009849 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009849 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2f9ee32-1972-4bc3-a2bd-8298867638ac' LIMIT 1 Date : 2025-09-17T11:06:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T11:06:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010074 post PendingInvicesDO 2 MED-101009851 post PendingInvicesDO 2 MED-101009850 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010073 post PendingInvicesDO 2 MED-101009851 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009850 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009851 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-101009851' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009851' OR OrderId='MED-101009851' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009851' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009851' OR OrderId='MED-101009851' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-17T13:07:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010075 post PendingInvicesDO 2 MED-101009852 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009852 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2abaeed9-5e55-4197-b37b-78d46edcd148' LIMIT 1 Date : 2025-09-17T13:08:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T13:08:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010076 post PendingInvicesDO 2 MED-101009853 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009853 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d363582-90f1-48b2-905e-83db111fdfe4' LIMIT 1 Date : 2025-09-17T13:19:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T13:19:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010077 post PendingInvicesDO 2 MED-101009854 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009854 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0a4913e-b063-4d29-81e3-ac0a85eeb603' LIMIT 1 Date : 2025-09-17T14:14:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T14:14:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010078 post PendingInvicesDO 2 MED-101009855 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009855 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f32e9674-74fc-4377-bddd-fde54a4765c8' LIMIT 1 Date : 2025-09-17T14:31:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T14:31:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010079 post PendingInvicesDO 2 MED-101009856 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009856 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='065611ff-5078-4cd8-8bbe-9040bbe241c3' LIMIT 1 Date : 2025-09-17T14:34:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T14:34:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010080 post PendingInvicesDO 2 MED-101009857 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009857 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbe1fefc-dfe0-4fd4-885e-36f0324c3647' LIMIT 1 Date : 2025-09-17T15:06:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T15:06:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010081 post PendingInvicesDO 2 MED-101009858 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009858 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9557864f-30cf-4032-b326-907e653550d1' LIMIT 1 Date : 2025-09-17T15:46:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T15:46:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010082 post PendingInvicesDO 2 MED-101009859 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009859 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09d0d626-e9b3-4d15-9c6f-6e2b384a4ee9' LIMIT 1 Date : 2025-09-17T15:51:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T15:51:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010083 post PendingInvicesDO 2 MED-101009860 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009860 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f59f39f9-c17f-4b41-aa35-732603b4d048' LIMIT 1 Date : 2025-09-17T15:55:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T15:55:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010084 post PendingInvicesDO 2 MED-101009861 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009861 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2314f905-c96a-4a2c-9bd9-5d43c7ac3d67' LIMIT 1 Date : 2025-09-17T15:57:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T15:57:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010085 post PendingInvicesDO 2 MED-101009862 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009862 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='335ea896-1533-4c9b-b5d6-8227776582bc' LIMIT 1 Date : 2025-09-17T15:58:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T15:58:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010086 post PendingInvicesDO 2 MED-101009863 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009863 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d369d00e-4831-4d40-ab7c-b631e73718a3' LIMIT 1 Date : 2025-09-17T16:14:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T16:14:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010088 post PendingInvicesDO 2 MED-101009865 post PendingInvicesDO 2 MED-101009864 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010087 post PendingInvicesDO 2 MED-101009865 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009864 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009865 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-101009865' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009865' OR OrderId='MED-101009865' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009865' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009865' OR OrderId='MED-101009865' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-17T16:39:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010089 post PendingInvicesDO 2 MED-101009866 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009866 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6405d6d4-0d14-4eaa-8555-2f3e73ddbc96' LIMIT 1 Date : 2025-09-18T08:30:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T08:30:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010090 post PendingInvicesDO 2 MED-101009869 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009869 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25a6ca83-391a-4f7b-85d8-a6ee29e0f797' LIMIT 1 Date : 2025-09-18T09:40:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T09:40:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010091 post PendingInvicesDO 2 MED-101009870 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009870 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb9d35ac-0a2d-4014-b01e-737f85c807ff' LIMIT 1 Date : 2025-09-18T10:02:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T10:02:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010092 post PendingInvicesDO 2 MED-101009871 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009871 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e27e09ef-b807-46ad-ac2a-ef0ff0604048' LIMIT 1 Date : 2025-09-18T10:40:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T10:40:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010093 post PendingInvicesDO 2 MED-101009872 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009872 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46ed920a-2b8b-4ef7-8008-c4661799d1e9' LIMIT 1 Date : 2025-09-18T11:03:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T11:03:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010094 post PendingInvicesDO 2 MED-101009873 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009873 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84aaa26d-9051-41df-bd32-cddd5eb36284' LIMIT 1 Date : 2025-09-18T11:10:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T11:10:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010095 post PendingInvicesDO 2 MED-101009874 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009874 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7082f3d1-b6cf-432f-aa9f-319bf0748192' LIMIT 1 Date : 2025-09-18T11:38:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T11:38:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010096 post PendingInvicesDO 2 MED-101009875 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009875 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8abf32f-b6c4-4b96-bd6c-373e2c044c4f' LIMIT 1 Date : 2025-09-18T11:44:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T11:44:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010097 post PendingInvicesDO 2 MED-101009876 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009876 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c71ded71-3f8e-4a05-be63-008133d4ace2' LIMIT 1 Date : 2025-09-18T12:10:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T12:10:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010098 post PendingInvicesDO 2 MED-101009731 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009731 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-101009731' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009731' OR OrderId='MED-101009731' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-18T13:42:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010099 post PendingInvicesDO 2 MED-101009878 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009878 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21492cf4-e994-4067-88cd-36f31dfb4456' LIMIT 1 Date : 2025-09-18T13:59:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T13:59:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010100 post PendingInvicesDO 2 MED-101009879 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009879 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1809b97f-fcf3-4837-b4be-9ae0d3581225' LIMIT 1 Date : 2025-09-18T14:23:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T14:23:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010101 post PendingInvicesDO 2 MED-101009880 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009880 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2e381f6-47a7-4150-bb4f-caa6b3d4a38e' LIMIT 1 Date : 2025-09-18T14:25:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T14:25:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010102 post PendingInvicesDO 2 MED-101009881 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009881 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1472152f-c7e8-4cc6-80b6-6baebb14f5c0' LIMIT 1 Date : 2025-09-18T14:35:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T14:35:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010103 post PendingInvicesDO 2 MED-101009882 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009882 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98e23406-fceb-48df-bed8-1ebc6313bcfb' LIMIT 1 Date : 2025-09-18T14:37:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T14:37:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010104 post PendingInvicesDO 2 MED-101009883 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009883 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a0355800-3a88-4ce5-8757-f049cf878097' LIMIT 1 Date : 2025-09-18T14:38:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T14:38:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010105 post PendingInvicesDO 2 MED-101009884 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009884 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b5ef770d-466d-4cc9-9f39-ece0eb874f34' LIMIT 1 Date : 2025-09-18T14:52:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T14:52:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010106 post PendingInvicesDO 2 MED-101009885 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009885 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84c58be7-504e-41fd-b2c4-8d2f8dc773a9' LIMIT 1 Date : 2025-09-18T15:12:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T15:12:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010107 post PendingInvicesDO 2 MED-101009886 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009886 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5d9f3c3-9eab-42ee-98f6-6919f0946f01' LIMIT 1 Date : 2025-09-18T15:34:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T15:34:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010108 post PendingInvicesDO 2 MED-101009887 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009887 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a50a1a25-4472-48fd-9373-fe23be3b6d48' LIMIT 1 Date : 2025-09-18T16:10:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T16:10:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010109 post PendingInvicesDO 2 MED-101009888 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009888 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13cfedbc-7877-411f-93f1-8e6efa4b0292' LIMIT 1 Date : 2025-09-19T11:00:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-19T11:00:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010110 post PendingInvicesDO 2 MED-101009889 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009889 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4370e53f-ba98-472e-a72d-e76f57bc1e3b' LIMIT 1 Date : 2025-09-19T11:12:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-19T11:12:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010111 post PendingInvicesDO 2 MED-101009890 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-101009890' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009890' OR OrderId='MED-101009890' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-19T11:42:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010112 post PendingInvicesDO 2 MED-101009891 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009891 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d4f6279-e333-43d3-979e-b5d676fce917' LIMIT 1 Date : 2025-09-19T12:19:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-19T12:19:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010113 post PendingInvicesDO 2 MED-101009892 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009892 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='978061b0-0780-47a1-a9ed-0e502a8ccdb9' LIMIT 1 Date : 2025-09-19T12:21:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-19T12:21:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010114 post PendingInvicesDO 2 MED-101009684 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-101009684' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009684' OR OrderId='MED-101009684' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-19T12:50:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010115 post PendingInvicesDO 2 MED-101009894 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009894 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dcd81dad-2b44-4824-af6a-9b7f5915138c' LIMIT 1 Date : 2025-09-19T13:41:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-19T13:41:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010116 post PendingInvicesDO 2 MED-101009823 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009823 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-101009823' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009823' OR OrderId='MED-101009823' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-20T07:29:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010117 post PendingInvicesDO 2 MED-101009895 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009895 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57fdd463-4630-424c-8552-c940a91ce088' LIMIT 1 Date : 2025-09-20T08:20:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T08:20:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010118 post PendingInvicesDO 2 MED-101009896 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009896 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3be3c0a1-0f35-45a8-9ee1-3339c1af58ec' LIMIT 1 Date : 2025-09-20T09:05:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T09:05:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010119 post PendingInvicesDO 2 MED-101009722 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-101009722' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009722' OR OrderId='MED-101009722' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-20T09:52:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010120 post PendingInvicesDO 2 MED-101009898 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009898 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9cd32e53-c14f-41f9-bf00-0c33f4ef4888' LIMIT 1 Date : 2025-09-20T10:32:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T10:32:49 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-104010121 post PendingInvicesDO 2 MED-101009899 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009899 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e59f2a5a-fc72-4379-a45c-27de21b1b0e1' LIMIT 1 Date : 2025-09-20T11:00:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T11:00:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010122 post PendingInvicesDO 2 MED-101009900 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009900 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='085ac24e-a7db-4c2d-9ec1-f8fad91c0db5' LIMIT 1 Date : 2025-09-20T11:38:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T11:38:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010124 post PendingInvicesDO 2 MED-101009902 post PendingInvicesDO 2 MED-101009901 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010123 post PendingInvicesDO 2 MED-101009902 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009901 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009902 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='298de522-8044-485e-80e9-bc22bd070da7' LIMIT 1 Date : 2025-09-20T11:45:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f255055-5321-4407-844c-103669bae9b4' LIMIT 1 Date : 2025-09-20T11:45:10  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='298de522-8044-485e-80e9-bc22bd070da7' LIMIT 1 Date : 2025-09-20T11:45:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f255055-5321-4407-844c-103669bae9b4' LIMIT 1 Date : 2025-09-20T11:45:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-20T11:45:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010125 post PendingInvicesDO 2 MED-101009903 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009903 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a12f011-007e-4104-88ce-e883642690c2' LIMIT 1 Date : 2025-09-20T12:12:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T12:12:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010127 post PendingInvicesDO 2 MED-101009905 post PendingInvicesDO 2 MED-101009904 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010126 post PendingInvicesDO 2 MED-101009905 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009904 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009905 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71252363-8314-45c2-85f8-9c90229bb994' LIMIT 1 Date : 2025-09-20T13:10:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe7e8816-3321-42dc-afba-e0d073397d5f' LIMIT 1 Date : 2025-09-20T13:10:19  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71252363-8314-45c2-85f8-9c90229bb994' LIMIT 1 Date : 2025-09-20T13:10:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe7e8816-3321-42dc-afba-e0d073397d5f' LIMIT 1 Date : 2025-09-20T13:10:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-20T13:10:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010128 post PendingInvicesDO 2 MED-101009906 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009906 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44845278-2008-4a60-a682-d9226c7745da' LIMIT 1 Date : 2025-09-20T13:25:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T13:25:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010129 post PendingInvicesDO 2 MED-101009826 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009826 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-101009826' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009826' OR OrderId='MED-101009826' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-20T13:27:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010130 post PendingInvicesDO 2 MED-101009907 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009907 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='89a7a952-0cff-4abe-a5a4-f7053fda7c3f' LIMIT 1 Date : 2025-09-20T13:59:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T13:59:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010131 post PendingInvicesDO 2 MED-101009908 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009908 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c6719cd-5bd8-441e-9f4b-48e1d73a8b2a' LIMIT 1 Date : 2025-09-20T14:29:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T14:29:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010132 post PendingInvicesDO 2 MED-101009909 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009909 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df41cc25-5a94-4bf4-a4cd-4f2cc379ff22' LIMIT 1 Date : 2025-09-20T14:31:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T14:31:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010133 post PendingInvicesDO 2 MED-101009910 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009910 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bab9ebe-3adb-413b-a1fe-3f7613ace0ee' LIMIT 1 Date : 2025-09-20T14:34:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T14:34:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010134 post PendingInvicesDO 2 MED-101009911 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009911 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae9df21f-d9ec-496a-9fa7-0cea135de346' LIMIT 1 Date : 2025-09-20T14:45:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T14:45:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010135 post PendingInvicesDO 2 MED-101009913 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009913 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78087996-3bfe-42ef-b508-23ea5296cd96' LIMIT 1 Date : 2025-09-20T15:34:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T15:34:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010136 post PendingInvicesDO 2 MED-101009914 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009914 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b59f9962-b498-43af-ba5d-8dab3e874e53' LIMIT 1 Date : 2025-09-20T15:55:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T15:55:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010137 post PendingInvicesDO 2 MED-101009915 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009915 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='804e69db-3f4a-469f-bb4a-cdff47edd456' LIMIT 1 Date : 2025-09-21T08:44:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T08:44:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010138 post PendingInvicesDO 2 MED-101009916 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009916 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e75c099-2974-4930-ab50-f14def4c885d' LIMIT 1 Date : 2025-09-21T09:11:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T09:11:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010139 post PendingInvicesDO 2 MED-101009917 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009917 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c712c5a-3008-4f9f-a017-917cad5a9e02' LIMIT 1 Date : 2025-09-21T09:45:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T09:45:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010140 post PendingInvicesDO 2 MED-101009918 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009918 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4cca3314-2118-4ddd-b231-3e3524734d34' LIMIT 1 Date : 2025-09-21T10:31:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T10:31:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010141 post PendingInvicesDO 2 MED-101009919 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009919 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7fe522c-e15c-4b33-8fc8-8b4ad30b786f' LIMIT 1 Date : 2025-09-21T11:27:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T11:27:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010142 post PendingInvicesDO 2 MED-101009920 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009920 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29bfa11c-0d03-41b3-bfeb-96232d72dd93' LIMIT 1 Date : 2025-09-21T11:56:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T11:56:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010143 post PendingInvicesDO 2 MED-101009877 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009877 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-101009877' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009877' OR OrderId='MED-101009877' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-21T12:46:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010144 post PendingInvicesDO 2 MED-101009912 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009912 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-101009912' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009912' OR OrderId='MED-101009912' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-21T13:09:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010145 post PendingInvicesDO 2 MED-101009922 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009922 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae656449-4b52-4e5d-bc30-0b399472b5c9' LIMIT 1 Date : 2025-09-21T13:20:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T13:20:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010146 post PendingInvicesDO 2 MED-101009923 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009923 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77af8cb8-38a1-4334-a1f8-e02df8a6e920' LIMIT 1 Date : 2025-09-21T13:33:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T13:33:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010147 post PendingInvicesDO 2 MED-101009924 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009924 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16e45ecc-2815-4289-8d4c-190f5b88bc5d' LIMIT 1 Date : 2025-09-21T14:01:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T14:01:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010148 post PendingInvicesDO 2 MED-101009925 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009925 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6598f633-77aa-4a97-8461-f6e6d89ff20d' LIMIT 1 Date : 2025-09-21T14:24:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T14:24:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010149 post PendingInvicesDO 2 MED-101009926 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009926 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d089f46f-1e25-4ba2-bed5-b70e00856f47' LIMIT 1 Date : 2025-09-21T14:44:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T14:44:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010150 post PendingInvicesDO 2 MED-101009928 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009928 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aac19c28-a6fc-4696-ab62-206fc627cfa6' LIMIT 1 Date : 2025-09-21T15:48:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T15:48:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010151 post PendingInvicesDO 2 MED-101009647 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-101009647' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009647' OR OrderId='MED-101009647' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-21T15:52:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010152 post PendingInvicesDO 2 MED-101009929 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-101009929' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009929' OR OrderId='MED-101009929' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-21T16:39:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010153 post PendingInvicesDO 2 MED-101009930 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009930 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3646f27a-e523-498a-90dd-06df6fa4e88d' LIMIT 1 Date : 2025-09-21T16:58:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T16:58:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010154 post PendingInvicesDO 2 MED-101009931 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009931 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9477d215-9e28-4fa8-9863-7b42aff393c0' LIMIT 1 Date : 2025-09-21T17:09:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T17:09:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010155 post PendingInvicesDO 2 MED-101009932 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009932 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac3eab9d-dde8-491b-ad21-4d178b46e3a1' LIMIT 1 Date : 2025-09-21T17:12:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T17:12:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010156 post PendingInvicesDO 2 MED-101009933 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009933 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='97ae38c1-9de5-4aa4-9b52-5d7e40beb04d' LIMIT 1 Date : 2025-09-21T17:14:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T17:14:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010157 post PendingInvicesDO 2 MED-101009934 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009934 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38a73047-816c-4c94-99a4-18c4ebe2eff8' LIMIT 1 Date : 2025-09-22T08:41:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T08:41:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010158 post PendingInvicesDO 2 MED-101009935 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009935 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e02631a-f9da-4540-b50e-0803171469c6' LIMIT 1 Date : 2025-09-22T09:06:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T09:06:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010160 post PendingInvicesDO 2 MED-101009937 post PendingInvicesDO 2 MED-101009936 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010159 post PendingInvicesDO 2 MED-101009937 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009936 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009937 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-101009937' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009937' OR OrderId='MED-101009937' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009937' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009937' OR OrderId='MED-101009937' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-22T10:27:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010161 post PendingInvicesDO 2 MED-101009938 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009938 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dfab64ee-ebc1-43c8-846e-68a1af0642e1' LIMIT 1 Date : 2025-09-22T10:31:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T10:31:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010162 post PendingInvicesDO 2 MED-101009927 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009927 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-101009927' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009927' OR OrderId='MED-101009927' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-22T10:41:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010163 post PendingInvicesDO 2 MED-101009939 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009939 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='574d93f7-91fc-48a6-9ff2-24940572f23c' LIMIT 1 Date : 2025-09-22T10:46:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T10:46:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010164 post PendingInvicesDO 2 MED-101009940 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009940 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9aa37e5-468f-41b3-bd66-fa14917d8646' LIMIT 1 Date : 2025-09-22T11:06:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T11:06:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010165 post PendingInvicesDO 2 MED-101009941 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009941 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='89b0984d-4acd-46eb-83fc-7249db612a51' LIMIT 1 Date : 2025-09-22T12:21:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T12:21:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010166 post PendingInvicesDO 2 MED-101009942 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009942 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48b4e193-4a79-4eee-be0b-f1739e97e31b' LIMIT 1 Date : 2025-09-22T12:25:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T12:25:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010167 post PendingInvicesDO 2 MED-101009943 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009943 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b707e44-cfb5-4a6e-94fe-1130cd4c56ed' LIMIT 1 Date : 2025-09-22T12:32:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T12:32:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010168 post PendingInvicesDO 2 MED-101009944 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009944 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b823841-06c9-481f-9ed9-d67206ac01db' LIMIT 1 Date : 2025-09-22T12:33:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T12:33:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010169 post PendingInvicesDO 2 MED-101009947 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009947 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f8acedd-d090-4e59-84aa-5584a31ddcc5' LIMIT 1 Date : 2025-09-22T14:15:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T14:15:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010171 post PendingInvicesDO 2 MED-101009946 post PendingInvicesDO 2 MED-101009945 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010170 post PendingInvicesDO 2 MED-101009946 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009945 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009946 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-101009946' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009946' OR OrderId='MED-101009946' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009946' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009946' OR OrderId='MED-101009946' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-22T14:20:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010172 post PendingInvicesDO 2 MED-101009948 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009948 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca2b96b8-c715-450c-b6e4-588f1f8e0e02' LIMIT 1 Date : 2025-09-22T14:23:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T14:23:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010173 post PendingInvicesDO 2 MED-101009949 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009949 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35a9a30d-f7e6-45c0-b7e7-1b8ef3220b5d' LIMIT 1 Date : 2025-09-22T14:33:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T14:33:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010174 post PendingInvicesDO 2 MED-101009950 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009950 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7302c791-1c8f-4dcf-a695-d3420bbd2e0d' LIMIT 1 Date : 2025-09-22T15:03:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T15:03:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010175 post PendingInvicesDO 2 MED-101009951 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009951 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a71b0ca0-bf99-490e-95e5-3d12e92ba5b2' LIMIT 1 Date : 2025-09-22T15:04:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T15:04:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010176 post PendingInvicesDO 2 MED-101009952 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009952 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='965480b0-082a-42af-9562-f744daaaa50f' LIMIT 1 Date : 2025-09-22T15:09:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T15:09:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010177 post PendingInvicesDO 2 MED-101009953 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009953 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2ea4ab0-10cc-46cb-b088-e21eed654a3e' LIMIT 1 Date : 2025-09-22T15:14:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T15:14:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010178 post PendingInvicesDO 2 MED-101009954 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009954 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d39dc67-644e-46eb-a8fc-841c2db3e4fd' LIMIT 1 Date : 2025-09-22T15:29:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T15:29:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010179 post PendingInvicesDO 2 MED-101009955 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009955 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2d5a0ab-43be-4d29-bdcc-ea51d00dc93e' LIMIT 1 Date : 2025-09-23T08:39:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T08:39:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010180 post PendingInvicesDO 2 MED-101009956 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009956 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2493d9f3-52e8-48fc-8d4c-52e34cb6ace7' LIMIT 1 Date : 2025-09-23T09:16:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T09:16:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010181 post PendingInvicesDO 2 MED-101009957 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009957 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e445e85-7514-48a1-9f96-f528ae572aaa' LIMIT 1 Date : 2025-09-23T09:59:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T09:59:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010182 post PendingInvicesDO 2 MED-101009958 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009958 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='755cca50-6872-48eb-b8de-7fe088045821' LIMIT 1 Date : 2025-09-23T10:39:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T10:39:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010183 post PendingInvicesDO 2 MED-101009959 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009959 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7375fd9b-b052-40c9-8e00-b76d6afdc4c4' LIMIT 1 Date : 2025-09-23T11:05:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T11:05:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010184 post PendingInvicesDO 2 MED-101009960 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009960 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad9cfd08-0ec7-4a99-9996-eacc20f88776' LIMIT 1 Date : 2025-09-23T11:37:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T11:37:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010185 post PendingInvicesDO 2 MED-101009961 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009961 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51e58136-0250-4adb-92d3-2007b9e08621' LIMIT 1 Date : 2025-09-23T11:39:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T11:39:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010186 post PendingInvicesDO 2 MED-101009962 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009962 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3167a46-e5a6-44fb-9104-b0de3f838c8c' LIMIT 1 Date : 2025-09-23T11:55:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T11:55:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010187 post PendingInvicesDO 2 MED-101009963 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009963 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7972a07c-97a4-4488-8020-65badb524589' LIMIT 1 Date : 2025-09-23T12:22:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T12:22:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010188 post PendingInvicesDO 2 MED-101009840 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-101009840' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009840' OR OrderId='MED-101009840' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-23T12:45:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010189 post PendingInvicesDO 2 MED-101009964 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009964 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d7f785c-5e56-4fee-80b7-ea039f416f40' LIMIT 1 Date : 2025-09-23T12:50:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T12:50:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010190 post PendingInvicesDO 2 MED-101009965 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009965 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60145de9-7be5-4802-ae52-677d1991c22c' LIMIT 1 Date : 2025-09-23T13:05:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T13:05:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010191 post PendingInvicesDO 2 MED-101009814 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-101009814' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009814' OR OrderId='MED-101009814' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-23T13:41:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010192 post PendingInvicesDO 2 MED-101009966 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009966 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='80645736-3244-4d1b-8a83-ec02ede53b4a' LIMIT 1 Date : 2025-09-23T14:14:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T14:14:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010193 post PendingInvicesDO 2 MED-101009967 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009967 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='256db4b5-0393-48de-84bb-a5e4f6eea165' LIMIT 1 Date : 2025-09-23T14:15:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T14:15:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010194 post PendingInvicesDO 2 MED-101009968 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009968 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07936167-4f22-4c28-ad2c-acebe3b38e76' LIMIT 1 Date : 2025-09-23T14:18:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T14:18:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010195 post PendingInvicesDO 2 MED-101009969 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009969 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35613936-a28b-4807-9945-c86ed8caf99c' LIMIT 1 Date : 2025-09-23T14:20:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T14:20:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010196 post PendingInvicesDO 2 MED-101009970 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009970 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed7f63fd-2e10-4e3c-b54e-647e521e4e8f' LIMIT 1 Date : 2025-09-23T14:25:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T14:25:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010197 post PendingInvicesDO 2 MED-101009971 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009971 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='271164af-9c5f-48ce-999e-d273e18d5493' LIMIT 1 Date : 2025-09-23T14:52:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T14:52:58 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-104010198 post PendingInvicesDO 2 MED-101009972 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009972 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b6caa97-d930-4b96-823d-a810ae9b38fa' LIMIT 1 Date : 2025-09-23T15:08:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T15:08:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010199 post PendingInvicesDO 2 MED-101009973 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009973 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dca9915d-8d81-4bed-9b8e-521ae2e4717b' LIMIT 1 Date : 2025-09-23T15:48:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T15:48:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010200 post PendingInvicesDO 2 MED-101009974 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009974 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7812fe26-2814-4ed3-868d-cbc07443aad3' LIMIT 1 Date : 2025-09-23T16:00:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T16:00:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010201 post PendingInvicesDO 2 MED-101009975 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009975 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='221c7972-7612-4e2e-9d94-ece12c34e78d' LIMIT 1 Date : 2025-09-24T08:51:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T08:51:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010202 post PendingInvicesDO 2 MED-101009976 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009976 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba151f2c-c862-47f0-8423-d602950dc302' LIMIT 1 Date : 2025-09-24T09:17:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T09:17:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010203 post PendingInvicesDO 2 MED-101009977 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009977 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5866fd1b-d3ad-465c-9388-286b5515511b' LIMIT 1 Date : 2025-09-24T09:43:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T09:43:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010204 post PendingInvicesDO 2 MED-101009629 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009629 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-101009629' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009629' OR OrderId='MED-101009629' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-24T10:13:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010205 post PendingInvicesDO 2 MED-101009980 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009980 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0259ba10-423c-4ba5-8c10-7e5b3cf4beca' LIMIT 1 Date : 2025-09-24T11:04:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T11:04:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010206 post PendingInvicesDO 2 MED-101009981 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009981 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e20501cd-4686-4691-baf4-46246a89a917' LIMIT 1 Date : 2025-09-24T11:10:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T11:10:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010207 post PendingInvicesDO 2 MED-101009982 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009982 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d39e558-8701-4ab4-9eab-56463d35bb6d' LIMIT 1 Date : 2025-09-24T12:10:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T12:10:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010208 post PendingInvicesDO 2 MED-101009983 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009983 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee1568ec-ac03-42cf-a8ab-dbf934cc8605' LIMIT 1 Date : 2025-09-24T12:11:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T12:11:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010209 post PendingInvicesDO 2 MED-101009984 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009984 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d89e28f1-34cd-436d-8f99-cd49f20132cc' LIMIT 1 Date : 2025-09-24T12:16:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T12:16:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010210 post PendingInvicesDO 2 MED-101009985 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009985 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68677cf5-2eb0-42ee-bc87-02b84e487605' LIMIT 1 Date : 2025-09-24T12:30:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T12:30:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010211 post PendingInvicesDO 2 MED-101009986 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009986 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2237db73-c193-4fdf-93cd-3e07439834a2' LIMIT 1 Date : 2025-09-24T12:49:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T12:49:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010212 post PendingInvicesDO 2 MED-101009987 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009987 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06a34170-8bad-416e-b59e-7ddff15b847b' LIMIT 1 Date : 2025-09-24T13:24:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T13:24:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010213 post PendingInvicesDO 2 MED-101009988 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009988 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c89f6f3-4681-4b40-8d2b-c2c1ff2cd9fb' LIMIT 1 Date : 2025-09-24T14:03:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T14:03:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010215 post PendingInvicesDO 2 MED-101009990 post PendingInvicesDO 2 MED-101009989 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010214 post PendingInvicesDO 2 MED-101009990 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009989 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009990 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-101009990' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009990' OR OrderId='MED-101009990' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009990' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009990' OR OrderId='MED-101009990' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-24T15:13:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010216 post PendingInvicesDO 2 MED-101009991 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009991 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bae391c6-c6f6-4edb-a0ea-73601775c547' LIMIT 1 Date : 2025-09-24T15:22:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T15:22:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010217 post PendingInvicesDO 2 MED-101009992 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009992 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c23fa501-a87b-4ad2-96de-bb1511baa282' LIMIT 1 Date : 2025-09-24T15:42:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T15:42:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010218 post PendingInvicesDO 2 MED-101009993 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009993 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb91bc49-768b-477e-8b61-baed894927e6' LIMIT 1 Date : 2025-09-24T15:55:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T15:55:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010219 post PendingInvicesDO 2 MED-101009994 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009994 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f3a20ce-4298-4436-896b-6527d35caf67' LIMIT 1 Date : 2025-09-24T15:59:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T15:59:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010220 post PendingInvicesDO 2 MED-101009995 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009995 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c33537fe-b57a-43af-b90c-e12520493f57' LIMIT 1 Date : 2025-09-24T16:01:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T16:01:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010221 post PendingInvicesDO 2 MED-101009996 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009996 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86787818-4dac-454e-982f-515739f2682c' LIMIT 1 Date : 2025-09-25T08:38:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T08:38:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010223 post PendingInvicesDO 2 MED-101009998 post PendingInvicesDO 2 MED-101009997 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010222 post PendingInvicesDO 2 MED-101009998 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009997 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009998 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b78a3662-87ca-46ad-9937-648e5202e88c' LIMIT 1 Date : 2025-09-25T09:33:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b8b985f-c747-48aa-813f-5caf8e7ee560' LIMIT 1 Date : 2025-09-25T09:33:47  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b78a3662-87ca-46ad-9937-648e5202e88c' LIMIT 1 Date : 2025-09-25T09:33:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b8b985f-c747-48aa-813f-5caf8e7ee560' LIMIT 1 Date : 2025-09-25T09:33:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-25T09:33:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010224 post PendingInvicesDO 2 MED-101009999 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009999 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc12e251-b0f1-4aeb-8a8a-7593d6a86803' LIMIT 1 Date : 2025-09-25T09:38:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T09:38:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010225 post PendingInvicesDO 2 MED-101010000 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010000 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b6ea810-59ef-46d6-9142-25ee19998b7e' LIMIT 1 Date : 2025-09-25T09:55:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T09:55:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010226 post PendingInvicesDO 2 MED-101010001 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010001 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0c3ba76-5346-4855-b01b-73428a67484c' LIMIT 1 Date : 2025-09-25T10:10:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T10:10:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010228 post PendingInvicesDO 2 MED-101009802 post PendingInvicesDO 2 MED-101009801 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010227 post PendingInvicesDO 2 MED-101009802 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009801 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009802 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-101009802' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009802' OR OrderId='MED-101009802' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009802' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009802' OR OrderId='MED-101009802' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-25T10:31:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010230 post PendingInvicesDO 2 MED-101010004 post PendingInvicesDO 2 MED-101010003 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010229 post PendingInvicesDO 2 MED-101010004 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010003 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010004 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1d5af66-c29a-4e22-a555-2d0b499f044b' LIMIT 1 Date : 2025-09-25T10:55:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6d224ee-00ee-493f-a725-87b878d1025d' LIMIT 1 Date : 2025-09-25T10:55:33  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1d5af66-c29a-4e22-a555-2d0b499f044b' LIMIT 1 Date : 2025-09-25T10:55:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6d224ee-00ee-493f-a725-87b878d1025d' LIMIT 1 Date : 2025-09-25T10:55:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-25T10:55:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010231 post PendingInvicesDO 2 MED-101010005 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010005 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bcbbfb97-42de-493b-9580-7ce3a85fa9ad' LIMIT 1 Date : 2025-09-25T11:17:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T11:17:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010232 post PendingInvicesDO 2 MED-101009646 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009646 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-101009646' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009646' OR OrderId='MED-101009646' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-25T11:57:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010233 post PendingInvicesDO 2 MED-101009929 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-101009929' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009929' OR OrderId='MED-101009929' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-25T12:44:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010234 post PendingInvicesDO 2 MED-101010007 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010007 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8af37a96-964f-4908-a61b-95345124b2ce' LIMIT 1 Date : 2025-09-25T12:45:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T12:45:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010235 post PendingInvicesDO 2 MED-101010008 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010008 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11eccab3-1837-406a-8323-a26fab4c8866' LIMIT 1 Date : 2025-09-25T13:37:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T13:37:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010236 post PendingInvicesDO 2 MED-101010009 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010009 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='717d3152-1c82-4ba7-bad1-351ce7a05937' LIMIT 1 Date : 2025-09-25T13:50:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T13:50:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010237 post PendingInvicesDO 2 MED-101010010 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010010 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45dedc79-5a30-40d9-b46a-b2d33b341a24' LIMIT 1 Date : 2025-09-25T14:15:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T14:15:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010238 post PendingInvicesDO 2 MED-101010011 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010011 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36fb7e35-81d5-49b1-88e1-8ac7f4d9ae92' LIMIT 1 Date : 2025-09-25T14:36:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T14:36:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010239 post PendingInvicesDO 2 MED-101010012 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010012 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d6f5707-17fb-4162-932b-f36b274de209' LIMIT 1 Date : 2025-09-25T14:56:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T14:56:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010240 post PendingInvicesDO 2 MED-101010013 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010013 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6660953-36df-4cef-8ff0-7d3d827b4d33' LIMIT 1 Date : 2025-09-25T15:03:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T15:03:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010241 post PendingInvicesDO 2 MED-101009784 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-101009784' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009784' OR OrderId='MED-101009784' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-25T15:06:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010242 post PendingInvicesDO 2 MED-101010014 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010014 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7072a2c-a7a1-4b95-af66-315846713727' LIMIT 1 Date : 2025-09-25T15:10:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T15:10:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010243 post PendingInvicesDO 2 MED-101010015 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010015 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7dccb5ae-1552-4385-9be6-18cc2142793a' LIMIT 1 Date : 2025-09-25T15:45:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T15:45:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010244 post PendingInvicesDO 2 MED-101010016 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010016 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='072da1b7-5237-4322-8041-93e7c24ee8ab' LIMIT 1 Date : 2025-09-25T15:56:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T15:56:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010245 post PendingInvicesDO 2 MED-101010017 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010017 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25a4d626-eef2-4e1d-903f-44410edf7c0b' LIMIT 1 Date : 2025-09-25T16:13:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T16:13:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010246 post PendingInvicesDO 2 MED-101010018 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010018 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df1a1664-b1d4-4439-af44-0f19e726898d' LIMIT 1 Date : 2025-09-27T08:35:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T08:35:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010247 post PendingInvicesDO 2 MED-101010019 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010019 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='202fd2b7-4f65-4aff-bf47-2d5919be31f5' LIMIT 1 Date : 2025-09-27T08:47:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T08:47:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010248 post PendingInvicesDO 2 MED-101009735 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009735 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-101009735' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009735' OR OrderId='MED-101009735' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-27T10:12:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010249 post PendingInvicesDO 2 MED-101010020 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010020 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-101010020' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010020' OR OrderId='MED-101010020' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-27T10:16:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010250 post PendingInvicesDO 2 MED-101010022 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010022 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4413d033-29c5-416e-ae98-f38c27c91df7' LIMIT 1 Date : 2025-09-27T10:39:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T10:39:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010251 post PendingInvicesDO 2 MED-101009921 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009921 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-101009921' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009921' OR OrderId='MED-101009921' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-27T11:09:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010252 post PendingInvicesDO 2 MED-101010024 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010024 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7548d4ef-8225-449e-9d6b-487a4969d984' LIMIT 1 Date : 2025-09-27T11:24:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T11:24:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010253 post PendingInvicesDO 2 MED-101010025 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010025 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='beaf4822-fe5f-4d79-94a7-1b79bd8122bd' LIMIT 1 Date : 2025-09-27T12:14:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T12:14:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010254 post PendingInvicesDO 2 MED-101010026 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010026 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c27f7bee-9190-4334-9467-3e9b62902d66' LIMIT 1 Date : 2025-09-27T12:48:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T12:48:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010255 post PendingInvicesDO 2 MED-101010027 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010027 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b487a00-7839-4002-832a-6206148eae41' LIMIT 1 Date : 2025-09-27T14:06:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T14:06:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010256 post PendingInvicesDO 2 MED-101010028 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010028 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5889c0c-ca92-4b5f-aa9a-a30b2b41348e' LIMIT 1 Date : 2025-09-27T14:10:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T14:10:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010257 post PendingInvicesDO 2 MED-101010029 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010029 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f56677a4-bc17-4944-96da-128b7a4eb711' LIMIT 1 Date : 2025-09-27T14:16:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T14:16:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010258 post PendingInvicesDO 2 MED-101010030 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010030 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='931c5ba3-4f22-4145-bfdc-67a45c6d1bfc' LIMIT 1 Date : 2025-09-27T14:17:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T14:17:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010259 post PendingInvicesDO 2 MED-101010031 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010031 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ff583c2-4a9e-4ae1-bbe7-44f0be56b182' LIMIT 1 Date : 2025-09-27T14:25:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T14:25:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010260 post PendingInvicesDO 2 MED-101010032 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010032 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffd95df5-b697-4725-a33e-cc3de357021b' LIMIT 1 Date : 2025-09-27T14:38:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T14:38:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010261 post PendingInvicesDO 2 MED-101010033 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010033 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7adf2c5-edfc-4769-bc72-5e7292da59fa' LIMIT 1 Date : 2025-09-27T14:43:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T14:43:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010262 post PendingInvicesDO 2 MED-101010034 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010034 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fe1eeb3-cdd0-43d4-a2c7-efc3b4d2ec4f' LIMIT 1 Date : 2025-09-27T15:21:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T15:21:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010263 post PendingInvicesDO 2 MED-101009893 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009893 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-101009893' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009893' OR OrderId='MED-101009893' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-28T08:27:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010265 post PendingInvicesDO 2 MED-101010038 post PendingInvicesDO 2 MED-101010037 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010264 post PendingInvicesDO 2 MED-101010038 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010037 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010038 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3ed8495-5abd-4416-87da-e4a35a101a39' LIMIT 1 Date : 2025-09-28T08:53:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33894637-a220-4ed3-8b1e-f704cd2b30f7' LIMIT 1 Date : 2025-09-28T08:53:44  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3ed8495-5abd-4416-87da-e4a35a101a39' LIMIT 1 Date : 2025-09-28T08:53:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33894637-a220-4ed3-8b1e-f704cd2b30f7' LIMIT 1 Date : 2025-09-28T08:53:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-28T08:53:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010267 post PendingInvicesDO 2 MED-101010040 post PendingInvicesDO 2 MED-101010039 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010266 post PendingInvicesDO 2 MED-101010040 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010039 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010040 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6930e4ef-8158-405c-be25-8fb0b2959322' LIMIT 1 Date : 2025-09-28T09:08:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28c7c928-e6f9-417a-9d7d-1a930d576cbb' LIMIT 1 Date : 2025-09-28T09:08:52  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6930e4ef-8158-405c-be25-8fb0b2959322' LIMIT 1 Date : 2025-09-28T09:08:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28c7c928-e6f9-417a-9d7d-1a930d576cbb' LIMIT 1 Date : 2025-09-28T09:08:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-28T09:08:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010268 post PendingInvicesDO 2 MED-101010041 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010041 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d955cb7-ee11-4869-bbf9-dd42777643ac' LIMIT 1 Date : 2025-09-28T09:45:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T09:45:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010269 post PendingInvicesDO 2 MED-101010042 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010042 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2f52af6-efa6-4d6e-8885-b885ab8391ad' LIMIT 1 Date : 2025-09-28T10:20:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T10:20:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010270 post PendingInvicesDO 2 MED-101010043 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010043 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf412a1b-fd64-44cc-8f29-ce9c603e23b2' LIMIT 1 Date : 2025-09-28T11:13:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T11:13:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010271 post PendingInvicesDO 2 MED-101010044 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010044 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31b5edfa-8698-47b9-90cc-dda988a17510' LIMIT 1 Date : 2025-09-28T11:40:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T11:40:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010272 post PendingInvicesDO 2 MED-101010045 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010045 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac89d3d3-e69c-407d-978f-3071305d7d06' LIMIT 1 Date : 2025-09-28T12:11:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T12:11:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010273 post PendingInvicesDO 2 MED-101010046 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010046 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68aca6db-09cb-4199-ab22-f3d0c9f0c5f4' LIMIT 1 Date : 2025-09-28T12:39:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T12:39:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010274 post PendingInvicesDO 2 MED-101009838 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009838 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-101009838' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009838' OR OrderId='MED-101009838' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-28T13:08:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010275 post PendingInvicesDO 2 MED-101010047 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010047 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db0a4682-60c5-40bd-8a1a-a00c9616f4d8' LIMIT 1 Date : 2025-09-28T13:56:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T13:56:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010276 post PendingInvicesDO 2 MED-101010048 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010048 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2deb03e2-455a-45ab-9e63-d8902de7bec0' LIMIT 1 Date : 2025-09-28T15:00:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T15:00:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010277 post PendingInvicesDO 2 MED-101010049 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010049 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64056f4b-ccb0-4446-8c47-a13eefe337e7' LIMIT 1 Date : 2025-09-28T15:21:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T15:21:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010278 post PendingInvicesDO 2 MED-101010050 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010050 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d493eff8-8527-4e11-9577-49802c0436a9' LIMIT 1 Date : 2025-09-28T15:22:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T15:22:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010279 post PendingInvicesDO 2 MED-101009657 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009657 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-101009657' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009657' OR OrderId='MED-101009657' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-28T15:25:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010280 post PendingInvicesDO 2 MED-101010052 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010052 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba6f69ce-081e-4bd2-a90f-30a2f13a991b' LIMIT 1 Date : 2025-09-28T15:30:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T15:30:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010281 post PendingInvicesDO 2 MED-101010053 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010053 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed7a0ebe-a46c-4c5d-a29e-fd6124e3f2a0' LIMIT 1 Date : 2025-09-28T15:32:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T15:32:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010282 post PendingInvicesDO 2 MED-101009784 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-101009784' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009784' OR OrderId='MED-101009784' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-28T15:34:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010283 post PendingInvicesDO 2 MED-101009840 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-101009840' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009840' OR OrderId='MED-101009840' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-28T15:36:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010284 post PendingInvicesDO 2 MED-101010055 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010055 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc5da9f3-c46a-4789-a3df-73b4dfcbfc8c' LIMIT 1 Date : 2025-09-28T15:38:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T15:38:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010285 post PendingInvicesDO 2 MED-101010056 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010056 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='987f09ba-04b4-4521-a7d4-61aa4d1caaa9' LIMIT 1 Date : 2025-09-28T15:39:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T15:39:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010286 post PendingInvicesDO 2 MED-101010057 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010057 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0373f48e-47d6-4fd0-9f73-b05ce6754129' LIMIT 1 Date : 2025-09-28T15:53:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T15:53:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010287 post PendingInvicesDO 2 MED-101009814 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-101009814' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009814' OR OrderId='MED-101009814' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-28T17:21:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010288 post PendingInvicesDO 2 MED-101009674 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009674 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-101009674' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009674' OR OrderId='MED-101009674' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-29T08:36:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010289 post PendingInvicesDO 2 MED-101010058 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010058 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b0bdfaa-9809-42a9-89ca-36afb3809db8' LIMIT 1 Date : 2025-09-29T08:45:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T08:45:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010290 post PendingInvicesDO 2 MED-101010059 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010059 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92cab425-e737-4df1-b3ff-21e3933e2432' LIMIT 1 Date : 2025-09-29T08:59:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T08:59:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010291 post PendingInvicesDO 2 MED-101010061 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010061 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1cbe8143-56b6-4bbf-b36e-b354d928cae8' LIMIT 1 Date : 2025-09-29T10:27:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T10:27:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010292 post PendingInvicesDO 2 MED-101010062 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010062 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1578b3e-bc31-4ca7-a865-22a43cb5870a' LIMIT 1 Date : 2025-09-29T11:04:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T11:04:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010293 post PendingInvicesDO 2 MED-101010064 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010064 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='406a9cd5-0398-4f03-adb4-b1cd3eddbab6' LIMIT 1 Date : 2025-09-29T11:48:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T11:48:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010294 post PendingInvicesDO 2 MED-101010065 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010065 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83b9976f-e9c0-4e04-a5fc-2a9b074b14e9' LIMIT 1 Date : 2025-09-29T11:57:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T11:57:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010295 post PendingInvicesDO 2 MED-101010067 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010067 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8d17c53-6c6c-46b4-b8e8-1682cda36e94' LIMIT 1 Date : 2025-09-29T12:57:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T12:57:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010296 post PendingInvicesDO 2 MED-101010063 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010063 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-101010063' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010063' OR OrderId='MED-101010063' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-29T13:17:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010297 post PendingInvicesDO 2 MED-101010068 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010068 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b293c42-7268-4390-8565-a1faa3a4f59f' LIMIT 1 Date : 2025-09-29T14:02:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T14:02:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010298 post PendingInvicesDO 2 MED-101010069 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010069 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf90ec35-af2d-4cc8-8ed9-6dbcdc419087' LIMIT 1 Date : 2025-09-29T14:03:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T14:03:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010299 post PendingInvicesDO 2 MED-101010070 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010070 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af0d4736-7dc3-48d9-bfd1-2344d0818618' LIMIT 1 Date : 2025-09-29T14:05:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T14:05:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010300 post PendingInvicesDO 2 MED-101010060 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010060 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-101010060' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010060' OR OrderId='MED-101010060' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-29T14:14:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010301 post PendingInvicesDO 2 MED-101010071 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010071 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9bd34d2-f868-4e9a-8f31-3c51145c2a62' LIMIT 1 Date : 2025-09-29T14:32:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T14:32:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010302 post PendingInvicesDO 2 MED-101010072 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010072 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4485e5a7-d2f3-4017-8b28-0cd0e57f7282' LIMIT 1 Date : 2025-09-29T15:11:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T15:11:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010303 post PendingInvicesDO 2 MED-101010073 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010073 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0975011e-4400-4f26-aec4-7069b18c0c17' LIMIT 1 Date : 2025-09-29T15:39:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T15:39:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010304 post PendingInvicesDO 2 MED-101010074 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010074 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42964c4f-8c5a-463e-9711-8c26e1549936' LIMIT 1 Date : 2025-09-29T16:01:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T16:01:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010305 post PendingInvicesDO 2 MED-101010075 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010075 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17bab8bb-4df4-430d-a967-063921d7b420' LIMIT 1 Date : 2025-09-29T16:27:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T16:27:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010306 post PendingInvicesDO 2 MED-101010054 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010054 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-101010054' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010054' OR OrderId='MED-101010054' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-29T16:48:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010307 post PendingInvicesDO 2 MED-101009784 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-101009784' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009784' OR OrderId='MED-101009784' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-29T16:55:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010308 post PendingInvicesDO 2 MED-101010076 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010076 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4bd1684f-c917-4d9e-8677-3068e36e1048' LIMIT 1 Date : 2025-09-29T17:12:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T17:12:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010310 post PendingInvicesDO 2 MED-101009868 post PendingInvicesDO 2 MED-101009867 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010309 post PendingInvicesDO 2 MED-101009868 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101009867 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009868 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-101009868' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009868' OR OrderId='MED-101009868' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101009868' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009868' OR OrderId='MED-101009868' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-29T17:23:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010311 post PendingInvicesDO 2 MED-101009729 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-101009729' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009729' OR OrderId='MED-101009729' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-29T17:39:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010312 post PendingInvicesDO 2 MED-101009897 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101009897 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-101009897' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009897' OR OrderId='MED-101009897' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T07:12:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010313 post PendingInvicesDO 2 MED-101009729 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-101009729' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009729' OR OrderId='MED-101009729' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T08:33:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010314 post PendingInvicesDO 2 MED-101010066 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010066 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-101010066' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010066' OR OrderId='MED-101010066' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T09:04:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010315 post PendingInvicesDO 2 MED-101009979 post PendingInvicesDO 2 MED-101009978 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-101009979' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009979' OR OrderId='MED-101009979' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T09:10:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010316 post PendingInvicesDO 2 MED-101010051 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-101010051' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010051' OR OrderId='MED-101010051' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T09:23:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010317 post PendingInvicesDO 2 MED-101010021 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010021 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-101010021' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010021' OR OrderId='MED-101010021' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T09:37:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010318 post PendingInvicesDO 2 MED-101009641 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-101009641' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009641' OR OrderId='MED-101009641' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T09:44:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010319 post PendingInvicesDO 2 MED-101010078 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010078 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04a9d07e-6e10-43db-8efc-fd53a834542b' LIMIT 1 Date : 2025-09-30T09:45:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T09:45:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010320 post PendingInvicesDO 2 MED-101010079 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010079 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1625dc01-0def-489d-821a-d2ed9376764d' LIMIT 1 Date : 2025-09-30T10:07:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T10:07:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010321 post PendingInvicesDO 2 MED-101010080 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010080 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9dbc8c10-8ffd-4604-95ff-dc1c2c5f5627' LIMIT 1 Date : 2025-09-30T10:19:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T10:19:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010322 post PendingInvicesDO 2 MED-101009890 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-101009890' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009890' OR OrderId='MED-101009890' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T11:06:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010323 post PendingInvicesDO 2 MED-101010081 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010081 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='764f067a-3e5b-4b7c-8a4a-2b0e05893851' LIMIT 1 Date : 2025-09-30T11:08:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T11:08:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010324 post PendingInvicesDO 2 MED-101010082 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010082 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1605b267-46eb-4fcb-9e7f-3747ada86af4' LIMIT 1 Date : 2025-09-30T11:11:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T11:11:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010325 post PendingInvicesDO 2 MED-101010083 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010083 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16927043-7d3c-4437-9a23-4dcb4648164e' LIMIT 1 Date : 2025-09-30T11:38:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T11:38:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010326 post PendingInvicesDO 2 MED-101010084 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010084 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a36f0c4a-4f85-4ec8-836f-9327821301ac' LIMIT 1 Date : 2025-09-30T11:40:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T11:40:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010327 post PendingInvicesDO 2 MED-101010085 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010085 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4001bb8a-42be-4a43-8075-9ad25cdcf221' LIMIT 1 Date : 2025-09-30T11:58:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T11:58:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010328 post PendingInvicesDO 2 MED-101010023 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010023 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-101010023' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010023' OR OrderId='MED-101010023' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T12:29:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010329 post PendingInvicesDO 2 MED-101010086 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010086 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45f06d00-7522-44b0-b8cb-52880c802979' LIMIT 1 Date : 2025-09-30T13:21:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T13:21:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010330 post PendingInvicesDO 2 MED-101010087 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010087 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f649a433-f70f-46ae-86cf-6aed7fcb81a2' LIMIT 1 Date : 2025-09-30T13:23:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T13:23:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010331 post PendingInvicesDO 2 MED-101010088 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010088 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59b3849d-1d67-422b-bcef-32301729d5b0' LIMIT 1 Date : 2025-09-30T13:32:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T13:32:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010332 post PendingInvicesDO 2 MED-101010089 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010089 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5296d064-9f48-4ba4-8125-02bf798f133d' LIMIT 1 Date : 2025-09-30T13:43:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T13:43:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010333 post PendingInvicesDO 2 MED-101010090 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010090 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='960b3437-34aa-4d9f-a484-8166ccd606e7' LIMIT 1 Date : 2025-09-30T13:44:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T13:44:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010334 post PendingInvicesDO 2 MED-101010091 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010091 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='146d4849-a09a-4f41-9bbc-21a725e89b30' LIMIT 1 Date : 2025-09-30T13:46:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T13:46:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010335 post PendingInvicesDO 2 MED-101010092 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010092 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f9c5e3d-9e5f-4b96-8a0f-d3db34ae4041' LIMIT 1 Date : 2025-09-30T13:48:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T13:48:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010336 post PendingInvicesDO 2 MED-101010077 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-101010077' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010077' OR OrderId='MED-101010077' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T13:50:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010337 post PendingInvicesDO 2 MED-101010093 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010093 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ceae1206-1fb5-44fc-acd3-733e80382202' LIMIT 1 Date : 2025-09-30T13:54:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T13:54:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010339 post PendingInvicesDO 2 MED-101010036 post PendingInvicesDO 2 MED-101010035 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010338 post PendingInvicesDO 2 MED-101010036 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010035 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010036 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-101010036' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010036' OR OrderId='MED-101010036' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101010036' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010036' OR OrderId='MED-101010036' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T14:00:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010340 post PendingInvicesDO 2 MED-101010095 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010095 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0d708aa-e020-4ade-bdc4-c44d5af8d96b' LIMIT 1 Date : 2025-09-30T15:04:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T15:04:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010341 post PendingInvicesDO 2 MED-101010096 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010096 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c861cb64-d3ec-4133-9336-c995ab71de2d' LIMIT 1 Date : 2025-09-30T15:13:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T15:13:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010342 post PendingInvicesDO 2 MED-101010097 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010097 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9bbc648-ed76-4461-ab32-651a75410ce0' LIMIT 1 Date : 2025-09-30T15:42:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T15:42:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010343 post PendingInvicesDO 2 MED-101010098 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010098 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e6b7335-d6d7-4e7d-9ebd-6074d67a239d' LIMIT 1 Date : 2025-09-30T16:03:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T16:03:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010344 post PendingInvicesDO 2 MED-101010099 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010099 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59ac98f3-69ab-4120-9a12-53e2b5147300' LIMIT 1 Date : 2025-10-01T09:04:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T09:04:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010345 post PendingInvicesDO 2 MED-101010100 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010100 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='991357b0-ef6c-4aed-a802-193a6ca1853a' LIMIT 1 Date : 2025-10-01T09:26:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T09:26:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010346 post PendingInvicesDO 2 MED-101010102 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010102 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fc491f2-9a84-43d9-b097-1894b028c8ae' LIMIT 1 Date : 2025-10-01T10:48:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T10:48:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010347 post PendingInvicesDO 2 MED-101010104 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010104 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db466b4b-52e0-46b0-b18a-5e7c0baff186' LIMIT 1 Date : 2025-10-01T13:17:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T13:17:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010348 post PendingInvicesDO 2 MED-101010105 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010105 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='efab571b-e130-423a-b2ad-a2996bf34c32' LIMIT 1 Date : 2025-10-01T13:18:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T13:18:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010349 post PendingInvicesDO 2 MED-101010106 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010106 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0910c3e6-92b1-4cd6-bf55-6b63f146bf51' LIMIT 1 Date : 2025-10-01T13:24:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T13:24:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010350 post PendingInvicesDO 2 MED-101010107 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010107 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66377121-f74a-4d0a-9305-c167f4e7491c' LIMIT 1 Date : 2025-10-01T13:26:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T13:26:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010351 post PendingInvicesDO 2 MED-101010108 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010108 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a48d3488-9616-429b-b7e6-dab5c0b8b174' LIMIT 1 Date : 2025-10-01T13:28:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T13:28:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010352 post PendingInvicesDO 2 MED-101010109 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010109 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b7c7921-35bf-4a58-97e6-b4062a341325' LIMIT 1 Date : 2025-10-01T13:29:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T13:29:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010353 post PendingInvicesDO 2 MED-101010110 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010110 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de102d19-35af-4d33-bb12-0007396c9c7f' LIMIT 1 Date : 2025-10-01T13:36:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T13:36:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010354 post PendingInvicesDO 2 MED-101010111 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010111 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9d7ce56-56e9-4c6b-a16a-2252dbb53a9f' LIMIT 1 Date : 2025-10-01T13:38:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T13:38:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010355 post PendingInvicesDO 2 MED-101010112 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010112 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f3ecdc8-14ea-460b-8e33-a2ab6ce0088e' LIMIT 1 Date : 2025-10-01T13:39:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T13:39:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010356 post PendingInvicesDO 2 MED-101010114 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010114 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59f07c1f-4d16-4cfb-b940-88b570681066' LIMIT 1 Date : 2025-10-01T14:15:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T14:15:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010357 post PendingInvicesDO 2 MED-101010115 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010115 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2732d857-af29-4371-ac6c-1f10eb929f3d' LIMIT 1 Date : 2025-10-01T14:51:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T14:51:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010358 post PendingInvicesDO 2 MED-101010116 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010116 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a684aed6-15f6-4bfa-bb49-b24f85d69957' LIMIT 1 Date : 2025-10-01T15:22:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T15:22:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010359 post PendingInvicesDO 2 MED-101010117 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010117 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='501382aa-7127-4641-a8ab-2ee7b1ed8543' LIMIT 1 Date : 2025-10-01T16:01:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T16:01:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010361 post PendingInvicesDO 2 MED-101010119 post PendingInvicesDO 2 MED-101010118 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010360 post PendingInvicesDO 2 MED-101010119 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010118 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010119 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4c81bde-6b71-45f3-9e7a-8d8d5624e892' LIMIT 1 Date : 2025-10-02T08:56:53  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41a7f6c6-a678-420a-bd5d-10f34e304978' LIMIT 1 Date : 2025-10-02T08:56:53  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4c81bde-6b71-45f3-9e7a-8d8d5624e892' LIMIT 1 Date : 2025-10-02T08:56:53  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41a7f6c6-a678-420a-bd5d-10f34e304978' LIMIT 1 Date : 2025-10-02T08:56:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-02T08:56:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010362 post PendingInvicesDO 2 MED-101010120 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010120 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e81bb3e-7042-4c7f-a266-cb214277e1e9' LIMIT 1 Date : 2025-10-02T09:41:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T09:41:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010363 post PendingInvicesDO 2 MED-101010121 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010121 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ace249d1-b815-484f-bb2d-234ddbc45c26' LIMIT 1 Date : 2025-10-02T10:45:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T10:45:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010364 post PendingInvicesDO 2 MED-101010122 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010122 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b523be27-b678-4667-9153-d7ed434b527c' LIMIT 1 Date : 2025-10-02T10:49:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T10:49:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010365 post PendingInvicesDO 2 MED-101010123 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010123 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7bd7730-8329-4c66-84f9-f42969c9dcc7' LIMIT 1 Date : 2025-10-02T11:08:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T11:08:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010366 post PendingInvicesDO 2 MED-101010124 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010124 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36c068d9-5686-4f09-9118-6461d8dfba0e' LIMIT 1 Date : 2025-10-02T11:52:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T11:52:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010367 post PendingInvicesDO 2 MED-101010125 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010125 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b497eba6-a953-4a59-9817-7b6be75f514c' LIMIT 1 Date : 2025-10-02T12:35:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T12:35:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010368 post PendingInvicesDO 2 MED-101010126 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010126 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4bcfa09-b70a-48d2-aa68-a8f03c16b4ad' LIMIT 1 Date : 2025-10-02T12:51:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T12:51:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010369 post PendingInvicesDO 2 MED-101010051 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-101010051' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010051' OR OrderId='MED-101010051' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-02T13:15:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010370 post PendingInvicesDO 2 MED-101010128 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010128 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29a943c4-7921-48c0-b567-f81dca3a0b94' LIMIT 1 Date : 2025-10-02T13:52:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T13:52:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010371 post PendingInvicesDO 2 MED-101010129 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010129 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b53f115f-95f5-4a01-bda7-6f0e1cb2c5ce' LIMIT 1 Date : 2025-10-02T14:49:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T14:49:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010372 post PendingInvicesDO 2 MED-101010130 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010130 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6035851f-69bd-4620-bde8-81a593da0655' LIMIT 1 Date : 2025-10-02T14:58:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T14:58:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010373 post PendingInvicesDO 2 MED-101010131 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010131 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b428e7d-c2ee-410f-8f34-9b38c41d7d8e' LIMIT 1 Date : 2025-10-02T15:02:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T15:02:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010374 post PendingInvicesDO 2 MED-101010132 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010132 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8513e5a-a152-4249-b179-a3975f324e6d' LIMIT 1 Date : 2025-10-02T15:16:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T15:16:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010375 post PendingInvicesDO 2 MED-101010133 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010133 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22ac51ec-dd6a-40b5-8371-11b04d1d0ceb' LIMIT 1 Date : 2025-10-02T15:18:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T15:18:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010376 post PendingInvicesDO 2 MED-101010134 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010134 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f571e03-311c-411c-a950-d466646088b6' LIMIT 1 Date : 2025-10-02T15:21:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T15:21:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010377 post PendingInvicesDO 2 MED-101010136 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010136 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e0e5508-3401-44d0-8408-6a40fab18c23' LIMIT 1 Date : 2025-10-02T15:30:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T15:30:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010378 post PendingInvicesDO 2 MED-101010137 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010137 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08fc1178-3dee-4235-b8e1-992a148669cc' LIMIT 1 Date : 2025-10-02T15:33:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T15:33:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010379 post PendingInvicesDO 2 MED-101010138 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010138 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2e12731-c748-4723-96c7-6ae3b22f9e68' LIMIT 1 Date : 2025-10-02T15:55:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T15:55:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010380 post PendingInvicesDO 2 MED-101010139 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010139 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fa8554b-bb0a-4f4f-a8b5-dafb683b458b' LIMIT 1 Date : 2025-10-04T08:32:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T08:32:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010381 post PendingInvicesDO 2 MED-101010140 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010140 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc103fe0-6529-4245-a1dd-427bd7a73b31' LIMIT 1 Date : 2025-10-04T09:18:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T09:18:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010382 post PendingInvicesDO 2 MED-101010141 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010141 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aad3ff96-4106-42fe-b191-0a061adfeca6' LIMIT 1 Date : 2025-10-04T09:47:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T09:47:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010383 post PendingInvicesDO 2 MED-101010142 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010142 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f8152f5-1997-4815-8ff0-f23ec27d076e' LIMIT 1 Date : 2025-10-04T10:10:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T10:10:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010384 post PendingInvicesDO 2 MED-101010143 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010143 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f73340f4-58ab-4830-97df-fb9b6e2910c9' LIMIT 1 Date : 2025-10-04T10:30:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T10:30:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010385 post PendingInvicesDO 2 MED-101010145 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010145 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7233b104-afea-4a83-92f5-9ed83ba16f95' LIMIT 1 Date : 2025-10-04T11:28:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T11:28:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010386 post PendingInvicesDO 2 MED-101010146 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010146 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1a88e5d-a472-49ee-a0a0-7c1ecbe607c2' LIMIT 1 Date : 2025-10-04T12:06:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T12:06:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010387 post PendingInvicesDO 2 MED-101010147 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010147 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1290260-fbd6-4957-b01f-006f875da2b5' LIMIT 1 Date : 2025-10-04T12:41:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T12:41:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010388 post PendingInvicesDO 2 MED-101010148 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010148 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb6bfb0a-d887-43a5-b16d-6e6775a7ee2a' LIMIT 1 Date : 2025-10-04T13:38:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T13:38:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010389 post PendingInvicesDO 2 MED-101010149 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010149 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2517144b-f97c-457c-8347-8fd37073dc65' LIMIT 1 Date : 2025-10-04T13:42:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T13:42:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010390 post PendingInvicesDO 2 MED-101010150 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010150 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e34ed14-ffd9-4e8b-ae8f-1a381aa3457f' LIMIT 1 Date : 2025-10-04T13:43:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T13:43:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010391 post PendingInvicesDO 2 MED-101010101 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010101 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-101010101' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010101' OR OrderId='MED-101010101' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-04T14:05:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010392 post PendingInvicesDO 2 MED-101010152 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010152 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8189fceb-3daf-4df2-b04b-bf7f10498fa3' LIMIT 1 Date : 2025-10-04T14:28:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T14:28:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010393 post PendingInvicesDO 2 MED-101010153 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010153 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12c055b6-e184-465f-89a1-d3a4a28841a6' LIMIT 1 Date : 2025-10-04T14:52:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T14:52:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010394 post PendingInvicesDO 2 MED-101010154 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010154 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec49a3d1-84aa-4d58-9e64-f1ee1d2ce224' LIMIT 1 Date : 2025-10-04T14:55:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T14:55:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010395 post PendingInvicesDO 2 MED-101010155 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010155 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c915d7bb-34d6-48cf-8478-3d278ef3816b' LIMIT 1 Date : 2025-10-04T15:17:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T15:17:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010396 post PendingInvicesDO 2 MED-101010156 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010156 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1beeb9c5-8c20-4510-9d91-323d1adfca23' LIMIT 1 Date : 2025-10-04T15:56:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T15:56:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010397 post PendingInvicesDO 2 MED-101010157 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010157 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be8bb36d-62a8-455e-98f8-05f53023a3ab' LIMIT 1 Date : 2025-10-04T15:58:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T15:58:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010398 post PendingInvicesDO 2 MED-101010158 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010158 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='518baebf-ac2f-4d5b-b2ce-02506444284a' LIMIT 1 Date : 2025-10-04T16:18:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T16:18:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010399 post PendingInvicesDO 2 MED-101010159 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010159 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81e548d9-ff70-4bcc-80b5-5c30fa23f925' LIMIT 1 Date : 2025-10-05T08:49:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T08:49:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010400 post PendingInvicesDO 2 MED-101010160 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-101010160' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010160' OR OrderId='MED-101010160' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-05T09:35:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010401 post PendingInvicesDO 2 MED-101010161 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010161 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1768a03-bc77-44dd-b588-37cdc50168ff' LIMIT 1 Date : 2025-10-05T10:22:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T10:22:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010402 post PendingInvicesDO 2 MED-101010162 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010162 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4212457-2212-4b7f-93ce-85483b519617' LIMIT 1 Date : 2025-10-05T10:23:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T10:23:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010403 post PendingInvicesDO 2 MED-101010163 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-101010163' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010163' OR OrderId='MED-101010163' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-05T10:27:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010404 post PendingInvicesDO 2 MED-101010164 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010164 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc772a55-acbb-4f38-a937-3ebe9a311cb1' LIMIT 1 Date : 2025-10-05T10:57:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T10:57:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010405 post PendingInvicesDO 2 MED-101010165 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010165 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='775d1f20-3fe3-4437-83ca-8c29b52c535e' LIMIT 1 Date : 2025-10-05T11:25:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T11:25:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010406 post PendingInvicesDO 2 MED-101010166 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010166 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e88168cf-6358-46b3-ba46-202b912abe58' LIMIT 1 Date : 2025-10-05T11:49:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T11:49:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010407 post PendingInvicesDO 2 MED-101010167 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010167 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a96e4f0-5e3e-404e-91ae-1354202bfd98' LIMIT 1 Date : 2025-10-05T11:57:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T11:57:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010408 post PendingInvicesDO 2 MED-101010168 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010168 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ea64db0-5cbe-4546-88fd-3549b43eb8ec' LIMIT 1 Date : 2025-10-05T13:05:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T13:05:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010409 post PendingInvicesDO 2 MED-101010169 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010169 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15995702-dbe9-499b-8bbe-ec678e6fd181' LIMIT 1 Date : 2025-10-05T13:06:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T13:06:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010410 post PendingInvicesDO 2 MED-101010144 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-101010144' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010144' OR OrderId='MED-101010144' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-05T13:08:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010411 post PendingInvicesDO 2 MED-101010170 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010170 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b4e3db1-f979-4eba-a562-2aad984b64e5' LIMIT 1 Date : 2025-10-05T13:11:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T13:11:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010412 post PendingInvicesDO 2 MED-101010171 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010171 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c8888ab-ecf7-4570-914f-c9712d8b4efc' LIMIT 1 Date : 2025-10-05T13:12:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T13:12:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010413 post PendingInvicesDO 2 MED-101010172 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010172 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f186b3a3-3a3f-4700-b251-98a66d96e1a1' LIMIT 1 Date : 2025-10-05T13:16:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T13:16:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010414 post PendingInvicesDO 2 MED-101010173 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010173 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='502eb3d3-d526-45af-be99-e9b47e58f829' LIMIT 1 Date : 2025-10-05T13:24:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T13:24:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010415 post PendingInvicesDO 2 MED-101010175 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010175 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9d22cf6-48c4-4373-8322-347b7a91bcf7' LIMIT 1 Date : 2025-10-05T14:42:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T14:42:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010416 post PendingInvicesDO 2 MED-101010176 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010176 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21693083-22c0-49a2-9914-9b38015aedb0' LIMIT 1 Date : 2025-10-05T14:56:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T14:56:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010417 post PendingInvicesDO 2 MED-101010177 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010177 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d56a7644-2ac9-4f13-afc6-b7b76e4ce00c' LIMIT 1 Date : 2025-10-05T15:13:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T15:13:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010418 post PendingInvicesDO 2 MED-101010178 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010178 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f77a970-453b-43df-a654-f671be3e81bf' LIMIT 1 Date : 2025-10-05T15:35:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T15:35:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010419 post PendingInvicesDO 2 MED-101010127 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010127 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-101010127' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010127' OR OrderId='MED-101010127' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-06T08:45:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010420 post PendingInvicesDO 2 MED-101010180 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010180 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ee28f4b-685a-42ae-95eb-8deeab1e7ca7' LIMIT 1 Date : 2025-10-06T09:37:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T09:37:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010421 post PendingInvicesDO 2 MED-101010181 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010181 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7712dd01-8dae-4dfa-ba2a-a7e9ade7672f' LIMIT 1 Date : 2025-10-06T09:55:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T09:55:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010422 post PendingInvicesDO 2 MED-101010182 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010182 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46d29762-630c-4a6d-ae0b-123c0d7a007f' LIMIT 1 Date : 2025-10-06T10:34:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T10:34:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010423 post PendingInvicesDO 2 MED-101010183 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010183 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6cc9da8-21d3-46c7-8281-2227f00c5746' LIMIT 1 Date : 2025-10-06T11:12:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T11:12:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010424 post PendingInvicesDO 2 MED-101010184 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010184 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7eab5866-fa9b-4e51-8de2-d5ea3e71b347' LIMIT 1 Date : 2025-10-06T12:21:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T12:21:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010425 post PendingInvicesDO 2 MED-101010002 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010002 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-101010002' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010002' OR OrderId='MED-101010002' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-06T13:11:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010426 post PendingInvicesDO 2 MED-101009979 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-101009979' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101009979' OR OrderId='MED-101009979' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-06T13:12:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010427 post PendingInvicesDO 2 MED-101010188 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010188 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d82cf71-91aa-4b64-b134-a9392bb55828' LIMIT 1 Date : 2025-10-06T13:32:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T13:32:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010428 post PendingInvicesDO 2 MED-101010189 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010189 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fa2185f-7067-42ab-b49e-f149aa582c39' LIMIT 1 Date : 2025-10-06T13:34:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T13:34:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010429 post PendingInvicesDO 2 MED-101010190 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010190 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d389d17f-82e3-4d03-95f1-8b451641fe68' LIMIT 1 Date : 2025-10-06T13:37:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T13:37:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010430 post PendingInvicesDO 2 MED-101010006 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010006 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-101010006' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010006' OR OrderId='MED-101010006' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-06T13:45:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010431 post PendingInvicesDO 2 MED-101010094 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010094 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-101010094' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010094' OR OrderId='MED-101010094' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-06T15:15:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010432 post PendingInvicesDO 2 MED-101010077 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-101010077' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010077' OR OrderId='MED-101010077' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-06T15:16:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010433 post PendingInvicesDO 2 MED-101010194 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010194 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a794b089-26cf-4b03-905e-23d0a774883c' LIMIT 1 Date : 2025-10-06T16:02:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T16:02:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010434 post PendingInvicesDO 2 MED-101010195 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010195 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2302616-ba19-47e6-8239-7d943b4a0635' LIMIT 1 Date : 2025-10-06T16:05:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T16:05:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010435 post PendingInvicesDO 2 MED-101010196 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010196 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6de5f556-0463-4c8b-8a45-b871a1087f5e' LIMIT 1 Date : 2025-10-06T16:14:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T16:14:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010436 post PendingInvicesDO 2 MED-101010197 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010197 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b6ca1e3-b4ab-4e6b-af4e-618885526c1c' LIMIT 1 Date : 2025-10-06T16:16:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T16:16:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010437 post PendingInvicesDO 2 MED-101010192 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-101010192' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010192' OR OrderId='MED-101010192' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-06T17:17:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010438 post PendingInvicesDO 2 MED-101010186 post PendingInvicesDO 2 MED-101010185 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-101010186' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010186' OR OrderId='MED-101010186' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-07T08:16:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010439 post PendingInvicesDO 2 MED-101010192 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-101010192' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010192' OR OrderId='MED-101010192' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-07T08:16:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010440 post PendingInvicesDO 2 MED-101010198 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010198 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a857da1-a542-44c5-b5c0-1bce3f0aa3dc' LIMIT 1 Date : 2025-10-07T08:17:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T08:17:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010441 post PendingInvicesDO 2 MED-101010199 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010199 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf22b82a-6b13-4dda-b80f-2ecec221cc8d' LIMIT 1 Date : 2025-10-07T08:27:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T08:27:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010442 post PendingInvicesDO 2 MED-101010200 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010200 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4f027ff-c0cb-4f4f-b2d7-9fb00d55e640' LIMIT 1 Date : 2025-10-07T09:11:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T09:11:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010443 post PendingInvicesDO 2 MED-101010201 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010201 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a021de2a-e878-4135-8c4d-58835917cd5d' LIMIT 1 Date : 2025-10-07T09:45:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T09:45:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010444 post PendingInvicesDO 2 MED-101010202 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010202 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8dc8de7-11db-4612-a51a-1800adc0f8f6' LIMIT 1 Date : 2025-10-07T10:28:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T10:28:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010445 post PendingInvicesDO 2 MED-101010203 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010203 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e920013-6cfd-4486-934c-5387b6ba7106' LIMIT 1 Date : 2025-10-07T11:10:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T11:10:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010446 post PendingInvicesDO 2 MED-101010204 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010204 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ed6a8d4-f7bb-44e2-84e4-4bc2327c4842' LIMIT 1 Date : 2025-10-07T11:45:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T11:45:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010447 post PendingInvicesDO 2 MED-101010205 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010205 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a5aabee-9abf-410e-9364-393f9d82fd06' LIMIT 1 Date : 2025-10-07T12:14:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T12:14:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010448 post PendingInvicesDO 2 MED-101010151 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010151 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-101010151' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010151' OR OrderId='MED-101010151' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-07T13:47:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010449 post PendingInvicesDO 2 MED-101010207 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010207 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14e4782f-6cb7-4064-a07b-63879d1f86d8' LIMIT 1 Date : 2025-10-07T14:18:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T14:18:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010450 post PendingInvicesDO 2 MED-101010210 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010210 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='874c10f1-0338-4c9d-a6d1-7018461171ba' LIMIT 1 Date : 2025-10-07T15:51:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T15:51:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010451 post PendingInvicesDO 2 MED-101010211 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010211 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8af56611-b736-410d-a2cf-b97619550fb7' LIMIT 1 Date : 2025-10-07T15:52:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T15:52:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010452 post PendingInvicesDO 2 MED-101010212 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010212 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dffefec7-bf3b-4617-b2c3-a71a38bd254c' LIMIT 1 Date : 2025-10-07T15:53:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T15:53:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010453 post PendingInvicesDO 2 MED-101010213 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010213 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c2231a7-629d-4ffc-a67c-b301ea9413ea' LIMIT 1 Date : 2025-10-07T15:54:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T15:54:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010454 post PendingInvicesDO 2 MED-101010214 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010214 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55195eca-1785-425e-972d-68e63ec4e3c7' LIMIT 1 Date : 2025-10-07T15:55:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T15:55:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010455 post PendingInvicesDO 2 MED-101010215 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010215 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43e2e625-7e21-493a-bd51-8d3eaa43abd1' LIMIT 1 Date : 2025-10-07T15:56:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T15:56:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010456 post PendingInvicesDO 2 MED-101010216 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010216 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f44f58d-2102-4c8e-acff-d6cbb0397ed0' LIMIT 1 Date : 2025-10-07T15:59:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T15:59:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010457 post PendingInvicesDO 2 MED-101010217 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010217 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eabc2aa2-a3cd-467f-bf81-f53200d0ecf2' LIMIT 1 Date : 2025-10-08T08:45:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T08:45:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010458 post PendingInvicesDO 2 MED-101010218 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010218 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5b0cc0a-7b6e-4fce-bce3-cb1ec1dcdf81' LIMIT 1 Date : 2025-10-08T09:23:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T09:23:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010459 post PendingInvicesDO 2 MED-101010219 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010219 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0c7cd2c-dfd7-49ba-a7c2-f2e1f572e46f' LIMIT 1 Date : 2025-10-08T09:46:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T09:46:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010460 post PendingInvicesDO 2 MED-101010220 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010220 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa75f4fc-43f3-4069-ad87-a4b768b6cef8' LIMIT 1 Date : 2025-10-08T10:23:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T10:23:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010461 post PendingInvicesDO 2 MED-101010221 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010221 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5a87745-5cdf-4da0-9527-a6df5123bd11' LIMIT 1 Date : 2025-10-08T10:45:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T10:45:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010462 post PendingInvicesDO 2 MED-101010223 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010223 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ac5e9a3-dcc6-4122-9c10-646f772d7356' LIMIT 1 Date : 2025-10-08T11:49:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T11:49:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010463 post PendingInvicesDO 2 MED-101010224 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010224 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a512f2b-ec40-4411-89f6-81831e89cf2a' LIMIT 1 Date : 2025-10-08T11:54:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T11:54:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010464 post PendingInvicesDO 2 MED-101010225 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010225 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9949bd0-1936-4eac-acc9-f4a05687580a' LIMIT 1 Date : 2025-10-08T11:56:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T11:56:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010465 post PendingInvicesDO 2 MED-101010226 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010226 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31a6f4be-4fc1-4d9e-bab4-9e1eeeaf7038' LIMIT 1 Date : 2025-10-08T11:59:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T11:59:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010466 post PendingInvicesDO 2 MED-101010229 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010229 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='deb0503e-83d1-4834-9d1d-78ced3063001' LIMIT 1 Date : 2025-10-08T12:52:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T12:52:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010467 post PendingInvicesDO 2 MED-101010230 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010230 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9795b5c8-d6ae-4637-a3d6-c671ef39419d' LIMIT 1 Date : 2025-10-08T13:07:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T13:07:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010468 post PendingInvicesDO 2 MED-101010231 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010231 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cdbece0e-1ae8-47f7-be15-5a2c47740b3f' LIMIT 1 Date : 2025-10-08T13:18:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T13:18:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010469 post PendingInvicesDO 2 MED-101010232 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010232 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ecff15dc-5ed4-4be0-b043-ca46ed0ba194' LIMIT 1 Date : 2025-10-08T13:40:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T13:40:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010470 post PendingInvicesDO 2 MED-101010233 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010233 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc65d1b3-1298-4a94-b21b-d2cca9eaac9b' LIMIT 1 Date : 2025-10-08T13:44:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T13:44:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010471 post PendingInvicesDO 2 MED-101010234 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010234 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b7abddb-b39f-4388-a3d2-aee215920271' LIMIT 1 Date : 2025-10-08T14:15:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T14:15:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010472 post PendingInvicesDO 2 MED-101010235 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010235 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4611e8b9-d604-433b-baa8-5db68463fddc' LIMIT 1 Date : 2025-10-08T14:32:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T14:32:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010473 post PendingInvicesDO 2 MED-101010236 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010236 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='170b4f07-5c5c-4d85-924d-f9dd4590bc7b' LIMIT 1 Date : 2025-10-08T14:42:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T14:42:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010474 post PendingInvicesDO 2 MED-101010237 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010237 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50dfc741-e5c5-4790-a315-9bc45a00cc24' LIMIT 1 Date : 2025-10-08T14:49:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T14:49:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010476 post PendingInvicesDO 2 MED-101010239 post PendingInvicesDO 2 MED-101010238 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010475 post PendingInvicesDO 2 MED-101010239 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010238 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010239 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4e87d0a-c4bc-4024-a17e-e78ce92ac805' LIMIT 1 Date : 2025-10-08T15:35:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd6fc84c-9181-4070-8c45-d56c8cf6c5fe' LIMIT 1 Date : 2025-10-08T15:35:35  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4e87d0a-c4bc-4024-a17e-e78ce92ac805' LIMIT 1 Date : 2025-10-08T15:35:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd6fc84c-9181-4070-8c45-d56c8cf6c5fe' LIMIT 1 Date : 2025-10-08T15:35:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-08T15:35:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010477 post PendingInvicesDO 2 MED-101010240 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010240 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50a5755e-e24d-4ef6-b3e6-4ade1f68f231' LIMIT 1 Date : 2025-10-08T15:51:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T15:51:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010478 post PendingInvicesDO 2 MED-101010241 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010241 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c96d1b4b-4c25-4891-b010-50b11a6ddf74' LIMIT 1 Date : 2025-10-08T15:53:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T15:53:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010479 post PendingInvicesDO 2 MED-101010242 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010242 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11de4907-6613-4984-9e52-d3f2417a03cd' LIMIT 1 Date : 2025-10-08T15:54:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T15:54:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010480 post PendingInvicesDO 2 MED-101010243 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010243 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4dadc6e2-fd96-4634-ae99-375165db1173' LIMIT 1 Date : 2025-10-08T15:55:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T15:55:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010481 post PendingInvicesDO 2 MED-101010244 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010244 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a32f8eaa-ef1b-497a-bebb-0078091644ba' LIMIT 1 Date : 2025-10-08T15:56:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T15:56:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010482 post PendingInvicesDO 2 MED-101010245 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010245 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4fd1c07-1952-4e44-bd94-a272c9186c2b' LIMIT 1 Date : 2025-10-08T15:57:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T15:57:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010483 post PendingInvicesDO 2 MED-101010246 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010246 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e98da6f-a4d2-4650-9bcc-127ff60c90af' LIMIT 1 Date : 2025-10-08T15:58:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T15:58:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010484 post PendingInvicesDO 2 MED-101010247 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010247 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c70a48b-e444-4a1d-aa37-0fdfd49e2eee' LIMIT 1 Date : 2025-10-09T09:28:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T09:28:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010485 post PendingInvicesDO 2 MED-101010248 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010248 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a6a79c2-e2f0-43fe-89a8-95ab30762b98' LIMIT 1 Date : 2025-10-09T10:05:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T10:05:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010486 post PendingInvicesDO 2 MED-101010249 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010249 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a561f60-3950-4476-a5fa-ad9b1e0db67a' LIMIT 1 Date : 2025-10-09T10:38:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T10:38:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010487 post PendingInvicesDO 2 MED-101010251 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010251 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d512fe05-8de9-4bc0-8ce7-110e471745c7' LIMIT 1 Date : 2025-10-09T11:59:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T11:59:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010488 post PendingInvicesDO 2 MED-101010186 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-101010186' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010186' OR OrderId='MED-101010186' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-09T13:55:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010489 post PendingInvicesDO 2 MED-101010253 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010253 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f1b1318-1a29-472c-86a9-4d4b1b790f5d' LIMIT 1 Date : 2025-10-09T13:56:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T13:56:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010490 post PendingInvicesDO 2 MED-101010254 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010254 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34e43144-c97d-46cd-ac98-e6003665729f' LIMIT 1 Date : 2025-10-09T14:02:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T14:02:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010491 post PendingInvicesDO 2 MED-101010255 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010255 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c692976-6287-4e3c-9353-d794b94de125' LIMIT 1 Date : 2025-10-09T14:07:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T14:07:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010492 post PendingInvicesDO 2 MED-101010256 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010256 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07297e5e-67f1-4b3e-ba6b-a54186682414' LIMIT 1 Date : 2025-10-09T14:08:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T14:08:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010493 post PendingInvicesDO 2 MED-101010257 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010257 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5809f804-7850-4570-805f-74996be025de' LIMIT 1 Date : 2025-10-09T14:10:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T14:10:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010494 post PendingInvicesDO 2 MED-101010258 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010258 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b9ded44-0750-48d8-9292-42dc03937e37' LIMIT 1 Date : 2025-10-09T14:11:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T14:11:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010495 post PendingInvicesDO 2 MED-101010259 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010259 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35f61eb7-e4bf-4133-9c06-6d295a3d964f' LIMIT 1 Date : 2025-10-09T14:13:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T14:13:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010496 post PendingInvicesDO 2 MED-101010260 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010260 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac9f49f1-3c2f-417c-bd6f-79fbdebed917' LIMIT 1 Date : 2025-10-09T14:23:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T14:24:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010497 post PendingInvicesDO 2 MED-101010261 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010261 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7d6e16d-8283-495a-bddf-6868352ab8e5' LIMIT 1 Date : 2025-10-09T15:08:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T15:08:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010498 post PendingInvicesDO 2 MED-101010262 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010262 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7943ea4c-663b-4378-b889-2f723d6c9017' LIMIT 1 Date : 2025-10-09T15:17:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T15:17:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010499 post PendingInvicesDO 2 MED-101010263 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010263 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e3d1767-f912-423d-84d4-ebe1a8dd2b64' LIMIT 1 Date : 2025-10-09T15:18:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T15:18:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010501 post PendingInvicesDO 2 MED-101010265 post PendingInvicesDO 2 MED-101010264 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010500 post PendingInvicesDO 2 MED-101010265 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010264 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010265 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-101010265' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010265' OR OrderId='MED-101010265' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101010265' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010265' OR OrderId='MED-101010265' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-09T15:51:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010502 post PendingInvicesDO 2 MED-101010266 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010266 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8adad8b2-2740-4672-83a8-f486611b15c8' LIMIT 1 Date : 2025-10-09T16:00:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T16:00:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010503 post PendingInvicesDO 2 MED-101010267 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010267 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bced7e8e-6b53-4278-bf18-00c9dc4e98ef' LIMIT 1 Date : 2025-10-09T16:15:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T16:15:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010504 post PendingInvicesDO 2 MED-101010193 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-101010193' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010193' OR OrderId='MED-101010193' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-11T07:50:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010505 post PendingInvicesDO 2 MED-101010268 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010268 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f584d75-a7ad-4a14-bc76-83a5287676e1' LIMIT 1 Date : 2025-10-11T08:44:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-11T08:44:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010506 post PendingInvicesDO 2 MED-101010206 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010206 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-101010206' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010206' OR OrderId='MED-101010206' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-11T09:43:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010507 post PendingInvicesDO 2 MED-101010179 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010179 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-101010179' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010179' OR OrderId='MED-101010179' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-11T09:53:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010508 post PendingInvicesDO 2 MED-101010271 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010271 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c653ee4-7fa1-4790-8b76-634cf9da976f' LIMIT 1 Date : 2025-10-11T10:25:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-11T10:25:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010509 post PendingInvicesDO 2 MED-101010272 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010272 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d22b1d1-a74f-44f9-99be-18a36e5d360c' LIMIT 1 Date : 2025-10-11T11:06:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-11T11:06:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010510 post PendingInvicesDO 2 MED-101010273 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010273 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9aec865e-41ae-43d7-bbcf-ea195ea38b25' LIMIT 1 Date : 2025-10-11T11:46:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-11T11:46:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010511 post PendingInvicesDO 2 MED-101010274 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010274 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af55b158-1406-4039-ad3b-78114336fef1' LIMIT 1 Date : 2025-10-11T12:12:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-11T12:12:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010512 post PendingInvicesDO 2 MED-101010275 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010275 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9640310-3a56-4ddf-af19-3b3ad597a95a' LIMIT 1 Date : 2025-10-11T13:06:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-11T13:06:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010513 post PendingInvicesDO 2 MED-101010276 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010276 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e4398ff-a66c-4b8f-a692-0831b9b4fa84' LIMIT 1 Date : 2025-10-11T13:27:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-11T13:27:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010514 post PendingInvicesDO 2 MED-101010278 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010278 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd544fc7-7baf-4eb6-979f-b76d2f92dc7f' LIMIT 1 Date : 2025-10-11T14:47:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-11T14:47:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010515 post PendingInvicesDO 2 MED-101010279 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010279 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fcea8c6a-8b94-4fbc-a99f-62d95d75f176' LIMIT 1 Date : 2025-10-11T14:50:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-11T14:50:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010516 post PendingInvicesDO 2 MED-101010280 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010280 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c092914e-3055-4574-9f14-111448621557' LIMIT 1 Date : 2025-10-11T14:59:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-11T14:59:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010517 post PendingInvicesDO 2 MED-101010281 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010281 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2eda9f20-4aaa-41c2-9206-2da2dd9543a5' LIMIT 1 Date : 2025-10-11T15:01:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-11T15:01:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010518 post PendingInvicesDO 2 MED-101010282 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010282 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b798fdc5-2873-4ac8-bfe9-cb54df0f2ec1' LIMIT 1 Date : 2025-10-11T15:04:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-11T15:04:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010519 post PendingInvicesDO 2 MED-101010286 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010286 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8cccad65-79b7-4ca3-b036-c2bf2305932e' LIMIT 1 Date : 2025-10-11T16:11:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-11T16:11:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010520 post PendingInvicesDO 2 MED-101010174 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-101010174' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010174' OR OrderId='MED-101010174' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-11T16:21:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010521 post PendingInvicesDO 2 MED-101010287 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010287 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9e69fc1-07f9-49ab-baf6-15ef4591ef8f' LIMIT 1 Date : 2025-10-12T08:35:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T08:35:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010522 post PendingInvicesDO 2 MED-101010288 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010288 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d09db105-d4f7-4acc-824e-3d8276b7288e' LIMIT 1 Date : 2025-10-12T09:22:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T09:22:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010523 post PendingInvicesDO 2 MED-101010277 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010277 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-101010277' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010277' OR OrderId='MED-101010277' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-12T10:16:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010524 post PendingInvicesDO 2 MED-101010290 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010290 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5545e2d8-94f4-4685-86a1-518ae6e06be8' LIMIT 1 Date : 2025-10-12T10:39:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T10:39:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010525 post PendingInvicesDO 2 MED-101010291 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010291 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f80841e1-613a-4536-acf7-64639f353fc2' LIMIT 1 Date : 2025-10-12T11:06:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T11:06:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010526 post PendingInvicesDO 2 MED-101010174 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-101010174' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010174' OR OrderId='MED-101010174' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-12T12:27:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010527 post PendingInvicesDO 2 MED-101010193 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-101010193' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010193' OR OrderId='MED-101010193' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-12T12:27:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010529 post PendingInvicesDO 2 MED-101010293 post PendingInvicesDO 2 MED-101010292 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010528 post PendingInvicesDO 2 MED-101010293 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010292 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010293 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc312800-2949-4152-8841-e19057417b04' LIMIT 1 Date : 2025-10-12T13:16:02  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d0c01f9-1999-4494-a3df-3319e5b12c61' LIMIT 1 Date : 2025-10-12T13:16:02  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc312800-2949-4152-8841-e19057417b04' LIMIT 1 Date : 2025-10-12T13:16:02  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d0c01f9-1999-4494-a3df-3319e5b12c61' LIMIT 1 Date : 2025-10-12T13:16:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-12T13:16:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010530 post PendingInvicesDO 2 MED-101010294 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010294 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9beaff0-081d-4e6b-90a5-a98a5351c9d6' LIMIT 1 Date : 2025-10-12T13:37:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T13:37:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010531 post PendingInvicesDO 2 MED-101010295 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010295 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b911f7ea-bfd6-459e-93c4-cd4c4dde6066' LIMIT 1 Date : 2025-10-12T13:38:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T13:38:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010532 post PendingInvicesDO 2 MED-101010285 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-101010285' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010285' OR OrderId='MED-101010285' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-12T13:48:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010533 post PendingInvicesDO 2 MED-101010297 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010297 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='419d10f6-4f08-43ae-bf61-f5ca708d3fba' LIMIT 1 Date : 2025-10-12T14:11:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T14:11:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010534 post PendingInvicesDO 2 MED-101010298 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010298 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8227f1cd-d56b-4785-8882-4ee5ba258ce0' LIMIT 1 Date : 2025-10-12T14:12:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T14:12:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010535 post PendingInvicesDO 2 MED-101010299 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010299 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbe0f70b-6f98-4fb1-8d89-9852ca2ed5cd' LIMIT 1 Date : 2025-10-12T14:13:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T14:13:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010536 post PendingInvicesDO 2 MED-101010300 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010300 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='816ff696-f789-458a-9636-b3970f58cf27' LIMIT 1 Date : 2025-10-12T14:14:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T14:14:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010537 post PendingInvicesDO 2 MED-101010301 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010301 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84547cd1-8250-456a-8bef-6e48777ff84f' LIMIT 1 Date : 2025-10-12T14:19:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T14:19:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010538 post PendingInvicesDO 2 MED-101010302 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010302 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4716c47a-7477-4511-9373-f963715887e3' LIMIT 1 Date : 2025-10-12T14:20:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T14:20:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010539 post PendingInvicesDO 2 MED-101010303 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010303 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7eee1806-0df0-4001-827a-7722aed807a0' LIMIT 1 Date : 2025-10-12T14:25:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T14:25:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010540 post PendingInvicesDO 2 MED-101010304 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010304 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4bd04299-a508-40db-b173-3eb21d87b019' LIMIT 1 Date : 2025-10-12T14:37:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T14:37:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010541 post PendingInvicesDO 2 MED-101010305 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010305 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0f9ddc1-a21b-4e97-ae96-8fd65f725c03' LIMIT 1 Date : 2025-10-12T14:39:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T14:39:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010542 post PendingInvicesDO 2 MED-101010306 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010306 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4cf85eb5-58e4-4f8c-8edb-e432765dcfdf' LIMIT 1 Date : 2025-10-12T14:47:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T14:47:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010543 post PendingInvicesDO 2 MED-101010307 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010307 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81d3524a-752f-4fc4-aad5-d76e51482065' LIMIT 1 Date : 2025-10-12T15:00:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T15:00:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010544 post PendingInvicesDO 2 MED-101010308 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010308 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='76a4e604-8a0d-4ab0-984f-f50462b476b6' LIMIT 1 Date : 2025-10-12T15:12:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T15:12:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010545 post PendingInvicesDO 2 MED-101010309 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010309 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5207939f-60ef-4fdf-88ee-62a7fead4530' LIMIT 1 Date : 2025-10-12T15:55:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T15:55:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010546 post PendingInvicesDO 2 MED-101010310 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010310 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f8fbe90-9c1e-4279-89d4-e5597d61a952' LIMIT 1 Date : 2025-10-12T16:04:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T16:04:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010547 post PendingInvicesDO 2 MED-101010311 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010311 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0109b26-bec5-49f2-a192-97d1113bedb8' LIMIT 1 Date : 2025-10-13T08:51:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T08:51:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010548 post PendingInvicesDO 2 MED-101010250 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010250 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-101010250' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010250' OR OrderId='MED-101010250' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-13T09:23:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010549 post PendingInvicesDO 2 MED-101010312 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010312 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b098cc2-bdec-48e2-ab43-87ff2ad79330' LIMIT 1 Date : 2025-10-13T09:38:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T09:38:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010550 post PendingInvicesDO 2 MED-101010313 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010313 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a17a2869-b428-4400-aca9-dcc722aa8594' LIMIT 1 Date : 2025-10-13T09:53:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T09:53:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010551 post PendingInvicesDO 2 MED-101010222 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010222 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-101010222' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010222' OR OrderId='MED-101010222' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-13T10:42:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010552 post PendingInvicesDO 2 MED-101010315 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010315 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84b84434-3e56-46eb-87a2-746c5cc74d2f' LIMIT 1 Date : 2025-10-13T10:46:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T10:46:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010554 post PendingInvicesDO 2 MED-101010317 post PendingInvicesDO 2 MED-101010316 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010553 post PendingInvicesDO 2 MED-101010317 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010316 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010317 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd9e0360-d9a3-4b71-8c72-d16754d8a82f' LIMIT 1 Date : 2025-10-13T11:03:11  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66b2c280-26f1-40ef-a2c2-20fad581c2ad' LIMIT 1 Date : 2025-10-13T11:03:11  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd9e0360-d9a3-4b71-8c72-d16754d8a82f' LIMIT 1 Date : 2025-10-13T11:03:11  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66b2c280-26f1-40ef-a2c2-20fad581c2ad' LIMIT 1 Date : 2025-10-13T11:03:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-13T11:03:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010555 post PendingInvicesDO 2 MED-101010318 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010318 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0f367a4-e496-4000-9b05-1b805423515e' LIMIT 1 Date : 2025-10-13T11:22:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T11:22:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010556 post PendingInvicesDO 2 MED-101010270 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010270 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-101010270' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010270' OR OrderId='MED-101010270' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-13T11:48:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010557 post PendingInvicesDO 2 MED-101010144 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-101010144' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010144' OR OrderId='MED-101010144' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-13T12:00:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010558 post PendingInvicesDO 2 MED-101010228 post PendingInvicesDO 2 MED-101010227 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-101010228' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010228' OR OrderId='MED-101010228' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-13T12:36:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010559 post PendingInvicesDO 2 MED-101010323 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010323 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d13f573-ab16-4de0-94f4-ea7ff755d517' LIMIT 1 Date : 2025-10-13T13:08:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T13:08:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010560 post PendingInvicesDO 2 MED-101010324 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010324 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a684efb-8098-42a1-bd8b-c85e9218b596' LIMIT 1 Date : 2025-10-13T13:58:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T13:58:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010561 post PendingInvicesDO 2 MED-101010325 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010325 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59a424e5-88f6-47f8-ac89-ae9dfc0fe5a5' LIMIT 1 Date : 2025-10-13T14:49:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T14:49:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010562 post PendingInvicesDO 2 MED-101010135 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010135 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-101010135' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010135' OR OrderId='MED-101010135' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-13T15:13:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010563 post PendingInvicesDO 2 MED-101010327 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010327 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca98d2fc-a224-4bd3-96b2-3f65c04115f7' LIMIT 1 Date : 2025-10-13T15:47:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T15:47:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010564 post PendingInvicesDO 2 MED-101010328 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010328 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b818b52b-b3f0-4e82-b7bd-00dc218f9fc1' LIMIT 1 Date : 2025-10-13T16:02:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T16:02:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010565 post PendingInvicesDO 2 MED-101010329 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010329 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6892088d-a326-4198-9891-6e6bc3f5e067' LIMIT 1 Date : 2025-10-13T16:07:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T16:07:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010566 post PendingInvicesDO 2 MED-101010330 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010330 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7ce48ec-0433-44ca-8bf3-5f17668fd0ce' LIMIT 1 Date : 2025-10-14T08:39:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T08:39:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010567 post PendingInvicesDO 2 MED-101010331 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010331 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='119999da-63d4-46be-9f37-6f2065d78dac' LIMIT 1 Date : 2025-10-14T09:23:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T09:23:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010568 post PendingInvicesDO 2 MED-101010332 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010332 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dab0af09-564d-45b3-b131-5a7a07013220' LIMIT 1 Date : 2025-10-14T09:46:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T09:46:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010569 post PendingInvicesDO 2 MED-101010319 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010319 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-101010319' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010319' OR OrderId='MED-101010319' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-14T10:11:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010570 post PendingInvicesDO 2 MED-101010334 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010334 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a07a6967-b0fa-43cd-af7c-105dfb2435c1' LIMIT 1 Date : 2025-10-14T10:27:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T10:27:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010571 post PendingInvicesDO 2 MED-101010335 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010335 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78ccb9cf-b98e-4468-a5be-0d0316c3eca9' LIMIT 1 Date : 2025-10-14T11:00:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T11:00:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010572 post PendingInvicesDO 2 MED-101010336 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010336 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8eaefef6-738e-406f-90cd-f1a12c8c1ceb' LIMIT 1 Date : 2025-10-14T11:49:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T11:49:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010573 post PendingInvicesDO 2 MED-101010337 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010337 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f13ca96-6730-48dd-bfa5-a02b8c1cbfe9' LIMIT 1 Date : 2025-10-14T12:03:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T12:03:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010574 post PendingInvicesDO 2 MED-101010338 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010338 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2801fbb-3f43-454d-a425-d46f73fcfab7' LIMIT 1 Date : 2025-10-14T12:22:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T12:22:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010575 post PendingInvicesDO 2 MED-101010339 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010339 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e8cb123-885e-47ce-8072-ce069a57df67' LIMIT 1 Date : 2025-10-14T12:49:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T12:49:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010576 post PendingInvicesDO 2 MED-101010340 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010340 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0b6feb5-f928-4cc1-b24c-a4c132572541' LIMIT 1 Date : 2025-10-14T13:09:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T13:09:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010577 post PendingInvicesDO 2 MED-101010341 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010341 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ea2b9f5-bbb2-4d50-a47a-043a4bad0496' LIMIT 1 Date : 2025-10-14T13:23:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T13:23:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010579 post PendingInvicesDO 2 MED-101010284 post PendingInvicesDO 2 MED-101010283 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010578 post PendingInvicesDO 2 MED-101010284 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010283 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010284 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-101010284' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010284' OR OrderId='MED-101010284' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101010284' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010284' OR OrderId='MED-101010284' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-14T14:31:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010580 post PendingInvicesDO 2 MED-101010342 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010342 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fda59244-e149-42c7-809c-fefd84fafd9f' LIMIT 1 Date : 2025-10-14T14:33:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T14:33:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010581 post PendingInvicesDO 2 MED-101010344 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-101010344' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010344' OR OrderId='MED-101010344' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-14T15:52:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010582 post PendingInvicesDO 2 MED-101010285 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-101010285' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010285' OR OrderId='MED-101010285' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-14T15:53:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010583 post PendingInvicesDO 2 MED-101010345 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010345 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00b6cd9e-5e82-4bd7-b457-985aa0adf1f7' LIMIT 1 Date : 2025-10-14T15:55:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T15:55:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010584 post PendingInvicesDO 2 MED-101010346 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010346 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60212acb-fbb8-4973-9e77-5b02f6b058ea' LIMIT 1 Date : 2025-10-14T15:56:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T15:56:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010585 post PendingInvicesDO 2 MED-101010187 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010187 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-101010187' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010187' OR OrderId='MED-101010187' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-15T09:20:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010586 post PendingInvicesDO 2 MED-101010347 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-101010347' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010347' OR OrderId='MED-101010347' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-15T10:05:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010587 post PendingInvicesDO 2 MED-101010349 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010349 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a566635-cded-4fb3-8b80-7770a39653e1' LIMIT 1 Date : 2025-10-15T10:13:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T10:13:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010588 post PendingInvicesDO 2 MED-101010350 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010350 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='612e3040-952b-4b33-8460-f6479b78b5c3' LIMIT 1 Date : 2025-10-15T10:35:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T10:35:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010589 post PendingInvicesDO 2 MED-101010351 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010351 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32407be3-6ea8-486f-905e-7468f55dbe04' LIMIT 1 Date : 2025-10-15T11:03:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T11:03:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010590 post PendingInvicesDO 2 MED-101010354 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010354 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4991e4a1-a466-4342-a822-3e79d7ecb873' LIMIT 1 Date : 2025-10-15T13:22:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T13:22:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010591 post PendingInvicesDO 2 MED-101010355 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010355 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c340f9a-7363-4739-9fcc-e426701690ad' LIMIT 1 Date : 2025-10-15T13:44:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T13:44:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010592 post PendingInvicesDO 2 MED-101010356 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010356 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='025c580f-eec7-4725-a054-53eb52f8fe82' LIMIT 1 Date : 2025-10-15T14:11:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T14:11:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010593 post PendingInvicesDO 2 MED-101010357 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010357 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e5da305-e6da-40a1-bf2a-4fc5ab44357e' LIMIT 1 Date : 2025-10-15T14:12:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T14:12:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010594 post PendingInvicesDO 2 MED-101010358 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010358 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fa78450-9d5b-4798-aa9c-528761ca0863' LIMIT 1 Date : 2025-10-15T14:17:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T14:17:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010595 post PendingInvicesDO 2 MED-101010252 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-101010252' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010252' OR OrderId='MED-101010252' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-15T14:19:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010596 post PendingInvicesDO 2 MED-101010359 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010359 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9b40617-415c-4a0f-8378-2498037573b4' LIMIT 1 Date : 2025-10-15T14:21:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T14:21:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010597 post PendingInvicesDO 2 MED-101010360 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010360 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4616701-6cbc-4a25-a256-93c9623509d8' LIMIT 1 Date : 2025-10-15T14:35:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T14:35:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010598 post PendingInvicesDO 2 MED-101010361 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010361 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7e38c5c-f1e2-4a7b-93a9-33f25fdc78b3' LIMIT 1 Date : 2025-10-15T14:47:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T14:47:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010599 post PendingInvicesDO 2 MED-101010362 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010362 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='862d50ed-faad-4f35-b1e3-ea8b7c22cb88' LIMIT 1 Date : 2025-10-15T15:00:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T15:00:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010600 post PendingInvicesDO 2 MED-101010363 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010363 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='566bd248-51c6-4ef3-91fd-282066879c2c' LIMIT 1 Date : 2025-10-15T15:01:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T15:01:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010601 post PendingInvicesDO 2 MED-101010364 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010364 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac0a29b6-a0db-47c4-8d26-92d039eaacc4' LIMIT 1 Date : 2025-10-15T15:03:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T15:03:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010602 post PendingInvicesDO 2 MED-101010365 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010365 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78980e56-98fb-42c0-a22b-034e1084c747' LIMIT 1 Date : 2025-10-15T15:08:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T15:08:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010603 post PendingInvicesDO 2 MED-101010322 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-101010322' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010322' OR OrderId='MED-101010322' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-15T15:27:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010604 post PendingInvicesDO 2 MED-101010366 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010366 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0721501d-0f80-43e1-a9f0-2304ea6d48e2' LIMIT 1 Date : 2025-10-15T15:35:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T15:35:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010605 post PendingInvicesDO 2 MED-101010163 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-101010163' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010163' OR OrderId='MED-101010163' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-16T07:59:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010606 post PendingInvicesDO 2 MED-101010367 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010367 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c4ad2f0-014f-4b01-8751-c95675988b6f' LIMIT 1 Date : 2025-10-16T08:42:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T08:42:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010607 post PendingInvicesDO 2 MED-101010368 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010368 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='409ce229-8894-4456-bb16-8456885e0c03' LIMIT 1 Date : 2025-10-16T08:44:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T08:44:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010608 post PendingInvicesDO 2 MED-101010269 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010269 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-101010269' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010269' OR OrderId='MED-101010269' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-16T09:53:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010609 post PendingInvicesDO 2 MED-101010373 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010373 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ebb315f7-f009-4941-97ab-8acf868c10cf' LIMIT 1 Date : 2025-10-16T10:14:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T10:14:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010610 post PendingInvicesDO 2 MED-101010374 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010374 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='976e2aa0-8e7d-44bc-b913-1736a7bd5b41' LIMIT 1 Date : 2025-10-16T10:38:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T10:38:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010611 post PendingInvicesDO 2 MED-101010285 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-101010285' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010285' OR OrderId='MED-101010285' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-16T11:08:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010612 post PendingInvicesDO 2 MED-101010160 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-101010160' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010160' OR OrderId='MED-101010160' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-16T11:19:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010613 post PendingInvicesDO 2 MED-101010343 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-101010343' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010343' OR OrderId='MED-101010343' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-16T11:20:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010614 post PendingInvicesDO 2 MED-101010378 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010378 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32675696-d1b8-4239-b34c-94c54e5165a0' LIMIT 1 Date : 2025-10-16T12:17:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T12:17:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010615 post PendingInvicesDO 2 MED-101010379 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010379 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bc9af9b-44bd-438a-a7fa-ed22a849aa75' LIMIT 1 Date : 2025-10-16T13:20:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T13:20:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010616 post PendingInvicesDO 2 MED-101010380 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010380 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78f3c085-5153-42bb-a7b1-064a095f9b1a' LIMIT 1 Date : 2025-10-16T13:25:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T13:25:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010617 post PendingInvicesDO 2 MED-101010381 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010381 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef9c8e89-279e-491c-a262-eb0863ad479f' LIMIT 1 Date : 2025-10-16T13:30:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T13:30:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010618 post PendingInvicesDO 2 MED-101010228 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-101010228' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010228' OR OrderId='MED-101010228' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-16T13:32:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010619 post PendingInvicesDO 2 MED-101010314 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010314 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-101010314' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010314' OR OrderId='MED-101010314' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-16T13:33:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010620 post PendingInvicesDO 2 MED-101010382 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010382 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72737220-6680-4486-bf55-905bcc1cc2d5' LIMIT 1 Date : 2025-10-16T13:37:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T13:37:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010621 post PendingInvicesDO 2 MED-101010383 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010383 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='211b838c-7c30-4262-b31f-d74da6ff1d57' LIMIT 1 Date : 2025-10-16T14:27:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T14:27:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010622 post PendingInvicesDO 2 MED-101010384 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010384 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f89c9bc4-269f-42fa-a013-0d1bdef2270b' LIMIT 1 Date : 2025-10-16T14:44:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T14:44:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010623 post PendingInvicesDO 2 MED-101010343 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-101010343' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010343' OR OrderId='MED-101010343' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-16T15:45:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010624 post PendingInvicesDO 2 MED-101010348 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-101010348' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010348' OR OrderId='MED-101010348' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-16T15:46:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010625 post PendingInvicesDO 2 MED-101010386 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010386 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6896ce0-b79f-4ac8-984c-503baffa92bd' LIMIT 1 Date : 2025-10-16T16:10:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T16:10:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010626 post PendingInvicesDO 2 MED-101010387 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010387 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69f59533-f7d2-4660-a019-a1c8feb08827' LIMIT 1 Date : 2025-10-16T16:24:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T16:24:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010627 post PendingInvicesDO 2 MED-101010348 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-101010348' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010348' OR OrderId='MED-101010348' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-18T07:35:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010628 post PendingInvicesDO 2 MED-101010377 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010377 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-101010377' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010377' OR OrderId='MED-101010377' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-18T07:36:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010629 post PendingInvicesDO 2 MED-101010389 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010389 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a17cf18d-0169-410b-9ce0-e06cb6b302da' LIMIT 1 Date : 2025-10-18T09:12:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T09:12:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010630 post PendingInvicesDO 2 MED-101010390 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010390 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c9294b6-d5df-481c-8768-095b5283dc50' LIMIT 1 Date : 2025-10-18T09:39:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T09:39:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010631 post PendingInvicesDO 2 MED-101010296 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-101010296' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010296' OR OrderId='MED-101010296' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-18T10:28:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010632 post PendingInvicesDO 2 MED-101010391 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010391 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36a3b8a9-1f31-40ff-9466-f99a3002596e' LIMIT 1 Date : 2025-10-18T10:34:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T10:34:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010633 post PendingInvicesDO 2 MED-101010392 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010392 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28a05acc-a044-45ea-bfc0-a3cbaa891761' LIMIT 1 Date : 2025-10-18T11:21:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T11:21:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010634 post PendingInvicesDO 2 MED-101010393 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010393 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fc28692-6441-464a-8152-664ea31cf63f' LIMIT 1 Date : 2025-10-18T11:45:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T11:45:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010635 post PendingInvicesDO 2 MED-101010394 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010394 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='288ed6a4-e25c-49d7-bfe7-d401bd7bb2bd' LIMIT 1 Date : 2025-10-18T11:53:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T11:53:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010636 post PendingInvicesDO 2 MED-101010395 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010395 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fa8dfa8-f3b0-4c45-b6cd-468828f80a02' LIMIT 1 Date : 2025-10-18T12:04:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T12:04:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010637 post PendingInvicesDO 2 MED-101010396 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010396 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2f5d6e1-2efc-42c6-96d2-f350ac6871ec' LIMIT 1 Date : 2025-10-18T12:25:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T12:25:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010638 post PendingInvicesDO 2 MED-101010397 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010397 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3899c1a-293c-445f-8464-381d288440f7' LIMIT 1 Date : 2025-10-18T13:19:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T13:19:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010639 post PendingInvicesDO 2 MED-101010388 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010388 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-101010388' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010388' OR OrderId='MED-101010388' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-18T13:45:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010640 post PendingInvicesDO 2 MED-101010385 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-101010385' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010385' OR OrderId='MED-101010385' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-18T13:46:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010641 post PendingInvicesDO 2 MED-101010398 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010398 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15906b0b-11f3-4d96-b860-4edaa1c10860' LIMIT 1 Date : 2025-10-18T14:04:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T14:04:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010642 post PendingInvicesDO 2 MED-101010399 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010399 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='075bffb4-22b4-4707-b5d5-b2db1aecc533' LIMIT 1 Date : 2025-10-18T14:28:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T14:28:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010643 post PendingInvicesDO 2 MED-101010400 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010400 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a58f120-c6fa-4923-85c8-3a93c865aec2' LIMIT 1 Date : 2025-10-18T14:50:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T14:50:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010644 post PendingInvicesDO 2 MED-101010401 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010401 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66896344-684a-45ed-a121-88e68f5cd0e6' LIMIT 1 Date : 2025-10-18T15:22:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T15:22:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010645 post PendingInvicesDO 2 MED-101010402 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010402 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='579bcb80-4a03-423a-94f0-59ffbefaa454' LIMIT 1 Date : 2025-10-18T15:38:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T15:38:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010646 post PendingInvicesDO 2 MED-101010403 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010403 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7cfa2665-3a47-4a02-9a2a-f125924cc52d' LIMIT 1 Date : 2025-10-18T15:39:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T15:39:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010647 post PendingInvicesDO 2 MED-101010333 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010333 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-101010333' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010333' OR OrderId='MED-101010333' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-18T15:43:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010648 post PendingInvicesDO 2 MED-101010405 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010405 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98d8c10a-59c8-4845-b1d6-bd6b2fade66a' LIMIT 1 Date : 2025-10-19T08:32:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T08:32:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010649 post PendingInvicesDO 2 MED-101010406 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010406 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f8b8ce6-8fc3-4431-b9d6-ecf5af768752' LIMIT 1 Date : 2025-10-19T09:09:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T09:09:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010650 post PendingInvicesDO 2 MED-101010407 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010407 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d87dcf8-e450-4176-ba9b-3efb4cf9a484' LIMIT 1 Date : 2025-10-19T09:11:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T09:11:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010651 post PendingInvicesDO 2 MED-101010408 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010408 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a98b7293-3acb-41ed-bf8b-faa3b2d3e96b' LIMIT 1 Date : 2025-10-19T09:13:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T09:13:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010652 post PendingInvicesDO 2 MED-101010409 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010409 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4720a3c6-63ce-4c57-9263-9897d40af5ac' LIMIT 1 Date : 2025-10-19T09:20:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T09:20:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010653 post PendingInvicesDO 2 MED-101010410 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010410 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f2d962d-4f41-4381-932d-db9fbec18ac8' LIMIT 1 Date : 2025-10-19T09:26:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T09:26:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010654 post PendingInvicesDO 2 MED-101010411 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010411 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='236a2119-2393-422d-9e90-f253781e8f63' LIMIT 1 Date : 2025-10-19T09:48:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T09:48:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010655 post PendingInvicesDO 2 MED-101010321 post PendingInvicesDO 2 MED-101010320 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-101010321' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010321' OR OrderId='MED-101010321' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-19T10:33:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010656 post PendingInvicesDO 2 MED-101010371 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010371 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-101010371' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010371' OR OrderId='MED-101010371' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-19T10:57:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010657 post PendingInvicesDO 2 MED-101010370 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010370 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-101010370' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010370' OR OrderId='MED-101010370' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-19T11:51:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010658 post PendingInvicesDO 2 MED-101010416 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010416 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2718896-64bb-4e3c-8672-e5f1a5f99f00' LIMIT 1 Date : 2025-10-19T12:15:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T12:15:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010659 post PendingInvicesDO 2 MED-101010417 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010417 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27eafb66-62a3-4bc4-a738-23e73f47bccd' LIMIT 1 Date : 2025-10-19T12:53:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T12:53:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010660 post PendingInvicesDO 2 MED-101010347 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-101010347' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010347' OR OrderId='MED-101010347' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-19T13:58:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010661 post PendingInvicesDO 2 MED-101010419 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010419 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fc696c1-5530-4fb5-99d2-7a01f7975728' LIMIT 1 Date : 2025-10-19T14:05:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T14:05:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010663 post PendingInvicesDO 2 MED-101010421 post PendingInvicesDO 2 MED-101010420 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010662 post PendingInvicesDO 2 MED-101010421 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010420 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010421 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b7cfdcc-f7db-4915-b74a-21bfb58c2d87' LIMIT 1 Date : 2025-10-19T14:16:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e10ffc4-071b-4ec9-b43d-011e75c311ba' LIMIT 1 Date : 2025-10-19T14:16:49  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b7cfdcc-f7db-4915-b74a-21bfb58c2d87' LIMIT 1 Date : 2025-10-19T14:16:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e10ffc4-071b-4ec9-b43d-011e75c311ba' LIMIT 1 Date : 2025-10-19T14:16:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-19T14:16:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010664 post PendingInvicesDO 2 MED-101010422 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010422 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c629d9b0-d48a-4945-8032-79145e6dd789' LIMIT 1 Date : 2025-10-19T14:45:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T14:45:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010665 post PendingInvicesDO 2 MED-101010423 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010423 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='218b65a8-7de2-4912-8774-dbb2e407c5ed' LIMIT 1 Date : 2025-10-19T14:49:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T14:49:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010666 post PendingInvicesDO 2 MED-101010424 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010424 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3cb64c48-617f-44cc-ba00-2e141b602eef' LIMIT 1 Date : 2025-10-19T14:51:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T14:51:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010667 post PendingInvicesDO 2 MED-101010425 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010425 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7696a0a8-cfea-4406-a660-d1bedf2372e5' LIMIT 1 Date : 2025-10-19T14:56:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T14:56:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010668 post PendingInvicesDO 2 MED-101010426 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010426 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82c0c682-ef95-49f8-959d-24ea94b293b5' LIMIT 1 Date : 2025-10-19T15:07:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T15:07:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010669 post PendingInvicesDO 2 MED-101010372 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010372 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-101010372' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010372' OR OrderId='MED-101010372' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-19T15:25:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010670 post PendingInvicesDO 2 MED-101010289 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010289 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-101010289' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010289' OR OrderId='MED-101010289' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-19T15:37:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010671 post PendingInvicesDO 2 MED-101010296 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-101010296' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010296' OR OrderId='MED-101010296' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-20T08:29:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010672 post PendingInvicesDO 2 MED-101010430 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010430 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b87cd040-1dbf-442c-a70b-bd7d64fc0499' LIMIT 1 Date : 2025-10-20T08:31:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T08:31:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010673 post PendingInvicesDO 2 MED-101010385 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-101010385' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010385' OR OrderId='MED-101010385' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-20T08:32:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010674 post PendingInvicesDO 2 MED-101010431 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010431 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='318f5568-9e55-4238-9c21-d1397493d994' LIMIT 1 Date : 2025-10-20T08:46:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T08:46:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010675 post PendingInvicesDO 2 MED-101010252 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-101010252' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010252' OR OrderId='MED-101010252' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-20T09:21:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010676 post PendingInvicesDO 2 MED-101010228 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-101010228' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010228' OR OrderId='MED-101010228' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-20T10:11:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010677 post PendingInvicesDO 2 MED-101010433 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010433 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='455166e7-f4fa-4b8e-a0a3-98ac59e449a1' LIMIT 1 Date : 2025-10-20T10:21:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T10:21:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010678 post PendingInvicesDO 2 MED-101010434 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010434 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6886ae9b-f8c8-4c87-8900-3be14eb504ea' LIMIT 1 Date : 2025-10-20T10:48:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T10:48:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010679 post PendingInvicesDO 2 MED-101010435 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010435 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='538aa68e-57aa-43ed-a0ae-0349a7b3561c' LIMIT 1 Date : 2025-10-20T11:37:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T11:37:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010680 post PendingInvicesDO 2 MED-101010436 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010436 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='689169e2-eb1a-4e79-aaba-37390db579ee' LIMIT 1 Date : 2025-10-20T11:53:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T11:53:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010681 post PendingInvicesDO 2 MED-101010437 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010437 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='098dcae9-eb59-4b43-8e1b-78d1af167700' LIMIT 1 Date : 2025-10-20T11:53:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T11:53:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010682 post PendingInvicesDO 2 MED-101010438 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010438 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa1e6c95-7300-44e7-8890-0f4bf7503fac' LIMIT 1 Date : 2025-10-20T12:02:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T12:02:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010683 post PendingInvicesDO 2 MED-101010439 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010439 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e45b0707-d142-4326-a5ae-c006e07a403b' LIMIT 1 Date : 2025-10-20T12:51:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T12:51:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010684 post PendingInvicesDO 2 MED-101010440 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010440 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e273b4c1-0730-42e5-977c-4882240932ea' LIMIT 1 Date : 2025-10-20T12:59:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T12:59:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010685 post PendingInvicesDO 2 MED-101010441 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010441 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='483af8af-0bdb-4b58-ac16-8769099fdd57' LIMIT 1 Date : 2025-10-20T13:44:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T13:44:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010686 post PendingInvicesDO 2 MED-101010442 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010442 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='766c8488-41a8-4183-b3c5-2bb2514092ea' LIMIT 1 Date : 2025-10-20T14:35:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T14:35:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010687 post PendingInvicesDO 2 MED-101010443 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010443 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f1af2aa-b10f-4fa8-b59e-065600da4b39' LIMIT 1 Date : 2025-10-20T15:07:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T15:07:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010688 post PendingInvicesDO 2 MED-101010444 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010444 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03f79fc3-1307-4d68-ae0e-e8f0078da54c' LIMIT 1 Date : 2025-10-20T15:09:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T15:09:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010689 post PendingInvicesDO 2 MED-101010113 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010113 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-101010113' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010113' OR OrderId='MED-101010113' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-20T15:27:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010690 post PendingInvicesDO 2 MED-101010446 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010446 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd6a1d2d-4602-4b80-a3de-96c54bdb23af' LIMIT 1 Date : 2025-10-21T08:36:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T08:36:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010691 post PendingInvicesDO 2 MED-101010209 post PendingInvicesDO 2 MED-101010208 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-101010209' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010209' OR OrderId='MED-101010209' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-21T08:56:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010692 post PendingInvicesDO 2 MED-101010447 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010447 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c236614-ad51-4712-8308-f830c4452818' LIMIT 1 Date : 2025-10-21T09:12:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T09:12:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010693 post PendingInvicesDO 2 MED-101010448 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010448 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cea0c4f1-c9cd-4a62-bf14-b68cc42e3178' LIMIT 1 Date : 2025-10-21T09:54:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T09:54:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010694 post PendingInvicesDO 2 MED-101010449 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010449 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f859b836-1b81-42b9-b664-ed590cc88a72' LIMIT 1 Date : 2025-10-21T09:59:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T09:59:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010695 post PendingInvicesDO 2 MED-101010452 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010452 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b51b9cd-b4c1-4a9a-a377-501f698cd7e0' LIMIT 1 Date : 2025-10-21T11:05:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T11:05:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010696 post PendingInvicesDO 2 MED-101010453 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010453 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8c6b1b9-0224-4cbb-8793-5474570d5b4c' LIMIT 1 Date : 2025-10-21T11:54:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T11:54:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010697 post PendingInvicesDO 2 MED-101010454 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010454 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='535e5d08-5cdd-4a98-97bc-a6a04dc4e09b' LIMIT 1 Date : 2025-10-21T11:55:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T11:55:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010698 post PendingInvicesDO 2 MED-101010455 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010455 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0193d840-bb22-4fb0-b679-abd5c4dd9cf7' LIMIT 1 Date : 2025-10-21T13:07:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T13:07:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010699 post PendingInvicesDO 2 MED-101010456 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010456 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6bdc2c87-78dd-479e-9f0f-9bf7734ce575' LIMIT 1 Date : 2025-10-21T13:08:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T13:08:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010700 post PendingInvicesDO 2 MED-101010457 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010457 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5532b77c-00f1-4333-a95f-a24a00e849b9' LIMIT 1 Date : 2025-10-21T13:17:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T13:17:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010701 post PendingInvicesDO 2 MED-101010458 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010458 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='40bb4ac7-2071-4238-b02f-449d50b7576a' LIMIT 1 Date : 2025-10-21T13:48:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T13:48:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010702 post PendingInvicesDO 2 MED-101010459 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010459 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8541361-8a70-4f82-9ebf-44f647a8f592' LIMIT 1 Date : 2025-10-21T14:02:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T14:02:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010703 post PendingInvicesDO 2 MED-101010428 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010428 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-101010428' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010428' OR OrderId='MED-101010428' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-21T14:05:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010704 post PendingInvicesDO 2 MED-101010461 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010461 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d892092e-c50c-4a1c-b518-b6f123ec7728' LIMIT 1 Date : 2025-10-21T14:42:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T14:42:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010705 post PendingInvicesDO 2 MED-101010462 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010462 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be5fd1d6-7257-4eea-a82a-ebd4604af99f' LIMIT 1 Date : 2025-10-21T15:03:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T15:03:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010706 post PendingInvicesDO 2 MED-101010463 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010463 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='704bc58e-d36e-40c9-afb0-cd7726b3f6fb' LIMIT 1 Date : 2025-10-21T15:24:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T15:24:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010707 post PendingInvicesDO 2 MED-101010464 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010464 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fa6e561-d4ef-4b96-90aa-332ea730f595' LIMIT 1 Date : 2025-10-21T15:43:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T15:43:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010708 post PendingInvicesDO 2 MED-101010465 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010465 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ab4d19e-1522-4c31-8b90-344c2066e378' LIMIT 1 Date : 2025-10-21T16:07:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T16:07:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010709 post PendingInvicesDO 2 MED-101010466 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010466 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbf4a2c9-58a4-48f1-9e54-008f1bac369f' LIMIT 1 Date : 2025-10-22T08:29:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T08:29:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010710 post PendingInvicesDO 2 MED-101010467 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010467 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ab227f2-0534-4cb9-8f2d-a0bb2402d0c7' LIMIT 1 Date : 2025-10-22T08:41:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T08:41:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010711 post PendingInvicesDO 2 MED-101010468 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010468 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83de4e2d-06fe-44eb-8b8c-e89bad7ad57a' LIMIT 1 Date : 2025-10-22T09:21:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T09:21:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010712 post PendingInvicesDO 2 MED-101010470 post PendingInvicesDO 2 MED-101010469 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-101010470' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010470' OR OrderId='MED-101010470' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-22T10:22:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010713 post PendingInvicesDO 2 MED-101010471 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010471 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='347dffa7-8c2d-48eb-9225-eb9e7c07db7e' LIMIT 1 Date : 2025-10-22T10:32:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T10:32:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010714 post PendingInvicesDO 2 MED-101010472 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010472 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f84159e4-3460-4786-bd95-299bb71e1374' LIMIT 1 Date : 2025-10-22T11:05:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T11:05:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010715 post PendingInvicesDO 2 MED-101010473 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010473 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6dc00d6b-5b53-4cec-aaae-42d0f3dcd4fb' LIMIT 1 Date : 2025-10-22T11:45:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T11:45:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010716 post PendingInvicesDO 2 MED-101010474 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010474 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22e85f0e-e472-42b2-8a5b-6334f5be2db2' LIMIT 1 Date : 2025-10-22T12:03:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T12:03:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010717 post PendingInvicesDO 2 MED-101010475 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010475 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='508936cf-0d7d-460b-9d8a-70b664d8d346' LIMIT 1 Date : 2025-10-22T12:09:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T12:09:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010718 post PendingInvicesDO 2 MED-101010476 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010476 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31247b7c-e7ef-4f06-9cff-66dd2c5fd877' LIMIT 1 Date : 2025-10-22T12:35:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T12:35:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010719 post PendingInvicesDO 2 MED-101010477 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010477 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25772bcd-af14-4f19-b193-aba8dfe4c116' LIMIT 1 Date : 2025-10-22T12:43:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T12:43:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010720 post PendingInvicesDO 2 MED-101010478 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010478 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28bec711-c405-4bbd-be7f-5e48060f3b1a' LIMIT 1 Date : 2025-10-22T12:49:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T12:49:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010721 post PendingInvicesDO 2 MED-101010479 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010479 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3fba83b4-c09e-432f-b274-8ca156d5ad6a' LIMIT 1 Date : 2025-10-22T13:14:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T13:14:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010722 post PendingInvicesDO 2 MED-101010480 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010480 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de89aef2-7e3c-4dfe-bf6f-8f1a0c5c74e3' LIMIT 1 Date : 2025-10-22T14:13:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T14:13:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010723 post PendingInvicesDO 2 MED-101010481 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010481 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46fdb2ca-1be8-4992-a506-c1788dbf15b1' LIMIT 1 Date : 2025-10-22T14:36:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T14:36:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010724 post PendingInvicesDO 2 MED-101010482 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010482 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='051a7268-ede9-441c-bdd0-b0a33a12249e' LIMIT 1 Date : 2025-10-22T15:10:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T15:10:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010725 post PendingInvicesDO 2 MED-101010483 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010483 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ba4bdaf-220b-493f-bd5c-9ad28056260c' LIMIT 1 Date : 2025-10-22T15:20:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T15:20:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010726 post PendingInvicesDO 2 MED-101010484 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010484 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b48d1df6-fd68-4115-a2c3-100b6d59618b' LIMIT 1 Date : 2025-10-22T15:25:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T15:25:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010727 post PendingInvicesDO 2 MED-101010486 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010486 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3c3e333-f0ed-4b4a-b6c7-096348df2704' LIMIT 1 Date : 2025-10-22T16:01:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T16:01:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010728 post PendingInvicesDO 2 MED-101010487 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010487 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7ae61ad-802f-46b0-aa72-6c526925ff7a' LIMIT 1 Date : 2025-10-22T16:02:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T16:02:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010729 post PendingInvicesDO 2 MED-101010488 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010488 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9c7d029-7642-460a-b55a-8071e0d6f75d' LIMIT 1 Date : 2025-10-22T16:03:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T16:03:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010730 post PendingInvicesDO 2 MED-101010450 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-101010450' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010450' OR OrderId='MED-101010450' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-22T16:13:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010731 post PendingInvicesDO 2 MED-101010489 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010489 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90356d6b-103b-45e3-8522-6168569439d3' LIMIT 1 Date : 2025-10-23T08:34:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T08:34:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010732 post PendingInvicesDO 2 MED-101010490 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010490 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69074414-af48-4088-8124-c892eb8607fb' LIMIT 1 Date : 2025-10-23T08:49:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T08:49:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010733 post PendingInvicesDO 2 MED-101010492 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010492 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a20746bb-ab5b-4201-a72b-68176c87c597' LIMIT 1 Date : 2025-10-23T10:15:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T10:15:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010734 post PendingInvicesDO 2 MED-101010296 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-101010296' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010296' OR OrderId='MED-101010296' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-23T10:45:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010735 post PendingInvicesDO 2 MED-101010494 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010494 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f53ce75-abda-4311-b3ac-34b390affe90' LIMIT 1 Date : 2025-10-23T11:08:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T11:08:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010736 post PendingInvicesDO 2 MED-101010495 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010495 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='641becb9-33a7-4d70-a083-032f98d3b000' LIMIT 1 Date : 2025-10-23T11:27:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T11:27:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010737 post PendingInvicesDO 2 MED-101010496 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010496 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1acbba16-cf6b-4950-8532-29a4cd156ff2' LIMIT 1 Date : 2025-10-23T11:32:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T11:32:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010738 post PendingInvicesDO 2 MED-101010404 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010404 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-101010404' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010404' OR OrderId='MED-101010404' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-23T11:47:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010739 post PendingInvicesDO 2 MED-101010498 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010498 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbb8eca6-d701-49b0-9c76-253d4ab46619' LIMIT 1 Date : 2025-10-23T12:01:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T12:01:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010740 post PendingInvicesDO 2 MED-101010499 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010499 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98a7ba56-974e-443c-8e25-1e56e93a3e4e' LIMIT 1 Date : 2025-10-23T12:35:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T12:35:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010741 post PendingInvicesDO 2 MED-101010500 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010500 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1155dfd-2957-441a-a32d-72c83735dc34' LIMIT 1 Date : 2025-10-23T13:12:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T13:12:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010742 post PendingInvicesDO 2 MED-101010501 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010501 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3672225f-cc28-4432-9a7a-fc885bd1b96a' LIMIT 1 Date : 2025-10-23T13:33:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T13:33:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010743 post PendingInvicesDO 2 MED-101010502 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010502 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34642056-a69e-4efa-95dd-3a13d5dcd265' LIMIT 1 Date : 2025-10-23T13:58:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T13:58:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010744 post PendingInvicesDO 2 MED-101010503 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010503 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45f33a33-fc43-4806-92e3-8fde97831aa6' LIMIT 1 Date : 2025-10-23T14:22:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T14:22:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010745 post PendingInvicesDO 2 MED-101010504 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010504 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fb4c5b8-d8a5-498d-968c-a947ae66a64a' LIMIT 1 Date : 2025-10-23T14:30:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T14:30:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010746 post PendingInvicesDO 2 MED-101010485 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010485 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-101010485' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010485' OR OrderId='MED-101010485' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-23T14:49:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010747 post PendingInvicesDO 2 MED-101010505 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010505 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68c8bf23-2d1e-440b-8770-8239ed8d0232' LIMIT 1 Date : 2025-10-23T14:53:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T14:53:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010748 post PendingInvicesDO 2 MED-101010506 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010506 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1babe61d-ed22-4938-a93a-a9049dbe453d' LIMIT 1 Date : 2025-10-23T15:08:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T15:08:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010749 post PendingInvicesDO 2 MED-101010507 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010507 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d81b37c-593a-4bb7-9839-96d722b7062b' LIMIT 1 Date : 2025-10-23T15:41:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T15:41:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010750 post PendingInvicesDO 2 MED-101010508 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010508 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1159555-b564-4e88-8932-9fb928db9135' LIMIT 1 Date : 2025-10-23T16:14:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T16:14:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010751 post PendingInvicesDO 2 MED-101010509 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010509 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0ece81a-2972-4208-bd0d-c6f34159ba7b' LIMIT 1 Date : 2025-10-25T08:20:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T08:20:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010752 post PendingInvicesDO 2 MED-101010510 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010510 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='edfe99e2-88bd-4b12-b3df-313fedbfcc3b' LIMIT 1 Date : 2025-10-25T08:52:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T08:52:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010753 post PendingInvicesDO 2 MED-101010511 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010511 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f0315da-e4d3-4762-9841-a09ae14b256d' LIMIT 1 Date : 2025-10-25T09:50:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T09:50:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010754 post PendingInvicesDO 2 MED-101010191 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010191 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-101010191' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010191' OR OrderId='MED-101010191' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-25T10:04:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010755 post PendingInvicesDO 2 MED-101010460 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010460 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-101010460' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010460' OR OrderId='MED-101010460' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-25T11:52:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010756 post PendingInvicesDO 2 MED-101010427 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010427 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-101010427' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010427' OR OrderId='MED-101010427' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-25T11:53:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010757 post PendingInvicesDO 2 MED-101010491 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010491 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-101010491' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010491' OR OrderId='MED-101010491' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-25T11:53:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010758 post PendingInvicesDO 2 MED-101010514 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010514 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d11877e-ce6e-4ed0-9f3f-c4e3bc896ebf' LIMIT 1 Date : 2025-10-25T12:01:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T12:01:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010759 post PendingInvicesDO 2 MED-101010515 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010515 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba8900a5-d76e-40bd-bda3-26b9284d52a1' LIMIT 1 Date : 2025-10-25T12:37:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T12:37:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010760 post PendingInvicesDO 2 MED-101010516 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010516 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ea542eb-74a8-4b59-8d77-3012b8bf2363' LIMIT 1 Date : 2025-10-25T13:13:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T13:13:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010761 post PendingInvicesDO 2 MED-101010517 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010517 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f9b9ddb-d53c-4346-9703-c0330e464775' LIMIT 1 Date : 2025-10-25T13:42:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T13:42:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010762 post PendingInvicesDO 2 MED-101010518 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010518 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36371d5a-ca65-4a2d-8763-0356b839c668' LIMIT 1 Date : 2025-10-25T13:56:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T13:56:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010763 post PendingInvicesDO 2 MED-101010519 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010519 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5862b801-1733-4ac1-a644-06b9e402e5d1' LIMIT 1 Date : 2025-10-25T14:23:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T14:23:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010764 post PendingInvicesDO 2 MED-101010520 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010520 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da27f04c-70a2-4aab-921c-e6de3d59aded' LIMIT 1 Date : 2025-10-25T14:30:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T14:30:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010765 post PendingInvicesDO 2 MED-101010521 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010521 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd839b6d-a32f-4b3d-b073-563d95b1fc6f' LIMIT 1 Date : 2025-10-25T14:41:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T14:41:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010766 post PendingInvicesDO 2 MED-101010522 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010522 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fcbf7b17-aab5-407f-b671-7aa2ee0fb37c' LIMIT 1 Date : 2025-10-25T14:55:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T14:55:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010767 post PendingInvicesDO 2 MED-101010523 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010523 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9e0ef9f-f64a-4536-883d-d67476f78893' LIMIT 1 Date : 2025-10-25T15:04:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T15:04:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010768 post PendingInvicesDO 2 MED-101010524 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010524 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a14c8227-749a-4787-abf3-adfd5f79af28' LIMIT 1 Date : 2025-10-25T15:13:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T15:13:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010769 post PendingInvicesDO 2 MED-101010526 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010526 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d842d70c-2bee-4790-b724-737cb785e56c' LIMIT 1 Date : 2025-10-25T15:44:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T15:44:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010770 post PendingInvicesDO 2 MED-101010527 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010527 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a0da372-71f0-468a-8c2f-58567a9f0ef6' LIMIT 1 Date : 2025-10-25T15:54:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T15:54:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010771 post PendingInvicesDO 2 MED-101010528 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010528 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='004c131d-9371-4d88-aa63-715bcaf4bf69' LIMIT 1 Date : 2025-10-26T08:33:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T08:33:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010772 post PendingInvicesDO 2 MED-101010529 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010529 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70edf375-dcb1-4a59-94a0-2a6d5b33d513' LIMIT 1 Date : 2025-10-26T08:52:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T08:52:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010773 post PendingInvicesDO 2 MED-101010369 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010369 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-101010369' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010369' OR OrderId='MED-101010369' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-26T10:03:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010774 post PendingInvicesDO 2 MED-101010531 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010531 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22014f18-b37f-4125-8be9-005762faf1e0' LIMIT 1 Date : 2025-10-26T10:44:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T10:44:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010775 post PendingInvicesDO 2 MED-101010532 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010532 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71117a66-4056-411b-9166-45d4c5ea27a4' LIMIT 1 Date : 2025-10-26T11:18:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T11:18:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010776 post PendingInvicesDO 2 MED-101010415 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010415 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-101010415' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010415' OR OrderId='MED-101010415' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-26T11:41:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010777 post PendingInvicesDO 2 MED-101010418 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010418 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-101010418' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010418' OR OrderId='MED-101010418' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-26T12:07:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010778 post PendingInvicesDO 2 MED-101010450 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-101010450' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010450' OR OrderId='MED-101010450' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-26T12:07:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010779 post PendingInvicesDO 2 MED-101010534 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010534 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06d9f4fc-e4e8-464a-ab20-b64b7488f376' LIMIT 1 Date : 2025-10-26T12:20:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T12:20:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010780 post PendingInvicesDO 2 MED-101010412 post PendingInvicesDO 2 MED-101010429 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010412 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010429 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-101010412' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010412' OR OrderId='MED-101010412' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101010429' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010429' OR OrderId='MED-101010429' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-26T12:39:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010782 post PendingInvicesDO 2 MED-101010414 post PendingInvicesDO 2 MED-101010413 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010781 post PendingInvicesDO 2 MED-101010414 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010413 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010414 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-101010414' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010414' OR OrderId='MED-101010414' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101010414' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010414' OR OrderId='MED-101010414' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-26T12:43:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010783 post PendingInvicesDO 2 MED-101010470 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-101010470' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010470' OR OrderId='MED-101010470' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-26T12:43:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010784 post PendingInvicesDO 2 MED-101010536 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010536 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df249978-e4fa-42f2-af78-0a42a017a7d6' LIMIT 1 Date : 2025-10-26T12:54:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T12:54:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010785 post PendingInvicesDO 2 MED-101010537 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010537 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0072d2a-4450-499b-b93e-fc64d0fc954c' LIMIT 1 Date : 2025-10-26T13:50:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T13:50:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010786 post PendingInvicesDO 2 MED-101010538 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-101010538' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010538' OR OrderId='MED-101010538' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-26T14:28:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010787 post PendingInvicesDO 2 MED-101010539 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010539 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbda6f96-b927-4a93-acb0-ca774e1033d3' LIMIT 1 Date : 2025-10-26T14:31:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T14:31:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010788 post PendingInvicesDO 2 MED-101010540 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010540 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37cd3a56-9fdd-4b12-ab85-55131592648d' LIMIT 1 Date : 2025-10-26T14:38:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T14:38:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010789 post PendingInvicesDO 2 MED-101010541 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010541 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c16072a4-d693-47ce-bcbf-4f0b13feb994' LIMIT 1 Date : 2025-10-26T15:03:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T15:03:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010790 post PendingInvicesDO 2 MED-101010542 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010542 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0347bcf6-2c6b-4453-9d4d-0316e092361e' LIMIT 1 Date : 2025-10-26T15:13:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T15:13:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010791 post PendingInvicesDO 2 MED-101010543 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010543 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a0fbc2d4-6d75-4148-b28c-d0f1ed6ca2b8' LIMIT 1 Date : 2025-10-26T15:37:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T15:37:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010792 post PendingInvicesDO 2 MED-101010497 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010497 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-101010497' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010497' OR OrderId='MED-101010497' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-26T16:11:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010793 post PendingInvicesDO 2 MED-101010546 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010546 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94e61108-0758-4dd3-a00e-cd37f47606ee' LIMIT 1 Date : 2025-10-27T08:23:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T08:23:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010794 post PendingInvicesDO 2 MED-101010547 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010547 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37fba5a0-8b95-444d-ba71-6676abbcdcd9' LIMIT 1 Date : 2025-10-27T08:51:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T08:51:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010795 post PendingInvicesDO 2 MED-101010548 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010548 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d8e31c5-32b6-46f5-9995-aa4281a39948' LIMIT 1 Date : 2025-10-27T09:56:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T09:56:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010796 post PendingInvicesDO 2 MED-101010550 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010550 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b3a4394-d6b4-4b79-a348-d247068871d4' LIMIT 1 Date : 2025-10-27T10:25:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T10:25:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010797 post PendingInvicesDO 2 MED-101010551 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010551 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91031ae6-f4b9-4139-967f-0a41bb4c3fec' LIMIT 1 Date : 2025-10-27T11:26:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T11:26:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010798 post PendingInvicesDO 2 MED-101010322 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-101010322' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010322' OR OrderId='MED-101010322' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-27T11:41:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010799 post PendingInvicesDO 2 MED-101010553 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-101010553' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010553' OR OrderId='MED-101010553' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-27T12:40:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010800 post PendingInvicesDO 2 MED-101010549 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010549 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-101010549' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010549' OR OrderId='MED-101010549' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-27T13:01:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010801 post PendingInvicesDO 2 MED-101010554 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010554 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7fecbef-58d9-4207-b1e6-7c58c244318a' LIMIT 1 Date : 2025-10-27T13:06:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T13:06:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010802 post PendingInvicesDO 2 MED-101010555 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010555 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ab1f543-95e4-4042-abaa-148b97a4fc66' LIMIT 1 Date : 2025-10-27T13:33:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T13:33:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010803 post PendingInvicesDO 2 MED-101010556 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010556 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='932d2067-2011-44db-8756-07d971120905' LIMIT 1 Date : 2025-10-27T14:07:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T14:07:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010804 post PendingInvicesDO 2 MED-101010557 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010557 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2e435ae-06c2-4967-9bed-a9af643bd696' LIMIT 1 Date : 2025-10-27T14:34:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T14:34:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010805 post PendingInvicesDO 2 MED-101010558 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010558 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='553728da-550a-469a-b4dd-128de4897f6b' LIMIT 1 Date : 2025-10-27T14:39:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T14:39:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010806 post PendingInvicesDO 2 MED-101010560 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010560 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2abf26fd-f249-4809-b760-631ffb69e351' LIMIT 1 Date : 2025-10-27T14:57:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T14:57:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010807 post PendingInvicesDO 2 MED-101010561 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010561 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ef044e5-6934-4b2d-840a-f5f72831398c' LIMIT 1 Date : 2025-10-27T15:13:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T15:13:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010808 post PendingInvicesDO 2 MED-101010562 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010562 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98df2228-d1f0-48d7-9556-824820a126fc' LIMIT 1 Date : 2025-10-27T15:41:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T15:41:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010809 post PendingInvicesDO 2 MED-101010563 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010563 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='201ba3d5-6a4a-47b5-b664-5afb8509e273' LIMIT 1 Date : 2025-10-28T08:33:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T08:33:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010810 post PendingInvicesDO 2 MED-101010525 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010525 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-101010525' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010525' OR OrderId='MED-101010525' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-28T08:35:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010811 post PendingInvicesDO 2 MED-101010564 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010564 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ff0da06-a578-40c4-833f-d4f42f25abc4' LIMIT 1 Date : 2025-10-28T08:56:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T08:56:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010812 post PendingInvicesDO 2 MED-101010565 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010565 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06b10217-aa3f-4431-805a-9eb996cd866b' LIMIT 1 Date : 2025-10-28T09:38:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T09:38:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010813 post PendingInvicesDO 2 MED-101010566 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010566 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3c0ef14-7ac1-4a47-8e6c-30bd2861fe9a' LIMIT 1 Date : 2025-10-28T09:52:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T09:52:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010814 post PendingInvicesDO 2 MED-101010344 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-101010344' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010344' OR OrderId='MED-101010344' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-28T10:24:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010815 post PendingInvicesDO 2 MED-101010567 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010567 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8bc985b-2fb7-410a-9732-c9db674d6d6b' LIMIT 1 Date : 2025-10-28T10:25:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T10:25:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010816 post PendingInvicesDO 2 MED-101010568 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010568 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78b3e47b-e689-4ca8-87a7-2ee98ca94b66' LIMIT 1 Date : 2025-10-28T10:43:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T10:43:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010817 post PendingInvicesDO 2 MED-101010569 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010569 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e82d1834-edd3-430f-99de-cb2fcfa9447a' LIMIT 1 Date : 2025-10-28T10:44:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T10:44:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010818 post PendingInvicesDO 2 MED-101010570 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010570 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ffc4bed-57be-400c-8090-3c0982005aa5' LIMIT 1 Date : 2025-10-28T10:48:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T10:48:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010819 post PendingInvicesDO 2 MED-101010571 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010571 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5f2c2b2-377d-48f4-8586-a2641a38b81f' LIMIT 1 Date : 2025-10-28T11:07:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T11:07:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010820 post PendingInvicesDO 2 MED-101010572 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010572 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c579bd9-9550-4801-b70d-6c1f5ece0767' LIMIT 1 Date : 2025-10-28T11:24:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T11:24:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010821 post PendingInvicesDO 2 MED-101010573 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010573 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72ca1506-c6d6-48f8-9745-bd16afb4b7c0' LIMIT 1 Date : 2025-10-28T11:40:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T11:40:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010822 post PendingInvicesDO 2 MED-101010574 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010574 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b33ebbc-4a25-4cba-b953-b875901c325f' LIMIT 1 Date : 2025-10-28T12:06:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T12:06:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010823 post PendingInvicesDO 2 MED-101010575 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010575 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79903880-c1c9-4a2d-82e5-5af3192d39bc' LIMIT 1 Date : 2025-10-28T12:35:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T12:35:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010824 post PendingInvicesDO 2 MED-101010576 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010576 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1fdd956a-7b60-4374-a887-e99b7d97a539' LIMIT 1 Date : 2025-10-28T12:52:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T12:53:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010825 post PendingInvicesDO 2 MED-101010577 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010577 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5da2f3e2-7a11-47b8-b020-94835e980d99' LIMIT 1 Date : 2025-10-28T13:10:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T13:10:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010826 post PendingInvicesDO 2 MED-101010321 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-101010321' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010321' OR OrderId='MED-101010321' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-28T13:31:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010827 post PendingInvicesDO 2 MED-101010538 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-101010538' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010538' OR OrderId='MED-101010538' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-28T14:44:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010828 post PendingInvicesDO 2 MED-101010579 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010579 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17f8a072-721e-46a3-b55d-6f42822ceffe' LIMIT 1 Date : 2025-10-28T14:53:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T14:53:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010829 post PendingInvicesDO 2 MED-101010580 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010580 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9e64f8c-1a9a-4897-8958-88338f9ef429' LIMIT 1 Date : 2025-10-28T15:01:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T15:01:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010830 post PendingInvicesDO 2 MED-101010581 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010581 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d19333d0-0601-4eeb-9f07-d7953137d0a1' LIMIT 1 Date : 2025-10-28T15:12:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T15:12:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010831 post PendingInvicesDO 2 MED-101010582 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010582 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d775ddc-6b38-40c5-b4c0-e95fcc743917' LIMIT 1 Date : 2025-10-28T15:32:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T15:32:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010832 post PendingInvicesDO 2 MED-101010326 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010326 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-101010326' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010326' OR OrderId='MED-101010326' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-29T07:18:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010833 post PendingInvicesDO 2 MED-101010583 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010583 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75a23b58-9637-4e41-8625-9ffae1f43e4a' LIMIT 1 Date : 2025-10-29T08:34:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T08:34:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010835 post PendingInvicesDO 2 MED-101010585 post PendingInvicesDO 2 MED-101010584 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010834 post PendingInvicesDO 2 MED-101010585 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010584 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010585 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e2a2018-ae55-403a-8f40-099491b16ac0' LIMIT 1 Date : 2025-10-29T09:12:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd2763b8-2cf3-4bff-9ea6-d0b908229396' LIMIT 1 Date : 2025-10-29T09:12:17  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e2a2018-ae55-403a-8f40-099491b16ac0' LIMIT 1 Date : 2025-10-29T09:12:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd2763b8-2cf3-4bff-9ea6-d0b908229396' LIMIT 1 Date : 2025-10-29T09:12:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-29T09:12:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010836 post PendingInvicesDO 2 MED-101010535 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010535 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-101010535' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010535' OR OrderId='MED-101010535' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-29T09:39:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010837 post PendingInvicesDO 2 MED-101010588 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010588 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3825b311-7eb2-4981-88ee-7903b8befe66' LIMIT 1 Date : 2025-10-29T10:02:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T10:02:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010839 post PendingInvicesDO 2 MED-101010590 post PendingInvicesDO 2 MED-101010589 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104010838 post PendingInvicesDO 2 MED-101010590 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010589 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010590 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-101010590' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010590' OR OrderId='MED-101010590' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101010590' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010590' OR OrderId='MED-101010590' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-29T10:52:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010840 post PendingInvicesDO 2 MED-101010591 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010591 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='edfcc5b1-4bfc-400b-9c2b-2f01b2238a6b' LIMIT 1 Date : 2025-10-29T11:07:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T11:07:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010841 post PendingInvicesDO 2 MED-101010592 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010592 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93f78345-d694-4bf4-8ec7-83e54f919647' LIMIT 1 Date : 2025-10-29T11:22:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T11:22:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010842 post PendingInvicesDO 2 MED-101010593 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010593 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78e0799e-4fa2-427f-85b6-0e0e04fdf0fa' LIMIT 1 Date : 2025-10-29T11:40:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T11:40:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010843 post PendingInvicesDO 2 MED-101010594 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010594 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='599e5b9d-b809-4889-ae15-db62efba34e0' LIMIT 1 Date : 2025-10-29T11:57:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T11:57:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010844 post PendingInvicesDO 2 MED-101010553 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-101010553' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010553' OR OrderId='MED-101010553' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-29T12:19:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010845 post PendingInvicesDO 2 MED-101010587 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010587 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-101010587' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010587' OR OrderId='MED-101010587' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-29T13:47:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010846 post PendingInvicesDO 2 MED-101010595 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010595 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19815259-ff0a-4df7-9876-0cc49c7f1133' LIMIT 1 Date : 2025-10-29T13:58:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T13:58:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010847 post PendingInvicesDO 2 MED-101010596 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010596 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='97d442c7-a299-43c6-a0f3-cbf8b2fa14ec' LIMIT 1 Date : 2025-10-29T14:13:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T14:13:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010848 post PendingInvicesDO 2 MED-101010597 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010597 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ee7b247-bc3b-49d4-ad86-8a7fe8278ba8' LIMIT 1 Date : 2025-10-29T14:31:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T14:31:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010849 post PendingInvicesDO 2 MED-101010598 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010598 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51de3102-8e91-489d-a0d2-3fa2b08b8fae' LIMIT 1 Date : 2025-10-29T14:56:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T14:56:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010850 post PendingInvicesDO 2 MED-101010599 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010599 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9bb97b8-3b47-42e4-9fdc-e470e0d73f71' LIMIT 1 Date : 2025-10-29T15:19:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T15:19:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010851 post PendingInvicesDO 2 MED-101010209 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-101010209' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010209' OR OrderId='MED-101010209' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-29T15:22:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010852 post PendingInvicesDO 2 MED-101010432 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-101010432' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010432' OR OrderId='MED-101010432' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-29T15:24:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010853 post PendingInvicesDO 2 MED-101010600 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010600 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72544679-e0a5-40f4-80df-68f232783ce6' LIMIT 1 Date : 2025-10-29T15:25:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T15:25:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010854 post PendingInvicesDO 2 MED-101010601 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010601 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4644fa4b-62c8-4b54-b381-cce00cae21ed' LIMIT 1 Date : 2025-10-29T15:28:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T15:28:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010855 post PendingInvicesDO 2 MED-101010603 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010603 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66c9f5a5-dcf0-483c-a51f-ce98028a3ce4' LIMIT 1 Date : 2025-10-29T15:55:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T15:55:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010856 post PendingInvicesDO 2 MED-101010604 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010604 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8223cfb-3cb0-427e-b588-ea0fdc30086f' LIMIT 1 Date : 2025-10-29T16:00:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T16:00:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010857 post PendingInvicesDO 2 MED-101010545 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010545 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-101010545' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010545' OR OrderId='MED-101010545' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-29T16:06:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010858 post PendingInvicesDO 2 MED-101010375 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010375 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-101010375' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010375' OR OrderId='MED-101010375' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-29T16:26:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010859 post PendingInvicesDO 2 MED-101010530 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010530 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-101010530' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010530' OR OrderId='MED-101010530' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-30T07:20:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010860 post PendingInvicesDO 2 MED-101010533 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010533 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-101010533' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010533' OR OrderId='MED-101010533' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-30T07:21:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010861 post PendingInvicesDO 2 MED-101010513 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010513 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-101010513' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010513' OR OrderId='MED-101010513' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-30T07:21:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010862 post PendingInvicesDO 2 MED-101010586 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010586 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-101010586' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010586' OR OrderId='MED-101010586' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-30T07:21:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010863 post PendingInvicesDO 2 MED-101010606 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010606 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af1272ea-db37-4d5e-9d2f-71f4867720b6' LIMIT 1 Date : 2025-10-30T08:38:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T08:38:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010864 post PendingInvicesDO 2 MED-101010607 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010607 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4973fd23-5e48-4738-8a70-87b44d80afe1' LIMIT 1 Date : 2025-10-30T08:47:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T08:47:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010865 post PendingInvicesDO 2 MED-101010608 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010608 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21814c21-26a3-417a-ad13-c708265d8cac' LIMIT 1 Date : 2025-10-30T09:14:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T09:14:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010866 post PendingInvicesDO 2 MED-101010609 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010609 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c9fd755-3c16-49a1-94ff-85f3aec472e1' LIMIT 1 Date : 2025-10-30T09:21:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T09:21:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010867 post PendingInvicesDO 2 MED-101010610 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010610 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a668e811-b877-4487-84ce-d1666f13aeb5' LIMIT 1 Date : 2025-10-30T09:26:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T09:26:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010868 post PendingInvicesDO 2 MED-101010611 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010611 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='76d2efc9-71a2-4e49-9d97-5f0ca9ad326e' LIMIT 1 Date : 2025-10-30T10:00:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T10:00:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010869 post PendingInvicesDO 2 MED-101010493 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010493 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-101010493' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010493' OR OrderId='MED-101010493' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-30T10:26:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010870 post PendingInvicesDO 2 MED-101010612 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010612 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='823df582-c3cb-4880-9c7f-ff1f46f24a4f' LIMIT 1 Date : 2025-10-30T10:31:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T10:31:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010871 post PendingInvicesDO 2 MED-101010613 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010613 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='672dd357-ea0a-4749-996d-b460a269bf64' LIMIT 1 Date : 2025-10-30T10:40:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T10:40:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010872 post PendingInvicesDO 2 MED-101010614 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010614 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='030c40b8-e6ad-4dd2-a18f-dd30c2e8e0a4' LIMIT 1 Date : 2025-10-30T10:59:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T10:59:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010873 post PendingInvicesDO 2 MED-101010615 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010615 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b900125a-d6fe-4da8-a51f-a6bc2af253d1' LIMIT 1 Date : 2025-10-30T11:29:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T11:29:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010874 post PendingInvicesDO 2 MED-101010616 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010616 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='caed10b5-5816-4075-8a95-8ee597564b3d' LIMIT 1 Date : 2025-10-30T11:39:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T11:39:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010875 post PendingInvicesDO 2 MED-101010617 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010617 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9676b880-03ed-4463-9e93-7390b41783d4' LIMIT 1 Date : 2025-10-30T11:53:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T11:53:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010876 post PendingInvicesDO 2 MED-101010618 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010618 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc6949d6-8d91-4286-8d0b-8e0dce4e6405' LIMIT 1 Date : 2025-10-30T12:13:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T12:13:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010877 post PendingInvicesDO 2 MED-101010619 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010619 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9aab871a-a924-45b9-8560-0c420f74bee2' LIMIT 1 Date : 2025-10-30T12:33:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T12:33:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010878 post PendingInvicesDO 2 MED-101010620 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010620 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5224b9f-a06a-405c-aa49-59ca66d06d51' LIMIT 1 Date : 2025-10-30T13:20:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T13:20:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010879 post PendingInvicesDO 2 MED-101010432 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-101010432' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010432' OR OrderId='MED-101010432' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-30T13:21:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010880 post PendingInvicesDO 2 MED-101010621 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010621 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13e02a08-5484-4576-a6c4-8fe883d51128' LIMIT 1 Date : 2025-10-30T13:25:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T13:25:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010881 post PendingInvicesDO 2 MED-101010622 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010622 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7248b096-8b69-4d41-8ef3-34993e05c68a' LIMIT 1 Date : 2025-10-30T13:45:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T13:45:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010882 post PendingInvicesDO 2 MED-101010623 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010623 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab9717b9-a448-43c4-8acf-dca6ac54638a' LIMIT 1 Date : 2025-10-30T13:52:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T13:52:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010883 post PendingInvicesDO 2 MED-101010552 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-101010552' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010552' OR OrderId='MED-101010552' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-30T13:56:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010884 post PendingInvicesDO 2 MED-101010624 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010624 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='488c9e8a-1bd4-46df-bac2-5b2b1807ecfd' LIMIT 1 Date : 2025-10-30T14:28:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T14:28:20 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-104010885 post PendingInvicesDO 2 MED-101010578 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010578 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-101010578' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010578' OR OrderId='MED-101010578' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-30T15:04:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010886 post PendingInvicesDO 2 MED-101010625 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010625 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='757f048e-2b1d-4081-b94b-a20e08148546' LIMIT 1 Date : 2025-10-30T15:08:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T15:08:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010887 post PendingInvicesDO 2 MED-101010626 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010626 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39f0c136-2657-4287-91d0-da19d325ee56' LIMIT 1 Date : 2025-10-30T15:15:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T15:15:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010888 post PendingInvicesDO 2 MED-101010627 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010627 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23ac88ed-5960-4053-ad10-a8a50b873f98' LIMIT 1 Date : 2025-10-30T15:17:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T15:17:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010889 post PendingInvicesDO 2 MED-101010628 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010628 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6bf9d92b-ec94-4871-abdc-ea033649decc' LIMIT 1 Date : 2025-10-30T15:19:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T15:19:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010890 post PendingInvicesDO 2 MED-101010629 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010629 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f5df7d6-10a2-442f-b293-5bb308ebb2e8' LIMIT 1 Date : 2025-10-30T15:23:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T15:23:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010891 post PendingInvicesDO 2 MED-101010630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f86f057e-1e9e-4a04-a2bc-0050de52477e' LIMIT 1 Date : 2025-10-30T16:21:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T16:21:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010892 post PendingInvicesDO 2 MED-101010631 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010631 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1e0d8e9-c7da-42cf-aca0-9e460681fa1a' LIMIT 1 Date : 2025-10-30T16:25:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T16:25:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010893 post PendingInvicesDO 2 MED-101010632 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010632 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2a8e0e7-228c-4c42-a61b-99d2c42a86a8' LIMIT 1 Date : 2025-11-01T08:30:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T08:30:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010894 post PendingInvicesDO 2 MED-101010633 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010633 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3aba16d1-9e7e-48b1-af7d-7f7a3a5df66f' LIMIT 1 Date : 2025-11-01T09:25:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T09:25:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010895 post PendingInvicesDO 2 MED-101010634 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010634 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5a1367d-6e59-4166-aa40-764665aa2ba4' LIMIT 1 Date : 2025-11-01T09:56:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T09:56:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010896 post PendingInvicesDO 2 MED-101010635 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010635 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4d00c85-eb08-4a59-a840-e8a3696dc186' LIMIT 1 Date : 2025-11-01T10:03:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T10:03:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010897 post PendingInvicesDO 2 MED-101010638 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010638 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0adc1f4-01fe-4354-8fd3-f6c1eea964c0' LIMIT 1 Date : 2025-11-01T11:42:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T11:42:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010898 post PendingInvicesDO 2 MED-101010637 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010637 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-101010637' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010637' OR OrderId='MED-101010637' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-01T11:57:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010899 post PendingInvicesDO 2 MED-101010639 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010639 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d08ae9bc-9dad-453b-9edd-1d0dcae4a2bd' LIMIT 1 Date : 2025-11-01T12:07:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T12:07:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010900 post PendingInvicesDO 2 MED-101010640 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010640 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39999dee-4d74-47fe-92a7-6bdee78974bd' LIMIT 1 Date : 2025-11-01T13:03:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T13:03:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010901 post PendingInvicesDO 2 MED-101010641 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010641 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef523986-189a-48d6-9e6e-36af3e980ac2' LIMIT 1 Date : 2025-11-01T13:05:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T13:05:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010902 post PendingInvicesDO 2 MED-101010642 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010642 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='286156ca-fcd6-46b7-a7e0-d9bcbeb31560' LIMIT 1 Date : 2025-11-01T13:11:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T13:11:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010903 post PendingInvicesDO 2 MED-101010645 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010645 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eca67f51-1283-477d-b5cd-b19b6348076e' LIMIT 1 Date : 2025-11-01T14:06:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T14:06:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010904 post PendingInvicesDO 2 MED-101010646 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010646 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d96ea57a-c1d9-4255-bd71-133b4cba88f1' LIMIT 1 Date : 2025-11-01T14:32:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T14:32:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010905 post PendingInvicesDO 2 MED-101010647 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010647 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8b39305-73fe-46c9-ad0c-b59043e322b5' LIMIT 1 Date : 2025-11-01T14:41:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T14:41:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010906 post PendingInvicesDO 2 MED-101010649 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010649 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52a9ae7c-9cef-4d09-8738-e98220e84260' LIMIT 1 Date : 2025-11-01T15:28:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T15:28:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010907 post PendingInvicesDO 2 MED-101010650 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010650 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b96287d1-7e31-4fae-8ae1-714f43e61755' LIMIT 1 Date : 2025-11-01T15:59:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T15:59:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010908 post PendingInvicesDO 2 MED-101010552 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-101010552' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010552' OR OrderId='MED-101010552' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-01T16:06:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010909 post PendingInvicesDO 2 MED-101010651 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010651 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b360166d-5083-4156-b073-466e4d111f93' LIMIT 1 Date : 2025-11-02T08:37:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T08:37:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010910 post PendingInvicesDO 2 MED-101010652 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010652 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f46c34b-cf98-44e3-8d4a-7cddce585697' LIMIT 1 Date : 2025-11-02T08:56:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T08:56:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010911 post PendingInvicesDO 2 MED-101010653 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010653 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f7ea413-af73-41da-97c0-9a3e360a5555' LIMIT 1 Date : 2025-11-02T09:01:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T09:01:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010912 post PendingInvicesDO 2 MED-101010432 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-101010432' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010432' OR OrderId='MED-101010432' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-02T09:40:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010913 post PendingInvicesDO 2 MED-101010654 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010654 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0fb137a6-bcfb-4e67-b900-8db6e44721e5' LIMIT 1 Date : 2025-11-02T09:48:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T09:48:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010914 post PendingInvicesDO 2 MED-101010602 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010602 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-101010602' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010602' OR OrderId='MED-101010602' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-02T10:11:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010915 post PendingInvicesDO 2 MED-101010655 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010655 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e880751-4780-4e21-b095-eafd94637788' LIMIT 1 Date : 2025-11-02T10:30:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T10:30:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010916 post PendingInvicesDO 2 MED-101010656 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010656 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99e9582b-9284-40b0-9ea8-7a43c6dfb304' LIMIT 1 Date : 2025-11-02T10:33:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T10:33:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010917 post PendingInvicesDO 2 MED-101010657 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010657 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='54d39aee-9abd-4afd-ae1a-fffb1476e43f' LIMIT 1 Date : 2025-11-02T10:36:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T10:36:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010918 post PendingInvicesDO 2 MED-101010553 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-101010553' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010553' OR OrderId='MED-101010553' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-02T10:47:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010919 post PendingInvicesDO 2 MED-101010658 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010658 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c6d72dc-7e3b-4d9c-b0de-3db2e5d5a21a' LIMIT 1 Date : 2025-11-02T10:54:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T10:54:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010920 post PendingInvicesDO 2 MED-101010659 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010659 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eab095af-a1e4-4f50-a14a-f53269156f04' LIMIT 1 Date : 2025-11-02T11:36:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T11:36:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010921 post PendingInvicesDO 2 MED-101010660 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010660 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='80e6bd62-6c34-4164-8f52-17cff5c683ca' LIMIT 1 Date : 2025-11-02T11:38:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T11:38:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010922 post PendingInvicesDO 2 MED-101010661 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010661 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e49a5422-bba4-4fbe-b177-7caa3ba68938' LIMIT 1 Date : 2025-11-02T11:42:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T11:42:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010923 post PendingInvicesDO 2 MED-101010662 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010662 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60ae9b78-a881-4fb2-a626-63c5aa7b9d49' LIMIT 1 Date : 2025-11-02T12:02:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T12:02:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010924 post PendingInvicesDO 2 MED-101010664 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-101010664' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010664' OR OrderId='MED-101010664' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-02T14:11:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010925 post PendingInvicesDO 2 MED-101010665 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010665 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8643aa1-3d9c-4954-b4c8-7f30326a853f' LIMIT 1 Date : 2025-11-02T14:13:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T14:13:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010926 post PendingInvicesDO 2 MED-101010666 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010666 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90f67f02-ae5a-4b19-ac5f-76d4795bb910' LIMIT 1 Date : 2025-11-02T14:20:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T14:20:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010927 post PendingInvicesDO 2 MED-101010667 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010667 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d8b4e96-bd06-479e-b2f8-6b1b620e3330' LIMIT 1 Date : 2025-11-02T14:41:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T14:41:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010928 post PendingInvicesDO 2 MED-101010668 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010668 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fef2dc7a-2639-4457-a422-8077ce24260f' LIMIT 1 Date : 2025-11-02T14:45:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T14:45:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010929 post PendingInvicesDO 2 MED-101010669 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010669 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f348e09-94ca-47c4-bc36-c7666e1cdc42' LIMIT 1 Date : 2025-11-02T15:08:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T15:08:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010930 post PendingInvicesDO 2 MED-101010648 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010648 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-101010648' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010648' OR OrderId='MED-101010648' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-02T15:34:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010931 post PendingInvicesDO 2 MED-101010670 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010670 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6024709c-144c-45e9-a98b-61ef033adaeb' LIMIT 1 Date : 2025-11-02T15:39:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T15:39:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010932 post PendingInvicesDO 2 MED-101010671 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010671 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ef39ff7-fa5f-4ae6-8611-d92a6f6fdf06' LIMIT 1 Date : 2025-11-02T16:03:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T16:03:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010933 post PendingInvicesDO 2 MED-101010672 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010672 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5bee4d9-0fe3-457d-9adb-87ca5cf62d83' LIMIT 1 Date : 2025-11-02T16:07:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T16:07:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010934 post PendingInvicesDO 2 MED-101010451 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010451 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-101010451' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010451' OR OrderId='MED-101010451' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-03T08:30:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010935 post PendingInvicesDO 2 MED-101010544 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010544 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-101010544' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010544' OR OrderId='MED-101010544' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-03T10:01:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010936 post PendingInvicesDO 2 MED-101010676 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010676 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb85bb21-1ff5-447f-8c86-1471b822f657' LIMIT 1 Date : 2025-11-03T10:56:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T10:56:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010937 post PendingInvicesDO 2 MED-101010677 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010677 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2923d876-863c-4c43-bdb4-978a19c2543e' LIMIT 1 Date : 2025-11-03T11:23:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T11:23:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010938 post PendingInvicesDO 2 MED-101010675 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010675 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-101010675' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010675' OR OrderId='MED-101010675' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-03T11:24:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010939 post PendingInvicesDO 2 MED-101010678 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010678 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='132288c5-8cfa-41e4-af51-ba1428c3ec15' LIMIT 1 Date : 2025-11-03T11:47:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T11:47:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010940 post PendingInvicesDO 2 MED-101010663 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-101010663' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010663' OR OrderId='MED-101010663' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-03T12:46:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010941 post PendingInvicesDO 2 MED-101010680 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010680 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e22bc2ee-f676-4006-aee8-76ed4348a80b' LIMIT 1 Date : 2025-11-03T13:39:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T13:39:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010942 post PendingInvicesDO 2 MED-101010553 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-101010553' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010553' OR OrderId='MED-101010553' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-03T13:50:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010943 post PendingInvicesDO 2 MED-101010682 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010682 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69e70780-0c7c-4488-b0c9-b4351323a486' LIMIT 1 Date : 2025-11-03T14:01:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T14:01:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010944 post PendingInvicesDO 2 MED-101010683 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010683 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6af3ac3d-8819-4718-9506-9400e8ef249a' LIMIT 1 Date : 2025-11-03T14:30:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T14:30:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010945 post PendingInvicesDO 2 MED-101010552 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-101010552' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010552' OR OrderId='MED-101010552' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-03T14:54:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010946 post PendingInvicesDO 2 MED-101010684 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010684 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f8854a0-2db1-47de-adc9-64a5a01a0a96' LIMIT 1 Date : 2025-11-03T14:55:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T14:55:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010947 post PendingInvicesDO 2 MED-101010686 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010686 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0100d36-cfae-45b0-bc62-2281bf295d3f' LIMIT 1 Date : 2025-11-03T15:17:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T15:17:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010948 post PendingInvicesDO 2 MED-101010687 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010687 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e95487a-b8c6-4853-97a6-cd97accc7cf6' LIMIT 1 Date : 2025-11-03T15:58:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T15:58:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010949 post PendingInvicesDO 2 MED-101010688 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010688 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a49c975f-8df4-4729-9632-7105b7396551' LIMIT 1 Date : 2025-11-03T16:01:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T16:01:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010950 post PendingInvicesDO 2 MED-101010689 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010689 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2e9d6f1-a22e-4461-9a61-bce5d3d79b0a' LIMIT 1 Date : 2025-11-03T16:03:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T16:03:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010951 post PendingInvicesDO 2 MED-101010674 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-101010674' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010674' OR OrderId='MED-101010674' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-03T16:31:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010952 post PendingInvicesDO 2 MED-101010695 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010695 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='53c26ce7-8b48-466c-a005-c66fdf802488' LIMIT 1 Date : 2025-11-04T09:57:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T09:57:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010953 post PendingInvicesDO 2 MED-101010696 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010696 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11b8b5af-e5e1-416a-bae7-7e92b613c57f' LIMIT 1 Date : 2025-11-04T10:18:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T10:18:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010954 post PendingInvicesDO 2 MED-101010697 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010697 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a32dd22a-fc79-4433-b5b0-355a851232ba' LIMIT 1 Date : 2025-11-04T11:00:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T11:00:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010955 post PendingInvicesDO 2 MED-101010376 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010376 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-101010376' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010376' OR OrderId='MED-101010376' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-04T11:30:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010956 post PendingInvicesDO 2 MED-101010445 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010445 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-101010445' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010445' OR OrderId='MED-101010445' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-04T11:30:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010957 post PendingInvicesDO 2 MED-101010699 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010699 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='813b5922-6e17-4f40-84fa-d2ac8d50a6b3' LIMIT 1 Date : 2025-11-04T12:02:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T12:02:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010958 post PendingInvicesDO 2 MED-101010701 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010701 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='265b2950-fa41-48b6-8daf-b4b93edb116b' LIMIT 1 Date : 2025-11-04T14:16:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T14:16:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010959 post PendingInvicesDO 2 MED-101010703 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010703 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3b5e30a-3d48-443f-a317-da6ea7a5865a' LIMIT 1 Date : 2025-11-04T14:44:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T14:44:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010960 post PendingInvicesDO 2 MED-101010605 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010605 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-101010605' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010605' OR OrderId='MED-101010605' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-04T14:57:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010961 post PendingInvicesDO 2 MED-101010705 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010705 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b1323bc-9b9f-4cd1-9cac-b158a28000b5' LIMIT 1 Date : 2025-11-04T15:05:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T15:05:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010962 post PendingInvicesDO 2 MED-101010706 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010706 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1bf51b21-c99a-45dc-9b12-dd8a6c861561' LIMIT 1 Date : 2025-11-04T15:09:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T15:09:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010963 post PendingInvicesDO 2 MED-101010707 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010707 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff94605b-0ca2-4cd5-acdc-742cf743ade4' LIMIT 1 Date : 2025-11-04T15:22:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T15:22:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010964 post PendingInvicesDO 2 MED-101010708 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010708 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d472a1a0-f1f5-40a4-8eaa-898c04c89060' LIMIT 1 Date : 2025-11-04T15:25:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T15:25:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010965 post PendingInvicesDO 2 MED-101010709 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010709 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b85689a9-cd48-4c4c-9ddd-993a52b90be3' LIMIT 1 Date : 2025-11-04T15:27:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T15:27:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010966 post PendingInvicesDO 2 MED-101010710 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010710 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15a42ae5-7db2-486e-af58-2e4923ba492e' LIMIT 1 Date : 2025-11-04T15:37:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T15:37:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010967 post PendingInvicesDO 2 MED-101010711 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010711 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe2652a8-0b4f-47fe-86c9-ef48e37aabdb' LIMIT 1 Date : 2025-11-04T15:57:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T15:57:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010968 post PendingInvicesDO 2 MED-101010712 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010712 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8e82269-9c7c-4d27-bc23-85a26efb1fe6' LIMIT 1 Date : 2025-11-04T16:01:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T16:01:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010969 post PendingInvicesDO 2 MED-101010674 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-101010674' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010674' OR OrderId='MED-101010674' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-04T16:09:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010970 post PendingInvicesDO 2 MED-101010713 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010713 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6888528a-3f74-4160-90f0-ebf9e909cb9e' LIMIT 1 Date : 2025-11-05T08:39:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T08:39:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010971 post PendingInvicesDO 2 MED-101010714 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010714 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6baec76-9809-4fe9-a50b-221090ffb02c' LIMIT 1 Date : 2025-11-05T09:00:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T09:00:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010972 post PendingInvicesDO 2 MED-101010643 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010643 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-101010643' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010643' OR OrderId='MED-101010643' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-05T09:52:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010973 post PendingInvicesDO 2 MED-101010717 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010717 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0caef403-e0a7-4d53-9054-1da1fbe62d35' LIMIT 1 Date : 2025-11-05T10:47:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T10:47:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010974 post PendingInvicesDO 2 MED-101010718 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010718 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3dd861ec-85ef-4c54-95e3-9a0a5346041b' LIMIT 1 Date : 2025-11-05T11:04:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T11:04:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010975 post PendingInvicesDO 2 MED-101010559 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010559 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-101010559' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010559' OR OrderId='MED-101010559' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-05T11:19:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010976 post PendingInvicesDO 2 MED-101010719 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010719 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8edac5c-71ff-49ee-9523-436980041fa1' LIMIT 1 Date : 2025-11-05T11:23:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T11:23:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010977 post PendingInvicesDO 2 MED-101010720 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010720 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a6514a2-002e-4d62-bbc0-5d16c7e06ae8' LIMIT 1 Date : 2025-11-05T11:24:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T11:24:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010978 post PendingInvicesDO 2 MED-101010721 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010721 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c7df75f-0cf1-4bf2-8828-4819d65ee8fc' LIMIT 1 Date : 2025-11-05T11:27:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T11:27:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010979 post PendingInvicesDO 2 MED-101010722 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010722 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9718d6a7-1fbd-4205-a356-785510425889' LIMIT 1 Date : 2025-11-05T11:32:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T11:32:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010980 post PendingInvicesDO 2 MED-101010723 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010723 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e84b7e8-2e87-4df7-a2ac-685faa9eec8b' LIMIT 1 Date : 2025-11-05T11:36:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T11:36:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010981 post PendingInvicesDO 2 MED-101010724 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010724 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b747dbc6-63bb-48e0-a48d-f2674c5c9a23' LIMIT 1 Date : 2025-11-05T11:40:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T11:40:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010982 post PendingInvicesDO 2 MED-101010725 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010725 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9de1b58-8857-4e73-b2a2-51bed22ab9c9' LIMIT 1 Date : 2025-11-05T13:30:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T13:30:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010983 post PendingInvicesDO 2 MED-101010664 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-101010664' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010664' OR OrderId='MED-101010664' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-05T14:22:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010984 post PendingInvicesDO 2 MED-101010726 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010726 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7209e1ba-3b1c-42f6-8f20-a72cab48a8fe' LIMIT 1 Date : 2025-11-05T14:31:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T14:31:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010985 post PendingInvicesDO 2 MED-101010727 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010727 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='317c83dd-39cb-43cf-9e55-d53645f31f76' LIMIT 1 Date : 2025-11-05T14:44:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T14:44:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010986 post PendingInvicesDO 2 MED-101010730 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010730 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='163a3161-04ec-4156-8c57-b7b17be77e37' LIMIT 1 Date : 2025-11-05T15:31:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T15:31:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010987 post PendingInvicesDO 2 MED-101010731 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010731 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16c4e231-787f-4eb5-9763-e2034b491c7f' LIMIT 1 Date : 2025-11-05T15:54:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T15:54:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010988 post PendingInvicesDO 2 MED-101010732 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010732 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='325ee7a4-d92b-496b-bcbd-6017446506d4' LIMIT 1 Date : 2025-11-05T16:08:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T16:08:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010989 post PendingInvicesDO 2 MED-101010733 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010733 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1f391db-86f6-4b28-877b-97e474661e56' LIMIT 1 Date : 2025-11-05T16:12:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T16:12:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010990 post PendingInvicesDO 2 MED-101010734 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010734 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55ffae48-36cb-4d3c-9585-8c662b7f9cd5' LIMIT 1 Date : 2025-11-06T08:45:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T08:45:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010991 post PendingInvicesDO 2 MED-101010735 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010735 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf0cfa9e-e5e2-43fd-97d6-402483514670' LIMIT 1 Date : 2025-11-06T09:07:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T09:07:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010992 post PendingInvicesDO 2 MED-101010512 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010512 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-101010512' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010512' OR OrderId='MED-101010512' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-06T09:09:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010993 post PendingInvicesDO 2 MED-101010737 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010737 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a2a1958-8859-40c3-bf7b-d7d4e55c087e' LIMIT 1 Date : 2025-11-06T11:22:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T11:22:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010994 post PendingInvicesDO 2 MED-101010738 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010738 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1ae2f5f-6229-43ea-8e0f-c5d63a42dbae' LIMIT 1 Date : 2025-11-06T11:25:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T11:25:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010995 post PendingInvicesDO 2 MED-101010739 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010739 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4af2af9-b4e7-4d1c-b0cd-21f2c0ec055a' LIMIT 1 Date : 2025-11-06T12:09:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T12:09:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010996 post PendingInvicesDO 2 MED-101010740 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010740 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82ce4fab-27c9-419e-80af-6bfd1fee46e9' LIMIT 1 Date : 2025-11-06T13:02:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T13:02:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010997 post PendingInvicesDO 2 MED-101010741 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010741 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9ceb9b4-df21-470c-8d6e-da932d91558a' LIMIT 1 Date : 2025-11-06T14:51:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T14:51:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010998 post PendingInvicesDO 2 MED-101010742 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010742 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aaa26c56-f1d5-4819-b3c0-b3183bc7fe74' LIMIT 1 Date : 2025-11-06T14:56:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T14:56:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104010999 post PendingInvicesDO 2 MED-101010743 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010743 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e85c875-2741-4918-9195-f2c648cb8efa' LIMIT 1 Date : 2025-11-06T14:57:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T14:57:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011000 post PendingInvicesDO 2 MED-101010744 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010744 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8221ff63-1686-4921-8490-8634783eba0d' LIMIT 1 Date : 2025-11-06T15:04:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T15:04:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011001 post PendingInvicesDO 2 MED-101010745 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010745 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='001251cd-8da4-4818-bcb8-a415475cc45f' LIMIT 1 Date : 2025-11-06T15:25:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T15:25:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011002 post PendingInvicesDO 2 MED-101010746 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010746 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7cecb10-8a27-4965-9e7f-748374ecfff5' LIMIT 1 Date : 2025-11-06T15:26:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T15:26:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011003 post PendingInvicesDO 2 MED-101010747 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010747 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='829287ce-e242-43a1-93af-4a08f8dfcbc0' LIMIT 1 Date : 2025-11-06T15:27:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T15:27:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011004 post PendingInvicesDO 2 MED-101010748 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010748 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c33f33af-c1eb-43c4-a29d-aecd96994ddb' LIMIT 1 Date : 2025-11-06T15:29:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T15:29:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011005 post PendingInvicesDO 2 MED-101010749 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010749 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46fa65aa-b364-4988-8a07-ddd45f1b5534' LIMIT 1 Date : 2025-11-06T15:59:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T15:59:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011006 post PendingInvicesDO 2 MED-101010750 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010750 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de7c95a4-e7a8-4c1c-92f3-c286b52a324f' LIMIT 1 Date : 2025-11-06T16:05:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T16:05:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011007 post PendingInvicesDO 2 MED-101010751 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010751 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9df6670-5ce6-4211-8835-aba3e9189863' LIMIT 1 Date : 2025-11-06T16:41:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T16:41:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011008 post PendingInvicesDO 2 MED-101010752 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010752 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b616a895-4454-427d-bb3f-d6e9f3365e26' LIMIT 1 Date : 2025-11-06T16:57:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T16:57:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011009 post PendingInvicesDO 2 MED-101010753 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010753 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d84e0e1-4f6b-466b-b95f-58b3256b24ec' LIMIT 1 Date : 2025-11-06T16:58:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T16:58:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011010 post PendingInvicesDO 2 MED-101010754 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010754 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a41f8a9-a0ef-46ad-af1b-5eaac1778d4e' LIMIT 1 Date : 2025-11-06T17:00:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T17:00:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011011 post PendingInvicesDO 2 MED-101010755 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010755 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2eae564-8f0b-46c8-bd06-ae1471eee5ad' LIMIT 1 Date : 2025-11-08T08:50:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T08:50:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011012 post PendingInvicesDO 2 MED-101010756 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010756 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa00e187-f96d-4547-9a19-e7e993ea2f6a' LIMIT 1 Date : 2025-11-08T09:10:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T09:10:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011013 post PendingInvicesDO 2 MED-101010757 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010757 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c5546c6-0c0e-4d32-b1bb-67ed0291a3bb' LIMIT 1 Date : 2025-11-08T09:44:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T09:44:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011014 post PendingInvicesDO 2 MED-101010704 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010704 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-101010704' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010704' OR OrderId='MED-101010704' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-08T10:11:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011015 post PendingInvicesDO 2 MED-101010758 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010758 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a54e7b1-f772-4da5-b534-82df8508db97' LIMIT 1 Date : 2025-11-08T10:38:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T10:38:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011016 post PendingInvicesDO 2 MED-101010759 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010759 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ae327ad-bc8c-4d7d-aa40-9911cd06e6ca' LIMIT 1 Date : 2025-11-08T10:41:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T10:41:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011017 post PendingInvicesDO 2 MED-101010760 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010760 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8949a681-7fc3-4966-ab7b-8cad767652b1' LIMIT 1 Date : 2025-11-08T10:49:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T10:49:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011018 post PendingInvicesDO 2 MED-101010761 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010761 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a13f68ad-7e73-4c0d-b3aa-039ce4afcaba' LIMIT 1 Date : 2025-11-08T11:09:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T11:09:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011019 post PendingInvicesDO 2 MED-101010762 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010762 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='766f7a88-4719-4179-8dce-8b00233a4416' LIMIT 1 Date : 2025-11-08T11:48:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T11:48:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011020 post PendingInvicesDO 2 MED-101010763 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010763 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5dde9c06-e5c1-40e8-b496-65a5faa4fb9f' LIMIT 1 Date : 2025-11-08T12:22:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T12:22:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011021 post PendingInvicesDO 2 MED-101010765 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010765 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='895573d6-1d66-497c-b362-00e0e180d7bd' LIMIT 1 Date : 2025-11-08T14:04:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T14:04:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011022 post PendingInvicesDO 2 MED-101010766 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010766 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a37a43d-2005-4dfc-8aca-ea9c87e624e2' LIMIT 1 Date : 2025-11-08T14:28:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T14:28:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011023 post PendingInvicesDO 2 MED-101010767 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010767 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2aa16edf-66cd-432b-81ef-8227d8cb6cc1' LIMIT 1 Date : 2025-11-08T14:31:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T14:31:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011024 post PendingInvicesDO 2 MED-101010768 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010768 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d6d2c44-4f65-4aa9-a30b-63d7d655aa75' LIMIT 1 Date : 2025-11-08T14:40:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T14:40:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011025 post PendingInvicesDO 2 MED-101010769 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010769 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='becfe01e-8a23-4d15-ab2f-5deee87991fd' LIMIT 1 Date : 2025-11-08T14:57:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T14:57:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011026 post PendingInvicesDO 2 MED-101010771 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010771 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5f458df-3577-465b-b2fc-b7fca4db3341' LIMIT 1 Date : 2025-11-08T15:09:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T15:09:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011027 post PendingInvicesDO 2 MED-101010772 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010772 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8b88261-4582-4e05-8bfc-33658fd9326b' LIMIT 1 Date : 2025-11-08T15:10:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T15:10:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011028 post PendingInvicesDO 2 MED-101010773 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010773 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a71a2fc7-9b6e-4b92-9332-235c4539116a' LIMIT 1 Date : 2025-11-08T15:13:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T15:13:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011029 post PendingInvicesDO 2 MED-101010774 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010774 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51aa704e-91ae-4805-b617-a7fc60d1c18e' LIMIT 1 Date : 2025-11-08T15:17:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T15:17:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011030 post PendingInvicesDO 2 MED-101010775 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010775 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b41b8b8-063d-40f8-87cc-80d45ca43ade' LIMIT 1 Date : 2025-11-08T15:26:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T15:26:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011031 post PendingInvicesDO 2 MED-101010776 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010776 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09fb6c45-a5f0-4b0d-9fd8-b42e864f50f2' LIMIT 1 Date : 2025-11-09T08:57:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T08:57:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011033 post PendingInvicesDO 2 MED-101010729 post PendingInvicesDO 2 MED-101010728 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104011032 post PendingInvicesDO 2 MED-101010729 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010728 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010729 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-101010729' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010729' OR OrderId='MED-101010729' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101010729' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010729' OR OrderId='MED-101010729' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-09T10:23:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011034 post PendingInvicesDO 2 MED-101010778 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010778 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4aa0b73-559a-4822-9343-c2edad53e345' LIMIT 1 Date : 2025-11-09T10:24:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T10:24:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011035 post PendingInvicesDO 2 MED-101010777 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010777 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-101010777' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010777' OR OrderId='MED-101010777' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-09T10:25:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011036 post PendingInvicesDO 2 MED-101010779 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010779 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='778019ac-a31e-4764-9d3f-2a95867aecc9' LIMIT 1 Date : 2025-11-09T10:30:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T10:30:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011037 post PendingInvicesDO 2 MED-101010780 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010780 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4fa5d72-ab84-4ec9-ad6b-2b8347ad2699' LIMIT 1 Date : 2025-11-09T10:44:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T10:44:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011038 post PendingInvicesDO 2 MED-101010781 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010781 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50290161-94b0-4dbc-a54c-024e34b5771c' LIMIT 1 Date : 2025-11-09T11:23:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T11:23:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011039 post PendingInvicesDO 2 MED-101010782 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010782 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1109f3a7-9de2-4d30-87e2-9d106cde2fef' LIMIT 1 Date : 2025-11-09T11:41:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T11:41:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011040 post PendingInvicesDO 2 MED-101010783 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010783 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb95115b-4ef9-4af0-a6be-98f60dac98fb' LIMIT 1 Date : 2025-11-09T11:46:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T11:46:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011041 post PendingInvicesDO 2 MED-101010679 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010679 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-101010679' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010679' OR OrderId='MED-101010679' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-09T12:29:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011042 post PendingInvicesDO 2 MED-101010785 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010785 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d42dc58-5ec3-43ef-b54e-04cc99e12d3c' LIMIT 1 Date : 2025-11-09T13:39:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T13:39:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011043 post PendingInvicesDO 2 MED-101010786 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010786 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a87edf76-8b15-4990-84d3-c99057e535fc' LIMIT 1 Date : 2025-11-09T14:15:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T14:15:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011044 post PendingInvicesDO 2 MED-101010787 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010787 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='496fa7be-d1b2-47b2-b5c3-12f739afd68d' LIMIT 1 Date : 2025-11-09T15:29:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T15:29:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011045 post PendingInvicesDO 2 MED-101010788 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010788 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bcc6c6dd-e6fe-4b30-a2b7-2a5138ca52a4' LIMIT 1 Date : 2025-11-09T15:38:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T15:38:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011046 post PendingInvicesDO 2 MED-101010789 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010789 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fbc381a-2af9-44c0-beea-bfb536e05cd9' LIMIT 1 Date : 2025-11-09T15:49:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T15:49:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011047 post PendingInvicesDO 2 MED-101010790 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010790 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb2cae71-a2ee-4b9c-a6e6-65ab480365da' LIMIT 1 Date : 2025-11-09T16:10:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T16:10:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011048 post PendingInvicesDO 2 MED-101010791 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010791 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e908480c-b66b-43a9-8aa9-415c5beb149e' LIMIT 1 Date : 2025-11-09T16:12:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T16:12:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011049 post PendingInvicesDO 2 MED-101010792 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010792 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bd5ad43-2550-4f1e-a68f-529f408612b4' LIMIT 1 Date : 2025-11-09T16:16:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T16:16:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011050 post PendingInvicesDO 2 MED-101010793 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010793 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9abae223-e8cb-4d32-a1d7-e3068b2fccc4' LIMIT 1 Date : 2025-11-09T16:20:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T16:20:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011051 post PendingInvicesDO 2 MED-101010794 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010794 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fdaed968-3768-4919-bc27-f4968e75b74e' LIMIT 1 Date : 2025-11-10T08:53:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T08:53:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011052 post PendingInvicesDO 2 MED-101010795 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010795 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13b647db-8dfb-4d7c-af9d-7d4ed613eaee' LIMIT 1 Date : 2025-11-10T09:43:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T09:43:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011053 post PendingInvicesDO 2 MED-101010796 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010796 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='981809d0-779d-46f7-9666-211bed1ca090' LIMIT 1 Date : 2025-11-10T10:07:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T10:07:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011054 post PendingInvicesDO 2 MED-101010797 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010797 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b640ab2-b611-4cde-b764-30c31e401270' LIMIT 1 Date : 2025-11-10T10:45:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T10:45:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011055 post PendingInvicesDO 2 MED-101010798 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010798 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='40d44111-233b-46bf-8dc3-faebaf3d19f1' LIMIT 1 Date : 2025-11-10T10:51:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T10:51:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011056 post PendingInvicesDO 2 MED-101010799 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010799 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='459a5286-8ba7-4e5d-8961-62202a021f06' LIMIT 1 Date : 2025-11-10T11:15:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T11:15:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011057 post PendingInvicesDO 2 MED-101010800 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010800 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6475ebe-69f3-49c5-8f65-328be0462657' LIMIT 1 Date : 2025-11-10T11:24:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T11:24:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011058 post PendingInvicesDO 2 MED-101010801 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010801 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bfad37d3-84b2-4321-9026-b43b424d5293' LIMIT 1 Date : 2025-11-10T11:46:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T11:46:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011059 post PendingInvicesDO 2 MED-101010803 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010803 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e0f77c3-0b98-4b0a-8c06-84fb982236fb' LIMIT 1 Date : 2025-11-10T12:53:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T12:53:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011060 post PendingInvicesDO 2 MED-101010804 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010804 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdd7ace8-0e0a-47be-971f-a0823d82d6f0' LIMIT 1 Date : 2025-11-10T13:31:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T13:31:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011061 post PendingInvicesDO 2 MED-101010770 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010770 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-101010770' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010770' OR OrderId='MED-101010770' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-10T14:38:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011062 post PendingInvicesDO 2 MED-101010805 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010805 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7d28078-aed8-4366-9535-f11d197d7a24' LIMIT 1 Date : 2025-11-10T14:43:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T14:43:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011063 post PendingInvicesDO 2 MED-101010806 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010806 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c609142d-49ea-433a-b9e0-8ca19e7203eb' LIMIT 1 Date : 2025-11-10T15:00:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T15:00:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011064 post PendingInvicesDO 2 MED-101010685 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010685 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-101010685' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010685' OR OrderId='MED-101010685' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-10T15:03:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011065 post PendingInvicesDO 2 MED-101010808 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010808 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b4225d4-616e-4984-835a-c9b69c6c5a0e' LIMIT 1 Date : 2025-11-10T15:16:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T15:16:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011066 post PendingInvicesDO 2 MED-101010681 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010681 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-101010681' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010681' OR OrderId='MED-101010681' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-10T15:18:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011067 post PendingInvicesDO 2 MED-101010809 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010809 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f40be93b-25dc-47e4-b052-bc877b5cd823' LIMIT 1 Date : 2025-11-10T15:19:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T15:19:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011068 post PendingInvicesDO 2 MED-101010810 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010810 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9b25258-be80-4967-8d57-a33fd2c052c1' LIMIT 1 Date : 2025-11-10T15:22:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T15:22:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011069 post PendingInvicesDO 2 MED-101010811 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010811 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fcf7953-dff2-4e76-b159-8c70074c7c8c' LIMIT 1 Date : 2025-11-10T15:24:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T15:24:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011070 post PendingInvicesDO 2 MED-101010812 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010812 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83706962-c05d-41d0-99c9-60658f2ff7e8' LIMIT 1 Date : 2025-11-10T15:41:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T15:41:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011071 post PendingInvicesDO 2 MED-101010813 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010813 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7af777a3-e2f6-48e6-893b-f4af36c7e598' LIMIT 1 Date : 2025-11-11T07:45:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T07:45:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011072 post PendingInvicesDO 2 MED-101010814 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010814 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5454145-3b36-4611-a37e-2ff2ccbe9485' LIMIT 1 Date : 2025-11-11T08:14:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T08:14:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011073 post PendingInvicesDO 2 MED-101010698 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010698 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-101010698' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010698' OR OrderId='MED-101010698' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-11T08:15:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011074 post PendingInvicesDO 2 MED-101010816 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010816 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bcfb95c7-da2c-48c4-ab85-d4de2c8bd314' LIMIT 1 Date : 2025-11-11T08:34:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T08:34:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011075 post PendingInvicesDO 2 MED-101010817 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010817 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58735d74-c457-4a1e-be3e-f3fde7058a97' LIMIT 1 Date : 2025-11-11T08:55:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T08:55:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011076 post PendingInvicesDO 2 MED-101010716 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010716 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-101010716' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010716' OR OrderId='MED-101010716' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-11T09:19:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011077 post PendingInvicesDO 2 MED-101010819 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010819 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd24f7c0-931c-49f4-a0f0-cde443b261e2' LIMIT 1 Date : 2025-11-11T09:46:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T09:46:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011078 post PendingInvicesDO 2 MED-101010820 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010820 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a0fc78d-90b1-40ca-b2ab-6ac2a3db0477' LIMIT 1 Date : 2025-11-11T10:11:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T10:11:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011079 post PendingInvicesDO 2 MED-101010821 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010821 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='774f0895-27b0-4c8e-8d23-15f24220e100' LIMIT 1 Date : 2025-11-11T10:18:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T10:18:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011080 post PendingInvicesDO 2 MED-101010822 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010822 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26c4b86c-6b1a-4498-9be1-0272da50e740' LIMIT 1 Date : 2025-11-11T10:34:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T10:34:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011081 post PendingInvicesDO 2 MED-101010823 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010823 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a209a51-7cf1-48e7-ad4e-f1d952efa6dd' LIMIT 1 Date : 2025-11-11T10:52:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T10:52:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011082 post PendingInvicesDO 2 MED-101010824 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010824 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='886a0d13-c1d9-4464-b567-74a267ee7c3e' LIMIT 1 Date : 2025-11-11T11:23:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T11:23:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011083 post PendingInvicesDO 2 MED-101010825 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010825 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f113696-4939-480b-90dd-8266eef5cfa0' LIMIT 1 Date : 2025-11-11T11:35:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T11:35:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011084 post PendingInvicesDO 2 MED-101010826 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010826 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b8e6d2e-6b7b-4eb5-9cd6-33bc0dc5fcfb' LIMIT 1 Date : 2025-11-11T11:42:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T11:42:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011085 post PendingInvicesDO 2 MED-101010827 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010827 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f67c6fb-884a-450c-a8f4-d599ccef3ccf' LIMIT 1 Date : 2025-11-11T11:57:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T11:57:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011086 post PendingInvicesDO 2 MED-101010828 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010828 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3942314-9c4f-4abe-87d4-08cf4648c875' LIMIT 1 Date : 2025-11-11T12:22:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T12:22:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011087 post PendingInvicesDO 2 MED-101010829 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010829 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47d8f6cd-e0b2-48a6-aea6-46810b6b576c' LIMIT 1 Date : 2025-11-11T12:39:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T12:39:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011088 post PendingInvicesDO 2 MED-101010830 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010830 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e220b5d6-f70a-4a9b-bcbb-7609c2c5d624' LIMIT 1 Date : 2025-11-11T12:40:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T12:40:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011089 post PendingInvicesDO 2 MED-101010831 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010831 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a0dc301c-721f-449a-ad60-a614390bf591' LIMIT 1 Date : 2025-11-11T12:42:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T12:42:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011090 post PendingInvicesDO 2 MED-101010832 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010832 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='353c2e5e-75ff-4817-9f13-84d7b384955a' LIMIT 1 Date : 2025-11-12T08:23:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T08:23:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011091 post PendingInvicesDO 2 MED-101010833 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010833 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ef04690-d1c6-498b-befe-89de163cfe46' LIMIT 1 Date : 2025-11-12T08:57:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T08:57:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011092 post PendingInvicesDO 2 MED-101010834 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010834 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99519c92-0048-4ca7-aa21-acaedaec3928' LIMIT 1 Date : 2025-11-12T09:49:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T09:49:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011093 post PendingInvicesDO 2 MED-101010784 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010784 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-101010784' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010784' OR OrderId='MED-101010784' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-12T10:02:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011094 post PendingInvicesDO 2 MED-101010835 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010835 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='350db4a3-e4b9-4a5b-8a95-673617ef002a' LIMIT 1 Date : 2025-11-12T10:11:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T10:11:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011095 post PendingInvicesDO 2 MED-101010838 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010838 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cdb39ce8-1378-4991-9fca-369407f00ee3' LIMIT 1 Date : 2025-11-12T12:27:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T12:27:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011096 post PendingInvicesDO 2 MED-101010839 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010839 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3bf0658f-2f08-4b7b-8b30-7c9273ca5943' LIMIT 1 Date : 2025-11-12T13:31:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T13:31:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011097 post PendingInvicesDO 2 MED-101010840 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010840 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e3882a0-53e2-47e7-9811-d0a30cba37d8' LIMIT 1 Date : 2025-11-12T13:44:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T13:44:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011098 post PendingInvicesDO 2 MED-101010841 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010841 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3d7c4c5-e31f-462b-995c-c2ff1eb3de06' LIMIT 1 Date : 2025-11-12T13:48:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T13:48:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011099 post PendingInvicesDO 2 MED-101010842 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010842 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00a92e5d-4edb-4924-9938-dce8737a8bbd' LIMIT 1 Date : 2025-11-12T14:01:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T14:01:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011100 post PendingInvicesDO 2 MED-101010843 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010843 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48472611-0d56-4050-9640-f2b559b63b2c' LIMIT 1 Date : 2025-11-12T14:29:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T14:29:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011101 post PendingInvicesDO 2 MED-101010844 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010844 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b9d4283-c95b-429a-8bee-4203bed6a484' LIMIT 1 Date : 2025-11-12T14:31:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T14:31:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011102 post PendingInvicesDO 2 MED-101010845 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010845 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c038e79-2f20-43e5-8cf9-b1747da6c06f' LIMIT 1 Date : 2025-11-12T14:47:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T14:47:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011103 post PendingInvicesDO 2 MED-101010846 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010846 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='869b788e-a2cb-4c9b-b614-9727b33d182c' LIMIT 1 Date : 2025-11-12T14:56:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T14:56:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011104 post PendingInvicesDO 2 MED-101010847 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010847 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1081d388-4ce3-4b75-a81f-fbb5afc1d533' LIMIT 1 Date : 2025-11-12T15:19:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T15:19:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011105 post PendingInvicesDO 2 MED-101010848 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010848 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42236918-b489-4ac3-81c6-ff98aaafcee0' LIMIT 1 Date : 2025-11-12T15:21:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T15:21:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011106 post PendingInvicesDO 2 MED-101010849 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010849 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae251cb9-a8b0-4008-912c-8a6814047cf9' LIMIT 1 Date : 2025-11-12T15:22:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T15:22:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011107 post PendingInvicesDO 2 MED-101010850 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010850 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d97897d-c760-45bf-ac0b-0a4c740a3b8a' LIMIT 1 Date : 2025-11-12T15:28:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T15:28:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011108 post PendingInvicesDO 2 MED-101010851 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010851 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c367f6d1-bed9-4173-a7f1-84b94d88452b' LIMIT 1 Date : 2025-11-12T15:42:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T15:42:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011109 post PendingInvicesDO 2 MED-101010852 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010852 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bfd107de-1099-404f-be22-e29429949e7f' LIMIT 1 Date : 2025-11-12T15:46:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T15:46:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011110 post PendingInvicesDO 2 MED-101010853 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010853 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3885cd00-2be7-4170-8ba0-4e6638a8a6dd' LIMIT 1 Date : 2025-11-13T08:38:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T08:38:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011111 post PendingInvicesDO 2 MED-101010691 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-101010691' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010691' OR OrderId='MED-101010691' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-13T09:03:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011112 post PendingInvicesDO 2 MED-101010854 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010854 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da885dde-d3e6-417d-9d12-c1a61ea01e45' LIMIT 1 Date : 2025-11-13T09:58:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T09:58:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011113 post PendingInvicesDO 2 MED-101010855 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010855 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fea5248b-b472-41c2-a948-a5e68e849aa4' LIMIT 1 Date : 2025-11-13T10:16:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T10:16:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011114 post PendingInvicesDO 2 MED-101010856 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010856 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1394672a-277c-4774-a8ec-566d1e5cbd59' LIMIT 1 Date : 2025-11-13T10:31:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T10:31:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011115 post PendingInvicesDO 2 MED-101010857 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010857 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a93ce9a7-a6ee-404a-878a-ffd551f89ccb' LIMIT 1 Date : 2025-11-13T11:01:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T11:01:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011116 post PendingInvicesDO 2 MED-101010858 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010858 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6bae6faf-8c16-4f78-99d6-15baa71198ba' LIMIT 1 Date : 2025-11-13T11:19:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T11:19:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011117 post PendingInvicesDO 2 MED-101010859 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010859 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c956f32d-0cc7-4376-b972-00418f93f94d' LIMIT 1 Date : 2025-11-13T11:48:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T11:48:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011118 post PendingInvicesDO 2 MED-101010860 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010860 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39e328e6-4296-4901-ba21-d10d090ab816' LIMIT 1 Date : 2025-11-13T12:13:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T12:13:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011119 post PendingInvicesDO 2 MED-101010861 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010861 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c54f706-2794-4b09-a056-f7ad0ea8824c' LIMIT 1 Date : 2025-11-13T12:57:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T12:57:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011120 post PendingInvicesDO 2 MED-101010862 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-101010862' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010862' OR OrderId='MED-101010862' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-13T13:36:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011121 post PendingInvicesDO 2 MED-101010863 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010863 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fbf5ad2d-3073-4ba2-8efa-b9306550d318' LIMIT 1 Date : 2025-11-13T14:04:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T14:04:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011122 post PendingInvicesDO 2 MED-101010864 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010864 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c897ee33-9c68-41fc-be94-ba4cc0197e97' LIMIT 1 Date : 2025-11-13T14:26:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T14:26:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011123 post PendingInvicesDO 2 MED-101010865 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010865 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='944fb037-31c3-4472-a584-04bc8757d1be' LIMIT 1 Date : 2025-11-13T14:46:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T14:46:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011124 post PendingInvicesDO 2 MED-101010866 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010866 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d82e9c2-2b04-4984-9a87-b5a2d3a198b9' LIMIT 1 Date : 2025-11-13T15:04:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T15:04:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011125 post PendingInvicesDO 2 MED-101010867 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010867 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74732132-1579-418f-914f-921b687e7d2d' LIMIT 1 Date : 2025-11-13T15:21:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T15:21:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011126 post PendingInvicesDO 2 MED-101010868 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010868 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb9d820a-55cf-4ba0-a38d-f1efc993bd51' LIMIT 1 Date : 2025-11-13T15:54:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T15:54:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011127 post PendingInvicesDO 2 MED-101010869 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010869 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='65fc0cf9-f4f7-4ece-beea-3ba2de637da3' LIMIT 1 Date : 2025-11-13T16:24:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T16:24:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011128 post PendingInvicesDO 2 MED-101010870 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010870 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='05d6fcbe-3334-4f29-9576-25cff4379656' LIMIT 1 Date : 2025-11-13T16:26:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T16:26:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011129 post PendingInvicesDO 2 MED-101010764 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-101010764' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010764' OR OrderId='MED-101010764' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-13T16:29:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011130 post PendingInvicesDO 2 MED-101010871 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010871 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='572ef49f-d1b9-4ce3-8edd-974798550232' LIMIT 1 Date : 2025-11-15T08:43:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T08:43:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011131 post PendingInvicesDO 2 MED-101010872 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010872 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21b61ca0-7259-413b-b7da-b6fe66dfa4fc' LIMIT 1 Date : 2025-11-15T09:39:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T09:39:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011132 post PendingInvicesDO 2 MED-101010873 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010873 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55a2df3b-c540-43ac-bce0-eabc1c1f5a98' LIMIT 1 Date : 2025-11-15T09:52:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T09:52:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011133 post PendingInvicesDO 2 MED-101010694 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010694 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-101010694' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010694' OR OrderId='MED-101010694' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-15T09:57:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011134 post PendingInvicesDO 2 MED-101010875 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010875 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e829e5f-d943-4482-90b6-18eaa9f205ea' LIMIT 1 Date : 2025-11-15T10:33:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T10:33:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011135 post PendingInvicesDO 2 MED-101010876 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010876 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3cf31443-5d42-493c-91e7-13e51dfbd1ba' LIMIT 1 Date : 2025-11-15T11:41:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T11:41:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011137 post PendingInvicesDO 2 MED-101010693 post PendingInvicesDO 2 MED-101010692 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104011136 post PendingInvicesDO 2 MED-101010693 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010692 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010693 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-101010693' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010693' OR OrderId='MED-101010693' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101010693' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010693' OR OrderId='MED-101010693' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-15T11:46:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011138 post PendingInvicesDO 2 MED-101010877 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010877 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73509991-8de9-4fe0-93df-83b242902b71' LIMIT 1 Date : 2025-11-15T11:56:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T11:56:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011139 post PendingInvicesDO 2 MED-101010878 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010878 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ab5ebe9-9f35-4ce2-94dc-7c4dd2f5f2ba' LIMIT 1 Date : 2025-11-15T13:02:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T13:02:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011140 post PendingInvicesDO 2 MED-101010879 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010879 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7afa2bd-5bfe-4fe0-87c9-620c8ddb399a' LIMIT 1 Date : 2025-11-15T13:38:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T13:38:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011141 post PendingInvicesDO 2 MED-101010862 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-101010862' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010862' OR OrderId='MED-101010862' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-15T13:42:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011142 post PendingInvicesDO 2 MED-101010880 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010880 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06bb51cc-9640-4c10-ae05-85964bf131ce' LIMIT 1 Date : 2025-11-15T13:43:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T13:43:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011143 post PendingInvicesDO 2 MED-101010881 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010881 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ecc1fb3f-79a0-421c-93bd-c41ecb8a1763' LIMIT 1 Date : 2025-11-15T13:44:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T13:44:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011144 post PendingInvicesDO 2 MED-101010882 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010882 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='65c3016b-b270-40fe-b3a1-2c7e2784523e' LIMIT 1 Date : 2025-11-15T14:39:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T14:39:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011145 post PendingInvicesDO 2 MED-101010883 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010883 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e285d2bf-da0d-4589-b45a-00b5434132c4' LIMIT 1 Date : 2025-11-15T14:46:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T14:46:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011146 post PendingInvicesDO 2 MED-101010884 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010884 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2635844b-505b-4e75-8327-cca5a8964e01' LIMIT 1 Date : 2025-11-15T15:27:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T15:27:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011147 post PendingInvicesDO 2 MED-101010885 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010885 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55ded7c8-9901-4f33-b77f-c521d34fc45a' LIMIT 1 Date : 2025-11-15T15:30:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T15:30:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011148 post PendingInvicesDO 2 MED-101010886 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010886 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a996fff3-434e-4c3e-889b-3fcc809e5eb0' LIMIT 1 Date : 2025-11-15T15:32:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T15:32:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011149 post PendingInvicesDO 2 MED-101010887 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010887 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7fcbe1c5-4d12-4aef-9284-59478647db3e' LIMIT 1 Date : 2025-11-15T15:35:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T15:35:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011150 post PendingInvicesDO 2 MED-101010888 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010888 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='97729a79-12c0-404b-81ee-2c07ac7b519f' LIMIT 1 Date : 2025-11-15T15:46:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T15:46:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011151 post PendingInvicesDO 2 MED-101010889 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010889 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26bed3ee-b72b-41c1-9046-243e87ffb514' LIMIT 1 Date : 2025-11-16T08:09:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T08:09:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011152 post PendingInvicesDO 2 MED-101010890 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010890 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6515fe86-2cb5-4bb3-99b2-39e6abdf068c' LIMIT 1 Date : 2025-11-16T08:44:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T08:44:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011153 post PendingInvicesDO 2 MED-101010770 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-101010770' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010770' OR OrderId='MED-101010770' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-16T09:20:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011154 post PendingInvicesDO 2 MED-101010891 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010891 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5770e3de-2dae-438f-9839-418b24f2b51d' LIMIT 1 Date : 2025-11-16T09:20:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T09:20:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011155 post PendingInvicesDO 2 MED-101010895 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010895 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2de2eb7-ae4f-4ee1-af7a-90723adcaa63' LIMIT 1 Date : 2025-11-16T10:26:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T10:26:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011156 post PendingInvicesDO 2 MED-101010896 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010896 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6b278ca-c32d-4cf6-88c3-e48f38035e3b' LIMIT 1 Date : 2025-11-16T10:54:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T10:54:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011157 post PendingInvicesDO 2 MED-101010897 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010897 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6cf7f64f-e2a3-4f09-ae3a-11eb733c4f26' LIMIT 1 Date : 2025-11-16T11:10:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T11:10:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011158 post PendingInvicesDO 2 MED-101010898 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010898 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34d80c0a-7f40-409e-8f1c-798296cb8fa7' LIMIT 1 Date : 2025-11-16T11:14:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T11:14:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011159 post PendingInvicesDO 2 MED-101010900 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010900 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b797ec95-a18e-4361-9eb9-0225363be384' LIMIT 1 Date : 2025-11-16T13:11:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T13:11:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011161 post PendingInvicesDO 2 MED-101010894 post PendingInvicesDO 2 MED-101010893 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104011160 post PendingInvicesDO 2 MED-101010894 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101010893 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010894 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-101010894' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010894' OR OrderId='MED-101010894' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101010894' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010894' OR OrderId='MED-101010894' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-16T13:39:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011162 post PendingInvicesDO 2 MED-101010901 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010901 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2582addf-aa22-44da-b603-a9a6c4205325' LIMIT 1 Date : 2025-11-16T14:09:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T14:09:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011163 post PendingInvicesDO 2 MED-101010902 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010902 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='203e61e9-bd47-41f7-aac4-23a8963946b3' LIMIT 1 Date : 2025-11-16T14:38:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T14:38:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011164 post PendingInvicesDO 2 MED-101010903 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010903 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3be1c82e-8af6-4a4c-b51a-7f55492f0e8e' LIMIT 1 Date : 2025-11-16T15:05:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T15:05:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011165 post PendingInvicesDO 2 MED-101010904 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010904 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5e50319-5eba-4b65-b079-b82787807f11' LIMIT 1 Date : 2025-11-16T15:28:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T15:28:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011166 post PendingInvicesDO 2 MED-101010905 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010905 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7cb3d67c-a696-4fba-abfb-f9a7e75e0c14' LIMIT 1 Date : 2025-11-16T15:49:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T15:49:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011167 post PendingInvicesDO 2 MED-101010818 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010818 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-101010818' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010818' OR OrderId='MED-101010818' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-16T16:01:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011168 post PendingInvicesDO 2 MED-101010907 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010907 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b149b64-1b7a-4317-b284-1caed0051434' LIMIT 1 Date : 2025-11-16T16:25:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T16:25:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011169 post PendingInvicesDO 2 MED-101010663 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-101010663' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010663' OR OrderId='MED-101010663' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-16T16:30:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011170 post PendingInvicesDO 2 MED-101010908 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010908 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d45dbd27-0f8e-4e95-be22-4361525b49dd' LIMIT 1 Date : 2025-11-16T16:45:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T16:45:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011171 post PendingInvicesDO 2 MED-101010909 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010909 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2588e635-fcae-4730-962a-b0662af1e0bc' LIMIT 1 Date : 2025-11-16T17:10:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T17:10:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011172 post PendingInvicesDO 2 MED-101010910 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010910 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c692b31a-2cbe-421f-ad08-8963e785d98e' LIMIT 1 Date : 2025-11-17T08:44:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T08:44:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011173 post PendingInvicesDO 2 MED-101010911 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010911 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='198cc894-e9e8-4b6e-b779-9d4743e23d86' LIMIT 1 Date : 2025-11-17T09:42:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T09:42:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011174 post PendingInvicesDO 2 MED-101010912 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010912 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ea0ec09-ac5f-4e65-b5bf-b5a97585d66f' LIMIT 1 Date : 2025-11-17T09:54:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T09:54:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011175 post PendingInvicesDO 2 MED-101010913 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010913 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ea65980-6770-4c5d-9e07-ecaa5771bd97' LIMIT 1 Date : 2025-11-17T11:12:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T11:12:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011176 post PendingInvicesDO 2 MED-101010914 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010914 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f327924a-f4d9-429b-8ab6-056b6aca8057' LIMIT 1 Date : 2025-11-17T11:47:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T11:47:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011177 post PendingInvicesDO 2 MED-101010915 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010915 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5aef0ddd-6e7c-4b95-96b5-dd54b60bb50d' LIMIT 1 Date : 2025-11-17T12:38:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T12:38:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011178 post PendingInvicesDO 2 MED-101010892 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010892 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-101010892' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010892' OR OrderId='MED-101010892' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-17T13:42:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011179 post PendingInvicesDO 2 MED-101010770 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-101010770' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010770' OR OrderId='MED-101010770' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-17T13:49:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011180 post PendingInvicesDO 2 MED-101010916 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010916 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1995774-f8b3-47a4-a373-573539c66c67' LIMIT 1 Date : 2025-11-17T13:58:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T13:58:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011181 post PendingInvicesDO 2 MED-101010917 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010917 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='deacf55e-929f-4afa-866c-e8fc45867be1' LIMIT 1 Date : 2025-11-17T13:59:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T13:59:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011182 post PendingInvicesDO 2 MED-101010918 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010918 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6443b0a-25e8-4cd8-8571-ae6fdbc3d1a5' LIMIT 1 Date : 2025-11-17T14:07:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T14:07:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011183 post PendingInvicesDO 2 MED-101010919 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010919 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca9170d9-c0c8-4858-9d35-5e0c8cb9ae37' LIMIT 1 Date : 2025-11-17T14:33:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T14:33:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011184 post PendingInvicesDO 2 MED-101010920 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010920 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27390915-6a17-445c-baa3-9521d62ce061' LIMIT 1 Date : 2025-11-17T15:03:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T15:03:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011185 post PendingInvicesDO 2 MED-101010922 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010922 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='865c9ef3-c2da-4d4b-8a3f-4f1ea03fd252' LIMIT 1 Date : 2025-11-17T15:22:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T15:22:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011186 post PendingInvicesDO 2 MED-101010923 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010923 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34886caf-b67f-447f-9b3c-9701b9650bca' LIMIT 1 Date : 2025-11-17T15:24:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T15:24:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011187 post PendingInvicesDO 2 MED-101010924 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010924 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4cbb3be5-72f9-45e4-85b3-8ca7974da126' LIMIT 1 Date : 2025-11-17T15:54:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T15:54:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011188 post PendingInvicesDO 2 MED-101010925 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010925 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1b3bedd-851e-40b0-bb0b-d2b74d84a048' LIMIT 1 Date : 2025-11-17T15:56:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T15:56:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011189 post PendingInvicesDO 2 MED-101010926 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010926 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e161f4c5-8d47-4fe1-a991-cff71be84146' LIMIT 1 Date : 2025-11-17T15:58:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T15:58:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011190 post PendingInvicesDO 2 MED-101010927 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010927 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd13286e-559a-4fdb-a97e-e1efd9582666' LIMIT 1 Date : 2025-11-17T16:00:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T16:00:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011191 post PendingInvicesDO 2 MED-101010928 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010928 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e55684f-f1fb-4730-9c16-f6e57e4df4db' LIMIT 1 Date : 2025-11-17T16:10:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T16:10:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011192 post PendingInvicesDO 2 MED-101010899 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010899 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-101010899' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010899' OR OrderId='MED-101010899' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-18T08:45:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011193 post PendingInvicesDO 2 MED-101010929 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010929 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='80c49fe1-4e4f-4002-ba61-6026920f6905' LIMIT 1 Date : 2025-11-18T08:58:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T08:58:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011194 post PendingInvicesDO 2 MED-101010930 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010930 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99fd029f-7a3c-4b78-8fad-68edee9027eb' LIMIT 1 Date : 2025-11-18T09:32:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T09:32:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011195 post PendingInvicesDO 2 MED-101010931 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010931 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa2cd173-e75f-4536-b2ee-96e4e62db408' LIMIT 1 Date : 2025-11-18T10:25:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T10:25:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011196 post PendingInvicesDO 2 MED-101010932 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010932 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e76c410a-e4d7-47c9-9a5a-09627ff76c69' LIMIT 1 Date : 2025-11-18T10:50:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T10:50:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011197 post PendingInvicesDO 2 MED-101010933 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010933 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17b5a1f7-bdb8-405c-9d3b-92cd6ce1cdbb' LIMIT 1 Date : 2025-11-18T11:30:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T11:30:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011198 post PendingInvicesDO 2 MED-101010934 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010934 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d986bef-3363-4070-9df8-e392cfdb5fef' LIMIT 1 Date : 2025-11-18T12:28:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T12:28:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011199 post PendingInvicesDO 2 MED-101010935 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010935 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fba193a2-350e-4bd9-b3e1-bf1bf61af668' LIMIT 1 Date : 2025-11-18T12:43:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T12:43:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011200 post PendingInvicesDO 2 MED-101010936 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010936 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='293e2822-d52c-4d83-a7cf-693bb9a632db' LIMIT 1 Date : 2025-11-18T13:52:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T13:52:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011201 post PendingInvicesDO 2 MED-101010937 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010937 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe73b7e6-55b0-4c96-a6ff-116de044db9f' LIMIT 1 Date : 2025-11-18T13:53:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T13:53:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011202 post PendingInvicesDO 2 MED-101010938 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010938 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92c1027a-ca16-40e0-a04e-1b0166dc941c' LIMIT 1 Date : 2025-11-18T14:03:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T14:03:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011203 post PendingInvicesDO 2 MED-101010939 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010939 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79255add-7d8a-4aa6-963d-1ecef60624ca' LIMIT 1 Date : 2025-11-18T14:07:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T14:07:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011204 post PendingInvicesDO 2 MED-101010940 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010940 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11f592e1-04bd-42a2-85dd-bd61cc10f747' LIMIT 1 Date : 2025-11-18T14:26:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T14:26:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011205 post PendingInvicesDO 2 MED-101010941 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010941 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eae2e509-16de-41ff-8e3d-fdc5c6dd0174' LIMIT 1 Date : 2025-11-18T14:42:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T14:42:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011206 post PendingInvicesDO 2 MED-101010942 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010942 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='309c29ad-73aa-4fea-8fb6-1eca7552d7fa' LIMIT 1 Date : 2025-11-18T15:01:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T15:01:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011207 post PendingInvicesDO 2 MED-101010943 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010943 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b513dd87-bfe6-4822-8117-fef68f0212bf' LIMIT 1 Date : 2025-11-18T15:02:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T15:02:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011208 post PendingInvicesDO 2 MED-101010944 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010944 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef4bf06b-3e74-4e56-90eb-1d160f94fdd6' LIMIT 1 Date : 2025-11-18T15:03:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T15:03:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011209 post PendingInvicesDO 2 MED-101010945 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010945 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4ad58cb-7b27-43ff-a2d4-1637fa2ca686' LIMIT 1 Date : 2025-11-18T15:09:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T15:09:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011210 post PendingInvicesDO 2 MED-101010946 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010946 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d123e9bc-29db-4b18-86e3-070aef399521' LIMIT 1 Date : 2025-11-18T15:21:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T15:21:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011211 post PendingInvicesDO 2 MED-101010947 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010947 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee8a0202-92fc-42a8-aaf0-b360c5d59a83' LIMIT 1 Date : 2025-11-18T15:47:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T15:47:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011212 post PendingInvicesDO 2 MED-101010948 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010948 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0998687-ca10-41fe-8277-684f92f82dbf' LIMIT 1 Date : 2025-11-19T08:42:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T08:42:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011213 post PendingInvicesDO 2 MED-101010949 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010949 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='54679639-5a1d-4352-b97e-5f1e3f339be3' LIMIT 1 Date : 2025-11-19T09:24:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T09:24:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011214 post PendingInvicesDO 2 MED-101010691 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-101010691' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010691' OR OrderId='MED-101010691' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-19T10:10:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011215 post PendingInvicesDO 2 MED-101010663 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-101010663' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010663' OR OrderId='MED-101010663' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-19T11:03:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011216 post PendingInvicesDO 2 MED-101010952 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010952 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33b81be3-d273-4cb7-970d-951a4425fc2a' LIMIT 1 Date : 2025-11-19T12:13:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T12:13:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011217 post PendingInvicesDO 2 MED-101010953 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010953 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32610356-f3a9-4634-ab25-39b99378181d' LIMIT 1 Date : 2025-11-19T12:18:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T12:18:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011218 post PendingInvicesDO 2 MED-101010954 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010954 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16b7be88-77fa-4a0d-8861-c9dc82ec17fc' LIMIT 1 Date : 2025-11-19T12:29:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T12:29:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011219 post PendingInvicesDO 2 MED-101010955 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010955 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c926ebc-e510-452c-9b33-c541105b6c83' LIMIT 1 Date : 2025-11-19T12:49:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T12:49:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011220 post PendingInvicesDO 2 MED-101010956 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010956 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33dbb035-2ff2-4fc0-ae49-5325c33a8f30' LIMIT 1 Date : 2025-11-19T14:11:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T14:11:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011221 post PendingInvicesDO 2 MED-101010957 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010957 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f0c2da2-ba7d-4bc0-8ad2-dae90c420339' LIMIT 1 Date : 2025-11-19T14:33:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T14:33:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011222 post PendingInvicesDO 2 MED-101010958 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010958 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3e07adf-8c5e-4282-8ea0-31bfcb770824' LIMIT 1 Date : 2025-11-19T14:51:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T14:51:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011223 post PendingInvicesDO 2 MED-101010959 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010959 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a197471-71be-4965-8efc-f683dd3ec7b5' LIMIT 1 Date : 2025-11-19T15:37:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T15:37:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011224 post PendingInvicesDO 2 MED-101010960 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010960 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b237bf40-66c0-4060-b86d-6b031aa3c16c' LIMIT 1 Date : 2025-11-19T15:59:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T15:59:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011225 post PendingInvicesDO 2 MED-101010961 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010961 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c31aa07c-c239-496d-9f72-015c8c7b4b0d' LIMIT 1 Date : 2025-11-19T16:19:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T16:19:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011226 post PendingInvicesDO 2 MED-101010962 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010962 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca3da2bf-8cb8-4cb7-93a2-f9f3b08ef50e' LIMIT 1 Date : 2025-11-19T16:20:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T16:20:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011227 post PendingInvicesDO 2 MED-101010963 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010963 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='424cfb38-c4ee-47cf-a7d6-e67f0dad0308' LIMIT 1 Date : 2025-11-19T16:21:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T16:21:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011228 post PendingInvicesDO 2 MED-101010964 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010964 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c359cdb5-f574-49f5-8d6b-c6cb6c95528b' LIMIT 1 Date : 2025-11-19T16:24:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T16:24:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011229 post PendingInvicesDO 2 MED-101010965 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010965 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d55894fc-f93d-423e-b590-d8cc200c95b9' LIMIT 1 Date : 2025-11-20T08:51:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T08:51:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011230 post PendingInvicesDO 2 MED-101010906 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010906 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-101010906' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010906' OR OrderId='MED-101010906' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-20T09:25:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011231 post PendingInvicesDO 2 MED-101010967 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010967 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6044fc50-dacb-4cc6-ad20-3179a1c108f4' LIMIT 1 Date : 2025-11-20T09:46:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T09:46:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011232 post PendingInvicesDO 2 MED-101010968 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010968 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b08948b1-3faf-47f0-8d4c-a573534c1eb2' LIMIT 1 Date : 2025-11-20T09:58:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T09:58:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011233 post PendingInvicesDO 2 MED-101010969 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010969 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3bbd9ec-1c68-453e-96ea-4360fe3d6b12' LIMIT 1 Date : 2025-11-20T10:47:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T10:47:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011234 post PendingInvicesDO 2 MED-101010970 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010970 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19de2a47-0a98-4402-8105-71d39a2781fd' LIMIT 1 Date : 2025-11-20T11:28:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T11:28:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011235 post PendingInvicesDO 2 MED-101010971 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010971 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b38b4988-11fa-4121-b6d4-7db9ee7d3349' LIMIT 1 Date : 2025-11-20T11:37:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T11:37:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011236 post PendingInvicesDO 2 MED-101010972 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010972 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf84b6d2-bcc0-49a9-a732-86f3b7d20c49' LIMIT 1 Date : 2025-11-20T11:51:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T11:51:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011237 post PendingInvicesDO 2 MED-101010973 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010973 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5655e6b7-ab02-4e5c-977c-eff440dfed3c' LIMIT 1 Date : 2025-11-20T12:10:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T12:10:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011238 post PendingInvicesDO 2 MED-101010974 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010974 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0486ad86-ee15-4836-a202-d28c7662a900' LIMIT 1 Date : 2025-11-20T12:11:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T12:11:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011239 post PendingInvicesDO 2 MED-101010715 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010715 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-101010715' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010715' OR OrderId='MED-101010715' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-20T13:24:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011240 post PendingInvicesDO 2 MED-101010976 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010976 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4248ad3-b497-48d9-ba5b-29825356cfc4' LIMIT 1 Date : 2025-11-20T14:17:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T14:17:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011241 post PendingInvicesDO 2 MED-101010802 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010802 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-101010802' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010802' OR OrderId='MED-101010802' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-20T14:43:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011242 post PendingInvicesDO 2 MED-101010978 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-101010978' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010978' OR OrderId='MED-101010978' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-20T14:51:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011243 post PendingInvicesDO 2 MED-101010979 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010979 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd2a0d55-64dd-46de-9210-a9186120b64f' LIMIT 1 Date : 2025-11-20T14:58:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T14:58:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011244 post PendingInvicesDO 2 MED-101010980 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010980 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74e682d1-52b4-43a6-a71b-5b15c4bed4a0' LIMIT 1 Date : 2025-11-20T15:05:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T15:05:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011245 post PendingInvicesDO 2 MED-101010981 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010981 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d889a97-79ae-402d-aebf-f3d84a007d32' LIMIT 1 Date : 2025-11-20T15:48:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T15:48:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011246 post PendingInvicesDO 2 MED-101010982 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010982 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e63d3f9a-c1b1-4684-bb69-10b3cb4f8e30' LIMIT 1 Date : 2025-11-20T16:07:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T16:07:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011247 post PendingInvicesDO 2 MED-101010983 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010983 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a52bfca9-2aab-4f66-89e8-449d255c2b03' LIMIT 1 Date : 2025-11-22T09:02:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T09:02:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011248 post PendingInvicesDO 2 MED-101010807 post PendingInvicesDO 2 MED-101010921 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010921 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010807 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-101010807' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010807' OR OrderId='MED-101010807' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-101010921' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010921' OR OrderId='MED-101010921' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-22T09:03:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011249 post PendingInvicesDO 2 MED-101010636 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-101010636' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010636' OR OrderId='MED-101010636' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-22T09:24:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011250 post PendingInvicesDO 2 MED-101010977 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010977 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-101010977' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010977' OR OrderId='MED-101010977' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-22T09:28:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011251 post PendingInvicesDO 2 MED-101010984 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010984 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f3902b6-705b-4cec-9492-1eb9bfcc0f1b' LIMIT 1 Date : 2025-11-22T09:31:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T09:31:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011252 post PendingInvicesDO 2 MED-101010985 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010985 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6083888a-8e28-48bd-88c5-0016634ecab4' LIMIT 1 Date : 2025-11-22T10:01:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T10:01:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011253 post PendingInvicesDO 2 MED-101010966 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010966 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-101010966' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010966' OR OrderId='MED-101010966' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-22T10:54:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011254 post PendingInvicesDO 2 MED-101010987 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010987 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a71ea10-cda5-47da-962f-8ac20622cfdb' LIMIT 1 Date : 2025-11-22T11:23:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T11:23:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011255 post PendingInvicesDO 2 MED-101010989 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010989 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d234e7a-af07-44b6-9835-38f321b39e8f' LIMIT 1 Date : 2025-11-22T12:10:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T12:10:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011256 post PendingInvicesDO 2 MED-101010990 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010990 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32cc45d0-151f-4fd8-b429-b49203dd8a25' LIMIT 1 Date : 2025-11-22T12:21:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T12:21:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011257 post PendingInvicesDO 2 MED-101010991 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010991 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81f87f9b-99bb-4e93-9752-0fffe7ff16cc' LIMIT 1 Date : 2025-11-22T12:57:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T12:57:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011258 post PendingInvicesDO 2 MED-101010992 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010992 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbd326b0-82ce-4397-9c33-9452cfbea5e6' LIMIT 1 Date : 2025-11-22T13:46:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T13:46:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011259 post PendingInvicesDO 2 MED-101010993 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010993 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9988dd15-a09b-42cc-a75e-e72cfac5018b' LIMIT 1 Date : 2025-11-22T14:06:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T14:06:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011260 post PendingInvicesDO 2 MED-101010994 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010994 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ec1bf33-e2d9-4dff-8576-93b98944bfdd' LIMIT 1 Date : 2025-11-22T14:10:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T14:10:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011261 post PendingInvicesDO 2 MED-101010995 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010995 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14fb5fcb-5472-46b0-b193-5cdf5c63701e' LIMIT 1 Date : 2025-11-22T14:13:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T14:13:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011262 post PendingInvicesDO 2 MED-101010996 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010996 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e8cb78a-6cde-4531-be0c-43ba6c691b1f' LIMIT 1 Date : 2025-11-22T14:46:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T14:46:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011263 post PendingInvicesDO 2 MED-101010997 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010997 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49a28977-771f-4d2f-adeb-7c05a130738d' LIMIT 1 Date : 2025-11-22T14:51:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T14:51:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011264 post PendingInvicesDO 2 MED-101010998 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010998 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec98d8be-c612-4d96-ba1b-abe40f793bd6' LIMIT 1 Date : 2025-11-22T15:00:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T15:00:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011265 post PendingInvicesDO 2 MED-101010636 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-101010636' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010636' OR OrderId='MED-101010636' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-23T08:42:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011266 post PendingInvicesDO 2 MED-101010986 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-101010986' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010986' OR OrderId='MED-101010986' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-23T08:42:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011267 post PendingInvicesDO 2 MED-101010999 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010999 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25c5e24e-71cb-485c-9e10-d9a339a74455' LIMIT 1 Date : 2025-11-23T08:52:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T08:52:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011268 post PendingInvicesDO 2 MED-101011000 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011000 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='076357ed-9687-43b2-8c05-df2d0eaef121' LIMIT 1 Date : 2025-11-23T09:26:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T09:26:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011269 post PendingInvicesDO 2 MED-101010951 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010951 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-101010951' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010951' OR OrderId='MED-101010951' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-23T09:59:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011270 post PendingInvicesDO 2 MED-101010988 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010988 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-101010988' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010988' OR OrderId='MED-101010988' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-23T10:06:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011271 post PendingInvicesDO 2 MED-101011001 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011001 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60e1b222-0974-4873-8730-f44f7bed33fd' LIMIT 1 Date : 2025-11-23T10:11:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T10:11:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011272 post PendingInvicesDO 2 MED-101011002 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011002 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='910de363-d43c-48d3-b88a-5e4dce92da60' LIMIT 1 Date : 2025-11-23T10:30:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T10:30:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011273 post PendingInvicesDO 2 MED-101010874 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010874 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-101010874' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010874' OR OrderId='MED-101010874' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-23T11:17:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011274 post PendingInvicesDO 2 MED-101011003 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011003 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dabd959d-1dfe-451f-be35-df652b8fc95a' LIMIT 1 Date : 2025-11-23T11:19:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T11:19:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011275 post PendingInvicesDO 2 MED-101011004 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011004 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac4a8f0b-1301-4581-bcfb-e3f50500263d' LIMIT 1 Date : 2025-11-23T11:50:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T11:50:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011276 post PendingInvicesDO 2 MED-101011005 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011005 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a361e68-87c7-4b98-be66-37530b7e894a' LIMIT 1 Date : 2025-11-23T12:42:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T12:42:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011277 post PendingInvicesDO 2 MED-101011007 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011007 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c271544c-e2bb-4d0a-baf1-5a044b48b7bc' LIMIT 1 Date : 2025-11-23T14:47:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T14:47:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011278 post PendingInvicesDO 2 MED-101011008 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011008 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04cd5950-2e05-4d7e-a9c8-6a8d005cf8f0' LIMIT 1 Date : 2025-11-23T15:14:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T15:14:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011279 post PendingInvicesDO 2 MED-101011009 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011009 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a8c8d62-18ae-4c02-871d-dff02ca071e4' LIMIT 1 Date : 2025-11-23T15:20:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T15:20:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011280 post PendingInvicesDO 2 MED-101011010 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011010 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01bcbd5c-c457-4357-bab0-1ecf74ae5597' LIMIT 1 Date : 2025-11-23T15:24:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T15:24:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011281 post PendingInvicesDO 2 MED-101011011 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011011 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e00be4ca-61a4-4cc1-8ee4-31cd53a73f4d' LIMIT 1 Date : 2025-11-23T15:24:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T15:24:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011282 post PendingInvicesDO 2 MED-101011012 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011012 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9f43a3d-ad64-4fc3-8f3d-aff508fe1011' LIMIT 1 Date : 2025-11-23T15:26:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T15:26:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011283 post PendingInvicesDO 2 MED-101011013 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011013 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d0094ec-7382-4f6e-a996-5d9da6d9bc39' LIMIT 1 Date : 2025-11-23T15:28:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T15:28:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011284 post PendingInvicesDO 2 MED-101011014 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011014 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ca2cf63-b63a-4eb9-ad2a-f2800112db67' LIMIT 1 Date : 2025-11-23T15:32:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T15:32:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011285 post PendingInvicesDO 2 MED-101011015 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011015 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='634a61ef-c591-4c68-ac31-cd2384e2acad' LIMIT 1 Date : 2025-11-23T15:35:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T15:35:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011286 post PendingInvicesDO 2 MED-101010950 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-101010950' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010950' OR OrderId='MED-101010950' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-23T15:55:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011287 post PendingInvicesDO 2 MED-101011006 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011006 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-101011006' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101011006' OR OrderId='MED-101011006' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-23T16:07:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011288 post PendingInvicesDO 2 MED-101011016 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011016 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a302279-07dd-46d1-93ba-746fc5542f1f' LIMIT 1 Date : 2025-11-23T16:07:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T16:07:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011289 post PendingInvicesDO 2 MED-101011017 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011017 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f3073a3-6c9e-4cf2-a52e-2dc8a4abebb2' LIMIT 1 Date : 2025-11-23T16:19:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T16:19:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011290 post PendingInvicesDO 2 MED-101011018 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011018 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e169fca3-14f1-4a9f-8046-74429c74191f' LIMIT 1 Date : 2025-11-24T08:44:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T08:44:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011291 post PendingInvicesDO 2 MED-101011019 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011019 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb5bbb8b-d4fb-4c5f-83e4-dd8b8ecbc2d8' LIMIT 1 Date : 2025-11-24T09:00:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T09:00:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011292 post PendingInvicesDO 2 MED-101011020 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011020 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6cd5afee-74c4-4c36-a849-bb636084c581' LIMIT 1 Date : 2025-11-24T09:29:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T09:29:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011293 post PendingInvicesDO 2 MED-101011021 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011021 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de520492-e3c8-41ea-87b7-2893eac1b3f2' LIMIT 1 Date : 2025-11-24T10:19:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T10:19:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011294 post PendingInvicesDO 2 MED-101011022 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011022 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd1256e2-bae4-4ada-a2dc-3d366ff0d660' LIMIT 1 Date : 2025-11-24T10:34:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T10:34:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011295 post PendingInvicesDO 2 MED-101011023 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011023 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de8c7d6f-adfd-41c0-a18f-946a1556454f' LIMIT 1 Date : 2025-11-24T10:58:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T10:58:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011296 post PendingInvicesDO 2 MED-101011024 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011024 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='662c0ef5-5092-44e2-86cd-35ac147e719a' LIMIT 1 Date : 2025-11-24T11:26:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T11:26:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011297 post PendingInvicesDO 2 MED-101010644 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010644 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-101010644' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010644' OR OrderId='MED-101010644' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-24T13:25:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011298 post PendingInvicesDO 2 MED-101011027 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011027 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7bfbef7d-ca75-4aea-9327-d6bac214b502' LIMIT 1 Date : 2025-11-24T14:30:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T14:30:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011299 post PendingInvicesDO 2 MED-101011028 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011028 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92651fe1-8302-418c-aaef-6d688b20778f' LIMIT 1 Date : 2025-11-24T14:41:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T14:41:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011300 post PendingInvicesDO 2 MED-101011029 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011029 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='209eb8ba-41ae-4f24-bddb-d900ae59bffa' LIMIT 1 Date : 2025-11-24T15:00:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T15:00:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011301 post PendingInvicesDO 2 MED-101011026 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011026 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-101011026' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101011026' OR OrderId='MED-101011026' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-24T15:01:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011302 post PendingInvicesDO 2 MED-101011030 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011030 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b465488-7ae5-4b09-b5d7-0ebf32275cda' LIMIT 1 Date : 2025-11-24T15:03:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T15:03:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011303 post PendingInvicesDO 2 MED-101011031 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011031 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55ab713f-22ec-484d-bc28-699946980aa4' LIMIT 1 Date : 2025-11-24T15:14:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T15:14:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011304 post PendingInvicesDO 2 MED-101011032 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011032 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f381872-95a1-4a1f-ab6c-652c7ef4533f' LIMIT 1 Date : 2025-11-24T15:15:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T15:15:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011305 post PendingInvicesDO 2 MED-101011033 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011033 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='164cf48c-1524-4eac-9eec-499251c9f1a2' LIMIT 1 Date : 2025-11-24T15:22:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T15:22:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011306 post PendingInvicesDO 2 MED-101011034 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011034 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16c36263-35a5-4ef2-a256-b8b0e0b38ef0' LIMIT 1 Date : 2025-11-24T15:24:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T15:24:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011307 post PendingInvicesDO 2 MED-101011035 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011035 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9712fd57-cfb6-4acf-b2e5-c35fec168da5' LIMIT 1 Date : 2025-11-24T15:32:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T15:32:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011308 post PendingInvicesDO 2 MED-101011036 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011036 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62f9676e-2549-40af-bf2a-892cd76c6453' LIMIT 1 Date : 2025-11-24T16:21:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T16:21:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011309 post PendingInvicesDO 2 MED-101010673 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-101010673' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010673' OR OrderId='MED-101010673' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-25T08:44:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011310 post PendingInvicesDO 2 MED-101011037 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011037 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a9c4653-60dd-4bca-9ea8-aa2db0853d3f' LIMIT 1 Date : 2025-11-25T08:46:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T08:46:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011311 post PendingInvicesDO 2 MED-101010815 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010815 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-101010815' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010815' OR OrderId='MED-101010815' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-25T09:05:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011312 post PendingInvicesDO 2 MED-101011038 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011038 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6603bc9-334d-40fa-9356-fb731c39d59f' LIMIT 1 Date : 2025-11-25T09:38:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T09:38:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011313 post PendingInvicesDO 2 MED-101011039 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011039 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21fbd324-d3fb-4273-ae16-e4c5cc841f17' LIMIT 1 Date : 2025-11-25T10:10:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T10:10:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011314 post PendingInvicesDO 2 MED-101011040 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011040 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5218ab37-1177-46db-abfc-9a19d4e1b9f5' LIMIT 1 Date : 2025-11-25T11:15:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T11:15:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011315 post PendingInvicesDO 2 MED-101011041 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011041 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b716b42d-c899-40b6-b45e-b38ea64dbf4d' LIMIT 1 Date : 2025-11-25T11:48:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T11:48:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011316 post PendingInvicesDO 2 MED-101011042 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011042 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02a51beb-ac88-4d4d-adbc-d9d8eaa1dcfe' LIMIT 1 Date : 2025-11-25T12:52:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T12:52:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011317 post PendingInvicesDO 2 MED-101011043 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011043 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd1c2b40-db14-43a2-9b0e-6c3af2b94736' LIMIT 1 Date : 2025-11-25T14:01:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T14:01:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011318 post PendingInvicesDO 2 MED-101010986 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-101010986' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010986' OR OrderId='MED-101010986' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-25T14:03:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011319 post PendingInvicesDO 2 MED-101011044 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011044 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3ba8c79-e2fa-4210-aef1-55a5d62990f5' LIMIT 1 Date : 2025-11-25T14:08:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T14:08:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011320 post PendingInvicesDO 2 MED-101011045 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011045 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='743dee3f-4d08-49d1-ab2f-af15d9f0471c' LIMIT 1 Date : 2025-11-25T14:29:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T14:29:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011321 post PendingInvicesDO 2 MED-101011046 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011046 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ce5189d-48c3-41cd-931c-0dde1ec13de1' LIMIT 1 Date : 2025-11-25T14:37:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T14:37:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011322 post PendingInvicesDO 2 MED-101011047 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011047 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='851fa24f-9e65-4e9e-b0b5-cef576267130' LIMIT 1 Date : 2025-11-25T14:38:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T14:38:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011323 post PendingInvicesDO 2 MED-101011048 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011048 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b105d23a-2d69-4824-be06-6e42fb917189' LIMIT 1 Date : 2025-11-25T14:41:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T14:41:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011324 post PendingInvicesDO 2 MED-101011049 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011049 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db9f28e0-d9df-4e4d-a92b-b7a8c1f3a812' LIMIT 1 Date : 2025-11-25T15:22:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T15:22:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011325 post PendingInvicesDO 2 MED-101011050 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011050 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a1cba2b-ebcb-4f47-9264-6285505ecfce' LIMIT 1 Date : 2025-11-25T15:25:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T15:25:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011326 post PendingInvicesDO 2 MED-101011051 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011051 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe84f68d-1fb7-4dd0-bc72-24cafbcaaa85' LIMIT 1 Date : 2025-11-25T15:29:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T15:29:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011327 post PendingInvicesDO 2 MED-101011052 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011052 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='523e0016-ac3e-4e19-b8fb-45c8e3c73123' LIMIT 1 Date : 2025-11-25T15:30:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T15:30:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011328 post PendingInvicesDO 2 MED-101011053 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011053 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e34726eb-710e-491d-a60e-0d24d3633049' LIMIT 1 Date : 2025-11-25T15:47:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T15:47:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011329 post PendingInvicesDO 2 MED-101010702 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010702 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-101010702' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010702' OR OrderId='MED-101010702' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-26T08:10:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011330 post PendingInvicesDO 2 MED-101010673 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-101010673' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010673' OR OrderId='MED-101010673' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-26T08:12:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011331 post PendingInvicesDO 2 MED-101011054 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011054 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a045ea0b-714e-4056-830f-ed497857b8cd' LIMIT 1 Date : 2025-11-26T08:52:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T08:52:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011332 post PendingInvicesDO 2 MED-101011055 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011055 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='017419cd-0b97-4a7e-8367-012d7ddc1890' LIMIT 1 Date : 2025-11-26T09:26:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T09:26:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011333 post PendingInvicesDO 2 MED-101010690 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010690 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-101010690' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010690' OR OrderId='MED-101010690' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-26T09:28:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011334 post PendingInvicesDO 2 MED-101010978 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-101010978' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010978' OR OrderId='MED-101010978' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-26T09:28:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011335 post PendingInvicesDO 2 MED-101011056 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011056 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45bcc6f3-9073-4905-8f49-7d3669be09ca' LIMIT 1 Date : 2025-11-26T10:05:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T10:05:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011336 post PendingInvicesDO 2 MED-101011057 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011057 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55c262d9-982a-42bb-a799-68357aec3e46' LIMIT 1 Date : 2025-11-26T10:21:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T10:21:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011337 post PendingInvicesDO 2 MED-101011058 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011058 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fefe6e69-44fc-4335-a2ba-288fac4f87ec' LIMIT 1 Date : 2025-11-26T10:58:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T10:58:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011338 post PendingInvicesDO 2 MED-101011059 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011059 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2565380-b07a-484a-a602-0c36e779b124' LIMIT 1 Date : 2025-11-26T11:28:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T11:28:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011339 post PendingInvicesDO 2 MED-101011060 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011060 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22c94137-3a58-4277-a6e3-e1b067e3d810' LIMIT 1 Date : 2025-11-26T11:43:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T11:43:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011340 post PendingInvicesDO 2 MED-101011061 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011061 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='960cba9a-a5d8-4aaf-9053-e4f8df8ebae6' LIMIT 1 Date : 2025-11-26T12:23:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T12:23:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011341 post PendingInvicesDO 2 MED-101011062 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011062 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='203022da-b9f3-472a-a479-8ecf04634350' LIMIT 1 Date : 2025-11-26T13:15:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T13:15:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011342 post PendingInvicesDO 2 MED-101011063 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011063 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d28ee0de-f3e1-46d9-9f0d-ba5d350061bf' LIMIT 1 Date : 2025-11-26T13:57:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T13:57:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011343 post PendingInvicesDO 2 MED-101011064 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011064 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ac703c0-0c2d-439b-9d36-6b19566d0c1b' LIMIT 1 Date : 2025-11-26T14:51:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T14:51:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011344 post PendingInvicesDO 2 MED-101011065 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011065 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c783690d-85e4-4686-9c95-4e9b4483e0a8' LIMIT 1 Date : 2025-11-26T15:03:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T15:03:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011345 post PendingInvicesDO 2 MED-101010950 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-101010950' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010950' OR OrderId='MED-101010950' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-26T15:58:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011346 post PendingInvicesDO 2 MED-101011066 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011066 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01c09a4d-9bbb-4e31-8c98-90311673fc38' LIMIT 1 Date : 2025-11-26T16:00:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T16:00:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011347 post PendingInvicesDO 2 MED-101011067 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011067 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='176f5550-73f9-4cf4-8a59-e620c9b25784' LIMIT 1 Date : 2025-11-26T16:02:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T16:02:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011348 post PendingInvicesDO 2 MED-101011068 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011068 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='687e7414-7740-407b-a186-8ca3ffd75a2e' LIMIT 1 Date : 2025-11-26T16:03:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T16:03:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011349 post PendingInvicesDO 2 MED-101011069 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011069 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4eb804b-cf47-4697-9597-7b19e53c1b4c' LIMIT 1 Date : 2025-11-26T16:05:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T16:05:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011350 post PendingInvicesDO 2 MED-101011070 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011070 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e2ec0e1-47e6-482b-ac98-6d0039b6194f' LIMIT 1 Date : 2025-11-26T16:14:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T16:14:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011351 post PendingInvicesDO 2 MED-101011071 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011071 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a873b8b4-e98e-4c9a-bcc3-ee44da465056' LIMIT 1 Date : 2025-11-26T16:15:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T16:15:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011352 post PendingInvicesDO 2 MED-101010673 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-101010673' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010673' OR OrderId='MED-101010673' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-26T16:19:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011353 post PendingInvicesDO 2 MED-101011072 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011072 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a32bb300-2d78-459b-a265-1b5d1de2d99d' LIMIT 1 Date : 2025-11-27T09:00:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-27T09:00:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011354 post PendingInvicesDO 2 MED-101011073 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011073 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='444e61ff-5225-4852-8944-1beda72325cb' LIMIT 1 Date : 2025-11-27T09:24:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-27T09:24:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011355 post PendingInvicesDO 2 MED-101011074 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011074 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a3b5221-640f-416b-92b2-4b0e7925536d' LIMIT 1 Date : 2025-11-27T10:39:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-27T10:39:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011356 post PendingInvicesDO 2 MED-101011075 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011075 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c39f36aa-21e7-432c-85e0-27006a2854a2' LIMIT 1 Date : 2025-11-27T10:57:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-27T10:57:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011357 post PendingInvicesDO 2 MED-101011076 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011076 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6bfcc2c-b6b0-4438-8837-0ad3f734e04c' LIMIT 1 Date : 2025-11-27T11:54:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-27T11:54:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011358 post PendingInvicesDO 2 MED-101011077 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011077 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dfaff9bd-93cc-4e57-8434-678923269d6e' LIMIT 1 Date : 2025-11-27T12:14:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-27T12:14:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011359 post PendingInvicesDO 2 MED-101011078 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011078 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b940c332-7050-4ac6-b125-6ff7cb4f3969' LIMIT 1 Date : 2025-11-27T12:30:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-27T12:30:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011360 post PendingInvicesDO 2 MED-101011079 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011079 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b438a49b-9328-4ae6-b152-984b642c1d4f' LIMIT 1 Date : 2025-11-27T12:31:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-27T12:31:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011361 post PendingInvicesDO 2 MED-101010975 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010975 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-101010975' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010975' OR OrderId='MED-101010975' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-27T12:54:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011362 post PendingInvicesDO 2 MED-101011080 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011080 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63cc804b-33be-4a6e-b5ce-69e2cc85b718' LIMIT 1 Date : 2025-11-27T12:59:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-27T12:59:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011363 post PendingInvicesDO 2 MED-101011025 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011025 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-101011025' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101011025' OR OrderId='MED-101011025' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-27T13:52:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011364 post PendingInvicesDO 2 MED-101011081 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011081 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='799d583d-690b-493f-8329-6f99395357f0' LIMIT 1 Date : 2025-11-27T14:13:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-27T14:13:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011366 post PendingInvicesDO 2 MED-101011083 post PendingInvicesDO 2 MED-101011082 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104011365 post PendingInvicesDO 2 MED-101011083 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101011082 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011083 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ccee248-499d-4adf-bab8-7958579eb077' LIMIT 1 Date : 2025-11-27T14:43:08  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d91ad170-aae8-46ff-aac0-71e459d3cb8c' LIMIT 1 Date : 2025-11-27T14:43:08  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ccee248-499d-4adf-bab8-7958579eb077' LIMIT 1 Date : 2025-11-27T14:43:08  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d91ad170-aae8-46ff-aac0-71e459d3cb8c' LIMIT 1 Date : 2025-11-27T14:43:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-27T14:43:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011368 post PendingInvicesDO 2 MED-101011085 post PendingInvicesDO 2 MED-101011084 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104011367 post PendingInvicesDO 2 MED-101011085 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101011084 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011085 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c03cdb7f-e19c-4464-aa63-9acbf543d137' LIMIT 1 Date : 2025-11-27T14:55:01  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='015c870c-3a1e-445b-8acc-98a944e92494' LIMIT 1 Date : 2025-11-27T14:55:01  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c03cdb7f-e19c-4464-aa63-9acbf543d137' LIMIT 1 Date : 2025-11-27T14:55:01  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='015c870c-3a1e-445b-8acc-98a944e92494' LIMIT 1 Date : 2025-11-27T14:55:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-27T14:55:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011370 post PendingInvicesDO 2 MED-101011087 post PendingInvicesDO 2 MED-101011086 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104011369 post PendingInvicesDO 2 MED-101011087 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101011086 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011087 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70a12ee4-aaa0-442c-bdab-45adb69b617d' LIMIT 1 Date : 2025-11-27T14:59:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b52c7b4c-b234-43cf-b3cf-5e1e7a100386' LIMIT 1 Date : 2025-11-27T14:59:48  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70a12ee4-aaa0-442c-bdab-45adb69b617d' LIMIT 1 Date : 2025-11-27T14:59:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b52c7b4c-b234-43cf-b3cf-5e1e7a100386' LIMIT 1 Date : 2025-11-27T14:59:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-27T14:59:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011372 post PendingInvicesDO 2 MED-101011089 post PendingInvicesDO 2 MED-101011088 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104011371 post PendingInvicesDO 2 MED-101011089 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101011088 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011089 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29f4018a-cd78-43ca-b1eb-03ec5cbe9e20' LIMIT 1 Date : 2025-11-27T15:02:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4d0304d-a620-4f00-bd0a-f4f3164a02fe' LIMIT 1 Date : 2025-11-27T15:02:55  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29f4018a-cd78-43ca-b1eb-03ec5cbe9e20' LIMIT 1 Date : 2025-11-27T15:02:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4d0304d-a620-4f00-bd0a-f4f3164a02fe' LIMIT 1 Date : 2025-11-27T15:02:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-27T15:02:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011374 post PendingInvicesDO 2 MED-101011091 post PendingInvicesDO 2 MED-101011090 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-104011373 post PendingInvicesDO 2 MED-101011091 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-101011090 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011091 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='124c8e95-8d56-46f8-93ad-4145c52c73f9' LIMIT 1 Date : 2025-11-27T15:06:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4bdd6b05-87a9-4422-9063-731dc5bffd8b' LIMIT 1 Date : 2025-11-27T15:06:03  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='124c8e95-8d56-46f8-93ad-4145c52c73f9' LIMIT 1 Date : 2025-11-27T15:06:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4bdd6b05-87a9-4422-9063-731dc5bffd8b' LIMIT 1 Date : 2025-11-27T15:06:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-27T15:06:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011375 post PendingInvicesDO 2 MED-101011092 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011092 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f8340fb-583b-4670-ba63-23491a5dd5de' LIMIT 1 Date : 2025-11-27T15:12:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-27T15:12:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011376 post PendingInvicesDO 2 MED-101011093 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011093 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d950123-d141-493b-b4e6-f1ec3cbe3806' LIMIT 1 Date : 2025-11-27T15:23:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-27T15:23:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011377 post PendingInvicesDO 2 MED-101011094 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011094 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9701994d-ed2a-4840-bf83-81d21e1b2eab' LIMIT 1 Date : 2025-11-27T15:50:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-27T15:50:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011378 post PendingInvicesDO 2 MED-101010764 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-101010764' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010764' OR OrderId='MED-101010764' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-27T16:22:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011379 post PendingInvicesDO 2 MED-101011095 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011095 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81283eb2-f93e-4a05-801e-105bbee95547' LIMIT 1 Date : 2025-11-29T08:44:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T08:44:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011380 post PendingInvicesDO 2 MED-101011096 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011096 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='165ae6e4-7774-4f91-820f-f61027f14cae' LIMIT 1 Date : 2025-11-29T09:31:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T09:31:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011381 post PendingInvicesDO 2 MED-101011097 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011097 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f97460d0-901c-4792-9f69-ce3cd1d0f301' LIMIT 1 Date : 2025-11-29T10:30:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T10:30:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011382 post PendingInvicesDO 2 MED-101011098 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011098 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='778fb4b8-d9a0-4503-b160-3b7afb752ae3' LIMIT 1 Date : 2025-11-29T10:48:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T10:48:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011383 post PendingInvicesDO 2 MED-101011099 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011099 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='415207be-b85f-4ff7-840e-4c85366c8e8e' LIMIT 1 Date : 2025-11-29T11:22:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T11:22:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011384 post PendingInvicesDO 2 MED-101011100 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011100 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1bba5f29-657a-449b-af07-790d7bcef9d6' LIMIT 1 Date : 2025-11-29T11:46:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T11:46:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011385 post PendingInvicesDO 2 MED-101011101 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011101 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43e92bd8-040c-4560-8cf9-34ab8d54b6f4' LIMIT 1 Date : 2025-11-29T12:06:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T12:06:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011386 post PendingInvicesDO 2 MED-101011102 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011102 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7da04bd-bf68-4cf8-b1f2-fb8bb80110d0' LIMIT 1 Date : 2025-11-29T12:21:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T12:21:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011387 post PendingInvicesDO 2 MED-101011103 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011103 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77b86545-a63b-40bb-9432-d33087766386' LIMIT 1 Date : 2025-11-29T13:12:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T13:12:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011388 post PendingInvicesDO 2 MED-101011104 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011104 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0edc071c-3084-4719-9cde-64207fcb6e20' LIMIT 1 Date : 2025-11-29T14:01:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T14:01:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011389 post PendingInvicesDO 2 MED-101011105 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011105 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='380ff456-fc18-4b80-82b1-ec0827846651' LIMIT 1 Date : 2025-11-29T14:05:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T14:05:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011390 post PendingInvicesDO 2 MED-101011106 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011106 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd5565f6-b122-4bcc-823e-98573b859d01' LIMIT 1 Date : 2025-11-29T14:10:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T14:10:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011391 post PendingInvicesDO 2 MED-101011107 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011107 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5cfff03-2d63-4323-a94e-a5f4326d6746' LIMIT 1 Date : 2025-11-29T14:11:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T14:11:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011392 post PendingInvicesDO 2 MED-101011108 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011108 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d9f5147-06d1-4946-8ec5-8300a48e34a0' LIMIT 1 Date : 2025-11-29T14:12:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T14:12:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011393 post PendingInvicesDO 2 MED-101011109 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011109 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b08ce830-8869-4293-bc4e-b2231895492c' LIMIT 1 Date : 2025-11-29T14:16:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T14:16:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011394 post PendingInvicesDO 2 MED-101011111 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011111 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6bc50c5-0822-407f-8fa1-d70db888a1cf' LIMIT 1 Date : 2025-11-29T14:54:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T14:54:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011395 post PendingInvicesDO 2 MED-101010764 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-101010764' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010764' OR OrderId='MED-101010764' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-29T15:15:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011396 post PendingInvicesDO 2 MED-101011112 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011112 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f31dea96-4084-4e77-99f5-aeed7c911de6' LIMIT 1 Date : 2025-11-29T15:20:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-29T15:20:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011397 post PendingInvicesDO 2 MED-101011113 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011113 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1d0bbab-f796-49ea-ad47-b77e06ddae98' LIMIT 1 Date : 2025-11-30T08:49:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-30T08:49:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011398 post PendingInvicesDO 2 MED-101011110 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011110 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-101011110' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101011110' OR OrderId='MED-101011110' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-30T09:04:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011399 post PendingInvicesDO 2 MED-101011114 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011114 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73ed09b0-19c2-4af8-bdb6-756cfdbcc4c4' LIMIT 1 Date : 2025-11-30T09:12:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-30T09:12:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011400 post PendingInvicesDO 2 MED-101011115 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011115 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ceba1a2-4035-4e04-9483-eca6214b3e2d' LIMIT 1 Date : 2025-11-30T09:47:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-30T09:47:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011401 post PendingInvicesDO 2 MED-101011116 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011116 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f85f1496-333e-43d4-88e7-5e6f55bc9a99' LIMIT 1 Date : 2025-11-30T10:37:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-30T10:37:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011402 post PendingInvicesDO 2 MED-101011117 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011117 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdbf162d-1aa7-4667-b48d-5f2ac8dd2821' LIMIT 1 Date : 2025-11-30T11:05:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-30T11:05:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011403 post PendingInvicesDO 2 MED-101011118 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011118 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85ef168a-51bb-4d1a-a7e3-34890e220a3c' LIMIT 1 Date : 2025-11-30T11:29:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-30T11:29:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011404 post PendingInvicesDO 2 MED-101011119 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011119 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34a60b7f-a33d-4ae2-b4ae-970ec4b0c72b' LIMIT 1 Date : 2025-11-30T11:59:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-30T11:59:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011405 post PendingInvicesDO 2 MED-101011120 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011120 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2d4c5c9-c778-472a-9e3f-951260ce1c28' LIMIT 1 Date : 2025-11-30T12:13:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-30T12:13:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011406 post PendingInvicesDO 2 MED-101011121 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011121 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7d2d08f-a6a3-48db-abbe-4c73e0754ea5' LIMIT 1 Date : 2025-11-30T12:28:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-30T12:28:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011407 post PendingInvicesDO 2 MED-101010700 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010700 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-101010700' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010700' OR OrderId='MED-101010700' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-30T12:29:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011408 post PendingInvicesDO 2 MED-101011122 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011122 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94f3c8cc-aba8-408c-8892-c6831a99cf0c' LIMIT 1 Date : 2025-11-30T12:46:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-30T12:46:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011409 post PendingInvicesDO 2 MED-101011123 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101011123 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1fe5aef-9853-464d-90ad-39160b4ac1e1' LIMIT 1 Date : 2025-11-30T13:18:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-30T13:18:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-104011410 post PendingInvicesDO 2 MED-101010736 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-101010736 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-101010736' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-101010736' OR OrderId='MED-101010736' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-30T13:41:42 payment end 
