 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006535 post PendingInvicesDO 2 MED-061006559 post PendingInvicesDO 2 MED-061006558 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006534 post PendingInvicesDO 2 MED-061006559 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006558 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006559 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14e54c73-0887-409b-aacb-13cb58cffe88' LIMIT 1 Date : 2025-05-19T09:15:58  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea342bf1-b42e-4f9c-97cb-341040e84055' LIMIT 1 Date : 2025-05-19T09:15:58  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14e54c73-0887-409b-aacb-13cb58cffe88' LIMIT 1 Date : 2025-05-19T09:15:58  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea342bf1-b42e-4f9c-97cb-341040e84055' LIMIT 1 Date : 2025-05-19T09:15:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-19T09:15:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006536 post PendingInvicesDO 2 MED-061006560 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006560 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2bed866-a47f-41cd-9b38-bb2c7f073b15' LIMIT 1 Date : 2025-05-19T09:49:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T09:49:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006537 post PendingInvicesDO 2 MED-061006561 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006561 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25e24e40-074f-40c5-a0ed-7f39a1239c1c' LIMIT 1 Date : 2025-05-19T10:11:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T10:11:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006538 post PendingInvicesDO 2 MED-061006562 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006562 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed961ca9-2d9f-461e-a161-3ce5a5f997e2' LIMIT 1 Date : 2025-05-19T10:47:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T10:47:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006539 post PendingInvicesDO 2 MED-061006563 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006563 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a6a183a-cbb7-4d1d-bbb6-05d7e639e825' LIMIT 1 Date : 2025-05-19T11:20:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T11:20:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006540 post PendingInvicesDO 2 MED-061006564 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006564 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e01a10f-f021-4739-b3cd-c3a71b99a211' LIMIT 1 Date : 2025-05-19T11:40:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T11:40:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006541 post PendingInvicesDO 2 MED-061006565 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006565 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4cae961c-9795-446d-ba7f-605046638c4e' LIMIT 1 Date : 2025-05-19T12:07:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T12:07:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006542 post PendingInvicesDO 2 MED-061006566 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006566 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73048801-df5f-44e9-a922-9fe931c4a029' LIMIT 1 Date : 2025-05-19T13:01:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T13:01:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006543 post PendingInvicesDO 2 MED-061006567 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006567 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4aa8099-f732-4759-a5c1-71e9b5efe4f5' LIMIT 1 Date : 2025-05-19T13:32:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T13:32:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006544 post PendingInvicesDO 2 MED-061006568 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006568 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f50ade5d-1c50-4cb2-9d04-5db23b64dcbf' LIMIT 1 Date : 2025-05-19T13:57:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T13:57:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006545 post PendingInvicesDO 2 MED-061006569 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006569 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b282be0-aa44-4b3b-aedf-5b5dbb31c758' LIMIT 1 Date : 2025-05-19T14:20:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T14:20:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006546 post PendingInvicesDO 2 MED-061006570 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006570 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0eb8dbcc-bfe9-408e-9d2c-4bc3c1e948b0' LIMIT 1 Date : 2025-05-19T15:16:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T15:16:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006547 post PendingInvicesDO 2 MED-061006571 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006571 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15172350-6382-41da-992c-12d6992e80ff' LIMIT 1 Date : 2025-05-19T16:46:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T16:46:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006548 post PendingInvicesDO 2 MED-061006438 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006438 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006438' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006438' OR OrderId='MED-061006438' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-19T17:13:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006550 post PendingInvicesDO 2 MED-061006574 post PendingInvicesDO 2 MED-061006573 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006549 post PendingInvicesDO 2 MED-061006574 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006573 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006574 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2de99a9d-e7ea-4a63-947b-9649c3281a49' LIMIT 1 Date : 2025-05-19T17:47:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d39f3c6-60a0-47d3-8181-79fb670e4d47' LIMIT 1 Date : 2025-05-19T17:47:52  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2de99a9d-e7ea-4a63-947b-9649c3281a49' LIMIT 1 Date : 2025-05-19T17:47:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d39f3c6-60a0-47d3-8181-79fb670e4d47' LIMIT 1 Date : 2025-05-19T17:47:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-19T17:47:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006551 post PendingInvicesDO 2 MED-061006575 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006575 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2192791d-eb34-49d4-8a34-b2c3f8f4abf7' LIMIT 1 Date : 2025-05-19T18:28:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T18:28:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006552 post PendingInvicesDO 2 MED-061006576 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006576 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37428a7b-8392-4019-ab56-e7ff5dab5140' LIMIT 1 Date : 2025-05-19T19:36:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T19:36:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006553 post PendingInvicesDO 2 MED-061006577 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006577 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e98b9656-a67d-4da0-9789-9b2839cd4375' LIMIT 1 Date : 2025-05-19T20:03:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T20:03:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006554 post PendingInvicesDO 2 MED-061006578 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006578 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6693f30-0615-477c-acb7-98994e9cbc8f' LIMIT 1 Date : 2025-05-19T20:57:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T20:57:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006555 post PendingInvicesDO 2 MED-061006579 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006579 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fe8c038-d285-4eef-814f-1deba909bb34' LIMIT 1 Date : 2025-05-20T09:38:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T09:38:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006556 post PendingInvicesDO 2 MED-061006580 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006580 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a0bf2736-e165-4cb9-9134-00863f6d5ec5' LIMIT 1 Date : 2025-05-20T10:14:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T10:14:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006557 post PendingInvicesDO 2 MED-061006581 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006581 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ab5f3ad-4415-41dc-aa4c-d9d90c114d27' LIMIT 1 Date : 2025-05-20T10:42:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T10:42:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006559 post PendingInvicesDO 2 MED-061006583 post PendingInvicesDO 2 MED-061006582 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006558 post PendingInvicesDO 2 MED-061006583 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006582 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006583 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e082355e-3b52-41c8-80c9-d91fb275da73' LIMIT 1 Date : 2025-05-20T11:10:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd80675f-760e-40b1-a91c-9f4d99fa075e' LIMIT 1 Date : 2025-05-20T11:10:20  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e082355e-3b52-41c8-80c9-d91fb275da73' LIMIT 1 Date : 2025-05-20T11:10:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd80675f-760e-40b1-a91c-9f4d99fa075e' LIMIT 1 Date : 2025-05-20T11:10:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-20T11:10:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006560 post PendingInvicesDO 2 MED-061006584 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006584 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='80565cae-49ef-4ef3-9993-a0593d025262' LIMIT 1 Date : 2025-05-20T11:39:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T11:39:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006561 post PendingInvicesDO 2 MED-061006585 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006585 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f1bbcfa-c750-49c9-8e5d-6bdfec328001' LIMIT 1 Date : 2025-05-20T11:59:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T11:59:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006562 post PendingInvicesDO 2 MED-061006586 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006586 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8eb55193-095e-413c-badd-5b71341a57e4' LIMIT 1 Date : 2025-05-20T13:04:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T13:04:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006563 post PendingInvicesDO 2 MED-061006587 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006587 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20b897d2-2154-450e-8549-ce698ae65c9a' LIMIT 1 Date : 2025-05-20T13:42:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T13:42:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006564 post PendingInvicesDO 2 MED-061006306 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006306 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006306' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006306' OR OrderId='MED-061006306' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T14:06:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006565 post PendingInvicesDO 2 MED-061006590 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006590 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b669ec5-446b-42d8-9312-74a7f476300c' LIMIT 1 Date : 2025-05-20T15:37:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T15:37:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006566 post PendingInvicesDO 2 MED-061006591 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006591 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2be985a9-d4fc-4dac-bfec-7cc65111cba2' LIMIT 1 Date : 2025-05-20T16:45:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T16:45:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006567 post PendingInvicesDO 2 MED-061006592 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006592 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ba442cd-38de-46a0-a4b0-515333583ba0' LIMIT 1 Date : 2025-05-20T17:09:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T17:09:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006568 post PendingInvicesDO 2 MED-061006526 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006526 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006526' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006526' OR OrderId='MED-061006526' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T18:01:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006569 post PendingInvicesDO 2 MED-061006329 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006329 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006329' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006329' OR OrderId='MED-061006329' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T20:01:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006570 post PendingInvicesDO 2 MED-061006595 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006595 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4daeb27d-3a46-43d7-874b-13551ba252bd' LIMIT 1 Date : 2025-05-21T09:38:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T09:38:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006571 post PendingInvicesDO 2 MED-061006596 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006596 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21e4c31e-7e5f-4cf0-adda-909aab979d37' LIMIT 1 Date : 2025-05-21T10:11:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T10:11:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006572 post PendingInvicesDO 2 MED-061006597 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006597 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e10eaac7-96b2-405c-9558-6173df3a0af1' LIMIT 1 Date : 2025-05-21T10:38:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T10:38:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006573 post PendingInvicesDO 2 MED-061006598 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006598 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15f0c50e-b9d4-490b-bf2e-94403bba2b25' LIMIT 1 Date : 2025-05-21T11:14:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T11:14:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006574 post PendingInvicesDO 2 MED-061006599 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006599 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbea591e-417f-4d14-9e35-cbd543c5f4b8' LIMIT 1 Date : 2025-05-21T11:31:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T11:31:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006575 post PendingInvicesDO 2 MED-061006600 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006600 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c45fa46-8e7c-455a-922f-abf3522d659d' LIMIT 1 Date : 2025-05-21T12:00:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T12:00:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006576 post PendingInvicesDO 2 MED-061006601 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006601 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2d44574-fc5e-46f5-93d3-f71a7b9109d7' LIMIT 1 Date : 2025-05-21T12:11:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T12:11:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006577 post PendingInvicesDO 2 MED-061006602 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006602 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c536b72d-7692-4b11-8b00-e98bebe40d9c' LIMIT 1 Date : 2025-05-21T12:22:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T12:22:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006578 post PendingInvicesDO 2 MED-061006603 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006603 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f99a2ac2-c65c-4526-a73c-a12f0994b622' LIMIT 1 Date : 2025-05-21T13:16:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T13:16:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006579 post PendingInvicesDO 2 MED-061006604 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006604 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aadf49e9-df10-46ac-9aa4-9ca63f83195e' LIMIT 1 Date : 2025-05-21T13:37:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T13:37:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006580 post PendingInvicesDO 2 MED-061006605 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006605 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7e0b2e3-0985-498c-9017-e442fbb7d9da' LIMIT 1 Date : 2025-05-21T14:30:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T14:30:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006581 post PendingInvicesDO 2 MED-061006606 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006606 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5176c1de-6edb-449d-a06b-55b53a0b1950' LIMIT 1 Date : 2025-05-21T15:36:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T15:36:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006582 post PendingInvicesDO 2 MED-061006607 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006607 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1786c158-f751-410a-bb36-4964f28eb747' LIMIT 1 Date : 2025-05-21T16:08:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T16:08:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006583 post PendingInvicesDO 2 MED-061006608 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006608 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a1758f1-cd82-47c1-8d35-27d0910ded5d' LIMIT 1 Date : 2025-05-21T16:32:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T16:32:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006584 post PendingInvicesDO 2 MED-061006609 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006609 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8734f3ea-159d-49fd-907c-6b179bf43b49' LIMIT 1 Date : 2025-05-21T17:11:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T17:11:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006585 post PendingInvicesDO 2 MED-061006610 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006610 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e97a686-f996-4f7d-86bb-1a9bce0a87c9' LIMIT 1 Date : 2025-05-21T17:48:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T17:48:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006587 post PendingInvicesDO 2 MED-061006612 post PendingInvicesDO 2 MED-061006611 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006586 post PendingInvicesDO 2 MED-061006612 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006611 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006612 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='286daccb-81d4-4d21-8eff-4de3fad6e5ce' LIMIT 1 Date : 2025-05-21T17:53:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='364433a5-6343-4598-9083-6a4b61288dfa' LIMIT 1 Date : 2025-05-21T17:53:49  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='286daccb-81d4-4d21-8eff-4de3fad6e5ce' LIMIT 1 Date : 2025-05-21T17:53:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='364433a5-6343-4598-9083-6a4b61288dfa' LIMIT 1 Date : 2025-05-21T17:53:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-21T17:53:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006588 post PendingInvicesDO 2 MED-061006614 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006614 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8aa8771-9f68-4b7f-94ea-70d5e335140f' LIMIT 1 Date : 2025-05-21T18:45:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T18:45:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006589 post PendingInvicesDO 2 MED-061006615 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006615 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d87b6b99-7053-487d-a91d-b1538ae64605' LIMIT 1 Date : 2025-05-21T18:55:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T18:55:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006590 post PendingInvicesDO 2 MED-061006616 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006616 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d61a3c2-d04f-4520-970d-755509741edb' LIMIT 1 Date : 2025-05-21T19:30:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T19:30:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006591 post PendingInvicesDO 2 MED-061006617 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006617 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ab3da09-bee6-447d-b641-2de9aa0536b7' LIMIT 1 Date : 2025-05-21T20:36:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T20:36:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006592 post PendingInvicesDO 2 MED-061006502 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006502 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006502' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006502' OR OrderId='MED-061006502' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-21T21:27:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006593 post PendingInvicesDO 2 MED-061006619 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006619 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9efe921-21d3-402f-94c2-21a78097e8ff' LIMIT 1 Date : 2025-05-22T08:24:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T08:24:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006594 post PendingInvicesDO 2 MED-061006620 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006620 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26e88e25-cefc-494c-aaec-1539c474ca2f' LIMIT 1 Date : 2025-05-22T09:28:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T09:28:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006596 post PendingInvicesDO 2 MED-061006622 post PendingInvicesDO 2 MED-061006621 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006595 post PendingInvicesDO 2 MED-061006622 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006621 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006622 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42696b27-6cc7-4cc8-9651-7df1c2bfc82e' LIMIT 1 Date : 2025-05-22T10:02:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='718ededa-ac2e-44b2-b6bc-99c8dfacb5aa' LIMIT 1 Date : 2025-05-22T10:02:22  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42696b27-6cc7-4cc8-9651-7df1c2bfc82e' LIMIT 1 Date : 2025-05-22T10:02:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='718ededa-ac2e-44b2-b6bc-99c8dfacb5aa' LIMIT 1 Date : 2025-05-22T10:02:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-22T10:02:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006597 post PendingInvicesDO 2 MED-061006510 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006510 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006510' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006510' OR OrderId='MED-061006510' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T10:21:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006598 post PendingInvicesDO 2 MED-061006624 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006624 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29575ad0-76b7-4e2d-9da2-7dc51e9c81c9' LIMIT 1 Date : 2025-05-22T11:00:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T11:00:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006599 post PendingInvicesDO 2 MED-061006625 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006625 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0de2f266-a5ae-4a37-aaff-f3dfdc142a63' LIMIT 1 Date : 2025-05-22T11:54:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T11:54:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006600 post PendingInvicesDO 2 MED-061006626 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006626 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c50706fc-1abc-46a9-9a19-64d632efedf8' LIMIT 1 Date : 2025-05-22T12:05:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T12:05:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006602 post PendingInvicesDO 2 MED-061006628 post PendingInvicesDO 2 MED-061006627 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006601 post PendingInvicesDO 2 MED-061006628 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006627 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006628 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='241987fe-bcbd-46f8-930d-14a1374dcf85' LIMIT 1 Date : 2025-05-22T13:04:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bae71fbf-1cbc-4509-b48c-2e4d16a349d9' LIMIT 1 Date : 2025-05-22T13:04:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='241987fe-bcbd-46f8-930d-14a1374dcf85' LIMIT 1 Date : 2025-05-22T13:04:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bae71fbf-1cbc-4509-b48c-2e4d16a349d9' LIMIT 1 Date : 2025-05-22T13:04:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-22T13:04:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006603 post PendingInvicesDO 2 MED-061006629 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006629 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a30eff3-0b1e-417f-96c4-3399b2ada18b' LIMIT 1 Date : 2025-05-22T14:08:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T14:08:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006604 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc50e879-7b2d-4d1c-b151-5b01ba90837e' LIMIT 1 Date : 2025-05-22T15:08:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T15:08:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006605 post PendingInvicesDO 2 MED-061006631 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006631 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6418df0f-3138-406c-b1f3-c5c718b951e2' LIMIT 1 Date : 2025-05-22T15:59:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T15:59:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006606 post PendingInvicesDO 2 MED-061006632 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006632 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b317062-388a-483d-8503-beeb67df645b' LIMIT 1 Date : 2025-05-22T17:04:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T17:04:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006607 post PendingInvicesDO 2 MED-061006521 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006521 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006521' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006521' OR OrderId='MED-061006521' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T17:58:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006608 post PendingInvicesDO 2 MED-061006634 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006634 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6861530-eed9-4540-be6d-243b03e61b4a' LIMIT 1 Date : 2025-05-22T18:41:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T18:41:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006609 post PendingInvicesDO 2 MED-061006635 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006635 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8cfd55e6-4ee6-4faf-a6ea-26ce372e5e5d' LIMIT 1 Date : 2025-05-22T19:04:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T19:04:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006610 post PendingInvicesDO 2 MED-061006636 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006636 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd5c3c5a-4aa6-48db-9b00-aa8611b926bf' LIMIT 1 Date : 2025-05-22T20:16:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T20:16:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006611 post PendingInvicesDO 2 MED-061006637 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006637 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='728a3b84-0957-4b5b-b2cd-b86a19acbe28' LIMIT 1 Date : 2025-05-22T23:25:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T23:25:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006612 post PendingInvicesDO 2 MED-061006638 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006638 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe42585b-870d-435c-9b88-b2dfe716ccc0' LIMIT 1 Date : 2025-05-23T18:31:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-23T18:31:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006613 post PendingInvicesDO 2 MED-061006639 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006639 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='483f67ca-4bf0-43f9-864f-0d6c5eab6633' LIMIT 1 Date : 2025-05-23T20:06:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-23T20:06:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006614 post PendingInvicesDO 2 MED-061006525 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006525 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006525' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006525' OR OrderId='MED-061006525' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-23T20:15:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006615 post PendingInvicesDO 2 MED-061006641 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006641 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e1ad59dd-4cb8-472b-92a1-1628e5416fd6' LIMIT 1 Date : 2025-05-23T21:27:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-23T21:27:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006616 post PendingInvicesDO 2 MED-061006642 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006642 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b597e0d3-6582-4428-a617-fba4a4200da9' LIMIT 1 Date : 2025-05-23T22:01:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-23T22:01:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006617 post PendingInvicesDO 2 MED-061006531 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006531 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006531' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006531' OR OrderId='MED-061006531' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-23T22:13:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006618 post PendingInvicesDO 2 MED-061006644 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006644 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='486d517c-15c4-4b82-b26d-ab618f73ac4c' LIMIT 1 Date : 2025-05-24T08:03:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T08:03:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006619 post PendingInvicesDO 2 MED-061006645 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006645 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a63e9215-fc92-479a-aacf-2f30b43a356e' LIMIT 1 Date : 2025-05-24T08:21:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T08:21:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006620 post PendingInvicesDO 2 MED-061006646 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006646 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5fdded78-930b-4c65-b83c-60ae69e47a66' LIMIT 1 Date : 2025-05-24T08:54:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T08:54:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006621 post PendingInvicesDO 2 MED-061006647 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006647 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa2fc8e0-e632-4ecf-8a55-f7e65ec495a2' LIMIT 1 Date : 2025-05-24T09:39:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T09:39:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006622 post PendingInvicesDO 2 MED-061006648 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006648 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3310d42-741a-4a7c-b661-94fa4083ecc0' LIMIT 1 Date : 2025-05-24T10:01:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T10:01:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006623 post PendingInvicesDO 2 MED-061006428 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006428 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006428' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006428' OR OrderId='MED-061006428' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-24T10:30:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006624 post PendingInvicesDO 2 MED-061006650 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006650 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ff97dea-07ef-45d2-9178-b78b6d640423' LIMIT 1 Date : 2025-05-24T10:57:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T10:57:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006625 post PendingInvicesDO 2 MED-061006651 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006651 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='439a08a2-373c-4331-b3fb-e6533237f26a' LIMIT 1 Date : 2025-05-24T11:11:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T11:11:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006626 post PendingInvicesDO 2 MED-061006652 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006652 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e25f9b2c-e23e-45c1-a5c5-5e55ceba66e9' LIMIT 1 Date : 2025-05-24T11:26:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T11:26:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006627 post PendingInvicesDO 2 MED-061006653 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006653 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45fc5d48-25f8-4ac2-80a9-07c7a4d220b7' LIMIT 1 Date : 2025-05-24T11:46:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T11:46:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006628 post PendingInvicesDO 2 MED-061006654 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006654 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='30a900ce-88fb-44d1-885e-1a51f27a21cb' LIMIT 1 Date : 2025-05-24T11:57:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T11:57:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006629 post PendingInvicesDO 2 MED-061006655 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006655 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ec629f5-1bec-4e6c-a52b-76a45ca2c353' LIMIT 1 Date : 2025-05-24T12:02:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T12:02:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006630 post PendingInvicesDO 2 MED-061006656 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006656 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0364294f-34be-4f17-8a36-9e0d4593276b' LIMIT 1 Date : 2025-05-25T09:55:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T09:55:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006631 post PendingInvicesDO 2 MED-061006657 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006657 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17e4d2ac-07ad-4dd7-b15d-f463cfb1f467' LIMIT 1 Date : 2025-05-25T10:23:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T10:23:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006632 post PendingInvicesDO 2 MED-061006658 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006658 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9990eac0-e7ec-453b-ba63-10de30b03383' LIMIT 1 Date : 2025-05-25T10:35:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T10:35:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006633 post PendingInvicesDO 2 MED-061006659 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006659 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ff9e714-0d96-4998-bcf3-6050f23d498b' LIMIT 1 Date : 2025-05-25T11:03:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T11:03:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006634 post PendingInvicesDO 2 MED-061006660 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006660 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e9a3a00-7460-4a1d-bd85-4ed5fb6e5bbb' LIMIT 1 Date : 2025-05-25T11:26:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T11:26:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006635 post PendingInvicesDO 2 MED-061006661 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006661 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5a3b1f1-f903-4b37-9d53-e2dfd228bb3f' LIMIT 1 Date : 2025-05-25T11:53:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T11:53:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006636 post PendingInvicesDO 2 MED-061006662 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006662 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b60c83e-435f-42c7-a0be-aaed0c21f52f' LIMIT 1 Date : 2025-05-25T12:17:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T12:17:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006637 post PendingInvicesDO 2 MED-061006663 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006663 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42d73aea-6737-4828-ab77-ff84df4a48bb' LIMIT 1 Date : 2025-05-25T13:53:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T13:53:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006638 post PendingInvicesDO 2 MED-061006664 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006664 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a3bb04a-600b-49cc-ad11-1ff40c36a1db' LIMIT 1 Date : 2025-05-25T18:20:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T18:20:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006639 post PendingInvicesDO 2 MED-061006665 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006665 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0639301-37ee-4830-9d05-6dcc614a665f' LIMIT 1 Date : 2025-05-25T18:48:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T18:48:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006640 post PendingInvicesDO 2 MED-061006666 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006666 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c32f3377-ba7c-442d-8ca1-28d8cf85f4ee' LIMIT 1 Date : 2025-05-25T19:51:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T19:51:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006641 post PendingInvicesDO 2 MED-061006476 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006476 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006476' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006476' OR OrderId='MED-061006476' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T20:08:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006642 post PendingInvicesDO 2 MED-061006593 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006593 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006593' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006593' OR OrderId='MED-061006593' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T21:20:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006643 post PendingInvicesDO 2 MED-061006669 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006669 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4126880c-f3bc-4683-88b4-8b0a12b7dfb7' LIMIT 1 Date : 2025-05-25T21:51:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T21:51:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006644 post PendingInvicesDO 2 MED-061006672 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006672 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa88168d-da59-4c55-94c6-8fbd81c5fdc9' LIMIT 1 Date : 2025-05-26T09:34:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T09:34:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006646 post PendingInvicesDO 2 MED-061006674 post PendingInvicesDO 2 MED-061006673 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006645 post PendingInvicesDO 2 MED-061006674 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006673 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006674 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b079a95-1254-4680-89e2-32d3969c1246' LIMIT 1 Date : 2025-05-26T09:55:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16bdbcf3-fb1c-4903-a536-d64094fa395c' LIMIT 1 Date : 2025-05-26T09:55:30  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b079a95-1254-4680-89e2-32d3969c1246' LIMIT 1 Date : 2025-05-26T09:55:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16bdbcf3-fb1c-4903-a536-d64094fa395c' LIMIT 1 Date : 2025-05-26T09:55:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-26T09:55:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006647 post PendingInvicesDO 2 MED-061006675 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006675 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fdfe639c-4628-45ff-9a92-6c88ff1787e0' LIMIT 1 Date : 2025-05-26T10:29:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T10:29:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006648 post PendingInvicesDO 2 MED-061006676 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006676 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='912e9dbb-dbc1-422b-b785-f3f430e68ca7' LIMIT 1 Date : 2025-05-26T10:55:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T10:55:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006649 post PendingInvicesDO 2 MED-061006677 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006677 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9aa482f6-ce60-4953-8718-318303f6c65a' LIMIT 1 Date : 2025-05-26T11:18:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T11:18:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006651 post PendingInvicesDO 2 MED-061006679 post PendingInvicesDO 2 MED-061006678 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006650 post PendingInvicesDO 2 MED-061006679 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006678 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006679 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c75a1b2a-4550-4062-a760-f16d71985d99' LIMIT 1 Date : 2025-05-26T11:36:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffa7eab2-8995-45da-bce1-856bdf3bfa20' LIMIT 1 Date : 2025-05-26T11:36:19  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c75a1b2a-4550-4062-a760-f16d71985d99' LIMIT 1 Date : 2025-05-26T11:36:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffa7eab2-8995-45da-bce1-856bdf3bfa20' LIMIT 1 Date : 2025-05-26T11:36:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-26T11:36:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006652 post PendingInvicesDO 2 MED-061006680 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006680 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c852c24c-01d8-488f-b088-49678897905e' LIMIT 1 Date : 2025-05-26T11:59:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T11:59:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006653 post PendingInvicesDO 2 MED-061006681 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006681 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5b8126a-7bd7-44c1-8163-228b07892214' LIMIT 1 Date : 2025-05-26T12:17:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T12:17:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006654 post PendingInvicesDO 2 MED-061006682 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006682 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a1e8522-0c82-4868-adde-f75edaefb506' LIMIT 1 Date : 2025-05-26T13:01:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T13:01:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006655 post PendingInvicesDO 2 MED-061006683 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006683 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e2f9c47-f5ff-4031-8f90-89177d84059b' LIMIT 1 Date : 2025-05-26T13:22:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T13:23:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006656 post PendingInvicesDO 2 MED-061006335 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006335 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006335' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006335' OR OrderId='MED-061006335' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-26T13:46:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006657 post PendingInvicesDO 2 MED-061006685 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006685 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c40982c8-3792-4220-8f0e-407043dd77c9' LIMIT 1 Date : 2025-05-26T14:12:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T14:12:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006658 post PendingInvicesDO 2 MED-061006686 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006686 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2e5f286-ef89-4123-ab54-febe70758239' LIMIT 1 Date : 2025-05-26T14:58:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T14:58:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006659 post PendingInvicesDO 2 MED-061006687 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006687 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7c9effa-998e-4fe2-94b7-d3c9ef96b3ac' LIMIT 1 Date : 2025-05-26T15:19:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T15:19:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006660 post PendingInvicesDO 2 MED-061006688 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006688 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14b274f1-33c2-4cbf-9c8e-dc03c107e262' LIMIT 1 Date : 2025-05-26T16:22:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T16:22:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006661 post PendingInvicesDO 2 MED-061006689 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006689 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b66a9854-4523-4c09-ad28-469bc1c4353e' LIMIT 1 Date : 2025-05-26T16:51:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T16:51:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006662 post PendingInvicesDO 2 MED-061006572 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006572 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006572' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006572' OR OrderId='MED-061006572' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-26T17:13:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006663 post PendingInvicesDO 2 MED-061006690 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006690 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9e8bc0f-faed-4496-99cf-dd7aa4109cca' LIMIT 1 Date : 2025-05-26T17:15:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T17:16:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006665 post PendingInvicesDO 2 MED-061006692 post PendingInvicesDO 2 MED-061006691 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006664 post PendingInvicesDO 2 MED-061006692 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006691 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006692 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='262cecdf-33ef-43e3-9b96-475fc42442b1' LIMIT 1 Date : 2025-05-26T17:36:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='776e2185-3afc-4c86-b94b-f0e4f4500820' LIMIT 1 Date : 2025-05-26T17:36:23  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='262cecdf-33ef-43e3-9b96-475fc42442b1' LIMIT 1 Date : 2025-05-26T17:36:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='776e2185-3afc-4c86-b94b-f0e4f4500820' LIMIT 1 Date : 2025-05-26T17:36:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-26T17:36:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006667 post PendingInvicesDO 2 MED-061006589 post PendingInvicesDO 2 MED-061006588 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006666 post PendingInvicesDO 2 MED-061006589 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006588 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006589 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006589' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006589' OR OrderId='MED-061006589' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006589' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006589' OR OrderId='MED-061006589' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-26T18:15:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006668 post PendingInvicesDO 2 MED-061006694 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006694 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fb3f45e-2c5b-41ca-90be-d7e36b78d73c' LIMIT 1 Date : 2025-05-27T09:36:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T09:36:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006669 post PendingInvicesDO 2 MED-061006695 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006695 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8173f0c0-1b73-48f8-8ed9-8e3e92ca81c3' LIMIT 1 Date : 2025-05-27T10:08:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T10:08:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006671 post PendingInvicesDO 2 MED-061006697 post PendingInvicesDO 2 MED-061006696 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006670 post PendingInvicesDO 2 MED-061006697 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006696 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006697 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d2e50ea-4866-423f-b868-fd40edb5d59f' LIMIT 1 Date : 2025-05-27T10:30:14  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28f55e90-e6f6-46de-b83d-a4ac9876d2ec' LIMIT 1 Date : 2025-05-27T10:30:14  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d2e50ea-4866-423f-b868-fd40edb5d59f' LIMIT 1 Date : 2025-05-27T10:30:14  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28f55e90-e6f6-46de-b83d-a4ac9876d2ec' LIMIT 1 Date : 2025-05-27T10:30:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-27T10:30:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006672 post PendingInvicesDO 2 MED-061006698 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006698 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='092ab080-6637-498d-87aa-e03e0f117eb0' LIMIT 1 Date : 2025-05-27T10:43:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T10:43:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006673 post PendingInvicesDO 2 MED-061006699 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006699 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fae7cfd-e6e9-410b-804c-acd275d7e633' LIMIT 1 Date : 2025-05-27T10:50:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T10:50:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006674 post PendingInvicesDO 2 MED-061006700 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006700 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea97374c-1c01-4ed1-8165-d97a03d1bf24' LIMIT 1 Date : 2025-05-27T11:21:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T11:21:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006675 post PendingInvicesDO 2 MED-061006701 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006701 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27274718-6b98-4a2e-a0c4-e465163bc58d' LIMIT 1 Date : 2025-05-27T11:46:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T11:46:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006676 post PendingInvicesDO 2 MED-061006702 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006702 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7ab9ce8-a304-4f37-a8f4-f4f477ec6a96' LIMIT 1 Date : 2025-05-27T12:58:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T12:58:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006678 post PendingInvicesDO 2 MED-061006704 post PendingInvicesDO 2 MED-061006703 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006677 post PendingInvicesDO 2 MED-061006704 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006703 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006704 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a10b0e63-8730-4a01-8ad2-87876481a954' LIMIT 1 Date : 2025-05-27T14:01:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2ab73ef-26af-4687-8356-e9696b18b06f' LIMIT 1 Date : 2025-05-27T14:01:45  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a10b0e63-8730-4a01-8ad2-87876481a954' LIMIT 1 Date : 2025-05-27T14:01:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2ab73ef-26af-4687-8356-e9696b18b06f' LIMIT 1 Date : 2025-05-27T14:01:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-27T14:01:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006679 post PendingInvicesDO 2 MED-061006705 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006705 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33f3807c-8e37-4b19-afc5-1c92c1ed487e' LIMIT 1 Date : 2025-05-27T14:36:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T14:36:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006680 post PendingInvicesDO 2 MED-061006706 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006706 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6e082b8-9e75-4f10-be18-845d3be3d6dc' LIMIT 1 Date : 2025-05-27T15:22:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T15:22:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006681 post PendingInvicesDO 2 MED-061006707 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006707 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6ae0bf7-bf29-44de-9d98-70af5d1421a2' LIMIT 1 Date : 2025-05-27T15:40:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T15:40:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006682 post PendingInvicesDO 2 MED-061006708 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006708 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0999cc1-bb24-4615-b6a4-bab4e94921bc' LIMIT 1 Date : 2025-05-27T17:12:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T17:12:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006683 post PendingInvicesDO 2 MED-061006709 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006709 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5311c36a-d633-4e1e-bbe1-792e0f0de257' LIMIT 1 Date : 2025-05-27T17:24:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T17:24:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006684 post PendingInvicesDO 2 MED-061006594 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006594 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006594' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006594' OR OrderId='MED-061006594' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T18:49:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006686 post PendingInvicesDO 2 MED-061006711 post PendingInvicesDO 2 MED-061006710 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006685 post PendingInvicesDO 2 MED-061006711 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006710 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006711 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f62a71ce-1833-4e73-948f-0e2b83b3cd8d' LIMIT 1 Date : 2025-05-27T18:57:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4bb62001-aaf2-4822-8556-1f646227d2e2' LIMIT 1 Date : 2025-05-27T18:57:41  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f62a71ce-1833-4e73-948f-0e2b83b3cd8d' LIMIT 1 Date : 2025-05-27T18:57:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4bb62001-aaf2-4822-8556-1f646227d2e2' LIMIT 1 Date : 2025-05-27T18:57:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-27T18:57:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006687 post PendingInvicesDO 2 MED-061006712 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006712 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='476e33b6-49e5-4a66-8bef-04a5a21f45c7' LIMIT 1 Date : 2025-05-27T19:49:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T19:49:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006688 post PendingInvicesDO 2 MED-061006550 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006550 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006550' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006550' OR OrderId='MED-061006550' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-27T19:52:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006689 post PendingInvicesDO 2 MED-061006713 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006713 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0f2b82c-91d0-4e72-b878-9debd800cbe0' LIMIT 1 Date : 2025-05-28T09:45:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T09:45:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006690 post PendingInvicesDO 2 MED-061006714 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006714 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8af958a7-d51a-41b0-bcfa-09953a234ff6' LIMIT 1 Date : 2025-05-28T10:04:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T10:04:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006691 post PendingInvicesDO 2 MED-061006715 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006715 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5cb9e7b4-5c2b-4ad0-8363-5252bc26933e' LIMIT 1 Date : 2025-05-28T10:48:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T10:48:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006692 post PendingInvicesDO 2 MED-061006716 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006716 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95014832-3992-4ff9-a49e-fd6deba9f27d' LIMIT 1 Date : 2025-05-28T11:12:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T11:12:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006693 post PendingInvicesDO 2 MED-061006717 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006717 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='803aac45-7119-4bce-82e7-34c136f1f72d' LIMIT 1 Date : 2025-05-28T11:37:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T11:37:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006695 post PendingInvicesDO 2 MED-061006719 post PendingInvicesDO 2 MED-061006718 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006694 post PendingInvicesDO 2 MED-061006719 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006718 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006719 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ac5e4af-ac7b-46fb-8186-49a91404c68e' LIMIT 1 Date : 2025-05-28T11:49:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6190e12a-cc98-4101-a74f-cb7aef91d1e4' LIMIT 1 Date : 2025-05-28T11:49:56  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ac5e4af-ac7b-46fb-8186-49a91404c68e' LIMIT 1 Date : 2025-05-28T11:49:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6190e12a-cc98-4101-a74f-cb7aef91d1e4' LIMIT 1 Date : 2025-05-28T11:49:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-28T11:49:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006696 post PendingInvicesDO 2 MED-061006720 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006720 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13ff3619-6f11-4035-8267-c328e5ab71ca' LIMIT 1 Date : 2025-05-28T12:24:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T12:24:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006697 post PendingInvicesDO 2 MED-061006721 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006721 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8f1be97-1556-43cc-a065-684c1cc02e08' LIMIT 1 Date : 2025-05-28T13:17:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T13:17:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006698 post PendingInvicesDO 2 MED-061006722 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006722 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4806d48e-d603-402e-948f-3336f5cc3205' LIMIT 1 Date : 2025-05-28T13:57:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T13:57:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006699 post PendingInvicesDO 2 MED-061006723 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006723 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='184b7316-fe93-4b21-8f6c-3faa9cb5ac9c' LIMIT 1 Date : 2025-05-28T14:30:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T14:30:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006700 post PendingInvicesDO 2 MED-061006724 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006724 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f85f7f7-cab4-4452-8c82-e63a2a4855c6' LIMIT 1 Date : 2025-05-28T14:58:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T14:58:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006701 post PendingInvicesDO 2 MED-061006613 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006613 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006613' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006613' OR OrderId='MED-061006613' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-28T15:00:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006702 post PendingInvicesDO 2 MED-061006725 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006725 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c66d342f-417a-4775-a9f9-76cd8661e92e' LIMIT 1 Date : 2025-05-28T15:33:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T15:33:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006703 post PendingInvicesDO 2 MED-061006726 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006726 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='939e2f7e-814f-44ba-bee0-28473fd47b03' LIMIT 1 Date : 2025-05-28T15:55:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T15:55:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006705 post PendingInvicesDO 2 MED-061006728 post PendingInvicesDO 2 MED-061006727 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006704 post PendingInvicesDO 2 MED-061006728 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006727 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006728 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f26c5d3-9e77-4930-8e77-5e9f2e29ff1d' LIMIT 1 Date : 2025-05-28T17:31:02  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1df0c24-f38b-4588-b3f5-2730da509364' LIMIT 1 Date : 2025-05-28T17:31:02  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f26c5d3-9e77-4930-8e77-5e9f2e29ff1d' LIMIT 1 Date : 2025-05-28T17:31:02  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1df0c24-f38b-4588-b3f5-2730da509364' LIMIT 1 Date : 2025-05-28T17:31:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-28T17:31:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006706 post PendingInvicesDO 2 MED-061006729 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006729 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bed923b-372c-482b-be57-db11ebc9a0a0' LIMIT 1 Date : 2025-05-28T17:53:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T17:53:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006707 post PendingInvicesDO 2 MED-061006730 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006730 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20ac103a-aad3-482c-92ed-2498e94d2311' LIMIT 1 Date : 2025-05-28T18:10:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T18:10:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006708 post PendingInvicesDO 2 MED-061006731 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006731 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f9dad04-f419-415e-9e3d-9ecf1b12c87c' LIMIT 1 Date : 2025-05-28T18:37:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T18:37:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006709 post PendingInvicesDO 2 MED-061006732 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006732 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01a119ba-30f2-4557-b334-c5c16b31faac' LIMIT 1 Date : 2025-05-28T18:49:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T18:49:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006710 post PendingInvicesDO 2 MED-061006733 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006733 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df0411d3-377c-42b6-8b95-65ae77175d52' LIMIT 1 Date : 2025-05-28T19:45:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T19:45:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006711 post PendingInvicesDO 2 MED-061006734 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006734 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ca642bb-24e4-41fc-882e-04ad49002672' LIMIT 1 Date : 2025-05-28T20:28:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T20:28:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006712 post PendingInvicesDO 2 MED-061006735 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006735 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3475166a-0223-4b57-8e54-6136d387953e' LIMIT 1 Date : 2025-05-28T21:04:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T21:04:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006713 post PendingInvicesDO 2 MED-061006618 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006618 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006618' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006618' OR OrderId='MED-061006618' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-28T21:56:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006715 post PendingInvicesDO 2 MED-061006738 post PendingInvicesDO 2 MED-061006737 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006714 post PendingInvicesDO 2 MED-061006738 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006737 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006738 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7de8794f-5e06-44a5-b39b-a365f3940197' LIMIT 1 Date : 2025-05-28T22:27:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6934a09b-f6c0-4405-883e-67faabe4dc55' LIMIT 1 Date : 2025-05-28T22:27:52  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7de8794f-5e06-44a5-b39b-a365f3940197' LIMIT 1 Date : 2025-05-28T22:27:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6934a09b-f6c0-4405-883e-67faabe4dc55' LIMIT 1 Date : 2025-05-28T22:27:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-28T22:27:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006716 post PendingInvicesDO 2 MED-061006739 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006739 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fbb3597d-8212-4484-967a-6a5f17421c47' LIMIT 1 Date : 2025-05-29T08:45:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T08:45:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006717 post PendingInvicesDO 2 MED-061006740 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006740 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce8184cd-61cc-4ed5-9a53-4662030662d3' LIMIT 1 Date : 2025-05-29T09:47:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T09:47:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006718 post PendingInvicesDO 2 MED-061006623 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006623 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006623' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006623' OR OrderId='MED-061006623' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T10:16:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006719 post PendingInvicesDO 2 MED-061006742 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006742 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2618c49-0eec-4f3a-832e-2c974da4cc65' LIMIT 1 Date : 2025-05-29T11:03:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T11:03:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006720 post PendingInvicesDO 2 MED-061006743 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006743 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b0d0ebd-5983-4c35-991f-e1dbd326f785' LIMIT 1 Date : 2025-05-29T11:45:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T11:45:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006721 post PendingInvicesDO 2 MED-061006744 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006744 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18af29d7-721e-4809-b044-45b8e43ddb16' LIMIT 1 Date : 2025-05-29T12:13:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T12:13:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006722 post PendingInvicesDO 2 MED-061006745 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006745 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f743c4aa-1148-4a95-b12b-ca25905d41b3' LIMIT 1 Date : 2025-05-29T12:24:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T12:24:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006723 post PendingInvicesDO 2 MED-061006746 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006746 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3bab61f9-765d-4d47-8135-b3f51da2e766' LIMIT 1 Date : 2025-05-29T13:18:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T13:18:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006724 post PendingInvicesDO 2 MED-061006747 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006747 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ee069f0-9676-4423-9dd3-d838b878990d' LIMIT 1 Date : 2025-05-29T14:12:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T14:12:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006725 post PendingInvicesDO 2 MED-061006748 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006748 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d92672ae-3a44-4008-9188-268add90d999' LIMIT 1 Date : 2025-05-29T15:03:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T15:03:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006726 post PendingInvicesDO 2 MED-061006749 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006749 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ea0e165-87b8-4f89-8d39-cb483659c121' LIMIT 1 Date : 2025-05-29T16:09:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T16:09:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006727 post PendingInvicesDO 2 MED-061006750 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006750 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba8f7762-df2a-4cea-b0b4-712efeea458a' LIMIT 1 Date : 2025-05-29T16:36:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T16:36:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006728 post PendingInvicesDO 2 MED-061006633 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006633 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006633' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006633' OR OrderId='MED-061006633' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T17:22:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006729 post PendingInvicesDO 2 MED-061006752 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006752 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98015538-ff8e-486a-a339-a2c25e952af1' LIMIT 1 Date : 2025-05-29T18:09:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T18:09:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006730 post PendingInvicesDO 2 MED-061006753 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006753 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc0e70b4-0699-4c34-9712-392f85dbee30' LIMIT 1 Date : 2025-05-29T19:00:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T19:00:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006731 post PendingInvicesDO 2 MED-061006643 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006643 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006643' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006643' OR OrderId='MED-061006643' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T22:28:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006732 post PendingInvicesDO 2 MED-061006756 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006756 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72c8a870-4399-4354-87bd-99a763497978' LIMIT 1 Date : 2025-05-30T18:50:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-30T18:50:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006733 post PendingInvicesDO 2 MED-061006640 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006640 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006640' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006640' OR OrderId='MED-061006640' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-30T20:06:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006734 post PendingInvicesDO 2 MED-061006758 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006758 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7c94a7f-43ce-4324-98dc-6b37ba283614' LIMIT 1 Date : 2025-05-30T21:17:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-30T21:17:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006735 post PendingInvicesDO 2 MED-061006759 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006759 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b891a78-31e8-407e-bcbe-fbbe39fe4043' LIMIT 1 Date : 2025-05-30T21:37:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-30T21:37:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006736 post PendingInvicesDO 2 MED-061006760 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006760 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa74dbe5-3639-4a21-956d-4262a6d9a0e1' LIMIT 1 Date : 2025-05-31T07:52:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T07:52:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006737 post PendingInvicesDO 2 MED-061006761 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006761 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f817a79-7c85-4f7b-b161-c711243406f3' LIMIT 1 Date : 2025-05-31T08:12:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T08:12:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006738 post PendingInvicesDO 2 MED-061006762 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006762 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f584af65-0ba7-42c9-9804-bc6f3386778d' LIMIT 1 Date : 2025-05-31T08:56:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T08:56:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006739 post PendingInvicesDO 2 MED-061006763 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006763 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='859c91a2-52d9-4081-ab89-a8a4658de6be' LIMIT 1 Date : 2025-05-31T09:10:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T09:10:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006740 post PendingInvicesDO 2 MED-061006764 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006764 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7023987-c4de-40dd-88a6-56fac410c936' LIMIT 1 Date : 2025-05-31T09:47:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T09:47:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006741 post PendingInvicesDO 2 MED-061006765 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006765 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88135e6c-390e-4c28-a2ae-2cb2ba2886f4' LIMIT 1 Date : 2025-05-31T10:32:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T10:32:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006742 post PendingInvicesDO 2 MED-061006766 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006766 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='270ef273-3d58-4f3e-b972-1e87c7072ed7' LIMIT 1 Date : 2025-05-31T11:08:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T11:08:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006743 post PendingInvicesDO 2 MED-061006767 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006767 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62952572-760b-40b8-b703-302c0ac6f667' LIMIT 1 Date : 2025-05-31T11:48:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T11:48:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006744 post PendingInvicesDO 2 MED-061006768 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006768 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c6d4131-3b57-4222-b4ad-92c3ed860552' LIMIT 1 Date : 2025-05-31T12:08:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T12:08:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006745 post PendingInvicesDO 2 MED-061006769 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006769 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74b5eb34-cc3a-4b27-9348-d611260ad44f' LIMIT 1 Date : 2025-05-31T12:24:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T12:24:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006746 post PendingInvicesDO 2 MED-061006770 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006770 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d021db41-4005-46ba-8685-b43f4db2c562' LIMIT 1 Date : 2025-06-01T09:58:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T09:58:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006747 post PendingInvicesDO 2 MED-061006771 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006771 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='591bcabd-6338-4243-9015-9719da8c2952' LIMIT 1 Date : 2025-06-01T11:30:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T11:30:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006748 post PendingInvicesDO 2 MED-061006772 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006772 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b95fe11-f3de-4cb5-aa22-8d31897ba71a' LIMIT 1 Date : 2025-06-01T11:50:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T11:50:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006749 post PendingInvicesDO 2 MED-061006773 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006773 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d0636ed-3bb3-4b0e-96f0-11975743433b' LIMIT 1 Date : 2025-06-01T12:59:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T12:59:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006750 post PendingInvicesDO 2 MED-061006774 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006774 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ad90a6d-a18d-4753-88ee-aa0da50f7a49' LIMIT 1 Date : 2025-06-01T13:23:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T13:23:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006751 post PendingInvicesDO 2 MED-061006775 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006775 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e65f1580-79d7-44c4-b846-43481cd92553' LIMIT 1 Date : 2025-06-01T14:00:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T14:00:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006752 post PendingInvicesDO 2 MED-061006776 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006776 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='731695e0-29d3-4f3f-b641-d7a61bc94eeb' LIMIT 1 Date : 2025-06-01T14:57:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T14:57:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006753 post PendingInvicesDO 2 MED-061006434 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006434 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006434' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006434' OR OrderId='MED-061006434' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-01T15:17:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006754 post PendingInvicesDO 2 MED-061006777 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006777 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9dbd7a37-7d1b-471c-8e7f-5f976de61cb9' LIMIT 1 Date : 2025-06-01T15:19:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T15:19:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006755 post PendingInvicesDO 2 MED-061006778 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006778 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='173e6ad3-1b6d-4edb-827d-8d2489881adc' LIMIT 1 Date : 2025-06-01T16:39:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T16:39:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006756 post PendingInvicesDO 2 MED-061006779 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006779 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd35a91a-9772-409a-bd84-12d566f10a49' LIMIT 1 Date : 2025-06-01T17:21:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T17:21:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006757 post PendingInvicesDO 2 MED-061006780 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006780 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4eb5f804-e65d-410f-a17f-5a80adc02d9b' LIMIT 1 Date : 2025-06-01T17:39:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T17:39:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006758 post PendingInvicesDO 2 MED-061006781 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006781 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a83657f1-81e5-4334-9557-e556cd65246e' LIMIT 1 Date : 2025-06-01T18:41:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T18:41:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006759 post PendingInvicesDO 2 MED-061006782 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006782 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a96e2d2-e2fd-4af4-bc1c-00d937b073a5' LIMIT 1 Date : 2025-06-01T19:05:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T19:05:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006760 post PendingInvicesDO 2 MED-061006783 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006783 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='861fde22-fca5-4b3a-889d-d0be23a45f2d' LIMIT 1 Date : 2025-06-01T20:30:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T20:30:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006761 post PendingInvicesDO 2 MED-061006668 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006668 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006668' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006668' OR OrderId='MED-061006668' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-01T21:31:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006762 post PendingInvicesDO 2 MED-061006785 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006785 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='996195b3-b6c7-4052-adaa-7fc33a3a8ed0' LIMIT 1 Date : 2025-06-01T22:19:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T22:19:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006763 post PendingInvicesDO 2 MED-061006786 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006786 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5fb72da7-6ee0-4cb2-b34a-6f80e606853f' LIMIT 1 Date : 2025-06-02T09:40:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T09:40:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006764 post PendingInvicesDO 2 MED-061006787 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006787 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fafaa93-1fb2-45ea-97a7-35f9b122a448' LIMIT 1 Date : 2025-06-02T10:04:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T10:04:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006765 post PendingInvicesDO 2 MED-061006788 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006788 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a80a964-46da-4695-a8c7-9587f60c1497' LIMIT 1 Date : 2025-06-02T10:25:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T10:25:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006766 post PendingInvicesDO 2 MED-061006789 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006789 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea1ff334-bbfe-49da-886c-6f813adb7315' LIMIT 1 Date : 2025-06-02T10:48:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T10:48:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006767 post PendingInvicesDO 2 MED-061006790 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006790 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b02cddc1-2edd-4e81-a3d2-3e15da624109' LIMIT 1 Date : 2025-06-02T11:21:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T11:21:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006768 post PendingInvicesDO 2 MED-061006791 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006791 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='616430ef-fe03-40f8-b9ac-6df9456c30b1' LIMIT 1 Date : 2025-06-02T11:54:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T11:54:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006769 post PendingInvicesDO 2 MED-061006792 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006792 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23a581e3-1ec3-4ca8-862a-fac2c058f370' LIMIT 1 Date : 2025-06-02T13:10:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T13:10:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006770 post PendingInvicesDO 2 MED-061006793 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006793 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35fc1ecf-4810-4582-af5d-c87e362f61c0' LIMIT 1 Date : 2025-06-02T13:36:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T13:36:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006771 post PendingInvicesDO 2 MED-061006794 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006794 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3cb6f95-9d62-4c9e-9ba8-a41557432252' LIMIT 1 Date : 2025-06-02T14:07:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T14:07:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006772 post PendingInvicesDO 2 MED-061006795 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006795 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b3257af-e0c3-4f1f-abd6-fab4ff6bf952' LIMIT 1 Date : 2025-06-02T14:14:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T14:14:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006773 post PendingInvicesDO 2 MED-061006796 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006796 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='539cbcec-b32a-4fab-ba8d-20f61955fe2e' LIMIT 1 Date : 2025-06-02T15:15:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T15:16:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006774 post PendingInvicesDO 2 MED-061006797 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006797 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75db0be9-1687-4ce6-a95f-0de7a451b600' LIMIT 1 Date : 2025-06-02T15:38:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T15:38:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006775 post PendingInvicesDO 2 MED-061006684 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006684 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006684' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006684' OR OrderId='MED-061006684' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-02T16:26:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006776 post PendingInvicesDO 2 MED-061006799 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006799 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f81255a-b9e6-4d98-b084-40f97b540643' LIMIT 1 Date : 2025-06-02T17:10:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T17:10:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006777 post PendingInvicesDO 2 MED-061006800 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006800 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e45b1e7c-8e9c-4744-8177-5869362782f0' LIMIT 1 Date : 2025-06-02T17:56:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T17:56:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006778 post PendingInvicesDO 2 MED-061006801 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006801 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='53541715-f08d-47bd-8d5f-6de43f6e05fa' LIMIT 1 Date : 2025-06-02T18:13:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T18:13:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006779 post PendingInvicesDO 2 MED-061006802 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006802 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b715f014-b165-42a7-aff2-51c12dcd1691' LIMIT 1 Date : 2025-06-02T18:43:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T18:43:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006780 post PendingInvicesDO 2 MED-061006803 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006803 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6890de4f-f701-43ec-ab6b-ed2f24fe9b28' LIMIT 1 Date : 2025-06-02T19:41:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T19:41:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006781 post PendingInvicesDO 2 MED-061006804 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006804 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2523c10d-05b7-4455-bb65-89e4c54f4f3d' LIMIT 1 Date : 2025-06-02T20:06:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T20:06:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006782 post PendingInvicesDO 2 MED-061006805 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006805 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7c6ed4e-8de4-42eb-9570-b88097d8bc05' LIMIT 1 Date : 2025-06-02T21:24:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T21:24:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006783 post PendingInvicesDO 2 MED-061006806 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006806 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='926726cf-af0d-478a-921b-ba85c8818c3f' LIMIT 1 Date : 2025-06-02T22:02:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T22:02:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006784 post PendingInvicesDO 2 MED-061006807 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006807 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87a84522-31f1-4f39-a09b-54ae14184c99' LIMIT 1 Date : 2025-06-03T09:53:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T09:53:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006785 post PendingInvicesDO 2 MED-061006808 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006808 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e679927-3a13-4263-a0c9-f3522f90e629' LIMIT 1 Date : 2025-06-03T10:13:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T10:13:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006786 post PendingInvicesDO 2 MED-061006809 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006809 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86dc410b-c092-497e-a220-bf2c0626880a' LIMIT 1 Date : 2025-06-03T10:30:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T10:30:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006787 post PendingInvicesDO 2 MED-061006810 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006810 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b07d2b1-1099-46d3-8d3c-7da7c148ecc0' LIMIT 1 Date : 2025-06-03T10:49:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T10:49:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006788 post PendingInvicesDO 2 MED-061006811 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006811 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66c39258-0b6d-47b6-987c-46f11d2ba827' LIMIT 1 Date : 2025-06-03T11:16:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T11:16:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006789 post PendingInvicesDO 2 MED-061006812 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006812 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='713a4561-a72e-4d7e-99ca-44e42a383484' LIMIT 1 Date : 2025-06-03T11:45:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T11:45:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006790 post PendingInvicesDO 2 MED-061006813 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006813 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006813' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006813' OR OrderId='MED-061006813' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-03T12:13:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006791 post PendingInvicesDO 2 MED-061006814 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006814 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4498d9a4-b045-40d0-9f29-54f5488afa73' LIMIT 1 Date : 2025-06-03T13:01:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T13:01:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006792 post PendingInvicesDO 2 MED-061006815 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006815 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07b2832a-6881-4985-bf5b-3399aeb9c2f6' LIMIT 1 Date : 2025-06-03T13:21:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T13:21:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006793 post PendingInvicesDO 2 MED-061006667 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006667 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006667' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006667' OR OrderId='MED-061006667' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-03T13:46:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006794 post PendingInvicesDO 2 MED-061006817 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006817 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bc9e654-6b3c-4558-8a43-134659f47e89' LIMIT 1 Date : 2025-06-03T14:36:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T14:36:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006795 post PendingInvicesDO 2 MED-061006693 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006693 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006693' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006693' OR OrderId='MED-061006693' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-03T15:05:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006796 post PendingInvicesDO 2 MED-061006819 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006819 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='177149bf-483c-4ff6-9714-8e2b4cdac251' LIMIT 1 Date : 2025-06-03T15:39:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T15:39:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006797 post PendingInvicesDO 2 MED-061006820 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006820 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1303dcb9-542c-4b28-8fb6-f00efe5c511d' LIMIT 1 Date : 2025-06-03T16:32:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T16:32:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006798 post PendingInvicesDO 2 MED-061006821 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006821 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc618b9d-e547-4543-84af-f8bf41c106ba' LIMIT 1 Date : 2025-06-03T17:12:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T17:12:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006799 post PendingInvicesDO 2 MED-061006822 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006822 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62127811-09e6-4406-becb-f37ada093f97' LIMIT 1 Date : 2025-06-03T17:42:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T17:42:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006800 post PendingInvicesDO 2 MED-061006823 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006823 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba0e82a9-c188-48ae-9317-94f9f8111b80' LIMIT 1 Date : 2025-06-03T18:14:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T18:14:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006802 post PendingInvicesDO 2 MED-061006755 post PendingInvicesDO 2 MED-061006754 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006801 post PendingInvicesDO 2 MED-061006755 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006754 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006755 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006755' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006755' OR OrderId='MED-061006755' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006755' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006755' OR OrderId='MED-061006755' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-03T18:50:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006803 post PendingInvicesDO 2 MED-061006757 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006757 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006757' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006757' OR OrderId='MED-061006757' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-03T19:59:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006804 post PendingInvicesDO 2 MED-061006826 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006826 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0485ce96-30fe-42cc-a5d9-203a9dc288c8' LIMIT 1 Date : 2025-06-03T20:08:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T20:08:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006805 post PendingInvicesDO 2 MED-061006827 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006827 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4eee8f6d-b974-4087-a8a1-e0e83541f32d' LIMIT 1 Date : 2025-06-04T09:56:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T09:56:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006806 post PendingInvicesDO 2 MED-061006828 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006828 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea82f407-3a61-45dd-985e-11adf1ba114e' LIMIT 1 Date : 2025-06-04T10:28:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T10:28:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006807 post PendingInvicesDO 2 MED-061006829 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006829 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b5bf8802-519d-4a34-88e1-296e8058a9e0' LIMIT 1 Date : 2025-06-04T10:54:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T10:54:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006808 post PendingInvicesDO 2 MED-061006830 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006830 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ab099ed-a32f-42d3-a4b0-a5089560fab2' LIMIT 1 Date : 2025-06-04T11:18:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T11:18:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006809 post PendingInvicesDO 2 MED-061006831 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006831 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c1bf756-eb9c-4ef8-9754-22501e64f040' LIMIT 1 Date : 2025-06-04T11:43:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T11:43:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006810 post PendingInvicesDO 2 MED-061006832 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006832 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6689f194-9946-46f0-b6a0-d54b22ff5dfb' LIMIT 1 Date : 2025-06-04T12:17:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T12:17:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006811 post PendingInvicesDO 2 MED-061006833 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006833 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03baf9ee-30d4-4f54-9543-5891f6cddd8e' LIMIT 1 Date : 2025-06-04T12:30:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T12:30:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006812 post PendingInvicesDO 2 MED-061006834 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006834 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='188d01e1-90eb-47ae-9191-6cc52148dbff' LIMIT 1 Date : 2025-06-04T13:15:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T13:15:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006813 post PendingInvicesDO 2 MED-061006835 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006835 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b51c7ac2-e490-47b6-accf-c8f7b822e78a' LIMIT 1 Date : 2025-06-04T14:03:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T14:03:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006814 post PendingInvicesDO 2 MED-061006836 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006836 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eba7c2ae-95d8-46ef-8b5b-995a15c92917' LIMIT 1 Date : 2025-06-04T14:36:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T14:36:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006815 post PendingInvicesDO 2 MED-061006837 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006837 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc598a95-ef8b-4c62-bbfb-64b35e5dd609' LIMIT 1 Date : 2025-06-04T15:35:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T15:35:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006816 post PendingInvicesDO 2 MED-061006838 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006838 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0693df62-8637-46db-b06f-3f9f8bac3ebc' LIMIT 1 Date : 2025-06-04T15:59:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T15:59:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006817 post PendingInvicesDO 2 MED-061006839 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006839 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ca1eaee-dd10-471d-9e92-8b8551c1b8a6' LIMIT 1 Date : 2025-06-04T16:28:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T16:28:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006818 post PendingInvicesDO 2 MED-061006840 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006840 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='679d407f-6b36-4a0a-9d99-7cdc53a78fdb' LIMIT 1 Date : 2025-06-04T16:42:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T16:42:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006819 post PendingInvicesDO 2 MED-061006841 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006841 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7dd60e5-776c-49ad-b967-01e09a8e8f84' LIMIT 1 Date : 2025-06-04T16:48:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T16:48:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006820 post PendingInvicesDO 2 MED-061006842 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006842 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f2c2560-606e-48ca-acfc-826b28ff406e' LIMIT 1 Date : 2025-06-04T17:20:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T17:20:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006821 post PendingInvicesDO 2 MED-061006843 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006843 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='534d57f1-bcfa-40d7-8c36-22d403c64826' LIMIT 1 Date : 2025-06-04T18:00:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T18:00:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006822 post PendingInvicesDO 2 MED-061006844 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006844 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81c9039d-dc66-450e-b30d-fc6c5ae5f398' LIMIT 1 Date : 2025-06-04T18:11:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T18:11:34 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-064006823 post PendingInvicesDO 2 MED-061006845 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006845 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce2aafa9-cc1e-4eb3-8840-c23004266e5b' LIMIT 1 Date : 2025-06-04T18:31:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T18:31:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006824 post PendingInvicesDO 2 MED-061006846 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006846 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01084f8f-d594-4e35-a51f-4777917f8495' LIMIT 1 Date : 2025-06-04T19:06:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T19:06:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006825 post PendingInvicesDO 2 MED-061006847 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006847 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41352d52-764e-4cdd-a5d7-bdaea2a05ca0' LIMIT 1 Date : 2025-06-04T20:25:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T20:25:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006826 post PendingInvicesDO 2 MED-061006848 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006848 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9adbdfcb-95ea-4ca6-9f6a-03a751626ffc' LIMIT 1 Date : 2025-06-04T20:49:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T20:49:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006827 post PendingInvicesDO 2 MED-061006849 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006849 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94142349-6021-4bf5-b314-0d4bb497b095' LIMIT 1 Date : 2025-06-05T08:04:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T08:04:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006828 post PendingInvicesDO 2 MED-061006850 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006850 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c3d6922-273b-40e2-b918-0c562631ee3d' LIMIT 1 Date : 2025-06-05T09:04:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T09:04:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006829 post PendingInvicesDO 2 MED-061006851 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006851 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b394e0c4-d405-4519-ad2e-da84ca862983' LIMIT 1 Date : 2025-06-05T09:38:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T09:38:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006830 post PendingInvicesDO 2 MED-061006741 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006741 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006741' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006741' OR OrderId='MED-061006741' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T09:49:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006831 post PendingInvicesDO 2 MED-061006853 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006853 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5532a257-5270-4a1d-b522-c3103aec854d' LIMIT 1 Date : 2025-06-05T10:31:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T10:31:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006832 post PendingInvicesDO 2 MED-061006854 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006854 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f78473aa-7afc-42ed-8f64-b739f0e8b0df' LIMIT 1 Date : 2025-06-05T11:10:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T11:10:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006833 post PendingInvicesDO 2 MED-061006855 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006855 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd91d362-e7e5-4864-85d2-e065d4d7fd42' LIMIT 1 Date : 2025-06-05T11:28:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T11:28:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006834 post PendingInvicesDO 2 MED-061006856 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006856 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a852fc3-af7e-4bfe-9bbb-3785f583f5fe' LIMIT 1 Date : 2025-06-05T12:16:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T12:16:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006835 post PendingInvicesDO 2 MED-061006857 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006857 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc2196d9-9d9b-40c1-b530-a94ef94e7dc2' LIMIT 1 Date : 2025-06-05T12:54:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T12:54:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006836 post PendingInvicesDO 2 MED-061006858 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006858 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='65126911-9536-4428-9f7d-b4c6842db292' LIMIT 1 Date : 2025-06-05T13:34:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T13:34:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006837 post PendingInvicesDO 2 MED-061006860 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006860 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7aab334d-4b8e-42a7-9c01-edffed2f7e23' LIMIT 1 Date : 2025-06-05T15:18:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T15:18:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006838 post PendingInvicesDO 2 MED-061006861 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006861 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9fc78ea-ae8b-458c-9468-7c46d5149cf9' LIMIT 1 Date : 2025-06-05T16:19:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T16:19:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006839 post PendingInvicesDO 2 MED-061006862 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006862 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37810410-ec19-4c96-bd2a-c8264788b73b' LIMIT 1 Date : 2025-06-05T16:46:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T16:46:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006840 post PendingInvicesDO 2 MED-061006863 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006863 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc9e9b43-5ed1-430d-bcdb-d671873a7b96' LIMIT 1 Date : 2025-06-07T10:32:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T10:32:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006841 post PendingInvicesDO 2 MED-061006864 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006864 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3095a09f-1104-4585-94e5-17153a1491a7' LIMIT 1 Date : 2025-06-07T10:54:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T10:54:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006843 post PendingInvicesDO 2 MED-061006866 post PendingInvicesDO 2 MED-061006865 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006842 post PendingInvicesDO 2 MED-061006866 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006865 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006866 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d8360e8-9f7e-475f-a1a5-67ebd5220f43' LIMIT 1 Date : 2025-06-07T11:38:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9eab5f19-79ce-413e-b596-fd37d94a4db3' LIMIT 1 Date : 2025-06-07T11:38:03  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d8360e8-9f7e-475f-a1a5-67ebd5220f43' LIMIT 1 Date : 2025-06-07T11:38:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9eab5f19-79ce-413e-b596-fd37d94a4db3' LIMIT 1 Date : 2025-06-07T11:38:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-07T11:38:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006844 post PendingInvicesDO 2 MED-061006867 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006867 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0519a178-cb66-48cb-92ce-4b8af6d36b76' LIMIT 1 Date : 2025-06-07T12:02:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T12:02:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006845 post PendingInvicesDO 2 MED-061006868 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006868 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2ff93a9-6bd1-43ce-9094-1d60d162c72e' LIMIT 1 Date : 2025-06-07T13:04:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T13:04:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006846 post PendingInvicesDO 2 MED-061006869 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006869 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6033a2bb-06a9-4a1c-93cb-5fd7486bfa68' LIMIT 1 Date : 2025-06-07T13:26:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T13:26:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006847 post PendingInvicesDO 2 MED-061006649 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006649 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006649' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006649' OR OrderId='MED-061006649' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-07T14:41:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006848 post PendingInvicesDO 2 MED-061006871 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006871 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19b4ca00-519f-456e-b597-be3fcb9c948b' LIMIT 1 Date : 2025-06-07T15:10:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T15:10:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006849 post PendingInvicesDO 2 MED-061006872 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006872 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e173391f-2ff5-4849-bcd6-a889bc45e3e1' LIMIT 1 Date : 2025-06-07T15:37:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T15:37:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006850 post PendingInvicesDO 2 MED-061006873 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006873 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='062e82cb-875d-4288-b92b-ad42faf150a4' LIMIT 1 Date : 2025-06-07T15:54:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T15:54:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006851 post PendingInvicesDO 2 MED-061006874 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006874 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea6df557-4e2a-46a8-b549-cae693a05753' LIMIT 1 Date : 2025-06-07T16:13:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T16:13:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006852 post PendingInvicesDO 2 MED-061006875 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006875 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2201464a-f69e-4f59-944b-9f80da070e1e' LIMIT 1 Date : 2025-06-07T16:28:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T16:28:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006853 post PendingInvicesDO 2 MED-061006876 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006876 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27398d3e-29c7-45f0-8481-9199c319cf0e' LIMIT 1 Date : 2025-06-07T16:51:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T16:51:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006854 post PendingInvicesDO 2 MED-061006879 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006879 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2df65f5c-ec7a-4b7d-9bcc-1c0d2b71579e' LIMIT 1 Date : 2025-06-07T20:16:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T20:16:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006855 post PendingInvicesDO 2 MED-061006880 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006880 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba62444a-42a1-412c-ac12-a4084a483355' LIMIT 1 Date : 2025-06-07T20:57:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-07T20:57:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006856 post PendingInvicesDO 2 MED-061006824 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006824 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006824' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006824' OR OrderId='MED-061006824' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-07T21:13:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006857 post PendingInvicesDO 2 MED-061006751 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006751 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006751' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006751' OR OrderId='MED-061006751' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-08T08:53:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006859 post PendingInvicesDO 2 MED-061006884 post PendingInvicesDO 2 MED-061006883 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006858 post PendingInvicesDO 2 MED-061006884 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006883 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006884 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ec2228a-c1f8-4f0c-b588-49a5d4f663c4' LIMIT 1 Date : 2025-06-08T09:38:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9906a579-c86f-4f4f-8d1e-1a9ccf323732' LIMIT 1 Date : 2025-06-08T09:38:35  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ec2228a-c1f8-4f0c-b588-49a5d4f663c4' LIMIT 1 Date : 2025-06-08T09:38:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9906a579-c86f-4f4f-8d1e-1a9ccf323732' LIMIT 1 Date : 2025-06-08T09:38:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-08T09:38:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006860 post PendingInvicesDO 2 MED-061006885 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006885 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='365eac0e-c6a9-4cf2-90e5-d872e067d914' LIMIT 1 Date : 2025-06-08T10:17:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T10:17:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006861 post PendingInvicesDO 2 MED-061006886 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006886 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='efb41077-bf73-4ab6-8d04-da23b04e15ca' LIMIT 1 Date : 2025-06-08T10:37:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T10:37:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006862 post PendingInvicesDO 2 MED-061006887 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006887 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='456997f0-2d2e-4f75-a6a1-7910e0ee6149' LIMIT 1 Date : 2025-06-08T10:41:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T10:41:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006863 post PendingInvicesDO 2 MED-061006888 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006888 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73f7fe85-697d-410f-9a3e-e77589a20ba8' LIMIT 1 Date : 2025-06-08T11:04:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T11:04:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006864 post PendingInvicesDO 2 MED-061006890 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006890 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e58433c-8607-4fef-ade5-9f1dc21b9f87' LIMIT 1 Date : 2025-06-08T11:43:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T11:43:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006865 post PendingInvicesDO 2 MED-061006891 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006891 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='426620d5-d8e8-41b2-aa69-f5bbb0127604' LIMIT 1 Date : 2025-06-08T12:02:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T12:02:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006866 post PendingInvicesDO 2 MED-061006892 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006892 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5160733e-1b9b-452a-871e-eb180be6b9e5' LIMIT 1 Date : 2025-06-08T13:03:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T13:03:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006867 post PendingInvicesDO 2 MED-061006893 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006893 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8181e6dc-f5b6-41e1-874a-bd5b86578546' LIMIT 1 Date : 2025-06-08T13:49:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T13:49:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006868 post PendingInvicesDO 2 MED-061006894 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006894 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4795e67-612c-4bd0-849c-a02df063efc8' LIMIT 1 Date : 2025-06-08T14:10:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T14:10:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006869 post PendingInvicesDO 2 MED-061006895 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006895 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96426189-4c86-4726-84d9-7b568fcc3743' LIMIT 1 Date : 2025-06-08T15:24:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T15:24:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006870 post PendingInvicesDO 2 MED-061006896 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006896 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ddccaa16-b073-4b9d-b5ed-48afd2f66626' LIMIT 1 Date : 2025-06-08T19:14:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T19:14:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006871 post PendingInvicesDO 2 MED-061006897 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006897 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbe2bfc5-fbc0-413e-a74e-19c1d0eeb5c3' LIMIT 1 Date : 2025-06-08T19:30:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T19:30:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006872 post PendingInvicesDO 2 MED-061006898 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006898 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='018e19db-2f04-4484-b9c5-884e64660c0b' LIMIT 1 Date : 2025-06-09T09:48:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T09:48:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006873 post PendingInvicesDO 2 MED-061006899 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006899 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5fd8f69-3595-431e-9fa5-e7c65169b04f' LIMIT 1 Date : 2025-06-09T10:06:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T10:06:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006874 post PendingInvicesDO 2 MED-061006900 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006900 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37035bb8-7645-4c7d-a7fb-7f5665be8f77' LIMIT 1 Date : 2025-06-09T10:22:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T10:22:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006875 post PendingInvicesDO 2 MED-061006901 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006901 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24df7ac6-e6e0-426c-8db5-97d42e813fe6' LIMIT 1 Date : 2025-06-09T10:42:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T10:42:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006876 post PendingInvicesDO 2 MED-061006902 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006902 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c27bef72-f4d5-4223-a79e-6e35eaeb883c' LIMIT 1 Date : 2025-06-09T11:10:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T11:10:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006877 post PendingInvicesDO 2 MED-061006903 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006903 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37ccc8e5-5b30-4d3f-b890-4b88f6c2428a' LIMIT 1 Date : 2025-06-09T11:51:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T11:51:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006878 post PendingInvicesDO 2 MED-061006904 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006904 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f481ef7-1077-4f0d-8004-5d48ebcff11f' LIMIT 1 Date : 2025-06-09T13:08:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T13:08:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006879 post PendingInvicesDO 2 MED-061006905 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006905 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c920531-f07f-4932-8fad-b693fc3a0126' LIMIT 1 Date : 2025-06-09T13:27:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T13:27:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006880 post PendingInvicesDO 2 MED-061006906 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006906 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d9c6470-27f9-43be-9a56-1ce9169dd6bd' LIMIT 1 Date : 2025-06-09T13:44:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T13:44:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006881 post PendingInvicesDO 2 MED-061006907 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006907 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5984c48f-fdd6-49cb-b58b-daf9cf878187' LIMIT 1 Date : 2025-06-09T14:08:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T14:08:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006882 post PendingInvicesDO 2 MED-061006908 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006908 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae5d2a7f-f0f1-4b07-a508-2bac64f68302' LIMIT 1 Date : 2025-06-09T15:07:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T15:07:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006883 post PendingInvicesDO 2 MED-061006909 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006909 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e933990-5965-4671-97e7-18dacf8f6420' LIMIT 1 Date : 2025-06-09T15:43:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T15:43:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006885 post PendingInvicesDO 2 MED-061006911 post PendingInvicesDO 2 MED-061006910 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006884 post PendingInvicesDO 2 MED-061006911 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006910 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006911 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2433850c-d298-49be-a764-d6d8995f4a67' LIMIT 1 Date : 2025-06-09T17:07:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0089b135-180f-4f93-95f8-13f3075f1ef4' LIMIT 1 Date : 2025-06-09T17:07:03  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2433850c-d298-49be-a764-d6d8995f4a67' LIMIT 1 Date : 2025-06-09T17:07:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0089b135-180f-4f93-95f8-13f3075f1ef4' LIMIT 1 Date : 2025-06-09T17:07:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-09T17:07:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006886 post PendingInvicesDO 2 MED-061006912 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006912 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9db17b16-b3e2-4196-8e26-dcd4cceb5d39' LIMIT 1 Date : 2025-06-09T17:34:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T17:34:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006887 post PendingInvicesDO 2 MED-061006913 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006913 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b47cc9a-cf4e-4cf6-9694-e5d856461a4b' LIMIT 1 Date : 2025-06-09T17:55:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T17:55:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006888 post PendingInvicesDO 2 MED-061006915 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006915 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a85c13a-7a4f-4225-a6d6-efea62d51e54' LIMIT 1 Date : 2025-06-09T18:53:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T18:53:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006889 post PendingInvicesDO 2 MED-061006916 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006916 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='05d6b26f-1291-4fb0-bb67-4ad2b5a52024' LIMIT 1 Date : 2025-06-09T19:03:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T19:03:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006890 post PendingInvicesDO 2 MED-061006917 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006917 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f01135b2-ea35-4eaa-b303-5f29c6a3c1a2' LIMIT 1 Date : 2025-06-09T19:51:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T19:51:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006891 post PendingInvicesDO 2 MED-061006918 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006918 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2a033e0-6468-4c4c-b0eb-aabf5afc5dfb' LIMIT 1 Date : 2025-06-10T09:42:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T09:42:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006892 post PendingInvicesDO 2 MED-061006919 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006919 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67007eb2-bcca-47f7-b83d-9e0e1f8b2dae' LIMIT 1 Date : 2025-06-10T10:11:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T10:11:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006893 post PendingInvicesDO 2 MED-061006920 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006920 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='482b0717-2c7c-4a76-bc1c-24c1a4ed74ba' LIMIT 1 Date : 2025-06-10T10:40:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T10:40:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006894 post PendingInvicesDO 2 MED-061006921 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006921 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='158b357b-ce0c-476b-b0da-6f0805e52ecd' LIMIT 1 Date : 2025-06-10T10:59:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T10:59:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006895 post PendingInvicesDO 2 MED-061006922 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006922 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1960a81-0989-45b1-b8ee-0939eddbda7f' LIMIT 1 Date : 2025-06-10T11:14:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T11:14:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006896 post PendingInvicesDO 2 MED-061006923 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006923 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0ce12f6-5b06-43c9-a478-050de996d12b' LIMIT 1 Date : 2025-06-10T11:20:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T11:20:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006897 post PendingInvicesDO 2 MED-061006924 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006924 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00575cc7-a631-4e20-950d-b03360e800e1' LIMIT 1 Date : 2025-06-10T11:48:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T11:48:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006898 post PendingInvicesDO 2 MED-061006925 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006925 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d734667-efa2-41de-92ff-6f3cd0dd6a06' LIMIT 1 Date : 2025-06-10T12:08:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T12:08:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006900 post PendingInvicesDO 2 MED-061006927 post PendingInvicesDO 2 MED-061006926 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006899 post PendingInvicesDO 2 MED-061006927 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006926 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006927 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bc73f09-2ba5-4892-b5d3-9e8eb5a394c9' LIMIT 1 Date : 2025-06-10T13:05:21  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4dbfb5c1-0189-42af-9c72-572faa4619d9' LIMIT 1 Date : 2025-06-10T13:05:21  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bc73f09-2ba5-4892-b5d3-9e8eb5a394c9' LIMIT 1 Date : 2025-06-10T13:05:21  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4dbfb5c1-0189-42af-9c72-572faa4619d9' LIMIT 1 Date : 2025-06-10T13:05:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-10T13:05:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006902 post PendingInvicesDO 2 MED-061006929 post PendingInvicesDO 2 MED-061006928 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006901 post PendingInvicesDO 2 MED-061006929 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006928 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006929 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='337ded08-f9cf-4635-934c-16e1dc6f6a45' LIMIT 1 Date : 2025-06-10T13:45:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d217508-f775-4ff2-b643-92d313181f43' LIMIT 1 Date : 2025-06-10T13:45:43  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='337ded08-f9cf-4635-934c-16e1dc6f6a45' LIMIT 1 Date : 2025-06-10T13:45:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d217508-f775-4ff2-b643-92d313181f43' LIMIT 1 Date : 2025-06-10T13:45:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-10T13:45:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006903 post PendingInvicesDO 2 MED-061006818 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006818 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006818' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006818' OR OrderId='MED-061006818' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-10T14:42:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006904 post PendingInvicesDO 2 MED-061006931 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006931 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57c2df48-8971-4746-aa7e-4d6c01fa1e57' LIMIT 1 Date : 2025-06-10T15:21:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T15:21:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006905 post PendingInvicesDO 2 MED-061006932 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006932 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bf6532c-5485-4e32-b89d-177b9bf2faff' LIMIT 1 Date : 2025-06-10T16:09:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T16:09:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006906 post PendingInvicesDO 2 MED-061006933 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006933 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a433a148-8d82-4224-be2b-09288781c9fa' LIMIT 1 Date : 2025-06-10T16:29:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T16:29:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006907 post PendingInvicesDO 2 MED-061006934 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006934 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6105062-f877-496e-8d80-f0aadf147ee0' LIMIT 1 Date : 2025-06-10T17:34:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T17:34:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006908 post PendingInvicesDO 2 MED-061006935 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006935 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66040ee8-94e4-4e08-80cd-26c927213d52' LIMIT 1 Date : 2025-06-10T17:45:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T17:45:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006909 post PendingInvicesDO 2 MED-061006936 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006936 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5134c550-06c3-4359-a4cf-a332f629eb4a' LIMIT 1 Date : 2025-06-10T18:15:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T18:15:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006910 post PendingInvicesDO 2 MED-061006825 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006825 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006825' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006825' OR OrderId='MED-061006825' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-10T18:48:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006911 post PendingInvicesDO 2 MED-061006784 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006784 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006784' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006784' OR OrderId='MED-061006784' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-10T19:50:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006912 post PendingInvicesDO 2 MED-061006940 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006940 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a53ea7ea-f189-466a-9fc7-e7a7456e9fbf' LIMIT 1 Date : 2025-06-10T20:24:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T20:24:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006913 post PendingInvicesDO 2 MED-061006941 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006941 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9ee406e-0a76-4c33-8556-ba8f620813bc' LIMIT 1 Date : 2025-06-10T20:49:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T20:49:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006914 post PendingInvicesDO 2 MED-061006942 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006942 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9cf653a3-c1fa-4ca0-abe8-a6c457fd9bf5' LIMIT 1 Date : 2025-06-10T21:29:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T21:29:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006915 post PendingInvicesDO 2 MED-061006943 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006943 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8eca907-5fa9-43e8-b1e6-1ae466e84ede' LIMIT 1 Date : 2025-06-11T09:15:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T09:15:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006916 post PendingInvicesDO 2 MED-061006944 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006944 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c484a43-ec17-48ec-95eb-02b0eac88bb3' LIMIT 1 Date : 2025-06-11T09:48:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T09:48:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006917 post PendingInvicesDO 2 MED-061006945 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006945 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db887c72-60e4-4c93-850c-7d7a911b78f3' LIMIT 1 Date : 2025-06-11T10:11:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T10:11:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006919 post PendingInvicesDO 2 MED-061006947 post PendingInvicesDO 2 MED-061006946 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006918 post PendingInvicesDO 2 MED-061006947 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006946 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006947 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2392eaf-f90a-4ee8-a727-efa401d15644' LIMIT 1 Date : 2025-06-11T10:29:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62d3e30e-d6fb-420c-80c0-bbac49855c71' LIMIT 1 Date : 2025-06-11T10:29:48  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2392eaf-f90a-4ee8-a727-efa401d15644' LIMIT 1 Date : 2025-06-11T10:29:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62d3e30e-d6fb-420c-80c0-bbac49855c71' LIMIT 1 Date : 2025-06-11T10:29:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-11T10:29:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006921 post PendingInvicesDO 2 MED-061006949 post PendingInvicesDO 2 MED-061006948 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006920 post PendingInvicesDO 2 MED-061006949 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006948 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006949 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa70e32e-8ac7-454d-98f1-13a237c16a56' LIMIT 1 Date : 2025-06-11T10:55:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='093b94ba-96e2-4544-bbb0-ae710a61cd6e' LIMIT 1 Date : 2025-06-11T10:55:29  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa70e32e-8ac7-454d-98f1-13a237c16a56' LIMIT 1 Date : 2025-06-11T10:55:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='093b94ba-96e2-4544-bbb0-ae710a61cd6e' LIMIT 1 Date : 2025-06-11T10:55:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-11T10:55:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006922 post PendingInvicesDO 2 MED-061006950 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006950 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e17ccc68-ebff-4eca-8ffa-d942a07506d9' LIMIT 1 Date : 2025-06-11T11:11:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T11:11:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006923 post PendingInvicesDO 2 MED-061006951 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006951 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48da20f0-369f-4191-bd9f-859aed2b88bc' LIMIT 1 Date : 2025-06-11T11:22:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T11:22:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006924 post PendingInvicesDO 2 MED-061006952 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006952 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe1fedab-53ad-4b52-bd32-efbe49b3b90c' LIMIT 1 Date : 2025-06-11T11:36:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T11:36:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006925 post PendingInvicesDO 2 MED-061006953 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006953 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee7bbb53-be54-4085-a20e-e00bf8f0f5d9' LIMIT 1 Date : 2025-06-11T11:55:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T11:55:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006927 post PendingInvicesDO 2 MED-061006955 post PendingInvicesDO 2 MED-061006954 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006926 post PendingInvicesDO 2 MED-061006955 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006954 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006955 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d531952b-3d2c-4ec0-859d-e158442699ed' LIMIT 1 Date : 2025-06-11T12:05:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd6ba8f7-6a6b-47b2-b6ea-7428cd923262' LIMIT 1 Date : 2025-06-11T12:05:42  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d531952b-3d2c-4ec0-859d-e158442699ed' LIMIT 1 Date : 2025-06-11T12:05:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd6ba8f7-6a6b-47b2-b6ea-7428cd923262' LIMIT 1 Date : 2025-06-11T12:05:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-11T12:05:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006928 post PendingInvicesDO 2 MED-061006956 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006956 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69cc18b3-e9c1-4bbe-b0d1-8e0842333e7f' LIMIT 1 Date : 2025-06-11T12:20:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T12:20:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006929 post PendingInvicesDO 2 MED-061006957 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006957 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6263c90f-6018-4fe5-938c-dfd8cad8dde0' LIMIT 1 Date : 2025-06-11T12:59:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T12:59:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006930 post PendingInvicesDO 2 MED-061006958 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006958 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b41a2383-4a37-40a8-a4a3-afec3056cd7c' LIMIT 1 Date : 2025-06-11T13:28:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T13:28:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006931 post PendingInvicesDO 2 MED-061006959 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006959 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20b9019c-b821-42d4-815c-f0c08928dd89' LIMIT 1 Date : 2025-06-11T13:34:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T13:34:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006932 post PendingInvicesDO 2 MED-061006960 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006960 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10a780df-4856-45ec-8693-ec77ce52552e' LIMIT 1 Date : 2025-06-11T14:23:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T14:23:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006934 post PendingInvicesDO 2 MED-061006962 post PendingInvicesDO 2 MED-061006961 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006933 post PendingInvicesDO 2 MED-061006962 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006961 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006962 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad00aed5-7340-4306-9934-913c15d8e412' LIMIT 1 Date : 2025-06-11T16:20:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='115cced4-5f2e-4c4f-acf8-93d30ae119ec' LIMIT 1 Date : 2025-06-11T16:20:19  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad00aed5-7340-4306-9934-913c15d8e412' LIMIT 1 Date : 2025-06-11T16:20:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='115cced4-5f2e-4c4f-acf8-93d30ae119ec' LIMIT 1 Date : 2025-06-11T16:20:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-11T16:20:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006935 post PendingInvicesDO 2 MED-061006963 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006963 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2519574-7b9d-43ad-8ff6-76ab6caaa567' LIMIT 1 Date : 2025-06-11T17:10:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T17:10:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006936 post PendingInvicesDO 2 MED-061006964 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006964 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b361fee7-282c-4bc2-bff4-2592a3b68974' LIMIT 1 Date : 2025-06-12T08:49:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T08:49:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006937 post PendingInvicesDO 2 MED-061006965 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006965 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4696dbc-407a-4f00-b784-68a464174362' LIMIT 1 Date : 2025-06-12T10:44:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T10:44:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006938 post PendingInvicesDO 2 MED-061006966 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006966 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c0e1d22-bfb1-4433-a37c-12936c6b2a4a' LIMIT 1 Date : 2025-06-12T11:04:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T11:04:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006939 post PendingInvicesDO 2 MED-061006967 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006967 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ddce8d3-4b4e-4f97-8783-08617e51aee4' LIMIT 1 Date : 2025-06-12T11:37:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T11:37:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006940 post PendingInvicesDO 2 MED-061006852 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006852 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006852' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006852' OR OrderId='MED-061006852' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-12T13:07:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006941 post PendingInvicesDO 2 MED-061006969 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006969 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9efffe0-6d8c-4b3d-86e8-a221d123df3b' LIMIT 1 Date : 2025-06-12T14:27:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T14:27:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006942 post PendingInvicesDO 2 MED-061006970 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006970 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4efdbf93-ebe5-4633-8a52-d0638a2ce3f9' LIMIT 1 Date : 2025-06-12T15:10:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T15:10:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006943 post PendingInvicesDO 2 MED-061006971 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006971 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56ae7574-3d4f-41cf-a831-48c938510175' LIMIT 1 Date : 2025-06-12T15:53:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T15:53:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006944 post PendingInvicesDO 2 MED-061006972 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006972 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28ddc7de-3398-41fd-b56b-68132540c98e' LIMIT 1 Date : 2025-06-12T16:18:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T16:18:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006946 post PendingInvicesDO 2 MED-061006974 post PendingInvicesDO 2 MED-061006973 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064006945 post PendingInvicesDO 2 MED-061006974 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006973 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006974 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab20b186-f13d-44c1-953d-cdf214ebc08f' LIMIT 1 Date : 2025-06-12T17:28:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dffa8b2f-3a22-413a-a970-735861c59a18' LIMIT 1 Date : 2025-06-12T17:28:22  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab20b186-f13d-44c1-953d-cdf214ebc08f' LIMIT 1 Date : 2025-06-12T17:28:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dffa8b2f-3a22-413a-a970-735861c59a18' LIMIT 1 Date : 2025-06-12T17:28:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-12T17:28:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006947 post PendingInvicesDO 2 MED-061006975 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006975 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='957a483a-58bf-4c99-ba0b-a312eba95f1e' LIMIT 1 Date : 2025-06-12T18:02:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T18:02:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006948 post PendingInvicesDO 2 MED-061006859 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006859 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006859' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006859' OR OrderId='MED-061006859' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-12T18:48:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006949 post PendingInvicesDO 2 MED-061006977 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006977 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb435d9e-6469-4d81-8846-f34aae447b8a' LIMIT 1 Date : 2025-06-12T19:44:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T19:44:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006950 post PendingInvicesDO 2 MED-061006882 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006882 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006882' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006882' OR OrderId='MED-061006882' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-12T21:10:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006951 post PendingInvicesDO 2 MED-061006979 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006979 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e5eb29d-987d-4168-9c5c-dacdc73b25b7' LIMIT 1 Date : 2025-06-12T22:13:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T22:13:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006952 post PendingInvicesDO 2 MED-061006980 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006980 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a96fa053-5bb2-4545-ab17-5b84e03ea090' LIMIT 1 Date : 2025-06-12T22:42:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T22:42:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006953 post PendingInvicesDO 2 MED-061006983 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006983 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb754cdc-dd5e-46ab-9e77-4ee1fceadcfe' LIMIT 1 Date : 2025-06-13T20:25:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T20:25:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006954 post PendingInvicesDO 2 MED-061006881 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006881 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006881' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006881' OR OrderId='MED-061006881' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-13T21:20:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006955 post PendingInvicesDO 2 MED-061006985 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006985 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dccbab6f-3a32-4733-a0ce-583ed066cb80' LIMIT 1 Date : 2025-06-13T22:04:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T22:04:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006956 post PendingInvicesDO 2 MED-061006986 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006986 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82c2305c-793a-43dd-b19a-01d2130330d2' LIMIT 1 Date : 2025-06-13T22:19:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T22:19:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006957 post PendingInvicesDO 2 MED-061006987 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006987 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02fea12b-3994-49fd-9cb3-ed5501b73a56' LIMIT 1 Date : 2025-06-14T09:31:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T09:31:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006958 post PendingInvicesDO 2 MED-061006988 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006988 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='619d4103-38d9-4ff8-ad2a-cd64443b3755' LIMIT 1 Date : 2025-06-14T09:52:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T09:52:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006959 post PendingInvicesDO 2 MED-061006989 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006989 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e6805e1-3110-4b46-a0dc-bf8d883db2ba' LIMIT 1 Date : 2025-06-14T10:40:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T10:40:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006960 post PendingInvicesDO 2 MED-061006990 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006990 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db95e598-4809-416c-b83d-858e7091b77c' LIMIT 1 Date : 2025-06-14T11:07:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T11:07:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006961 post PendingInvicesDO 2 MED-061006991 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006991 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24a9fb4f-921c-4c1f-962a-da51131b2f4f' LIMIT 1 Date : 2025-06-14T11:46:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T11:46:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006962 post PendingInvicesDO 2 MED-061006992 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006992 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4e1bbbc-04ff-4d8e-8643-4c69c19d4f22' LIMIT 1 Date : 2025-06-14T13:01:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T13:01:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006963 post PendingInvicesDO 2 MED-061006993 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006993 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bfed678f-44fa-4974-99e8-9a17bfd8d198' LIMIT 1 Date : 2025-06-14T13:55:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T13:55:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006964 post PendingInvicesDO 2 MED-061006994 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006994 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1edadbba-c81a-441c-9cee-4b13a8ae8707' LIMIT 1 Date : 2025-06-14T15:01:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T15:01:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006965 post PendingInvicesDO 2 MED-061006995 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006995 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='257623c7-35fc-4a63-8b18-1f773b10e987' LIMIT 1 Date : 2025-06-14T15:46:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T15:46:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006966 post PendingInvicesDO 2 MED-061006996 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006996 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9565e36-fb37-441f-b573-22d756cf8812' LIMIT 1 Date : 2025-06-14T16:03:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T16:03:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006967 post PendingInvicesDO 2 MED-061006997 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006997 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75b96dd6-3523-4de2-bb3e-2795c447ca3f' LIMIT 1 Date : 2025-06-14T16:25:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T16:25:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006968 post PendingInvicesDO 2 MED-061006998 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006998 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3fd94ce-f163-41f5-b904-6fcb7ced14b4' LIMIT 1 Date : 2025-06-14T17:13:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T17:13:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006969 post PendingInvicesDO 2 MED-061006999 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006999 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af6b2caa-742f-4d3d-bebe-e180b9040651' LIMIT 1 Date : 2025-06-14T18:00:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T18:00:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006970 post PendingInvicesDO 2 MED-061007000 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007000 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db9462a7-bad5-43f7-9275-b22eb5d967b6' LIMIT 1 Date : 2025-06-14T18:13:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T18:13:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006971 post PendingInvicesDO 2 MED-061007001 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007001 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba230076-dcc1-42e0-be9c-527c47ec89fb' LIMIT 1 Date : 2025-06-14T18:26:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T18:26:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006972 post PendingInvicesDO 2 MED-061006816 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006816 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006816' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006816' OR OrderId='MED-061006816' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-14T20:31:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006973 post PendingInvicesDO 2 MED-061007003 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007003 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6259fa71-741b-4897-8286-434e6c1f5919' LIMIT 1 Date : 2025-06-14T21:27:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T21:27:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006974 post PendingInvicesDO 2 MED-061007004 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007004 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b2d000f-9f59-409b-a919-adf6aa7ab869' LIMIT 1 Date : 2025-06-15T09:16:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T09:16:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006975 post PendingInvicesDO 2 MED-061007005 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007005 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a321001d-2e46-42e4-8849-14a03fdf1862' LIMIT 1 Date : 2025-06-15T09:56:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T09:56:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006976 post PendingInvicesDO 2 MED-061007006 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007006 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f017b8f3-5125-4ef6-8016-81f7ab480bb6' LIMIT 1 Date : 2025-06-15T10:05:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T10:05:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006977 post PendingInvicesDO 2 MED-061007007 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007007 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b08b3984-68e9-477f-b9e2-a6eff6b862d7' LIMIT 1 Date : 2025-06-15T10:25:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T10:25:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006978 post PendingInvicesDO 2 MED-061007008 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007008 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c13758f-9a4f-4f14-b4ee-4798710cd9b1' LIMIT 1 Date : 2025-06-15T10:53:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T10:53:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006979 post PendingInvicesDO 2 MED-061006889 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006889 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006889' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006889' OR OrderId='MED-061006889' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-15T11:22:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006980 post PendingInvicesDO 2 MED-061006877 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006877 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006877' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006877' OR OrderId='MED-061006877' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-15T11:49:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006981 post PendingInvicesDO 2 MED-061007011 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007011 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbc4c8a1-462d-4694-9dc8-983ff543aacc' LIMIT 1 Date : 2025-06-15T12:24:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T12:24:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006982 post PendingInvicesDO 2 MED-061007012 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007012 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7bc2bec-6cfd-4283-9aa4-5e9bb52f72ad' LIMIT 1 Date : 2025-06-15T13:02:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T13:02:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006983 post PendingInvicesDO 2 MED-061007013 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007013 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71034817-7626-48ac-bac8-5e5a22b64533' LIMIT 1 Date : 2025-06-15T13:24:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T13:24:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006984 post PendingInvicesDO 2 MED-061007014 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007014 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2a319b8-57a2-473c-a78d-e195fa11ba34' LIMIT 1 Date : 2025-06-15T14:14:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T14:14:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006985 post PendingInvicesDO 2 MED-061007015 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007015 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='476ff9b6-c455-4d60-8780-193f20fc8d70' LIMIT 1 Date : 2025-06-15T14:19:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T14:19:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006986 post PendingInvicesDO 2 MED-061007016 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007016 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c05537f-f593-470a-afbd-1d31d6027d6e' LIMIT 1 Date : 2025-06-15T17:46:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T17:46:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006987 post PendingInvicesDO 2 MED-061007017 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007017 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9d51e76-28bb-4dc1-81da-f1aad057708d' LIMIT 1 Date : 2025-06-15T18:25:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T18:25:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006988 post PendingInvicesDO 2 MED-061007018 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007018 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b5ef42cc-ca80-4cb1-a72a-1b22be382d30' LIMIT 1 Date : 2025-06-15T18:58:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T18:58:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006989 post PendingInvicesDO 2 MED-061006930 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006930 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006930' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006930' OR OrderId='MED-061006930' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-15T19:55:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006990 post PendingInvicesDO 2 MED-061007020 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007020 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='833a1499-96d1-4dc1-865e-e17406397c92' LIMIT 1 Date : 2025-06-16T09:31:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T09:31:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006991 post PendingInvicesDO 2 MED-061007021 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007021 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45bb9367-9620-4770-8d70-2a86e9560f3e' LIMIT 1 Date : 2025-06-16T09:52:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T09:52:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006992 post PendingInvicesDO 2 MED-061007022 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007022 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7be00212-8f8e-4727-97f1-fe7e755d69a4' LIMIT 1 Date : 2025-06-16T10:20:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T10:20:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006993 post PendingInvicesDO 2 MED-061007023 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007023 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca8d68f8-49ca-4a22-b999-ca4d5a6ec896' LIMIT 1 Date : 2025-06-16T10:40:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T10:40:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006994 post PendingInvicesDO 2 MED-061007024 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007024 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d8223f4-1f5c-4d30-8ce5-de3de964e1b8' LIMIT 1 Date : 2025-06-16T11:08:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T11:08:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006995 post PendingInvicesDO 2 MED-061007025 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007025 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a71c3d7-92c4-4ec8-898e-0c47b14fe0b0' LIMIT 1 Date : 2025-06-16T11:31:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T11:31:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006996 post PendingInvicesDO 2 MED-061007026 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007026 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73f90882-22ee-4970-a46e-3125ee1d2b1e' LIMIT 1 Date : 2025-06-16T11:45:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T11:45:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006997 post PendingInvicesDO 2 MED-061007027 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007027 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='254d3b7d-682c-4f90-9dc8-e21dd8e094d9' LIMIT 1 Date : 2025-06-16T12:04:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T12:04:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006998 post PendingInvicesDO 2 MED-061007028 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007028 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f24bd4b9-9fbd-40fa-94b9-3ac3cac95c1f' LIMIT 1 Date : 2025-06-16T13:03:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T13:03:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064006999 post PendingInvicesDO 2 MED-061007029 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007029 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3db2daf1-f382-43df-943d-23c4526dbe90' LIMIT 1 Date : 2025-06-16T13:36:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T13:36:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007000 post PendingInvicesDO 2 MED-061007030 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007030 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e40cef1-becf-4022-bf81-e95d49ef8218' LIMIT 1 Date : 2025-06-16T14:14:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T14:14:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007001 post PendingInvicesDO 2 MED-061007031 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007031 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='724a054d-1674-48b5-be42-6ccec8bc4e07' LIMIT 1 Date : 2025-06-16T15:03:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T15:03:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007002 post PendingInvicesDO 2 MED-061007032 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007032 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='205d9960-b179-4839-8500-7fbfe783d2f4' LIMIT 1 Date : 2025-06-16T16:43:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T16:43:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007003 post PendingInvicesDO 2 MED-061007033 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007033 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aaf8b5ff-2a96-4dd2-a341-5c26602997b7' LIMIT 1 Date : 2025-06-16T17:20:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T17:20:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007004 post PendingInvicesDO 2 MED-061007034 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007034 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a99bb2e3-3172-4637-82fc-80f874312f61' LIMIT 1 Date : 2025-06-16T17:31:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T17:31:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007006 post PendingInvicesDO 2 MED-061007036 post PendingInvicesDO 2 MED-061007035 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007005 post PendingInvicesDO 2 MED-061007036 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007035 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007036 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67bf3192-776d-478d-b0a9-aff4f75077ca' LIMIT 1 Date : 2025-06-16T17:57:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d3f20a5-dfee-4e4c-a647-1eea6fc93ea5' LIMIT 1 Date : 2025-06-16T17:57:47  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67bf3192-776d-478d-b0a9-aff4f75077ca' LIMIT 1 Date : 2025-06-16T17:57:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d3f20a5-dfee-4e4c-a647-1eea6fc93ea5' LIMIT 1 Date : 2025-06-16T17:57:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-16T17:57:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007007 post PendingInvicesDO 2 MED-061007037 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007037 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11618f5e-3c23-4acc-8e24-516f191705a1' LIMIT 1 Date : 2025-06-16T18:42:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T18:42:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007008 post PendingInvicesDO 2 MED-061006939 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006939 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006939' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006939' OR OrderId='MED-061006939' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-16T19:44:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007009 post PendingInvicesDO 2 MED-061007039 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007039 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9b98fa5-f74d-437e-b690-f4cfd1fcc639' LIMIT 1 Date : 2025-06-16T20:13:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T20:13:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007010 post PendingInvicesDO 2 MED-061007040 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007040 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccf006ab-b8ea-4150-a96c-4b58a4f7eda8' LIMIT 1 Date : 2025-06-17T09:20:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T09:20:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007011 post PendingInvicesDO 2 MED-061007041 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007041 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90ccd61e-1300-4c9d-b11c-e08e7fc9a353' LIMIT 1 Date : 2025-06-17T09:36:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T09:36:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007012 post PendingInvicesDO 2 MED-061007042 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007042 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31742435-1e63-4032-b06b-5d0a3aef53b4' LIMIT 1 Date : 2025-06-17T10:03:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T10:03:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007014 post PendingInvicesDO 2 MED-061007044 post PendingInvicesDO 2 MED-061007043 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007013 post PendingInvicesDO 2 MED-061007044 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007043 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007044 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0edb32cc-14e4-4db1-addf-93a581945540' LIMIT 1 Date : 2025-06-17T10:20:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7ae91f6-0d0d-42f8-a7af-07fc1d69f490' LIMIT 1 Date : 2025-06-17T10:20:59  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0edb32cc-14e4-4db1-addf-93a581945540' LIMIT 1 Date : 2025-06-17T10:20:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7ae91f6-0d0d-42f8-a7af-07fc1d69f490' LIMIT 1 Date : 2025-06-17T10:20:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-17T10:20:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007016 post PendingInvicesDO 2 MED-061007046 post PendingInvicesDO 2 MED-061007045 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007015 post PendingInvicesDO 2 MED-061007046 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007045 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007046 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e31afaf0-966f-41a7-b0e5-8a3551769786' LIMIT 1 Date : 2025-06-17T10:42:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ada9d0f8-706c-46c6-9e8c-b3721f43521c' LIMIT 1 Date : 2025-06-17T10:42:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e31afaf0-966f-41a7-b0e5-8a3551769786' LIMIT 1 Date : 2025-06-17T10:42:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ada9d0f8-706c-46c6-9e8c-b3721f43521c' LIMIT 1 Date : 2025-06-17T10:42:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-17T10:42:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007018 post PendingInvicesDO 2 MED-061007048 post PendingInvicesDO 2 MED-061007047 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007017 post PendingInvicesDO 2 MED-061007048 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007047 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007048 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ae779a4-0829-4556-8bbf-4dc4d2730b3e' LIMIT 1 Date : 2025-06-17T11:05:01  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7974482c-c3bb-4323-9f91-eaad7ba6f803' LIMIT 1 Date : 2025-06-17T11:05:01  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ae779a4-0829-4556-8bbf-4dc4d2730b3e' LIMIT 1 Date : 2025-06-17T11:05:01  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7974482c-c3bb-4323-9f91-eaad7ba6f803' LIMIT 1 Date : 2025-06-17T11:05:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-17T11:05:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007019 post PendingInvicesDO 2 MED-061007049 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007049 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67fe1177-2484-4ad0-a589-cac0f6d30fed' LIMIT 1 Date : 2025-06-17T11:36:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T11:36:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007020 post PendingInvicesDO 2 MED-061007050 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007050 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74f321dc-423a-453e-abe3-2b7b5ddd2124' LIMIT 1 Date : 2025-06-17T11:40:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T11:40:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007021 post PendingInvicesDO 2 MED-061007051 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007051 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d722fecf-0fb5-492c-bca9-119e23cae35f' LIMIT 1 Date : 2025-06-17T11:47:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T11:47:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007022 post PendingInvicesDO 2 MED-061007052 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007052 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='287036a3-cda4-4b32-8ec3-7758fe65feed' LIMIT 1 Date : 2025-06-17T13:00:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T13:00:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007023 post PendingInvicesDO 2 MED-061007053 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007053 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57a7908f-a934-47f5-be61-0180fc846295' LIMIT 1 Date : 2025-06-18T09:52:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T09:52:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007024 post PendingInvicesDO 2 MED-061007054 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007054 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b1e066e-397c-4057-86e8-17ce1b7b26e4' LIMIT 1 Date : 2025-06-18T10:36:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T10:36:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007025 post PendingInvicesDO 2 MED-061007055 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007055 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d00988d-f14e-4a33-8cf4-b44eebba3367' LIMIT 1 Date : 2025-06-18T11:06:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T11:06:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007026 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-18T11:12:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007026 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-18T11:12:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007026 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-18T11:13:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007026 post PendingInvicesDO 2 MED-061006370 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006370 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006370' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006370' OR OrderId='MED-061006370' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-18T11:39:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007027 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-18T11:40:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007027 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-18T11:41:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007027 post PendingInvicesDO 2 MED-061006736 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006736 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006736' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006736' OR OrderId='MED-061006736' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-18T11:42:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007028 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-18T11:43:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007028 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-18T11:45:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007028 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-18T11:45:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007028 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-18T11:46:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007028 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-18T11:47:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007029 post PendingInvicesDO 2 MED-061007057 post PendingInvicesDO 2 MED-061007056 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007028 post PendingInvicesDO 2 MED-061007057 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007056 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007057 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ed5e83f-4511-4628-b267-3beb9ced810c' LIMIT 1 Date : 2025-06-18T11:57:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b488cb2-1104-4de2-bd25-06b39bf19c68' LIMIT 1 Date : 2025-06-18T11:57:42  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ed5e83f-4511-4628-b267-3beb9ced810c' LIMIT 1 Date : 2025-06-18T11:57:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b488cb2-1104-4de2-bd25-06b39bf19c68' LIMIT 1 Date : 2025-06-18T11:57:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-18T11:57:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007030 post PendingInvicesDO 2 MED-061007058 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007058 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='363d1bb8-dc33-47c8-b453-eda150f8e959' LIMIT 1 Date : 2025-06-18T12:17:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T12:17:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007031 post PendingInvicesDO 2 MED-061007059 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007059 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31c66a76-dcd0-4e79-bb3c-4df3c64505b5' LIMIT 1 Date : 2025-06-18T13:04:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T13:04:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007032 post PendingInvicesDO 2 MED-061007060 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007060 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a63013c0-3e46-4361-80f4-d01d7e891ae7' LIMIT 1 Date : 2025-06-18T13:15:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T13:15:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007033 post PendingInvicesDO 2 MED-061007061 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007061 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7153ffc1-1552-47b0-b515-161f4a65afd8' LIMIT 1 Date : 2025-06-18T13:38:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T13:38:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007034 post PendingInvicesDO 2 MED-061007062 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007062 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3ce908d-0edd-425b-95b2-65eb4558e9e7' LIMIT 1 Date : 2025-06-18T14:12:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T14:12:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007035 post PendingInvicesDO 2 MED-061007063 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007063 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2091dc03-e8e3-4da4-840b-f40d24a3c0b2' LIMIT 1 Date : 2025-06-18T14:30:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T14:30:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007036 post PendingInvicesDO 2 MED-061007064 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007064 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e37f63fb-0e7e-45c4-9db9-78bc72d0e978' LIMIT 1 Date : 2025-06-18T14:50:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T14:50:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007037 post PendingInvicesDO 2 MED-061007065 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007065 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec6130f0-3870-4cb3-8c7d-720749e6340a' LIMIT 1 Date : 2025-06-18T15:06:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T15:06:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007038 post PendingInvicesDO 2 MED-061007066 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007066 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0cae26a6-f5bd-4a78-9e6f-4022bbf7ce96' LIMIT 1 Date : 2025-06-18T15:27:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T15:27:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007039 post PendingInvicesDO 2 MED-061007067 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007067 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b79552cd-cb06-4c32-ae5a-1f8cb529f678' LIMIT 1 Date : 2025-06-18T15:57:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T15:57:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007040 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-18T16:58:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007041 post PendingInvicesDO 2 MED-061007069 post PendingInvicesDO 2 MED-061007068 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007040 post PendingInvicesDO 2 MED-061007069 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007068 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007069 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85e2ae60-e9ea-474c-ac0d-60154c299b0e' LIMIT 1 Date : 2025-06-18T17:07:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7464f20d-3f34-4d05-9e13-605c05df7a8e' LIMIT 1 Date : 2025-06-18T17:07:49  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85e2ae60-e9ea-474c-ac0d-60154c299b0e' LIMIT 1 Date : 2025-06-18T17:07:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7464f20d-3f34-4d05-9e13-605c05df7a8e' LIMIT 1 Date : 2025-06-18T17:07:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-18T17:07:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007042 post PendingInvicesDO 2 MED-061007070 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007070 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='606e0b38-a2d2-46e1-b5e1-d03151b2c93b' LIMIT 1 Date : 2025-06-18T17:32:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T17:32:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007043 post PendingInvicesDO 2 MED-061007071 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007071 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b941a3b-ef3a-4adc-a28d-f817e164ed74' LIMIT 1 Date : 2025-06-18T17:49:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T17:49:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007044 post PendingInvicesDO 2 MED-061007072 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007072 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56ff968c-1090-4e59-9782-ea280784a7ea' LIMIT 1 Date : 2025-06-18T18:11:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T18:11:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007045 post PendingInvicesDO 2 MED-061007073 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007073 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8dd35d20-3c45-42be-a256-62f63b9dcd7d' LIMIT 1 Date : 2025-06-18T18:29:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T18:29:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007046 post PendingInvicesDO 2 MED-061007074 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007074 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db99b9c5-1e15-4907-81d2-63fa4f22391e' LIMIT 1 Date : 2025-06-18T19:17:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T19:17:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007047 post PendingInvicesDO 2 MED-061007075 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007075 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='257c0fec-be12-4eb0-b771-ae6f750f045d' LIMIT 1 Date : 2025-06-18T19:49:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T19:49:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007048 post PendingInvicesDO 2 MED-061007076 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007076 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='123dc97c-6b9b-4050-b868-359a956f5859' LIMIT 1 Date : 2025-06-18T20:09:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T20:09:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007050 post PendingInvicesDO 2 MED-061007078 post PendingInvicesDO 2 MED-061007077 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007049 post PendingInvicesDO 2 MED-061007078 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007077 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007078 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9335188-1c11-45ad-8f4b-1b12a63c6b3c' LIMIT 1 Date : 2025-06-18T20:37:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ee97a87-13df-42dc-824c-f1fd53788601' LIMIT 1 Date : 2025-06-18T20:37:56  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9335188-1c11-45ad-8f4b-1b12a63c6b3c' LIMIT 1 Date : 2025-06-18T20:37:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ee97a87-13df-42dc-824c-f1fd53788601' LIMIT 1 Date : 2025-06-18T20:37:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-18T20:37:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007051 post PendingInvicesDO 2 MED-061007079 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007079 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec2f6576-ab8b-4cc2-bd5c-435cc1c040ea' LIMIT 1 Date : 2025-06-18T21:30:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T21:30:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007053 post PendingInvicesDO 2 MED-061007082 post PendingInvicesDO 2 MED-061007081 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007052 post PendingInvicesDO 2 MED-061007082 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007081 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007082 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94acdab5-15a7-495a-9f66-8020439b679b' LIMIT 1 Date : 2025-06-18T22:39:11  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46407b3a-96aa-4593-8d75-5b6088afd5e2' LIMIT 1 Date : 2025-06-18T22:39:11  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94acdab5-15a7-495a-9f66-8020439b679b' LIMIT 1 Date : 2025-06-18T22:39:11  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46407b3a-96aa-4593-8d75-5b6088afd5e2' LIMIT 1 Date : 2025-06-18T22:39:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-18T22:39:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007054 post PendingInvicesDO 2 MED-061007083 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007083 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='527e98fb-df6c-4e9a-8378-7695c312ffc5' LIMIT 1 Date : 2025-06-19T08:33:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T08:33:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007055 post PendingInvicesDO 2 MED-061007084 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007084 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91f4259a-0ac7-4b69-8bec-692b13f823e1' LIMIT 1 Date : 2025-06-19T09:41:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T09:41:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007057 post PendingInvicesDO 2 MED-061007086 post PendingInvicesDO 2 MED-061007085 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007056 post PendingInvicesDO 2 MED-061007086 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007085 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007086 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0c90c64-789e-42bc-a597-9838a90d12ce' LIMIT 1 Date : 2025-06-19T10:19:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0477562-c4ee-4982-aa1d-9c1da4667e78' LIMIT 1 Date : 2025-06-19T10:19:28  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0c90c64-789e-42bc-a597-9838a90d12ce' LIMIT 1 Date : 2025-06-19T10:19:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0477562-c4ee-4982-aa1d-9c1da4667e78' LIMIT 1 Date : 2025-06-19T10:19:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-19T10:19:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007058 post PendingInvicesDO 2 MED-061006968 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006968 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006968' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006968' OR OrderId='MED-061006968' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-19T10:42:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007059 post PendingInvicesDO 2 MED-061007087 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007087 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='287d0258-68e6-4d9d-9a03-a5703551492c' LIMIT 1 Date : 2025-06-19T10:44:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T10:44:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007060 post PendingInvicesDO 2 MED-061007088 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007088 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bfa2fa32-3e9c-406a-920c-5ceb39ca184b' LIMIT 1 Date : 2025-06-19T11:38:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T11:38:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007061 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-19T12:04:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007061 post PendingInvicesDO 2 MED-061007089 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007089 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='129d43fb-cfde-4240-b5b7-83b32c373955' LIMIT 1 Date : 2025-06-19T12:22:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T12:22:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007062 post PendingInvicesDO 2 MED-061007090 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007090 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9febd638-5265-4952-a4ef-25b54d73fcf4' LIMIT 1 Date : 2025-06-19T12:45:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T12:45:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007063 post PendingInvicesDO 2 MED-061006976 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006976 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006976' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006976' OR OrderId='MED-061006976' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-19T13:22:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007064 post PendingInvicesDO 2 MED-061007091 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007091 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f3a2319-28ee-48c5-bad7-d1d6aefdecae' LIMIT 1 Date : 2025-06-19T13:30:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T13:30:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007065 post PendingInvicesDO 2 MED-061007092 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007092 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48b19a94-c59c-47f3-ae3f-abe820b2de22' LIMIT 1 Date : 2025-06-19T14:28:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T14:28:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007067 post PendingInvicesDO 2 MED-061007094 post PendingInvicesDO 2 MED-061007093 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007066 post PendingInvicesDO 2 MED-061007094 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007093 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007094 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0a410f6-718b-49ed-be68-a7508c1c2f56' LIMIT 1 Date : 2025-06-19T15:10:21  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a519df6-1f1a-4e88-9003-242f1fbf3cdf' LIMIT 1 Date : 2025-06-19T15:10:21  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0a410f6-718b-49ed-be68-a7508c1c2f56' LIMIT 1 Date : 2025-06-19T15:10:21  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a519df6-1f1a-4e88-9003-242f1fbf3cdf' LIMIT 1 Date : 2025-06-19T15:10:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-19T15:10:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007068 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-19T15:13:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007068 post PendingInvicesDO 2 MED-061007095 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007095 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6265a389-af83-4399-bde1-497186cc1284' LIMIT 1 Date : 2025-06-19T16:40:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T16:40:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007069 post PendingInvicesDO 2 MED-061006978 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006978 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006978' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006978' OR OrderId='MED-061006978' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-19T17:41:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007070 post PendingInvicesDO 2 MED-061007098 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007098 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e84d77ce-552c-4c76-8207-65f2fbbb27c4' LIMIT 1 Date : 2025-06-19T18:40:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T18:40:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007071 post PendingInvicesDO 2 MED-061007099 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007099 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af559385-b51c-47ec-92e4-06baf9ffc073' LIMIT 1 Date : 2025-06-19T19:07:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T19:07:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007072 post PendingInvicesDO 2 MED-061007100 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007100 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99abf199-558e-4a78-b2ab-05f40b1eedb9' LIMIT 1 Date : 2025-06-19T20:39:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T20:39:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007073 post PendingInvicesDO 2 MED-061007101 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007101 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e04c7de-1c44-453f-aeba-e15fd4982b52' LIMIT 1 Date : 2025-06-20T17:24:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-20T17:24:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007074 post PendingInvicesDO 2 MED-061007103 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007103 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94e06e3e-5ad1-43d4-91b7-35d1df893921' LIMIT 1 Date : 2025-06-20T19:04:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-20T19:04:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007075 post PendingInvicesDO 2 MED-061006984 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006984 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006984' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006984' OR OrderId='MED-061006984' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-20T19:46:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007077 post PendingInvicesDO 2 MED-061006938 post PendingInvicesDO 2 MED-061006937 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007076 post PendingInvicesDO 2 MED-061006938 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061006937 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006938 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006938' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006938' OR OrderId='MED-061006938' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006938' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006938' OR OrderId='MED-061006938' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-20T20:17:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007078 post PendingInvicesDO 2 MED-061007106 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007106 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a10105c0-e0ba-4af5-b78d-ca84808418cc' LIMIT 1 Date : 2025-06-20T20:54:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-20T20:54:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007079 post PendingInvicesDO 2 MED-061007107 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007107 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f229115-560f-4326-9c43-301105e43322' LIMIT 1 Date : 2025-06-21T09:40:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T09:40:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007080 post PendingInvicesDO 2 MED-061007108 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007108 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='53eddc8b-5cc8-4d2d-afe5-5ec50cbbb749' LIMIT 1 Date : 2025-06-21T10:00:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T10:00:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007081 post PendingInvicesDO 2 MED-061007109 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007109 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3488c7c9-4a13-4d43-b87d-b6e57928686a' LIMIT 1 Date : 2025-06-21T10:42:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T10:42:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007082 post PendingInvicesDO 2 MED-061007110 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007110 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb9e1f22-1021-4192-b691-a76fe21b4323' LIMIT 1 Date : 2025-06-21T11:10:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T11:10:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007083 post PendingInvicesDO 2 MED-061007111 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007111 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19500ab5-f5ba-4640-858d-2cbd09ef318d' LIMIT 1 Date : 2025-06-21T11:52:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T11:52:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007084 post PendingInvicesDO 2 MED-061007112 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007112 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='572121d0-936b-4f1b-ae72-e5693f79741a' LIMIT 1 Date : 2025-06-21T13:19:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T13:19:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007085 post PendingInvicesDO 2 MED-061007113 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007113 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3205f89c-6fcc-44fd-8495-728ed5ef777b' LIMIT 1 Date : 2025-06-21T13:48:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T13:48:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007086 post PendingInvicesDO 2 MED-061006870 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006870 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006870' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006870' OR OrderId='MED-061006870' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-21T15:06:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007087 post PendingInvicesDO 2 MED-061007115 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007115 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2d9b76a-5255-45a1-8a41-3f2a9170650b' LIMIT 1 Date : 2025-06-21T15:31:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T15:31:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007088 post PendingInvicesDO 2 MED-061007116 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007116 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79eb4a70-3963-45b1-9e30-de853bdbc9a9' LIMIT 1 Date : 2025-06-21T16:33:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T16:33:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007089 post PendingInvicesDO 2 MED-061007117 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007117 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86b145bb-0581-4177-ae0b-185c7bd55229' LIMIT 1 Date : 2025-06-21T16:45:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T16:45:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007090 post PendingInvicesDO 2 MED-061007118 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007118 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23dc824d-3f80-4a09-ab11-83e9a6d23fa4' LIMIT 1 Date : 2025-06-21T16:54:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T16:54:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007091 post PendingInvicesDO 2 MED-061007119 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007119 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be20ee7d-ad43-4760-9016-9685e009b592' LIMIT 1 Date : 2025-06-21T17:30:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T17:30:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007092 post PendingInvicesDO 2 MED-061007120 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007120 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1db396e0-5fe1-4189-98b9-fc92a56aa271' LIMIT 1 Date : 2025-06-21T17:42:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T17:42:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007093 post PendingInvicesDO 2 MED-061007009 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007009 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007009' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007009' OR OrderId='MED-061007009' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-21T18:35:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007094 post PendingInvicesDO 2 MED-061007122 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007122 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d7393d7-5194-4c13-a48a-c509a688efeb' LIMIT 1 Date : 2025-06-21T19:18:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T19:18:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007095 post PendingInvicesDO 2 MED-061007124 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007124 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4bab11f-dcd2-4b79-adac-8a09e81b7af7' LIMIT 1 Date : 2025-06-22T09:17:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T09:17:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007096 post PendingInvicesDO 2 MED-061007125 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007125 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1dc45523-3898-42eb-b8f0-801d253dfe23' LIMIT 1 Date : 2025-06-22T09:56:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T09:56:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007097 post PendingInvicesDO 2 MED-061007126 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007126 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7893f54-943e-4f05-8b7f-71936319358e' LIMIT 1 Date : 2025-06-22T10:18:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T10:18:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007098 post PendingInvicesDO 2 MED-061007127 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007127 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='afaf59fe-d0d7-4ac3-868d-1639d2a449f8' LIMIT 1 Date : 2025-06-22T10:40:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T10:40:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007099 post PendingInvicesDO 2 MED-061007128 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007128 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6920834-169c-4177-b2ab-13a637741fb3' LIMIT 1 Date : 2025-06-22T11:29:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T11:29:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007100 post PendingInvicesDO 2 MED-061007129 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007129 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9e1c044-13dd-45d9-acde-00375022b34b' LIMIT 1 Date : 2025-06-22T11:45:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T11:45:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007101 post PendingInvicesDO 2 MED-061007130 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007130 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a7d30c3-6135-45fc-adf3-731e415c629c' LIMIT 1 Date : 2025-06-22T12:10:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T12:10:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007102 post PendingInvicesDO 2 MED-061007131 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007131 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='368c8d25-434d-40ab-b955-7bf16ebba7e5' LIMIT 1 Date : 2025-06-22T12:25:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T12:25:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007103 post PendingInvicesDO 2 MED-061007132 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007132 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7231f161-f820-44c9-b569-9216f784afa3' LIMIT 1 Date : 2025-06-22T12:54:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T12:54:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007104 post PendingInvicesDO 2 MED-061007133 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007133 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9eb2f4cb-d740-4691-82a6-4fc84a83f696' LIMIT 1 Date : 2025-06-22T13:23:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T13:23:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007105 post PendingInvicesDO 2 MED-061007134 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007134 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e798a2b1-3c68-4e52-a349-655a3319f329' LIMIT 1 Date : 2025-06-22T13:30:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T13:30:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007106 post PendingInvicesDO 2 MED-061007135 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007135 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1dbbc11d-a4e2-4ce9-8571-2f7e4f94b24c' LIMIT 1 Date : 2025-06-22T14:03:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T14:03:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007107 post PendingInvicesDO 2 MED-061007136 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007136 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='877979c8-1ca4-4363-8ed8-ce7c9cb5111c' LIMIT 1 Date : 2025-06-22T14:16:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T14:16:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007108 post PendingInvicesDO 2 MED-061007139 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007139 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='501107a2-9f3a-4148-9e49-dc00c9b8b60f' LIMIT 1 Date : 2025-06-22T18:52:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T18:52:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007109 post PendingInvicesDO 2 MED-061007038 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007038 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007038' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007038' OR OrderId='MED-061007038' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-22T19:51:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007110 post PendingInvicesDO 2 MED-061007141 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007141 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca55109b-da2e-424d-af42-0a935287cc23' LIMIT 1 Date : 2025-06-23T08:48:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T08:48:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007111 post PendingInvicesDO 2 MED-061007142 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007142 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='436d939f-b858-4254-8171-5ee9a7b7d8df' LIMIT 1 Date : 2025-06-23T08:50:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T08:50:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007112 post PendingInvicesDO 2 MED-061007143 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007143 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff4bd1b7-949c-4282-91d7-f6af40178c37' LIMIT 1 Date : 2025-06-23T08:55:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T08:55:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007113 post PendingInvicesDO 2 MED-061007144 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007144 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb021d8a-0285-4581-a033-cfb3ad6b2f4f' LIMIT 1 Date : 2025-06-23T09:10:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T09:10:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007114 post PendingInvicesDO 2 MED-061007145 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007145 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d18aea8e-b932-4826-98e5-8c35ffc9dafb' LIMIT 1 Date : 2025-06-23T09:13:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T09:13:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007115 post PendingInvicesDO 2 MED-061007146 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007146 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bfb020f9-4e89-4d85-b17d-1f466be856d2' LIMIT 1 Date : 2025-06-23T09:19:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T09:19:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007116 post PendingInvicesDO 2 MED-061007147 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007147 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='887b2e91-e807-4dfd-8fd6-00db5600e5b1' LIMIT 1 Date : 2025-06-23T09:38:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T09:38:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007117 post PendingInvicesDO 2 MED-061007148 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007148 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48c1442e-22f9-4e0c-a529-5c4a3a058a0a' LIMIT 1 Date : 2025-06-23T09:52:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T09:52:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007118 post PendingInvicesDO 2 MED-061007149 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007149 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a0cb2928-a266-4205-98c4-0e8ee23afa8b' LIMIT 1 Date : 2025-06-23T10:13:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T10:13:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007119 post PendingInvicesDO 2 MED-061007150 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007150 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6da191b0-03a4-446e-b79b-81f0fc8f682a' LIMIT 1 Date : 2025-06-23T10:35:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T10:35:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007120 post PendingInvicesDO 2 MED-061007151 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007151 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb02ef2d-d43f-45e7-ba13-c6afbf266161' LIMIT 1 Date : 2025-06-23T10:55:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T10:55:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007121 post PendingInvicesDO 2 MED-061007152 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007152 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d614b57b-daeb-4d4c-bb95-c20357c4026f' LIMIT 1 Date : 2025-06-23T11:14:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T11:14:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007122 post PendingInvicesDO 2 MED-061007153 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007153 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91af0d7e-1d58-488b-b550-a85af6df09fb' LIMIT 1 Date : 2025-06-23T11:47:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T11:47:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007123 post PendingInvicesDO 2 MED-061007154 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007154 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7786974-9a01-4046-8412-42440e2411e1' LIMIT 1 Date : 2025-06-23T12:01:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T12:01:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007124 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-23T14:14:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007125 post PendingInvicesDO 2 MED-061007156 post PendingInvicesDO 2 MED-061007155 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007124 post PendingInvicesDO 2 MED-061007156 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007155 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007156 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f429261f-8e17-4b94-8557-e5365311eb06' LIMIT 1 Date : 2025-06-24T09:09:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='882a2f43-293e-437c-8dcc-b4943f970964' LIMIT 1 Date : 2025-06-24T09:09:57  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f429261f-8e17-4b94-8557-e5365311eb06' LIMIT 1 Date : 2025-06-24T09:09:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='882a2f43-293e-437c-8dcc-b4943f970964' LIMIT 1 Date : 2025-06-24T09:09:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-24T09:09:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007126 post PendingInvicesDO 2 MED-061006798 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006798 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006798' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006798' OR OrderId='MED-061006798' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T09:47:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007127 post PendingInvicesDO 2 MED-061007157 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007157 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='756ae08d-567f-44b3-ba1e-0906a3f57bb6' LIMIT 1 Date : 2025-06-24T09:51:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T09:51:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007128 post PendingInvicesDO 2 MED-061007158 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007158 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32c90cfa-f5fb-4c4b-b741-898098c45ce8' LIMIT 1 Date : 2025-06-24T10:30:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T10:30:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007129 post PendingInvicesDO 2 MED-061007159 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007159 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a33aee0-d7a6-4a92-ac42-78da140a8b2f' LIMIT 1 Date : 2025-06-24T10:47:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T10:47:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007130 post PendingInvicesDO 2 MED-061007160 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007160 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ee067a6-38af-455e-ab52-ae6a9dcb7b46' LIMIT 1 Date : 2025-06-24T11:09:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T11:09:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007131 post PendingInvicesDO 2 MED-061007161 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007161 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='531771ce-554f-4cea-afff-7a454364da34' LIMIT 1 Date : 2025-06-24T11:34:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T11:34:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007132 post PendingInvicesDO 2 MED-061007162 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007162 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42b1cda0-40c4-4e07-95b5-e63c8ae4a32a' LIMIT 1 Date : 2025-06-24T11:38:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T11:38:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007133 post PendingInvicesDO 2 MED-061007163 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007163 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70349f06-46fa-4a58-bed8-6e94af867882' LIMIT 1 Date : 2025-06-24T11:44:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T11:44:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007135 post PendingInvicesDO 2 MED-061007165 post PendingInvicesDO 2 MED-061007164 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007134 post PendingInvicesDO 2 MED-061007165 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007164 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007165 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1afcd970-ea4d-40d3-bf81-c015272570a9' LIMIT 1 Date : 2025-06-24T12:09:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4200080-c3c4-4bb0-a7b2-1b4ae3ba19b6' LIMIT 1 Date : 2025-06-24T12:09:47  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1afcd970-ea4d-40d3-bf81-c015272570a9' LIMIT 1 Date : 2025-06-24T12:09:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4200080-c3c4-4bb0-a7b2-1b4ae3ba19b6' LIMIT 1 Date : 2025-06-24T12:09:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-24T12:09:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007136 post PendingInvicesDO 2 MED-061007002 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007002 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007002' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007002' OR OrderId='MED-061007002' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T12:23:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007137 post PendingInvicesDO 2 MED-061007166 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007166 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9db7b681-fc9c-476e-a36f-83c148408a1e' LIMIT 1 Date : 2025-06-24T12:26:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T12:26:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007138 post PendingInvicesDO 2 MED-061007167 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007167 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a650cd99-46c0-4cd5-ac60-eb3a625d140e' LIMIT 1 Date : 2025-06-24T13:11:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T13:11:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007139 post PendingInvicesDO 2 MED-061007168 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007168 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8f58d47-cb7a-4db6-9b79-0804049e20f3' LIMIT 1 Date : 2025-06-24T13:21:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T13:21:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007140 post PendingInvicesDO 2 MED-061007169 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007169 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37fab781-011d-41ee-9a93-e6b9b40f5aeb' LIMIT 1 Date : 2025-06-24T13:44:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T13:44:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007141 post PendingInvicesDO 2 MED-061007170 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007170 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='735c9818-4a98-440e-b095-d0c8b9df997c' LIMIT 1 Date : 2025-06-24T13:47:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T13:47:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007142 post PendingInvicesDO 2 MED-061007019 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007019 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007019' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007019' OR OrderId='MED-061007019' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T14:17:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007144 post PendingInvicesDO 2 MED-061007173 post PendingInvicesDO 2 MED-061007172 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007143 post PendingInvicesDO 2 MED-061007173 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007172 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007173 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='447d4058-2e7f-4045-9861-51b2a07d41fe' LIMIT 1 Date : 2025-06-24T15:18:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20dbfc17-7d26-4ec9-8f23-9e020ded6a8d' LIMIT 1 Date : 2025-06-24T15:18:48  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='447d4058-2e7f-4045-9861-51b2a07d41fe' LIMIT 1 Date : 2025-06-24T15:18:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20dbfc17-7d26-4ec9-8f23-9e020ded6a8d' LIMIT 1 Date : 2025-06-24T15:18:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-24T15:18:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007145 post PendingInvicesDO 2 MED-061007174 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007174 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4486a0a1-5677-485f-b177-84cb3a30c0a4' LIMIT 1 Date : 2025-06-24T15:39:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T15:39:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007146 post PendingInvicesDO 2 MED-061007175 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007175 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='faa4b43e-89cb-4b3c-86c6-ed08f8a6abbe' LIMIT 1 Date : 2025-06-24T16:11:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T16:11:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007147 post PendingInvicesDO 2 MED-061007176 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007176 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d65c2be-372a-4153-b267-6ecf407979dd' LIMIT 1 Date : 2025-06-24T16:35:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T16:35:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007148 post PendingInvicesDO 2 MED-061007102 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007102 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007102' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007102' OR OrderId='MED-061007102' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T16:53:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007149 post PendingInvicesDO 2 MED-061007178 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007178 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3d7a6a2-04aa-4a53-9e60-72ad3d1af15b' LIMIT 1 Date : 2025-06-24T17:30:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T17:30:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007150 post PendingInvicesDO 2 MED-061007179 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007179 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4f984e5-04d6-457b-a5a5-0d5a3c487fd1' LIMIT 1 Date : 2025-06-24T17:36:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T17:36:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007151 post PendingInvicesDO 2 MED-061007180 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007180 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a00339ad-61ef-4c53-b591-fb8af9393e0e' LIMIT 1 Date : 2025-06-24T17:42:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T17:42:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007152 post PendingInvicesDO 2 MED-061007181 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007181 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5252e73-2f0d-48d7-aa9f-a7692fd7b9a9' LIMIT 1 Date : 2025-06-24T18:05:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T18:05:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007153 post PendingInvicesDO 2 MED-061007104 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007104 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007104' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007104' OR OrderId='MED-061007104' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T18:18:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007155 post PendingInvicesDO 2 MED-061007185 post PendingInvicesDO 2 MED-061007184 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007154 post PendingInvicesDO 2 MED-061007185 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007184 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007185 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5dda6a79-f6fd-4ff9-82da-0e8114115add' LIMIT 1 Date : 2025-06-24T18:48:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b924bf0-a4e5-40e4-8dcc-5c240ed0ae13' LIMIT 1 Date : 2025-06-24T18:48:35  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5dda6a79-f6fd-4ff9-82da-0e8114115add' LIMIT 1 Date : 2025-06-24T18:48:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b924bf0-a4e5-40e4-8dcc-5c240ed0ae13' LIMIT 1 Date : 2025-06-24T18:48:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-24T18:48:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007156 post PendingInvicesDO 2 MED-061007010 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007010 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007010' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007010' OR OrderId='MED-061007010' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T19:51:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007157 post PendingInvicesDO 2 MED-061007187 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007187 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d19c9841-8ca6-4da5-ae98-8e0ac308e9b8' LIMIT 1 Date : 2025-06-24T20:17:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T20:17:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007158 post PendingInvicesDO 2 MED-061007188 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007188 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ada197a-30f2-4783-9a75-bdfc241c37a9' LIMIT 1 Date : 2025-06-24T20:21:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T20:21:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007159 post PendingInvicesDO 2 MED-061007189 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007189 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eeb2bad0-d1e4-4ccb-a192-cd1aa9fe8b27' LIMIT 1 Date : 2025-06-25T09:38:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T09:38:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007160 post PendingInvicesDO 2 MED-061007190 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007190 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1fbb06a3-56d9-4655-b496-1dd3b62ed00a' LIMIT 1 Date : 2025-06-25T10:43:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T10:43:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007161 post PendingInvicesDO 2 MED-061007191 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007191 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9757bc9e-7209-41c0-8c18-57f882eb4e03' LIMIT 1 Date : 2025-06-25T11:15:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T11:15:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007162 post PendingInvicesDO 2 MED-061007192 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007192 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1fd7d17d-47ae-4da7-b2a9-6d6cf28628df' LIMIT 1 Date : 2025-06-25T11:49:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T11:49:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007163 post PendingInvicesDO 2 MED-061007193 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007193 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf41cd39-8c36-4446-acf3-247d9f635f30' LIMIT 1 Date : 2025-06-25T12:05:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T12:05:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007164 post PendingInvicesDO 2 MED-061007194 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007194 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3538459a-3bfb-4a35-950c-380263939e58' LIMIT 1 Date : 2025-06-25T13:01:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T13:01:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007165 post PendingInvicesDO 2 MED-061007195 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007195 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fe0088d-7911-4e3b-9410-02f6dedefe8f' LIMIT 1 Date : 2025-06-25T13:26:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T13:26:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007166 post PendingInvicesDO 2 MED-061007196 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007196 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a8cd4e6-fd08-47f2-b157-c3577ee91b98' LIMIT 1 Date : 2025-06-25T13:32:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T13:32:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007167 post PendingInvicesDO 2 MED-061007197 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007197 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ea0a6fc-90f6-4cc4-b458-82e8ce7d619f' LIMIT 1 Date : 2025-06-25T14:09:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T14:09:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007168 post PendingInvicesDO 2 MED-061007198 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007198 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d73e0a8-fc19-4cfc-9b7d-2ff8cf0cebb8' LIMIT 1 Date : 2025-06-25T14:26:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T14:26:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007169 post PendingInvicesDO 2 MED-061007199 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007199 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c4b2a27-1a69-4019-b211-a4757456be8d' LIMIT 1 Date : 2025-06-25T14:29:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T14:29:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007170 post PendingInvicesDO 2 MED-061007200 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007200 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41bf4082-31f6-4eed-aa4b-85f6f1a6f25d' LIMIT 1 Date : 2025-06-25T14:37:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T14:37:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007171 post PendingInvicesDO 2 MED-061007201 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007201 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d57d9d6-944f-45d5-adb4-dbad3490e905' LIMIT 1 Date : 2025-06-25T14:59:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T14:59:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007172 post PendingInvicesDO 2 MED-061007202 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007202 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5efb32c-0b87-458f-886f-ec6b71e30b87' LIMIT 1 Date : 2025-06-25T15:53:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T15:53:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007173 post PendingInvicesDO 2 MED-061007203 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007203 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1eb12aa6-e7ba-4970-a18c-de0107c7c966' LIMIT 1 Date : 2025-06-25T17:07:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T17:07:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007174 post PendingInvicesDO 2 MED-061007204 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007204 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1cc7a00e-1bd2-456a-a733-d71758ef2166' LIMIT 1 Date : 2025-06-25T17:29:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T17:29:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007175 post PendingInvicesDO 2 MED-061007205 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007205 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c26df89c-6ed8-426e-baf2-fa0e82eb4075' LIMIT 1 Date : 2025-06-25T17:42:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T17:42:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007176 post PendingInvicesDO 2 MED-061007206 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007206 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77724d85-79dc-4263-960d-dc9148c6147e' LIMIT 1 Date : 2025-06-25T18:00:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T18:00:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007177 post PendingInvicesDO 2 MED-061007207 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007207 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c12dbb5-9210-4699-9447-f0fc8edd9777' LIMIT 1 Date : 2025-06-25T18:19:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T18:19:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007178 post PendingInvicesDO 2 MED-061007208 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007208 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dfe7ba96-f047-4b00-8331-3f81b33fa236' LIMIT 1 Date : 2025-06-25T18:58:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T18:58:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007179 post PendingInvicesDO 2 MED-061007209 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007209 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c150fdd-f8db-4f6d-aea6-09fc690f9469' LIMIT 1 Date : 2025-06-25T19:02:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T19:02:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007180 post PendingInvicesDO 2 MED-061007210 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007210 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ea38743-fb0d-493c-806a-d251afdf4d47' LIMIT 1 Date : 2025-06-25T19:44:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T19:44:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007181 post PendingInvicesDO 2 MED-061007211 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007211 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72a17a8a-9541-4246-a9d9-c082c6a0c4b0' LIMIT 1 Date : 2025-06-25T19:52:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T19:52:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007182 post PendingInvicesDO 2 MED-061007212 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007212 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='894bcd63-ebb0-4e9f-9b7b-c81ed0b0f1b8' LIMIT 1 Date : 2025-06-25T20:44:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T20:44:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007183 post PendingInvicesDO 2 MED-061007213 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007213 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99d89f50-8da1-44b8-a4fb-b44b457da1e6' LIMIT 1 Date : 2025-06-25T20:58:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T20:59:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007184 post PendingInvicesDO 2 MED-061007080 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007080 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007080' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007080' OR OrderId='MED-061007080' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-25T21:19:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007185 post PendingInvicesDO 2 MED-061007214 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007214 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fea0010a-077f-455a-89c6-25de9c6c26f4' LIMIT 1 Date : 2025-06-25T21:25:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T21:26:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007186 post PendingInvicesDO 2 MED-061007215 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007215 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93ebe570-7d52-416d-8348-b69e88d5d129' LIMIT 1 Date : 2025-06-26T08:32:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T08:32:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007187 post PendingInvicesDO 2 MED-061007216 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007216 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='618e6fc3-6a91-4215-b940-646d960205de' LIMIT 1 Date : 2025-06-26T09:26:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T09:26:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007188 post PendingInvicesDO 2 MED-061007217 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007217 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a7b2492-b21b-4171-bffc-8a90dd9a6ae4' LIMIT 1 Date : 2025-06-26T09:45:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T09:45:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007189 post PendingInvicesDO 2 MED-061007219 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007219 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7cc63af9-07d6-4484-abe3-1b2a541020b5' LIMIT 1 Date : 2025-06-26T10:56:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T10:56:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007190 post PendingInvicesDO 2 MED-061007220 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007220 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b775432-65d6-4d47-afb0-e60f1065fa87' LIMIT 1 Date : 2025-06-26T11:12:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T11:12:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007191 post PendingInvicesDO 2 MED-061007221 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007221 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b79b164-ce47-46cc-bea3-0a4a0279867b' LIMIT 1 Date : 2025-06-26T11:40:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T11:40:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007192 post PendingInvicesDO 2 MED-061007222 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007222 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d526b34e-4f65-4292-b185-c8a31437eaa6' LIMIT 1 Date : 2025-06-26T12:07:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T12:07:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007193 post PendingInvicesDO 2 MED-061007223 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007223 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f07e503c-cbe1-4f42-bb07-6ec92838973d' LIMIT 1 Date : 2025-06-26T12:44:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T12:44:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007194 post PendingInvicesDO 2 MED-061007224 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007224 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0dbefbd1-a1de-4f29-99ee-aa1cbda739de' LIMIT 1 Date : 2025-06-26T13:34:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T13:34:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007195 post PendingInvicesDO 2 MED-061007225 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007225 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2363b775-e84d-42b6-b92b-d3cc2786ed0c' LIMIT 1 Date : 2025-06-26T14:10:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T14:10:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007197 post PendingInvicesDO 2 MED-061007227 post PendingInvicesDO 2 MED-061007226 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007196 post PendingInvicesDO 2 MED-061007227 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007226 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007227 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ce52ac1-d0c9-4d33-87f7-6049eecf2964' LIMIT 1 Date : 2025-06-26T14:52:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='668d62e6-0184-43a3-bb5a-911a81bb9c6d' LIMIT 1 Date : 2025-06-26T14:52:10  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ce52ac1-d0c9-4d33-87f7-6049eecf2964' LIMIT 1 Date : 2025-06-26T14:52:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='668d62e6-0184-43a3-bb5a-911a81bb9c6d' LIMIT 1 Date : 2025-06-26T14:52:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-26T14:52:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007198 post PendingInvicesDO 2 MED-061007228 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007228 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81168e8d-ffa0-4132-a8f6-0983d63fc0e9' LIMIT 1 Date : 2025-06-26T16:06:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T16:06:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007199 post PendingInvicesDO 2 MED-061007229 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007229 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff963066-1d42-45b0-ab10-d6e7b69b054b' LIMIT 1 Date : 2025-06-26T16:29:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T16:29:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007201 post PendingInvicesDO 2 MED-061007097 post PendingInvicesDO 2 MED-061007096 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007200 post PendingInvicesDO 2 MED-061007097 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007096 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007097 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007097' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007097' OR OrderId='MED-061007097' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007097' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007097' OR OrderId='MED-061007097' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-26T17:21:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007202 post PendingInvicesDO 2 MED-061007231 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007231 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='449c8490-27cf-4070-a859-6e72f137c977' LIMIT 1 Date : 2025-06-26T18:06:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T18:06:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007204 post PendingInvicesDO 2 MED-061007233 post PendingInvicesDO 2 MED-061007232 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007203 post PendingInvicesDO 2 MED-061007233 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007232 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007233 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c0c95ef-2b0c-4a86-8dee-8322705aeb7f' LIMIT 1 Date : 2025-06-26T18:32:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b609f29-ea9f-4902-81df-74bf51a7912c' LIMIT 1 Date : 2025-06-26T18:32:57  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c0c95ef-2b0c-4a86-8dee-8322705aeb7f' LIMIT 1 Date : 2025-06-26T18:32:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b609f29-ea9f-4902-81df-74bf51a7912c' LIMIT 1 Date : 2025-06-26T18:32:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-26T18:32:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007205 post PendingInvicesDO 2 MED-061007234 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007234 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b16da0d6-b7c4-4e1d-8a86-ccfbb6cc03ca' LIMIT 1 Date : 2025-06-26T19:43:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T19:43:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007206 post PendingInvicesDO 2 MED-061007235 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007235 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b9f3515-dec0-406b-b362-58e65ca31a28' LIMIT 1 Date : 2025-06-26T20:33:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T20:33:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007207 post PendingInvicesDO 2 MED-061007236 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007236 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46d83850-c4cf-4ba9-ab94-af547a9da703' LIMIT 1 Date : 2025-06-26T23:41:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T23:41:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007208 post PendingInvicesDO 2 MED-061007237 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007237 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b4e1c4b-1ec9-4941-bef4-9eabe3baaaab' LIMIT 1 Date : 2025-06-27T17:39:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-27T17:39:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007210 post PendingInvicesDO 2 MED-061007239 post PendingInvicesDO 2 MED-061007238 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007209 post PendingInvicesDO 2 MED-061007239 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007238 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007239 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c06ad61b-56aa-4eb8-9ff0-16f1349bc76c' LIMIT 1 Date : 2025-06-27T18:14:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb0249cf-fe7f-4514-9e4c-1256238154a7' LIMIT 1 Date : 2025-06-27T18:14:47  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c06ad61b-56aa-4eb8-9ff0-16f1349bc76c' LIMIT 1 Date : 2025-06-27T18:14:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb0249cf-fe7f-4514-9e4c-1256238154a7' LIMIT 1 Date : 2025-06-27T18:14:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-27T18:14:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007211 post PendingInvicesDO 2 MED-061007240 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007240 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7982660d-def2-4349-94ee-1ec7f54e5867' LIMIT 1 Date : 2025-06-27T18:58:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-27T18:58:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007212 post PendingInvicesDO 2 MED-061006914 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006914 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006914' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006914' OR OrderId='MED-061006914' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-27T19:08:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007213 post PendingInvicesDO 2 MED-061007241 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007241 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9669fa4e-8df7-4c1b-b3b3-6d1ddd66b3d4' LIMIT 1 Date : 2025-06-27T19:13:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-27T19:13:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007214 post PendingInvicesDO 2 MED-061007105 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007105 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007105' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007105' OR OrderId='MED-061007105' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-27T20:19:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007215 post PendingInvicesDO 2 MED-061007140 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007140 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007140' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007140' OR OrderId='MED-061007140' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-27T21:28:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007216 post PendingInvicesDO 2 MED-061007244 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007244 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8edc15d1-f633-4ae6-934e-f77190c59185' LIMIT 1 Date : 2025-06-27T22:22:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-27T22:22:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007217 post PendingInvicesDO 2 MED-061007245 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007245 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93473ca6-e764-409e-8269-b7531993ec41' LIMIT 1 Date : 2025-06-28T09:35:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T09:35:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007218 post PendingInvicesDO 2 MED-061007246 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007246 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bfefdcc6-7149-4d5c-ada7-f1e7ffc91804' LIMIT 1 Date : 2025-06-28T09:53:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T09:53:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007219 post PendingInvicesDO 2 MED-061007247 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007247 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d950992a-4aba-4ce1-ba5e-f79e01a81c74' LIMIT 1 Date : 2025-06-28T10:31:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T10:31:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007220 post PendingInvicesDO 2 MED-061007248 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007248 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c6c4f0f-aef9-4933-922b-50dc18195658' LIMIT 1 Date : 2025-06-28T10:49:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T10:49:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007222 post PendingInvicesDO 2 MED-061007250 post PendingInvicesDO 2 MED-061007249 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007221 post PendingInvicesDO 2 MED-061007250 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007249 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007250 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a17f38fd-89c6-4506-9f24-4cfb14842f73' LIMIT 1 Date : 2025-06-28T11:47:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa493c3d-ccb4-4fd5-abc7-0f61f27f60f1' LIMIT 1 Date : 2025-06-28T11:47:34  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a17f38fd-89c6-4506-9f24-4cfb14842f73' LIMIT 1 Date : 2025-06-28T11:47:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa493c3d-ccb4-4fd5-abc7-0f61f27f60f1' LIMIT 1 Date : 2025-06-28T11:47:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-28T11:47:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007223 post PendingInvicesDO 2 MED-061007251 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007251 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6684faf7-9f22-488e-9504-bbb3d63fd6de' LIMIT 1 Date : 2025-06-28T12:56:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T12:56:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007224 post PendingInvicesDO 2 MED-061007252 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007252 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1828ba3-593e-43e1-8755-99aa562f08dd' LIMIT 1 Date : 2025-06-28T13:45:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T13:45:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007225 post PendingInvicesDO 2 MED-061007253 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007253 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60cd069a-e559-4f32-be59-cce11bb05088' LIMIT 1 Date : 2025-06-28T14:38:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T14:38:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007226 post PendingInvicesDO 2 MED-061007114 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007114 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007114' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007114' OR OrderId='MED-061007114' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-28T15:17:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007227 post PendingInvicesDO 2 MED-061007255 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007255 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='249438dc-f3f0-4bba-bf1d-3d4baeb524a0' LIMIT 1 Date : 2025-06-28T15:47:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T15:47:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007228 post PendingInvicesDO 2 MED-061007256 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007256 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='baff4eae-178a-4307-bdbe-f9f1a1b6405b' LIMIT 1 Date : 2025-06-28T15:55:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T15:55:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007229 post PendingInvicesDO 2 MED-061007257 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007257 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2267c63e-b6c6-43a0-95a0-0d4439024408' LIMIT 1 Date : 2025-06-28T16:15:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T16:15:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007230 post PendingInvicesDO 2 MED-061007258 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007258 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1e0b3b9-8fd6-4d1e-b966-220453e9440f' LIMIT 1 Date : 2025-06-28T17:03:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T17:03:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007231 post PendingInvicesDO 2 MED-061007259 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007259 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4235bfc6-3902-4b73-b90f-95c3c6b6ff21' LIMIT 1 Date : 2025-06-28T17:17:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T17:17:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007232 post PendingInvicesDO 2 MED-061007260 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007260 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25310e10-e593-4a53-a4ca-19db7db03426' LIMIT 1 Date : 2025-06-28T18:50:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T18:50:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007233 post PendingInvicesDO 2 MED-061007171 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007171 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007171' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007171' OR OrderId='MED-061007171' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-28T19:08:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007234 post PendingInvicesDO 2 MED-061007262 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007262 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='592a92fc-7473-4bac-b8c6-2831a6cd2b25' LIMIT 1 Date : 2025-06-28T19:56:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T19:56:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007235 post PendingInvicesDO 2 MED-061007263 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007263 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67690550-59d6-4c6c-a43f-78facb999967' LIMIT 1 Date : 2025-06-28T20:31:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T20:31:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007236 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-29T07:53:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007236 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-29T07:54:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007236 post PendingInvicesDO 2 MED-061007264 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007264 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12bb4f6b-e76b-4cce-9978-3d5e7ef65ede' LIMIT 1 Date : 2025-06-29T08:31:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T08:31:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007237 post PendingInvicesDO 2 MED-061007265 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007265 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd22c726-3eab-4e45-a5fc-1362380f141e' LIMIT 1 Date : 2025-06-29T09:09:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T09:09:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007238 post PendingInvicesDO 2 MED-061007266 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007266 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e030e0ff-8e51-458f-ae7b-48259651ab91' LIMIT 1 Date : 2025-06-29T09:15:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T09:15:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007239 post PendingInvicesDO 2 MED-061007267 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007267 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73a3c4e7-fdbe-41cb-a0c1-663ebfd1b78a' LIMIT 1 Date : 2025-06-29T09:20:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T09:20:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007240 post PendingInvicesDO 2 MED-061007268 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007268 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e537d2b-cc3e-49a2-9fe2-daee2aca6408' LIMIT 1 Date : 2025-06-29T09:38:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T09:38:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007241 post PendingInvicesDO 2 MED-061007269 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007269 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a772728c-769e-4285-9ea6-c68393b771b9' LIMIT 1 Date : 2025-06-29T09:50:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T09:50:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007242 post PendingInvicesDO 2 MED-061007186 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007186 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007186' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007186' OR OrderId='MED-061007186' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T10:06:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007243 post PendingInvicesDO 2 MED-061007270 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007270 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a57c9a7-c1c6-4e3e-9a48-16826ba7c6e8' LIMIT 1 Date : 2025-06-29T10:21:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T10:21:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007244 post PendingInvicesDO 2 MED-061007271 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007271 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8eb47010-c807-4b4d-b1b7-88e01b76e8b9' LIMIT 1 Date : 2025-06-29T10:37:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T10:37:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007245 post PendingInvicesDO 2 MED-061007272 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007272 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf3ed1cc-0f2c-4533-af61-a88ce2ce5952' LIMIT 1 Date : 2025-06-29T10:59:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T10:59:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007246 post PendingInvicesDO 2 MED-061007273 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007273 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ea95d81-c08b-4830-938f-1c921be47815' LIMIT 1 Date : 2025-06-29T11:20:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T11:20:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007247 post PendingInvicesDO 2 MED-061007274 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007274 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e711e631-2b75-4b7c-b0b9-e31d43f3dc8a' LIMIT 1 Date : 2025-06-29T11:37:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T11:37:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007248 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-29T16:16:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007248 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-29T18:55:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007248 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-29T18:55:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007248 post PendingInvicesDO 2 MED-061007275 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007275 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56553b38-75ba-4f3f-87d9-75a69be455a9' LIMIT 1 Date : 2025-06-30T09:28:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T09:28:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007249 post PendingInvicesDO 2 MED-061007276 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007276 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbc4500b-b8a7-4ff2-9af1-7b22988f1b21' LIMIT 1 Date : 2025-06-30T09:58:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T09:58:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007250 post PendingInvicesDO 2 MED-061007277 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007277 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41223b10-38fc-4d9c-ad83-693358379c87' LIMIT 1 Date : 2025-06-30T10:21:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T10:21:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007251 post PendingInvicesDO 2 MED-061007278 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007278 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='246d8254-5b4d-45a0-90e6-b8c8e6817950' LIMIT 1 Date : 2025-06-30T10:44:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T10:44:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007252 post PendingInvicesDO 2 MED-061007279 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007279 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f79fe0a5-5439-49c8-a2f9-5c2acccdf733' LIMIT 1 Date : 2025-06-30T10:59:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T10:59:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007253 post PendingInvicesDO 2 MED-061007280 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007280 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01414573-f9b1-4993-bc63-3ec783af745a' LIMIT 1 Date : 2025-06-30T11:10:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T11:10:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007254 post PendingInvicesDO 2 MED-061007281 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007281 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b77694e8-cf91-4e6e-b633-9924e32558e9' LIMIT 1 Date : 2025-06-30T11:38:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T11:38:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007255 post PendingInvicesDO 2 MED-061007282 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007282 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6cf26641-bcbf-415b-8c9e-15c5bd5669d3' LIMIT 1 Date : 2025-06-30T11:57:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T11:57:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007256 post PendingInvicesDO 2 MED-061007283 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007283 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b41fa834-51c3-4796-a827-f1306937441a' LIMIT 1 Date : 2025-06-30T12:03:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T12:03:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007257 post PendingInvicesDO 2 MED-061007284 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007284 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fde5a6bd-08cf-4a4b-987d-3f809e109988' LIMIT 1 Date : 2025-06-30T13:03:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T13:03:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007258 post PendingInvicesDO 2 MED-061007285 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007285 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69da7660-d415-4235-a0cf-952bc97e35c5' LIMIT 1 Date : 2025-06-30T13:33:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T13:33:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007259 post PendingInvicesDO 2 MED-061007286 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007286 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd83dfec-344c-4de0-bac8-ef9e0ad6bb26' LIMIT 1 Date : 2025-06-30T13:58:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T13:58:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007260 post PendingInvicesDO 2 MED-061007287 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007287 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1f7b2a8-8891-4e43-98fe-46ef2df0f7f4' LIMIT 1 Date : 2025-06-30T14:45:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T14:45:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007261 post PendingInvicesDO 2 MED-061007288 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007288 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca1c0871-57f4-4841-9465-5c3cefa3d864' LIMIT 1 Date : 2025-06-30T15:14:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T15:14:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007262 post PendingInvicesDO 2 MED-061007289 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007289 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42c90190-12ce-438e-95fd-01e21ef09934' LIMIT 1 Date : 2025-06-30T15:58:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T15:58:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007264 post PendingInvicesDO 2 MED-061007292 post PendingInvicesDO 2 MED-061007291 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007263 post PendingInvicesDO 2 MED-061007292 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007291 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007292 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a366838-553a-4dd7-a5eb-752f8c70f384' LIMIT 1 Date : 2025-06-30T17:57:12  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6daf1729-2fec-4d22-a67e-6dda7495e128' LIMIT 1 Date : 2025-06-30T17:57:12  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a366838-553a-4dd7-a5eb-752f8c70f384' LIMIT 1 Date : 2025-06-30T17:57:12  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6daf1729-2fec-4d22-a67e-6dda7495e128' LIMIT 1 Date : 2025-06-30T17:57:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-30T17:57:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007265 post PendingInvicesDO 2 MED-061007293 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007293 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68f5ff17-db60-415f-b737-83341007156c' LIMIT 1 Date : 2025-06-30T18:35:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T18:35:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007266 post PendingInvicesDO 2 MED-061007294 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007294 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff09b05d-7fae-4614-adc8-190696857a0f' LIMIT 1 Date : 2025-06-30T19:05:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T19:05:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007267 post PendingInvicesDO 2 MED-061007295 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007295 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='295a7923-c1c1-4111-9a14-3749422997a3' LIMIT 1 Date : 2025-06-30T19:52:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T19:52:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007268 post PendingInvicesDO 2 MED-061007296 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007296 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43492f95-6f7c-4bd3-baaf-777927661d34' LIMIT 1 Date : 2025-06-30T20:50:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T20:50:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007269 post PendingInvicesDO 2 MED-061007297 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007297 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e09c0f0e-79c9-4478-ae7f-315d581d2524' LIMIT 1 Date : 2025-06-30T21:29:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T21:29:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007270 post PendingInvicesDO 2 MED-061007298 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007298 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e1ab67c-df73-41fb-9abb-1845bc728661' LIMIT 1 Date : 2025-07-01T09:43:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T09:43:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007271 post PendingInvicesDO 2 MED-061007299 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007299 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8cd54d99-1e8d-4d91-a96b-7597419308a6' LIMIT 1 Date : 2025-07-01T10:04:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T10:04:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007272 post PendingInvicesDO 2 MED-061007300 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007300 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ec23fe0-f783-43ec-ad37-1d876aeb20af' LIMIT 1 Date : 2025-07-01T10:28:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T10:28:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007274 post PendingInvicesDO 2 MED-061007302 post PendingInvicesDO 2 MED-061007301 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007273 post PendingInvicesDO 2 MED-061007302 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007301 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007302 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1aed9db3-38be-419a-9b3c-449f653f5364' LIMIT 1 Date : 2025-07-01T10:59:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3cfc1e4a-f32c-4db1-b6cf-11bed21c991e' LIMIT 1 Date : 2025-07-01T10:59:33  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1aed9db3-38be-419a-9b3c-449f653f5364' LIMIT 1 Date : 2025-07-01T10:59:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3cfc1e4a-f32c-4db1-b6cf-11bed21c991e' LIMIT 1 Date : 2025-07-01T10:59:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-01T10:59:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007275 post PendingInvicesDO 2 MED-061007303 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007303 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e63dc3e-64b8-4d6c-ad5b-2d1493ff4d87' LIMIT 1 Date : 2025-07-01T11:29:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T11:29:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007276 post PendingInvicesDO 2 MED-061007304 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007304 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55805d63-db02-40de-9e83-ebb441d4a7b6' LIMIT 1 Date : 2025-07-01T11:40:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T11:40:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007277 post PendingInvicesDO 2 MED-061007305 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007305 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7725401d-f961-4e94-84d6-e1a32e7c6998' LIMIT 1 Date : 2025-07-01T12:16:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T12:16:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007278 post PendingInvicesDO 2 MED-061007261 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007261 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007261' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007261' OR OrderId='MED-061007261' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-01T13:01:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007279 post PendingInvicesDO 2 MED-061007307 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007307 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='baf86e46-6f03-4ac6-96a6-93c075e9980c' LIMIT 1 Date : 2025-07-01T14:12:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T14:12:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007280 post PendingInvicesDO 2 MED-061007308 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007308 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85dadbe6-6145-4cba-8e60-fb990b997471' LIMIT 1 Date : 2025-07-01T14:15:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T14:15:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007281 post PendingInvicesDO 2 MED-061007309 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007309 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3162c608-fd0b-4d9d-ada3-f55637ca9e9a' LIMIT 1 Date : 2025-07-01T14:25:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T14:25:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007282 post PendingInvicesDO 2 MED-061007177 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007177 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007177' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007177' OR OrderId='MED-061007177' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-01T14:45:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007283 post PendingInvicesDO 2 MED-061007311 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007311 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a2d5df7-2c99-48c7-96bf-a3fac6948375' LIMIT 1 Date : 2025-07-01T15:40:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T15:40:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007284 post PendingInvicesDO 2 MED-061007312 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007312 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f04bb2e-4017-412d-8c90-89644e060a16' LIMIT 1 Date : 2025-07-01T16:34:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T16:34:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007285 post PendingInvicesDO 2 MED-061007313 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007313 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35ccf633-b286-4f8e-82d6-25f288f8bbf6' LIMIT 1 Date : 2025-07-01T16:59:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T16:59:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007287 post PendingInvicesDO 2 MED-061007183 post PendingInvicesDO 2 MED-061007182 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007286 post PendingInvicesDO 2 MED-061007183 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007182 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007183 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007183' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007183' OR OrderId='MED-061007183' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007183' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007183' OR OrderId='MED-061007183' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-01T17:17:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007288 post PendingInvicesDO 2 MED-061007315 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007315 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dca9f664-46ed-4b92-87f1-56dd48e818d1' LIMIT 1 Date : 2025-07-01T17:50:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T17:50:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007289 post PendingInvicesDO 2 MED-061007316 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007316 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8fe288e-6b21-49c1-8609-3667212df6e1' LIMIT 1 Date : 2025-07-01T18:08:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T18:08:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007290 post PendingInvicesDO 2 MED-061007317 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007317 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ce83253-82e1-45f9-8726-e8562e9db120' LIMIT 1 Date : 2025-07-01T19:22:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T19:22:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007291 post PendingInvicesDO 2 MED-061007319 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007319 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1baed2f8-f68a-4c0f-8ae7-e0648f155646' LIMIT 1 Date : 2025-07-02T09:42:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T09:42:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007292 post PendingInvicesDO 2 MED-061007320 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007320 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='80a2d273-9a89-4e14-8b54-8df9c3d6f807' LIMIT 1 Date : 2025-07-02T10:29:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T10:29:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007293 post PendingInvicesDO 2 MED-061007321 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007321 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7069044-2837-4d6b-a8fc-7bc95e8791f2' LIMIT 1 Date : 2025-07-02T11:12:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T11:12:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007294 post PendingInvicesDO 2 MED-061007322 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007322 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='911d1705-9521-4455-ba38-fe753d5fd423' LIMIT 1 Date : 2025-07-02T11:33:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T11:33:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007295 post PendingInvicesDO 2 MED-061007323 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007323 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca555f4f-7518-4ab9-b97e-f167cab386a4' LIMIT 1 Date : 2025-07-02T12:01:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T12:01:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007296 post PendingInvicesDO 2 MED-061007324 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007324 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7f2fc8f-9945-43b6-9c3c-0126e6c71ac4' LIMIT 1 Date : 2025-07-02T12:17:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T12:17:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007297 post PendingInvicesDO 2 MED-061007325 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007325 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc80ad20-78e4-48a3-89af-de74666f88fd' LIMIT 1 Date : 2025-07-02T13:04:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T13:04:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007298 post PendingInvicesDO 2 MED-061007326 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007326 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59c4be33-55de-48d4-a530-1417306ad9f8' LIMIT 1 Date : 2025-07-02T13:30:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T13:30:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007299 post PendingInvicesDO 2 MED-061007327 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007327 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f81c5a5-d765-4596-8c9c-eea90955d67a' LIMIT 1 Date : 2025-07-02T14:16:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T14:16:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007300 post PendingInvicesDO 2 MED-061007328 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007328 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc98b280-31bf-4e69-85e6-ab73e220488c' LIMIT 1 Date : 2025-07-02T14:24:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T14:24:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007301 post PendingInvicesDO 2 MED-061007329 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007329 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4df9d0a9-a9b9-4fa3-910d-2e8efda5873b' LIMIT 1 Date : 2025-07-02T14:32:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T14:32:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007302 post PendingInvicesDO 2 MED-061007330 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007330 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6f3824e-1077-4aed-867e-0916afe9efa0' LIMIT 1 Date : 2025-07-02T14:46:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T14:46:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007303 post PendingInvicesDO 2 MED-061007331 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007331 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ab9727d-a68e-4327-9524-a7485eaa6910' LIMIT 1 Date : 2025-07-02T15:04:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T15:04:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007305 post PendingInvicesDO 2 MED-061007333 post PendingInvicesDO 2 MED-061007332 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007304 post PendingInvicesDO 2 MED-061007333 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007332 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007333 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d757ae29-4c6c-453d-ac38-44f25dfa5754' LIMIT 1 Date : 2025-07-02T15:29:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68e4378d-b783-4bfa-b131-11818d06f6ec' LIMIT 1 Date : 2025-07-02T15:29:06  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d757ae29-4c6c-453d-ac38-44f25dfa5754' LIMIT 1 Date : 2025-07-02T15:29:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68e4378d-b783-4bfa-b131-11818d06f6ec' LIMIT 1 Date : 2025-07-02T15:29:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-02T15:29:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007306 post PendingInvicesDO 2 MED-061007334 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007334 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49996597-8410-4765-bcb7-bc906453c772' LIMIT 1 Date : 2025-07-02T16:02:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T16:02:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007307 post PendingInvicesDO 2 MED-061007335 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007335 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82917a35-c02c-4d4b-9a61-4e0be192170e' LIMIT 1 Date : 2025-07-02T17:08:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T17:08:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007308 post PendingInvicesDO 2 MED-061007336 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007336 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b134c0d-a68a-498a-93b8-eda0fdd0d3ad' LIMIT 1 Date : 2025-07-02T17:27:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T17:27:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007309 post PendingInvicesDO 2 MED-061007337 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007337 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b127020-5a0e-4365-9b44-3a26089d65ce' LIMIT 1 Date : 2025-07-02T17:48:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T17:48:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007310 post PendingInvicesDO 2 MED-061007338 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007338 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3648b15d-ab54-4f89-a70e-1c3cff47b25f' LIMIT 1 Date : 2025-07-02T18:11:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T18:11:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007311 post PendingInvicesDO 2 MED-061007339 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007339 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='988ff1eb-3d61-4717-b75b-0f9cb2df3e6c' LIMIT 1 Date : 2025-07-02T18:24:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T18:24:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007312 post PendingInvicesDO 2 MED-061007340 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007340 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c1595a0-2b9c-43cb-8c2e-b2524efb78f2' LIMIT 1 Date : 2025-07-02T19:08:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T19:08:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007313 post PendingInvicesDO 2 MED-061007341 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007341 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4e60914-cfb8-4d27-a0cd-34e60b8fbe3e' LIMIT 1 Date : 2025-07-02T19:41:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T19:41:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007314 post PendingInvicesDO 2 MED-061007343 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007343 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dfa0caa2-51c9-413c-921f-f45aa9bd8dc0' LIMIT 1 Date : 2025-07-02T20:47:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T20:47:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007315 post PendingInvicesDO 2 MED-061007345 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007345 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='758737ae-89a2-49c0-9928-75933e7ae647' LIMIT 1 Date : 2025-07-02T22:15:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T22:15:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007316 post PendingInvicesDO 2 MED-061007346 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007346 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0f6fb5f-a00a-4acd-9e34-e3bad92886a3' LIMIT 1 Date : 2025-07-03T08:25:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T08:25:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007317 post PendingInvicesDO 2 MED-061007347 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007347 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca7d2159-a0e4-43c3-be38-1700c19e79e1' LIMIT 1 Date : 2025-07-03T09:37:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T09:37:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007318 post PendingInvicesDO 2 MED-061007348 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007348 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ded08e0-955f-4bc5-9c2c-f782a0fcfece' LIMIT 1 Date : 2025-07-03T09:58:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T09:58:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007319 post PendingInvicesDO 2 MED-061007218 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007218 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007218' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007218' OR OrderId='MED-061007218' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-03T10:06:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007320 post PendingInvicesDO 2 MED-061007350 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007350 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4eb4495-d5c7-467f-9859-f2bdde5fc159' LIMIT 1 Date : 2025-07-03T10:53:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T10:53:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007321 post PendingInvicesDO 2 MED-061007351 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007351 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2cd04448-1b49-4c1f-a25f-c564cb8c1c1b' LIMIT 1 Date : 2025-07-03T11:30:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T11:30:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007322 post PendingInvicesDO 2 MED-061007352 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007352 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f237e9c4-8866-4549-96bc-d040cb097a9e' LIMIT 1 Date : 2025-07-03T11:45:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T11:45:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007323 post PendingInvicesDO 2 MED-061007353 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007353 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8ef78b3-d53d-420d-b9fc-a383c4fce8b9' LIMIT 1 Date : 2025-07-03T12:02:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T12:02:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007324 post PendingInvicesDO 2 MED-061007354 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007354 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='691dd07e-3679-47a2-b4ca-9110da2d0cf6' LIMIT 1 Date : 2025-07-03T13:15:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T13:15:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007325 post PendingInvicesDO 2 MED-061007355 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007355 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0228608d-f6a4-4444-a27f-0b11013c3df2' LIMIT 1 Date : 2025-07-03T13:35:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T13:35:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007326 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-07-03T14:15:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007326 post PendingInvicesDO 2 MED-061007356 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007356 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c07177b5-6d2b-49fc-8541-d63658e332ad' LIMIT 1 Date : 2025-07-03T14:22:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T14:22:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007327 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-07-03T14:28:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007327 post PendingInvicesDO 2 MED-061007357 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007357 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b9f325f-67de-4c38-8502-4de29c0a13a7' LIMIT 1 Date : 2025-07-03T15:49:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T15:49:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007328 post PendingInvicesDO 2 MED-061007358 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007358 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42fdc698-642f-4a49-9065-d4f5a9232353' LIMIT 1 Date : 2025-07-03T16:41:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T16:41:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007329 post PendingInvicesDO 2 MED-061007230 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007230 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007230' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007230' OR OrderId='MED-061007230' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-03T16:54:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007330 post PendingInvicesDO 2 MED-061007360 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007360 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='217f234a-1308-4cb6-97f0-2e51d59683ff' LIMIT 1 Date : 2025-07-03T17:33:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T17:33:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007331 post PendingInvicesDO 2 MED-061007361 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007361 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7065ed51-f9ea-4777-a7ef-f34b0d552c05' LIMIT 1 Date : 2025-07-03T18:22:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T18:22:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007333 post PendingInvicesDO 2 MED-061007363 post PendingInvicesDO 2 MED-061007362 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007332 post PendingInvicesDO 2 MED-061007363 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007362 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007363 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57928c0d-8868-4f20-9fe3-602e454d1ced' LIMIT 1 Date : 2025-07-03T19:03:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07a3e0b6-6c86-4a56-adc0-470d2059359b' LIMIT 1 Date : 2025-07-03T19:03:20  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57928c0d-8868-4f20-9fe3-602e454d1ced' LIMIT 1 Date : 2025-07-03T19:03:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07a3e0b6-6c86-4a56-adc0-470d2059359b' LIMIT 1 Date : 2025-07-03T19:03:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-03T19:03:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007334 post PendingInvicesDO 2 MED-061007306 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007306 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007306' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007306' OR OrderId='MED-061007306' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-04T18:27:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007335 post PendingInvicesDO 2 MED-061007365 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007365 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b92a362-3eb9-4e26-8a77-0ce85f0ad2e3' LIMIT 1 Date : 2025-07-04T20:18:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-04T20:18:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007336 post PendingInvicesDO 2 MED-061007242 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007242 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007242' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007242' OR OrderId='MED-061007242' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-04T20:28:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007337 post PendingInvicesDO 2 MED-061007243 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007243 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007243' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007243' OR OrderId='MED-061007243' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-04T21:29:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007338 post PendingInvicesDO 2 MED-061007369 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007369 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a55bc67a-afdf-4948-90b6-3f8dbbe79e3a' LIMIT 1 Date : 2025-07-04T21:56:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-04T21:56:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007339 post PendingInvicesDO 2 MED-061007370 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007370 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0aab30c7-9f6b-4380-acdc-ec89a81b2d04' LIMIT 1 Date : 2025-07-04T22:11:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-04T22:11:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007340 post PendingInvicesDO 2 MED-061007371 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007371 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa765b9c-1119-4397-b578-ca263eeb65ed' LIMIT 1 Date : 2025-07-05T09:33:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T09:33:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007341 post PendingInvicesDO 2 MED-061007372 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007372 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9ce9ddd-1eab-4d23-a58a-85ba582b5ce3' LIMIT 1 Date : 2025-07-05T09:54:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T09:54:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007342 post PendingInvicesDO 2 MED-061007373 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007373 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4902ea9-4cf1-41d0-9e4e-6980c791bc20' LIMIT 1 Date : 2025-07-05T10:41:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T10:41:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007343 post PendingInvicesDO 2 MED-061007374 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007374 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0045787c-0736-4e91-b2bc-a2203bc7cde6' LIMIT 1 Date : 2025-07-05T11:11:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T11:11:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007345 post PendingInvicesDO 2 MED-061007376 post PendingInvicesDO 2 MED-061007375 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007344 post PendingInvicesDO 2 MED-061007376 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007375 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007376 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f322e7e6-a8d7-472e-bbdb-62dbb8746b8b' LIMIT 1 Date : 2025-07-05T11:57:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e31b259a-a7ae-43f5-aa5f-72d7d887f8c4' LIMIT 1 Date : 2025-07-05T11:57:46  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f322e7e6-a8d7-472e-bbdb-62dbb8746b8b' LIMIT 1 Date : 2025-07-05T11:57:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e31b259a-a7ae-43f5-aa5f-72d7d887f8c4' LIMIT 1 Date : 2025-07-05T11:57:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-05T11:57:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007346 post PendingInvicesDO 2 MED-061007377 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007377 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25263b7b-36b4-4bb9-b7b9-12535a44377d' LIMIT 1 Date : 2025-07-05T13:29:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T13:29:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007347 post PendingInvicesDO 2 MED-061007254 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007254 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007254' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007254' OR OrderId='MED-061007254' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-05T13:53:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007348 post PendingInvicesDO 2 MED-061007379 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007379 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='690016e9-3385-477b-9a87-731f60277546' LIMIT 1 Date : 2025-07-05T14:30:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T14:30:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007350 post PendingInvicesDO 2 MED-061007381 post PendingInvicesDO 2 MED-061007380 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007349 post PendingInvicesDO 2 MED-061007381 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007380 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007381 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa34a613-1b9c-4275-bfaa-5d44aad80aae' LIMIT 1 Date : 2025-07-05T15:35:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1997a5b4-ab89-4f92-854a-92226e0cbfb6' LIMIT 1 Date : 2025-07-05T15:35:29  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa34a613-1b9c-4275-bfaa-5d44aad80aae' LIMIT 1 Date : 2025-07-05T15:35:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1997a5b4-ab89-4f92-854a-92226e0cbfb6' LIMIT 1 Date : 2025-07-05T15:35:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-05T15:35:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007351 post PendingInvicesDO 2 MED-061007382 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007382 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca64755b-400f-4f0c-a1da-b4825cb2f719' LIMIT 1 Date : 2025-07-05T16:32:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T16:32:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007352 post PendingInvicesDO 2 MED-061007383 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007383 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d1b3c96-6e35-4706-9618-fc24ced13173' LIMIT 1 Date : 2025-07-05T16:50:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T16:50:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007353 post PendingInvicesDO 2 MED-061007384 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007384 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2307740-ff6f-44bd-b799-1470d3f2f1dc' LIMIT 1 Date : 2025-07-05T17:25:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T17:25:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007354 post PendingInvicesDO 2 MED-061007385 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007385 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='578d78fe-9f59-470e-9ace-aca5be4802df' LIMIT 1 Date : 2025-07-05T18:04:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T18:04:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007355 post PendingInvicesDO 2 MED-061007386 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007386 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='deb6a585-d244-43b9-a9a0-f2e734a1a2fd' LIMIT 1 Date : 2025-07-05T18:14:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T18:14:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007356 post PendingInvicesDO 2 MED-061007387 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007387 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08fcaf2a-a961-4002-afa5-6d4ba36b3dcf' LIMIT 1 Date : 2025-07-05T18:26:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T18:26:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007357 post PendingInvicesDO 2 MED-061007388 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007388 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='828e65a3-42ef-4ee4-b861-a3b718c34ddf' LIMIT 1 Date : 2025-07-05T20:41:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T20:41:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007358 post PendingInvicesDO 2 MED-061007389 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007389 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2963e32c-523b-4b33-bbfe-9e174dcc8a60' LIMIT 1 Date : 2025-07-05T21:25:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T21:25:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007359 post PendingInvicesDO 2 MED-061007390 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007390 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='574e72df-72aa-4561-8cb0-b9e216eb109a' LIMIT 1 Date : 2025-07-06T08:39:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T08:39:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007360 post PendingInvicesDO 2 MED-061007391 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007391 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2187066b-8ddf-4e08-8874-21be5acce843' LIMIT 1 Date : 2025-07-06T08:55:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T08:55:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007361 post PendingInvicesDO 2 MED-061007392 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007392 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cfb1bd87-285a-4d0f-947f-ab318631bc7b' LIMIT 1 Date : 2025-07-06T09:01:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T09:01:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007362 post PendingInvicesDO 2 MED-061007393 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007393 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3935e937-d051-4b2a-bfaf-8860e38e30cd' LIMIT 1 Date : 2025-07-06T09:24:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T09:24:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007364 post PendingInvicesDO 2 MED-061007395 post PendingInvicesDO 2 MED-061007394 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007363 post PendingInvicesDO 2 MED-061007395 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007394 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007395 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c9a47b3-31c1-4b4a-98ba-43e61149a243' LIMIT 1 Date : 2025-07-06T09:39:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fb94af7-8c50-4778-901e-bcc5465272b3' LIMIT 1 Date : 2025-07-06T09:39:36  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c9a47b3-31c1-4b4a-98ba-43e61149a243' LIMIT 1 Date : 2025-07-06T09:39:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fb94af7-8c50-4778-901e-bcc5465272b3' LIMIT 1 Date : 2025-07-06T09:39:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-06T09:39:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007365 post PendingInvicesDO 2 MED-061007121 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007121 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007121' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007121' OR OrderId='MED-061007121' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-06T09:50:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007366 post PendingInvicesDO 2 MED-061007397 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007397 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c97f3f8e-bb4c-4ba3-a3eb-79891091951e' LIMIT 1 Date : 2025-07-06T10:24:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T10:24:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007367 post PendingInvicesDO 2 MED-061007398 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007398 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a97f8eaf-7355-4176-8b17-139991dfff29' LIMIT 1 Date : 2025-07-06T10:46:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T10:46:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007368 post PendingInvicesDO 2 MED-061007399 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007399 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47a1fc19-c640-456b-bc94-9d5dcacbac11' LIMIT 1 Date : 2025-07-06T11:03:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T11:03:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007369 post PendingInvicesDO 2 MED-061007400 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007400 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49782ae0-6ffd-4396-82fd-5c8df06b9959' LIMIT 1 Date : 2025-07-06T11:20:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T11:20:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007370 post PendingInvicesDO 2 MED-061007401 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007401 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9eda8f6f-a662-4f08-a17d-6b65b815b2be' LIMIT 1 Date : 2025-07-06T11:37:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T11:37:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007371 post PendingInvicesDO 2 MED-061007402 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007402 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fed15d6-0c3b-4ced-a1af-7d71445d982f' LIMIT 1 Date : 2025-07-06T11:57:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T11:57:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007372 post PendingInvicesDO 2 MED-061007403 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007403 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='270f6a64-412b-4fd0-8b33-bdfd8f51ddbd' LIMIT 1 Date : 2025-07-06T12:15:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T12:15:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007373 post PendingInvicesDO 2 MED-061007404 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007404 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5ddcc7d-3c46-4683-a822-bc1c482fd326' LIMIT 1 Date : 2025-07-06T21:38:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T21:38:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007374 post PendingInvicesDO 2 MED-061007405 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007405 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9f7b7d5-aa73-4442-9b53-dd3793361a3f' LIMIT 1 Date : 2025-07-07T09:25:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T09:25:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007375 post PendingInvicesDO 2 MED-061007406 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007406 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c90bb145-7559-4c89-8a0f-25e0e61d442a' LIMIT 1 Date : 2025-07-07T09:55:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T09:55:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007376 post PendingInvicesDO 2 MED-061007407 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007407 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbb54880-03aa-4db6-86b5-6ce6696d0892' LIMIT 1 Date : 2025-07-07T10:12:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T10:12:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007377 post PendingInvicesDO 2 MED-061007408 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007408 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ed990ff-c2a6-4d60-97d1-ad6eff90454c' LIMIT 1 Date : 2025-07-07T10:36:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T10:36:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007378 post PendingInvicesDO 2 MED-061007409 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007409 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d6ac48a-0929-4c68-bb28-1ea329d8c8d3' LIMIT 1 Date : 2025-07-07T10:51:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T10:51:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007379 post PendingInvicesDO 2 MED-061007410 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007410 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98582c6b-b5cc-409a-b23c-1eb48d1b0b0e' LIMIT 1 Date : 2025-07-07T11:10:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T11:10:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007380 post PendingInvicesDO 2 MED-061007411 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007411 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc9ccaec-43aa-4c5a-a72e-bcd7f54d119c' LIMIT 1 Date : 2025-07-07T11:29:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T11:29:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007381 post PendingInvicesDO 2 MED-061007412 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007412 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41d97a99-ae0c-4c45-9799-c85c861bf59e' LIMIT 1 Date : 2025-07-07T12:00:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T12:00:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007382 post PendingInvicesDO 2 MED-061007413 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007413 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78db2cc2-c35c-4fbe-8ff9-bbd6607c25a0' LIMIT 1 Date : 2025-07-07T13:04:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T13:04:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007383 post PendingInvicesDO 2 MED-061007414 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007414 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23e34a52-3536-4da9-a83b-6e36117e0dab' LIMIT 1 Date : 2025-07-07T13:21:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T13:21:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007384 post PendingInvicesDO 2 MED-061007415 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007415 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be4a8811-9170-42f7-8e11-e2601c5813c6' LIMIT 1 Date : 2025-07-07T13:42:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T13:42:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007385 post PendingInvicesDO 2 MED-061007416 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007416 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92a5a7dd-9ac4-4763-9bed-3ddbf2591bb2' LIMIT 1 Date : 2025-07-07T14:13:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T14:13:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007386 post PendingInvicesDO 2 MED-061007417 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007417 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9dde0ed1-cf8a-478f-ab03-9a42580a60f0' LIMIT 1 Date : 2025-07-07T15:24:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T15:24:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007387 post PendingInvicesDO 2 MED-061007418 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007418 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a21eb4f-111f-4eed-b45a-cbdae086e8d9' LIMIT 1 Date : 2025-07-07T15:42:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T15:42:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007388 post PendingInvicesDO 2 MED-061007419 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007419 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc432b5e-994f-4d15-b6e0-a3805957008e' LIMIT 1 Date : 2025-07-07T16:40:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T16:40:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007389 post PendingInvicesDO 2 MED-061007420 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007420 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2595206c-00a1-4183-b82c-f6445a3a6737' LIMIT 1 Date : 2025-07-07T17:21:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T17:21:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007390 post PendingInvicesDO 2 MED-061007421 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007421 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e1cf434-c168-4042-b9e3-0a605611d99f' LIMIT 1 Date : 2025-07-07T17:49:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T17:49:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007391 post PendingInvicesDO 2 MED-061007422 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007422 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fdf69469-0af2-49b4-8329-83f1fdd4a37c' LIMIT 1 Date : 2025-07-07T18:19:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T18:19:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007392 post PendingInvicesDO 2 MED-061007423 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007423 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0f70b8f-f188-4021-86e5-d450826edbba' LIMIT 1 Date : 2025-07-07T18:25:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T18:25:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007393 post PendingInvicesDO 2 MED-061007424 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007424 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d75d094-4c1e-4305-9389-40566128146b' LIMIT 1 Date : 2025-07-07T18:43:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T18:43:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007394 post PendingInvicesDO 2 MED-061007425 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007425 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='661d6a61-47cd-46ff-bcf8-b3203428f366' LIMIT 1 Date : 2025-07-07T19:55:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T19:55:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007395 post PendingInvicesDO 2 MED-061007314 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007314 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007314' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007314' OR OrderId='MED-061007314' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-07T20:29:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007396 post PendingInvicesDO 2 MED-061007428 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007428 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8489d295-afde-4766-ab05-cec2408b524e' LIMIT 1 Date : 2025-07-07T21:32:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T21:32:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007397 post PendingInvicesDO 2 MED-061007429 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007429 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e5ec398-8482-42ec-818f-159a1e5a7310' LIMIT 1 Date : 2025-07-08T09:38:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T09:38:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007398 post PendingInvicesDO 2 MED-061007430 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007430 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4e3407e-2484-4a04-a1df-9266bae994e0' LIMIT 1 Date : 2025-07-08T10:18:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T10:18:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007399 post PendingInvicesDO 2 MED-061007431 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007431 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='929d58dd-c479-4305-adb8-5bd3e4c15dfc' LIMIT 1 Date : 2025-07-08T11:01:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T11:01:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007400 post PendingInvicesDO 2 MED-061007432 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007432 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75378751-e3ed-4fcc-86cd-f0e6bb3c74f1' LIMIT 1 Date : 2025-07-08T11:30:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T11:30:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007401 post PendingInvicesDO 2 MED-061007433 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007433 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24b689d3-c44b-4dda-9f52-19b87df8aa1d' LIMIT 1 Date : 2025-07-08T11:50:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T11:50:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007402 post PendingInvicesDO 2 MED-061007434 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007434 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='464724cc-f0a3-4e50-a360-6036677c3f19' LIMIT 1 Date : 2025-07-08T11:56:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T11:56:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007403 post PendingInvicesDO 2 MED-061007435 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007435 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fc797a2-5f8a-422d-8521-4ee95a73b079' LIMIT 1 Date : 2025-07-08T12:27:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T12:27:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007404 post PendingInvicesDO 2 MED-061007436 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007436 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82171148-57ae-4fa3-9059-04f4b5f04f4a' LIMIT 1 Date : 2025-07-08T13:37:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T13:37:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007406 post PendingInvicesDO 2 MED-061007438 post PendingInvicesDO 2 MED-061007437 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007405 post PendingInvicesDO 2 MED-061007438 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007437 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007438 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e1060f6-25ed-4faf-b7b9-4a0a6aa4ebd4' LIMIT 1 Date : 2025-07-08T14:08:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='719a3523-0d75-4345-85b8-ccbc2eb2ab0c' LIMIT 1 Date : 2025-07-08T14:08:45  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e1060f6-25ed-4faf-b7b9-4a0a6aa4ebd4' LIMIT 1 Date : 2025-07-08T14:08:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='719a3523-0d75-4345-85b8-ccbc2eb2ab0c' LIMIT 1 Date : 2025-07-08T14:08:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-08T14:08:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007407 post PendingInvicesDO 2 MED-061007439 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007439 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a9e4570-63bb-4480-af51-4e9011e19389' LIMIT 1 Date : 2025-07-08T14:38:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T14:38:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007408 post PendingInvicesDO 2 MED-061007440 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007440 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f4500d8-a5c7-46f4-992b-2256c4490eea' LIMIT 1 Date : 2025-07-08T14:45:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T14:45:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007409 post PendingInvicesDO 2 MED-061007441 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007441 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23f56199-89ee-4ae0-8b81-0643e02294f7' LIMIT 1 Date : 2025-07-08T15:17:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T15:17:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007410 post PendingInvicesDO 2 MED-061007442 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007442 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f9a8e9d-526d-4ad6-b4b1-019a110179df' LIMIT 1 Date : 2025-07-08T16:43:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T16:43:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007411 post PendingInvicesDO 2 MED-061007310 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007310 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007310' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007310' OR OrderId='MED-061007310' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-08T16:47:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007412 post PendingInvicesDO 2 MED-061007444 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007444 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21aa3b34-d326-4153-8849-b484212779b1' LIMIT 1 Date : 2025-07-08T17:34:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T17:34:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007413 post PendingInvicesDO 2 MED-061007445 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007445 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64ff0720-0918-4429-bca2-228e784534f6' LIMIT 1 Date : 2025-07-08T18:00:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T18:00:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007414 post PendingInvicesDO 2 MED-061007123 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007123 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007123' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007123' OR OrderId='MED-061007123' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-08T18:20:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007415 post PendingInvicesDO 2 MED-061007447 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007447 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa5f9c59-c64c-4113-8126-33f853261f60' LIMIT 1 Date : 2025-07-08T19:06:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T19:06:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007416 post PendingInvicesDO 2 MED-061007448 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007448 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9712b4c-f3a1-4686-82a5-fa300c05e8c1' LIMIT 1 Date : 2025-07-08T20:25:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T20:25:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007417 post PendingInvicesDO 2 MED-061007449 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007449 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='662bd3f1-be68-46d2-864b-f3d9611a25c8' LIMIT 1 Date : 2025-07-09T09:41:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T09:41:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007419 post PendingInvicesDO 2 MED-061007451 post PendingInvicesDO 2 MED-061007450 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007418 post PendingInvicesDO 2 MED-061007451 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007450 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007451 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a73be6c-e061-4c6a-ae2a-80d8ee9d67dc' LIMIT 1 Date : 2025-07-09T10:21:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='806f9fae-de8b-4ce3-babc-cc1b8a48dd7d' LIMIT 1 Date : 2025-07-09T10:21:33  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a73be6c-e061-4c6a-ae2a-80d8ee9d67dc' LIMIT 1 Date : 2025-07-09T10:21:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='806f9fae-de8b-4ce3-babc-cc1b8a48dd7d' LIMIT 1 Date : 2025-07-09T10:21:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-09T10:21:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007420 post PendingInvicesDO 2 MED-061007452 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007452 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e595fa8-eeaf-4314-a70e-a3cf0597da7d' LIMIT 1 Date : 2025-07-09T10:51:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T10:51:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007421 post PendingInvicesDO 2 MED-061007453 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007453 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='413f0f92-72c8-44dd-915d-e6ecf2086cd3' LIMIT 1 Date : 2025-07-09T11:17:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T11:17:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007422 post PendingInvicesDO 2 MED-061007454 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007454 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2177864-2e07-4b30-b530-bc3aee483533' LIMIT 1 Date : 2025-07-09T11:36:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T11:36:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007423 post PendingInvicesDO 2 MED-061007455 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007455 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9714e910-5c7f-45a8-bd23-553ab0694011' LIMIT 1 Date : 2025-07-09T12:07:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T12:07:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007424 post PendingInvicesDO 2 MED-061007456 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007456 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f477371c-e591-4b6e-abe4-86cd6c032616' LIMIT 1 Date : 2025-07-09T12:27:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T12:27:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007425 post PendingInvicesDO 2 MED-061007457 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007457 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1cb980f2-a246-40d6-9805-3415ebf56359' LIMIT 1 Date : 2025-07-09T13:09:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T13:09:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007426 post PendingInvicesDO 2 MED-061007458 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007458 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='658c73f1-759f-4c76-873a-4024eebb89f1' LIMIT 1 Date : 2025-07-09T13:29:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T13:29:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007427 post PendingInvicesDO 2 MED-061007459 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007459 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dde5e75a-9221-49b9-9ee2-dd69d1174052' LIMIT 1 Date : 2025-07-09T13:37:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T13:37:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007428 post PendingInvicesDO 2 MED-061007460 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007460 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a91e7128-8055-46cb-8b53-c048a0f67726' LIMIT 1 Date : 2025-07-09T13:58:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T13:58:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007429 post PendingInvicesDO 2 MED-061007461 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007461 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7fded757-4824-464d-9fef-55aea14073ec' LIMIT 1 Date : 2025-07-09T14:37:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T14:37:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007430 post PendingInvicesDO 2 MED-061007462 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007462 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a50081a8-0f7e-4c56-a171-ac7f6e1b6d1b' LIMIT 1 Date : 2025-07-09T15:49:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T15:49:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007431 post PendingInvicesDO 2 MED-061007463 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007463 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0dff078-ce28-4f2b-937b-f52d64baf1f9' LIMIT 1 Date : 2025-07-09T16:15:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T16:15:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007432 post PendingInvicesDO 2 MED-061007464 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007464 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='150a4735-e036-4f57-9dc4-2ba24a390338' LIMIT 1 Date : 2025-07-09T16:50:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T16:50:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007433 post PendingInvicesDO 2 MED-061007465 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007465 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='694dde22-98f7-4bfb-8815-cb3d0c9766f5' LIMIT 1 Date : 2025-07-09T17:10:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T17:10:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007434 post PendingInvicesDO 2 MED-061007466 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007466 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6f623ff-5042-4604-ad25-f68f3c002eab' LIMIT 1 Date : 2025-07-09T17:27:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T17:27:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007435 post PendingInvicesDO 2 MED-061007467 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007467 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c493787f-bc51-465c-81c5-efc21a4a6617' LIMIT 1 Date : 2025-07-09T18:16:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T18:16:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007436 post PendingInvicesDO 2 MED-061007468 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007468 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31fe6b68-69fe-4fc9-aaa3-b5d5744bb16b' LIMIT 1 Date : 2025-07-09T18:20:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T18:20:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007437 post PendingInvicesDO 2 MED-061007469 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007469 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a3eac8e-b22d-4a64-b7bd-5bd37ac04b7f' LIMIT 1 Date : 2025-07-09T18:34:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T18:34:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007438 post PendingInvicesDO 2 MED-061007342 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007342 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007342' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007342' OR OrderId='MED-061007342' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-09T19:04:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007439 post PendingInvicesDO 2 MED-061007470 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007470 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='419f767a-9931-41cc-8c5b-759de4465074' LIMIT 1 Date : 2025-07-09T20:01:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T20:01:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007440 post PendingInvicesDO 2 MED-061007471 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007471 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0dc0ce0-621d-4f4d-9aa0-f14ab33782bb' LIMIT 1 Date : 2025-07-09T20:48:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T20:48:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007441 post PendingInvicesDO 2 MED-061007472 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007472 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1053905e-6f77-43af-9d44-abb4f5cb6213' LIMIT 1 Date : 2025-07-10T14:42:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T14:42:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007442 post PendingInvicesDO 2 MED-061007473 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007473 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f74a2bd2-8478-4491-a7ad-d1c1db352c28' LIMIT 1 Date : 2025-07-10T15:01:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T15:01:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007443 post PendingInvicesDO 2 MED-061007349 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007349 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007349' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007349' OR OrderId='MED-061007349' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-10T15:58:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007444 post PendingInvicesDO 2 MED-061007475 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007475 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84805fec-2082-484e-9c38-e8327517c89e' LIMIT 1 Date : 2025-07-10T17:03:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T17:03:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007446 post PendingInvicesDO 2 MED-061007477 post PendingInvicesDO 2 MED-061007476 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007445 post PendingInvicesDO 2 MED-061007477 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007476 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007477 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7dd1377a-abde-4ed4-8a73-339eb2147134' LIMIT 1 Date : 2025-07-10T17:58:00  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdaa47b2-b89b-4565-b481-183cbf3dc738' LIMIT 1 Date : 2025-07-10T17:58:00  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7dd1377a-abde-4ed4-8a73-339eb2147134' LIMIT 1 Date : 2025-07-10T17:58:00  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdaa47b2-b89b-4565-b481-183cbf3dc738' LIMIT 1 Date : 2025-07-10T17:58:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-10T17:58:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007447 post PendingInvicesDO 2 MED-061007478 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007478 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='350f1f66-bd98-4175-84c5-745b184925fd' LIMIT 1 Date : 2025-07-10T18:56:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T18:56:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007448 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-07-10T18:59:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007448 post PendingInvicesDO 2 MED-061007479 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007479 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='499bff60-89f6-4f8b-876f-cf2405d6cff6' LIMIT 1 Date : 2025-07-10T20:45:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T20:45:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007449 post PendingInvicesDO 2 MED-061007480 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007480 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b6749ab-f461-4a66-9191-01db58cbc488' LIMIT 1 Date : 2025-07-10T22:21:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T22:21:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007450 post PendingInvicesDO 2 MED-061007481 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007481 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='89959001-f699-428a-83bc-09a8e65f462d' LIMIT 1 Date : 2025-07-11T17:53:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-11T17:53:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007452 post PendingInvicesDO 2 MED-061007367 post PendingInvicesDO 2 MED-061007366 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007451 post PendingInvicesDO 2 MED-061007367 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007366 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007367 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007367' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007367' OR OrderId='MED-061007367' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007367' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007367' OR OrderId='MED-061007367' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-11T19:05:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007453 post PendingInvicesDO 2 MED-061007368 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007368 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007368' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007368' OR OrderId='MED-061007368' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-11T19:50:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007454 post PendingInvicesDO 2 MED-061007484 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007484 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fd0bf0f-3add-4d52-a31e-f6f6a1a8f8e9' LIMIT 1 Date : 2025-07-11T20:23:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-11T20:23:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007455 post PendingInvicesDO 2 MED-061007485 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007485 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7de26623-ffa0-4dcf-9807-951b19a08667' LIMIT 1 Date : 2025-07-11T20:47:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-11T20:47:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007456 post PendingInvicesDO 2 MED-061007486 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007486 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62113a8f-ba83-4f06-8a13-45cd8665609f' LIMIT 1 Date : 2025-07-12T09:32:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T09:32:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007457 post PendingInvicesDO 2 MED-061007487 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007487 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61f3a151-7c7f-4da3-ba34-3df755eda309' LIMIT 1 Date : 2025-07-12T09:58:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T09:58:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007458 post PendingInvicesDO 2 MED-061007488 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007488 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c720faa9-94b6-47f3-952d-9f83644144b6' LIMIT 1 Date : 2025-07-12T10:38:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T10:38:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007459 post PendingInvicesDO 2 MED-061007489 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007489 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dca1bd37-cf15-48bd-b33a-5f834bf1f061' LIMIT 1 Date : 2025-07-12T11:08:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T11:08:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007460 post PendingInvicesDO 2 MED-061007490 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007490 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4525a8eb-dbce-4d45-a6d2-f8589b20e4ac' LIMIT 1 Date : 2025-07-12T11:49:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T11:49:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007461 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-07-12T13:12:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007461 post PendingInvicesDO 2 MED-061007491 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007491 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='531ae435-3e57-429f-9fe3-37345f7e8086' LIMIT 1 Date : 2025-07-12T13:20:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T13:20:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007462 post PendingInvicesDO 2 MED-061007492 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007492 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81275f3d-611e-4380-aad7-72f7daf98f23' LIMIT 1 Date : 2025-07-12T13:50:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T13:50:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007463 post PendingInvicesDO 2 MED-061007493 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007493 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23181eb2-792f-404f-931a-20652e921f95' LIMIT 1 Date : 2025-07-12T14:36:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T14:36:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007464 post PendingInvicesDO 2 MED-061007378 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007378 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007378' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007378' OR OrderId='MED-061007378' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-12T15:40:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007465 post PendingInvicesDO 2 MED-061007495 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007495 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='05a99d1a-bbe6-465d-bfef-bde425ef4f7c' LIMIT 1 Date : 2025-07-12T16:06:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T16:06:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007466 post PendingInvicesDO 2 MED-061007496 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007496 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24f00974-6f5f-4f30-abc2-d3c9716e56f2' LIMIT 1 Date : 2025-07-12T16:25:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T16:25:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007467 post PendingInvicesDO 2 MED-061007497 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007497 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51ff4ca0-0b27-4199-aabd-d5f723fc0163' LIMIT 1 Date : 2025-07-12T16:50:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T16:50:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007468 post PendingInvicesDO 2 MED-061007498 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007498 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5763fea-77c4-4990-aef5-8dac0e4f1152' LIMIT 1 Date : 2025-07-12T17:21:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T17:21:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007469 post PendingInvicesDO 2 MED-061007499 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007499 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cdb7f519-06af-4619-896e-7c9d643200a5' LIMIT 1 Date : 2025-07-12T17:36:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T17:36:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007470 post PendingInvicesDO 2 MED-061007500 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007500 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a75e979c-980e-4413-b787-8f8ff6f6bd6d' LIMIT 1 Date : 2025-07-12T17:47:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T17:47:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007471 post PendingInvicesDO 2 MED-061007501 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007501 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a529cca1-3e2e-4972-a9ee-8f543fcdbb64' LIMIT 1 Date : 2025-07-12T19:04:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T19:04:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007472 post PendingInvicesDO 2 MED-061007318 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007318 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007318' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007318' OR OrderId='MED-061007318' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-12T19:14:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007473 post PendingInvicesDO 2 MED-061007505 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007505 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3944560-918b-44a1-a6f6-51089556b513' LIMIT 1 Date : 2025-07-13T09:32:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T09:32:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007474 post PendingInvicesDO 2 MED-061007506 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007506 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9751eb3-72c0-454d-85b8-422a8dfa5a8d' LIMIT 1 Date : 2025-07-13T09:58:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T09:58:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007475 post PendingInvicesDO 2 MED-061007507 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007507 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4cf23025-aa48-4b57-aaf9-103baff3f4cb' LIMIT 1 Date : 2025-07-13T10:48:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T10:48:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007476 post PendingInvicesDO 2 MED-061007508 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007508 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0be9f42b-43c3-497b-8960-a6c3b67a68f0' LIMIT 1 Date : 2025-07-13T11:13:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T11:13:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007477 post PendingInvicesDO 2 MED-061007509 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007509 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='97ce3633-d291-49df-8a6f-084a4a706143' LIMIT 1 Date : 2025-07-13T11:30:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T11:30:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007479 post PendingInvicesDO 2 MED-061007511 post PendingInvicesDO 2 MED-061007510 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007478 post PendingInvicesDO 2 MED-061007511 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007510 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007511 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f74be757-8e0c-4ff1-9f98-61effc82ad13' LIMIT 1 Date : 2025-07-13T11:52:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7db0a16d-d317-4ddc-abc8-5a945cb5c8e3' LIMIT 1 Date : 2025-07-13T11:52:43  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f74be757-8e0c-4ff1-9f98-61effc82ad13' LIMIT 1 Date : 2025-07-13T11:52:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7db0a16d-d317-4ddc-abc8-5a945cb5c8e3' LIMIT 1 Date : 2025-07-13T11:52:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-13T11:52:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007480 post PendingInvicesDO 2 MED-061007396 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007396 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007396' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007396' OR OrderId='MED-061007396' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-13T12:04:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007481 post PendingInvicesDO 2 MED-061007513 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007513 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10c38ecb-5311-43b6-bc0f-b9c3dea28ae2' LIMIT 1 Date : 2025-07-13T12:26:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T12:26:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007482 post PendingInvicesDO 2 MED-061007514 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007514 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38cf2397-9bde-4791-8a2c-f7ed0e8208f2' LIMIT 1 Date : 2025-07-13T13:15:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T13:15:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007483 post PendingInvicesDO 2 MED-061007515 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007515 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b19f74a-cb12-4a38-a6fa-2780885cd465' LIMIT 1 Date : 2025-07-13T13:44:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T13:44:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007484 post PendingInvicesDO 2 MED-061007516 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007516 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b11b01b-112c-4b1f-9b7f-b5a65a65ae02' LIMIT 1 Date : 2025-07-13T14:07:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T14:07:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007485 post PendingInvicesDO 2 MED-061007517 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007517 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e733581-1577-4bd1-8833-7258bd26227c' LIMIT 1 Date : 2025-07-13T15:09:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T15:09:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007486 post PendingInvicesDO 2 MED-061007364 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007364 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007364' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007364' OR OrderId='MED-061007364' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-13T15:23:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007487 post PendingInvicesDO 2 MED-061007519 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007519 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='557f277f-b85c-42e1-9cb8-79c23d9913c4' LIMIT 1 Date : 2025-07-13T16:05:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T16:05:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007488 post PendingInvicesDO 2 MED-061007520 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007520 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e88e8732-95ba-4d8f-a8d3-50569fcb3d60' LIMIT 1 Date : 2025-07-13T16:41:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T16:41:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007489 post PendingInvicesDO 2 MED-061007521 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007521 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f745624c-cbf8-4f9e-8984-95cab7728fb7' LIMIT 1 Date : 2025-07-13T17:29:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T17:29:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007490 post PendingInvicesDO 2 MED-061007344 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007344 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007344' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007344' OR OrderId='MED-061007344' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-13T18:23:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007491 post PendingInvicesDO 2 MED-061007525 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007525 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='213d366a-37d9-41fc-8503-9a721a2ddd99' LIMIT 1 Date : 2025-07-14T09:22:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T09:22:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007492 post PendingInvicesDO 2 MED-061007526 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007526 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be99e9c0-d26a-4d5e-acc5-712bfaf8824a' LIMIT 1 Date : 2025-07-14T09:29:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T09:29:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007493 post PendingInvicesDO 2 MED-061007528 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007528 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9ed9bc2-e1aa-47b7-b21b-1f317515fbd3' LIMIT 1 Date : 2025-07-14T10:12:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T10:12:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007494 post PendingInvicesDO 2 MED-061007529 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007529 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b55925ef-4bbb-42aa-a4dc-6e1fef659dbb' LIMIT 1 Date : 2025-07-14T10:25:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T10:25:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007495 post PendingInvicesDO 2 MED-061007530 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007530 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a1e29e5-b7dd-40c4-be14-8507fba1196f' LIMIT 1 Date : 2025-07-14T10:46:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T10:46:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007496 post PendingInvicesDO 2 MED-061007531 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007531 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='930ccfd4-0349-4de5-870b-caf044038663' LIMIT 1 Date : 2025-07-14T11:09:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T11:09:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007498 post PendingInvicesDO 2 MED-061007533 post PendingInvicesDO 2 MED-061007532 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007497 post PendingInvicesDO 2 MED-061007533 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007532 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007533 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc0e468b-f758-4acf-a886-081b502f16af' LIMIT 1 Date : 2025-07-14T11:39:16  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e99018fa-3731-4dde-96f7-931edf7c4938' LIMIT 1 Date : 2025-07-14T11:39:16  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc0e468b-f758-4acf-a886-081b502f16af' LIMIT 1 Date : 2025-07-14T11:39:16  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e99018fa-3731-4dde-96f7-931edf7c4938' LIMIT 1 Date : 2025-07-14T11:39:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-14T11:39:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007499 post PendingInvicesDO 2 MED-061007534 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007534 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='535802aa-3691-443b-838d-159227f4dd73' LIMIT 1 Date : 2025-07-14T11:56:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T11:56:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007500 post PendingInvicesDO 2 MED-061007536 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007536 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6198fde-9555-4eab-bdd6-72623b49c6dd' LIMIT 1 Date : 2025-07-14T13:23:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T13:23:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007501 post PendingInvicesDO 2 MED-061007537 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007537 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7470a806-1b36-4153-8433-91e5fedf7543' LIMIT 1 Date : 2025-07-14T14:23:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T14:23:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007502 post PendingInvicesDO 2 MED-061007538 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007538 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a13b327-6581-436a-bb7a-dff5efa425ab' LIMIT 1 Date : 2025-07-14T14:55:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T14:55:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007503 post PendingInvicesDO 2 MED-061007540 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007540 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef016b45-7b76-4d92-b4e8-37b97afd651e' LIMIT 1 Date : 2025-07-14T17:30:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T17:30:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007504 post PendingInvicesDO 2 MED-061007541 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007541 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7fe1ef56-47f5-49b9-bc1b-a7fd6d3411b0' LIMIT 1 Date : 2025-07-14T17:59:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T17:59:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007505 post PendingInvicesDO 2 MED-061007542 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007542 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cefa33bc-6ec7-4bd6-a34f-e283ffebe0c1' LIMIT 1 Date : 2025-07-14T18:03:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T18:03:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007506 post PendingInvicesDO 2 MED-061007543 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007543 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='806b0e66-53af-483c-aaa2-50652a45f4a9' LIMIT 1 Date : 2025-07-14T18:09:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T18:09:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007507 post PendingInvicesDO 2 MED-061007544 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007544 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a805968-e14a-452f-8805-1ef4989a625d' LIMIT 1 Date : 2025-07-14T18:30:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T18:30:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007508 post PendingInvicesDO 2 MED-061007545 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007545 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e2d549c-5695-418f-9b81-5a027e70a373' LIMIT 1 Date : 2025-07-15T09:43:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T09:43:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007509 post PendingInvicesDO 2 MED-061007546 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007546 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9b6f7fe-7f1d-4490-9322-05b09018b450' LIMIT 1 Date : 2025-07-15T09:56:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T09:56:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007510 post PendingInvicesDO 2 MED-061007547 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007547 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c76ef54-8bb7-4484-bd17-8b41975c2050' LIMIT 1 Date : 2025-07-15T10:22:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T10:22:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007511 post PendingInvicesDO 2 MED-061007548 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007548 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4bc21af-1bcb-497b-83b6-4c0b40e9006b' LIMIT 1 Date : 2025-07-15T10:42:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T10:42:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007512 post PendingInvicesDO 2 MED-061007549 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007549 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d2d43c9-20f9-4af9-883f-0a6b95fe87ac' LIMIT 1 Date : 2025-07-15T10:59:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T10:59:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007513 post PendingInvicesDO 2 MED-061007550 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007550 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='30b96ab6-1caf-4c3c-8031-f58f6e1cba4e' LIMIT 1 Date : 2025-07-15T11:06:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T11:06:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007514 post PendingInvicesDO 2 MED-061007551 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007551 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='070c418b-11b0-4712-9bb5-d15edb861e5d' LIMIT 1 Date : 2025-07-15T11:36:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T11:36:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007515 post PendingInvicesDO 2 MED-061007552 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007552 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='deda2fb1-3db1-4a1a-b20d-901fff623606' LIMIT 1 Date : 2025-07-15T12:17:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T12:17:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007516 post PendingInvicesDO 2 MED-061007553 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007553 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0690e4d3-4fe1-40eb-9e63-52d0aa1a487d' LIMIT 1 Date : 2025-07-15T13:13:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T13:13:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007518 post PendingInvicesDO 2 MED-061007555 post PendingInvicesDO 2 MED-061007554 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007517 post PendingInvicesDO 2 MED-061007555 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007554 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007555 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e54feddd-ff5e-4128-ba58-c0f5a3013e66' LIMIT 1 Date : 2025-07-15T13:37:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2546535-a3b1-413f-b7e9-98ec4c3c49f2' LIMIT 1 Date : 2025-07-15T13:37:20  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e54feddd-ff5e-4128-ba58-c0f5a3013e66' LIMIT 1 Date : 2025-07-15T13:37:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2546535-a3b1-413f-b7e9-98ec4c3c49f2' LIMIT 1 Date : 2025-07-15T13:37:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-15T13:37:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007519 post PendingInvicesDO 2 MED-061007556 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007556 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c49d61ce-31e8-49df-9889-94117d8ba8af' LIMIT 1 Date : 2025-07-15T14:07:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T14:07:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007520 post PendingInvicesDO 2 MED-061007557 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007557 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='137a0ab5-b006-4938-8d91-39b6775311f3' LIMIT 1 Date : 2025-07-15T14:13:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T14:13:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007521 post PendingInvicesDO 2 MED-061007558 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007558 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='582a08bb-0eb0-4397-a92f-199a74463769' LIMIT 1 Date : 2025-07-15T15:05:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T15:05:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007522 post PendingInvicesDO 2 MED-061007443 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007443 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007443' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007443' OR OrderId='MED-061007443' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-15T15:12:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007523 post PendingInvicesDO 2 MED-061007560 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007560 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='942385b6-e58f-4fd1-8551-c0ec8d1e29f8' LIMIT 1 Date : 2025-07-15T15:41:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T15:41:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007524 post PendingInvicesDO 2 MED-061007561 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007561 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5cf3903c-2b03-4016-b40f-ec6d220cd985' LIMIT 1 Date : 2025-07-15T16:27:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T16:27:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007525 post PendingInvicesDO 2 MED-061007563 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007563 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5ea7ec3-56ed-4a11-b2fc-f627ebb8ba92' LIMIT 1 Date : 2025-07-15T17:06:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T17:06:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007526 post PendingInvicesDO 2 MED-061007564 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007564 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b1c42f9-f6c7-4e58-91c8-6f2f8cdc2915' LIMIT 1 Date : 2025-07-15T17:25:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T17:25:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007528 post PendingInvicesDO 2 MED-061007427 post PendingInvicesDO 2 MED-061007426 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007527 post PendingInvicesDO 2 MED-061007427 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007426 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007427 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007427' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007427' OR OrderId='MED-061007427' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007427' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007427' OR OrderId='MED-061007427' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-15T17:55:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007529 post PendingInvicesDO 2 MED-061007568 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007568 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='733b9433-c3f5-4252-bfae-10fcbda14a3f' LIMIT 1 Date : 2025-07-16T09:04:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T09:04:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007530 post PendingInvicesDO 2 MED-061007569 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007569 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45f55fc4-b314-46ee-88e9-598ccc49606a' LIMIT 1 Date : 2025-07-16T09:29:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T09:29:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007531 post PendingInvicesDO 2 MED-061007570 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007570 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc52229c-c4c2-496c-97db-e24dfe87082d' LIMIT 1 Date : 2025-07-16T09:56:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T09:56:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007532 post PendingInvicesDO 2 MED-061007571 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007571 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32a678fc-feb8-41d3-91c2-bc5e988976e5' LIMIT 1 Date : 2025-07-16T10:14:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T10:14:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007533 post PendingInvicesDO 2 MED-061007572 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007572 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='977bb936-8c30-4274-98e1-20751af49e7b' LIMIT 1 Date : 2025-07-16T10:40:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T10:40:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007534 post PendingInvicesDO 2 MED-061007573 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007573 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cca69b46-aa0f-46d3-a353-0f6959844a1c' LIMIT 1 Date : 2025-07-16T10:52:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T10:52:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007535 post PendingInvicesDO 2 MED-061007574 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007574 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85d73ed5-513f-4fb8-a917-0cbfa45e108f' LIMIT 1 Date : 2025-07-16T11:02:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T11:02:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007536 post PendingInvicesDO 2 MED-061007575 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007575 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c338b164-fb84-4039-8e0b-214af45bf137' LIMIT 1 Date : 2025-07-16T11:19:16   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-064007537 post PendingInvicesDO 2 MED-061007576 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007576 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c6f63c8-b25a-44a7-aafe-877a5ea245b3' LIMIT 1 Date : 2025-07-16T11:30:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T11:30:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007538 post PendingInvicesDO 2 MED-061007577 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007577 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8b70462-9dfa-4a1e-a160-df866f4a1b0f' LIMIT 1 Date : 2025-07-16T11:33:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T11:33:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007539 post PendingInvicesDO 2 MED-061007578 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007578 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58726349-42c0-42e9-8082-41b959ea72d8' LIMIT 1 Date : 2025-07-16T11:37:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T11:37:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007540 post PendingInvicesDO 2 MED-061007579 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007579 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffaa0fc1-ad3c-4d66-b2ca-f22ff999396d' LIMIT 1 Date : 2025-07-16T11:42:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T11:42:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007541 post PendingInvicesDO 2 MED-061007580 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007580 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='381d5223-cc6e-48ef-b0a7-15b70e3bbc43' LIMIT 1 Date : 2025-07-16T12:08:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T12:08:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007542 post PendingInvicesDO 2 MED-061007581 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007581 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ddd1b9c6-6cb7-4305-b329-0142e82f182f' LIMIT 1 Date : 2025-07-16T12:21:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T12:21:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007544 post PendingInvicesDO 2 MED-061007583 post PendingInvicesDO 2 MED-061007582 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007543 post PendingInvicesDO 2 MED-061007583 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007582 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007583 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6176eef1-c3b6-4d90-acea-982cf04cdda5' LIMIT 1 Date : 2025-07-16T21:30:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35ad597a-26f1-45ad-b331-ca1319131071' LIMIT 1 Date : 2025-07-16T21:30:49  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6176eef1-c3b6-4d90-acea-982cf04cdda5' LIMIT 1 Date : 2025-07-16T21:30:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35ad597a-26f1-45ad-b331-ca1319131071' LIMIT 1 Date : 2025-07-16T21:30:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-16T21:30:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007546 post PendingInvicesDO 2 MED-061007585 post PendingInvicesDO 2 MED-061007584 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007545 post PendingInvicesDO 2 MED-061007585 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007584 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007585 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ca380f8-794a-41c5-8777-4e6a9d75b869' LIMIT 1 Date : 2025-07-17T08:29:26  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e41fc75-067d-4be6-a2ce-9afea649abf1' LIMIT 1 Date : 2025-07-17T08:29:26  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ca380f8-794a-41c5-8777-4e6a9d75b869' LIMIT 1 Date : 2025-07-17T08:29:26  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e41fc75-067d-4be6-a2ce-9afea649abf1' LIMIT 1 Date : 2025-07-17T08:29:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-17T08:29:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007548 post PendingInvicesDO 2 MED-061007587 post PendingInvicesDO 2 MED-061007586 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007547 post PendingInvicesDO 2 MED-061007587 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007586 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007587 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='501b7468-c2a3-42e6-84f8-02e652aa8117' LIMIT 1 Date : 2025-07-17T10:21:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6df3d6cc-82b4-423f-901d-af6456259e60' LIMIT 1 Date : 2025-07-17T10:21:04  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='501b7468-c2a3-42e6-84f8-02e652aa8117' LIMIT 1 Date : 2025-07-17T10:21:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6df3d6cc-82b4-423f-901d-af6456259e60' LIMIT 1 Date : 2025-07-17T10:21:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-17T10:21:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007549 post PendingInvicesDO 2 MED-061007588 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007588 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ed4f0c1-17d5-46d5-8e47-f161d6105b65' LIMIT 1 Date : 2025-07-17T10:46:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T10:46:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007551 post PendingInvicesDO 2 MED-061007590 post PendingInvicesDO 2 MED-061007589 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007550 post PendingInvicesDO 2 MED-061007590 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007589 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007590 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='177115ac-23da-40c8-aba3-f28ec0f54b1f' LIMIT 1 Date : 2025-07-17T11:18:14  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8ef3977-cae5-44cb-9c06-7810420b9466' LIMIT 1 Date : 2025-07-17T11:18:14  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='177115ac-23da-40c8-aba3-f28ec0f54b1f' LIMIT 1 Date : 2025-07-17T11:18:14  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8ef3977-cae5-44cb-9c06-7810420b9466' LIMIT 1 Date : 2025-07-17T11:18:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-17T11:18:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007552 post PendingInvicesDO 2 MED-061007474 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007474 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007474' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007474' OR OrderId='MED-061007474' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-17T13:01:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007553 post PendingInvicesDO 2 MED-061007592 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007592 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7deb4ced-dd66-4f9f-b294-b0efcdd898a8' LIMIT 1 Date : 2025-07-17T14:34:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T14:34:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007554 post PendingInvicesDO 2 MED-061007593 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007593 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4004517d-9f10-4643-a4b7-a293b8cd4507' LIMIT 1 Date : 2025-07-17T15:01:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T15:01:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007555 post PendingInvicesDO 2 MED-061007594 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007594 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3af0c91f-4969-42d5-ad20-21513a138e6c' LIMIT 1 Date : 2025-07-17T15:35:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T15:35:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007556 post PendingInvicesDO 2 MED-061007595 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007595 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c97ce5c1-324b-423a-9fc3-b8db1a42f172' LIMIT 1 Date : 2025-07-17T16:22:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T16:22:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007557 post PendingInvicesDO 2 MED-061007596 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007596 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e79ca20-29a1-40e5-af91-4a79975c9179' LIMIT 1 Date : 2025-07-17T16:52:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T16:52:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007559 post PendingInvicesDO 2 MED-061007598 post PendingInvicesDO 2 MED-061007597 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007558 post PendingInvicesDO 2 MED-061007598 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007597 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007598 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d70a013-c4dd-4a2e-b656-c92fae5d21a6' LIMIT 1 Date : 2025-07-17T17:49:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21f54f8b-3e47-4b18-b168-cbd117b99aa3' LIMIT 1 Date : 2025-07-17T17:49:34  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d70a013-c4dd-4a2e-b656-c92fae5d21a6' LIMIT 1 Date : 2025-07-17T17:49:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21f54f8b-3e47-4b18-b168-cbd117b99aa3' LIMIT 1 Date : 2025-07-17T17:49:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-17T17:49:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007560 post PendingInvicesDO 2 MED-061007599 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007599 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='741158b9-a3ec-4216-a19a-e7fe4d7bf3c4' LIMIT 1 Date : 2025-07-17T18:27:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T18:27:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007561 post PendingInvicesDO 2 MED-061007600 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007600 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='821882b3-a3f2-4784-a211-99a172d083cc' LIMIT 1 Date : 2025-07-17T18:55:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T18:55:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007562 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-07-17T18:58:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007562 post PendingInvicesDO 2 MED-061007601 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007601 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='edf3effb-738a-4277-b219-daad1e2be0c6' LIMIT 1 Date : 2025-07-17T20:13:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T20:13:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007563 post PendingInvicesDO 2 MED-061007359 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007359 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007359' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007359' OR OrderId='MED-061007359' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-17T21:17:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007565 post PendingInvicesDO 2 MED-061007605 post PendingInvicesDO 2 MED-061007604 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007564 post PendingInvicesDO 2 MED-061007605 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007604 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007605 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a5bf2f2-9ec6-435b-8bfc-990e8442f144' LIMIT 1 Date : 2025-07-17T22:13:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='647a3ff2-521b-443c-8124-19a5215ba0b7' LIMIT 1 Date : 2025-07-17T22:13:17  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a5bf2f2-9ec6-435b-8bfc-990e8442f144' LIMIT 1 Date : 2025-07-17T22:13:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='647a3ff2-521b-443c-8124-19a5215ba0b7' LIMIT 1 Date : 2025-07-17T22:13:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-17T22:13:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007566 post PendingInvicesDO 2 MED-061007606 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007606 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b2acfec-e823-4243-b3fc-bbba984e1f0b' LIMIT 1 Date : 2025-07-17T23:03:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T23:03:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007567 post PendingInvicesDO 2 MED-061007482 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007482 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007482' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007482' OR OrderId='MED-061007482' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-18T18:28:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007568 post PendingInvicesDO 2 MED-061007483 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007483 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007483' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007483' OR OrderId='MED-061007483' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-18T19:06:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007569 post PendingInvicesDO 2 MED-061007609 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007609 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa39673a-6d98-469e-ad2a-16f3f63563f7' LIMIT 1 Date : 2025-07-18T19:45:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-18T19:45:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007570 post PendingInvicesDO 2 MED-061007610 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007610 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e27d054b-b8e1-499f-b4f2-613ee6e1bc4e' LIMIT 1 Date : 2025-07-18T20:11:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-18T20:11:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007571 post PendingInvicesDO 2 MED-061007611 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007611 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a79a91f4-5a68-42f1-8d8a-cfc640f90284' LIMIT 1 Date : 2025-07-18T20:36:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-18T20:36:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007572 post PendingInvicesDO 2 MED-061007612 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007612 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2dca6d60-aca5-44ae-8da5-2c7000fbfe52' LIMIT 1 Date : 2025-07-18T20:58:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-18T20:58:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007573 post PendingInvicesDO 2 MED-061007613 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007613 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99d8297a-400b-496d-aa9f-af696ea175b7' LIMIT 1 Date : 2025-07-18T22:02:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-18T22:02:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007574 post PendingInvicesDO 2 MED-061007614 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007614 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6bb7de66-3501-4714-863d-bf06e095f7fa' LIMIT 1 Date : 2025-07-19T09:33:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T09:33:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007575 post PendingInvicesDO 2 MED-061007615 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007615 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb22be36-cd6f-4f3f-83fc-9eae164d8128' LIMIT 1 Date : 2025-07-19T09:55:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T09:55:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007576 post PendingInvicesDO 2 MED-061007616 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007616 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2aa09e4-9cb3-4a5b-a770-124edfdb8bd6' LIMIT 1 Date : 2025-07-19T10:35:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T10:35:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007577 post PendingInvicesDO 2 MED-061007617 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007617 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ef11857-87fe-4916-8345-5455caa5fa77' LIMIT 1 Date : 2025-07-19T10:59:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T10:59:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007578 post PendingInvicesDO 2 MED-061007618 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007618 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38a0496c-7e32-43b2-bdc2-7b668b348c70' LIMIT 1 Date : 2025-07-19T11:36:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T11:36:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007579 post PendingInvicesDO 2 MED-061007619 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007619 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='222ca8d2-902c-47d7-9641-6e780268e9fe' LIMIT 1 Date : 2025-07-19T13:13:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T13:13:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007580 post PendingInvicesDO 2 MED-061007620 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007620 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a0b32c0e-3ae7-4489-9538-69c41c0c725f' LIMIT 1 Date : 2025-07-19T13:46:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T13:46:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007581 post PendingInvicesDO 2 MED-061007621 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007621 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='088017bf-1ac9-4ba4-9726-63132d0dfbf2' LIMIT 1 Date : 2025-07-19T15:03:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T15:03:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007582 post PendingInvicesDO 2 MED-061007622 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007622 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93bd7184-c7f6-4e7d-b5a2-70608e6dd29c' LIMIT 1 Date : 2025-07-19T15:48:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T15:48:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007583 post PendingInvicesDO 2 MED-061007623 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007623 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38cb02fc-3b1c-415f-a9c7-dffbf6be98d7' LIMIT 1 Date : 2025-07-19T16:10:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T16:10:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007584 post PendingInvicesDO 2 MED-061007624 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007624 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3308a8f-a47b-4492-9bed-8e294d34d47e' LIMIT 1 Date : 2025-07-19T16:15:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T16:15:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007585 post PendingInvicesDO 2 MED-061007625 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007625 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7abd4899-52c7-4e70-aa2d-d76a53e5b0c4' LIMIT 1 Date : 2025-07-19T16:26:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T16:26:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007586 post PendingInvicesDO 2 MED-061007626 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007626 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55053e19-2c66-4df3-a012-bfcf9e3da1eb' LIMIT 1 Date : 2025-07-19T16:56:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T16:56:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007587 post PendingInvicesDO 2 MED-061007627 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007627 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a1c1b4c-a977-4247-a057-771e57a8db8b' LIMIT 1 Date : 2025-07-19T17:09:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T17:09:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007588 post PendingInvicesDO 2 MED-061007628 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007628 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9a4a6c9-b99b-46ec-9b0c-8ad24497c255' LIMIT 1 Date : 2025-07-19T17:29:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T17:29:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007589 post PendingInvicesDO 2 MED-061007502 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007502 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007502' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007502' OR OrderId='MED-061007502' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-19T18:47:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007590 post PendingInvicesDO 2 MED-061007512 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007512 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007512' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007512' OR OrderId='MED-061007512' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-19T19:46:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007591 post PendingInvicesDO 2 MED-061007631 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007631 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5fc6a86e-0a04-404e-9dd6-0f8b2bb88844' LIMIT 1 Date : 2025-07-20T09:21:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T09:21:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007592 post PendingInvicesDO 2 MED-061007632 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007632 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52ecde71-15f0-4eac-9dd6-61c4332ebaff' LIMIT 1 Date : 2025-07-20T10:01:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T10:01:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007593 post PendingInvicesDO 2 MED-061007633 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007633 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a532738d-be65-4b59-a7c4-8c23ac32de0a' LIMIT 1 Date : 2025-07-20T10:13:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T10:13:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007594 post PendingInvicesDO 2 MED-061007634 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007634 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb28178d-0c2d-4a60-a3fb-3d42ffab9607' LIMIT 1 Date : 2025-07-20T10:25:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T10:25:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007595 post PendingInvicesDO 2 MED-061007635 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007635 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b7444e0-e557-4047-81e3-6bfbef99d172' LIMIT 1 Date : 2025-07-20T10:42:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T10:42:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007596 post PendingInvicesDO 2 MED-061007636 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007636 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88df45a8-e8e5-40f4-b8db-509dd96ac5be' LIMIT 1 Date : 2025-07-20T10:59:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T10:59:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007597 post PendingInvicesDO 2 MED-061007637 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007637 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0dd23000-deb2-496d-ac1f-7a460d206ce4' LIMIT 1 Date : 2025-07-20T11:09:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T11:09:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007598 post PendingInvicesDO 2 MED-061007638 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007638 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ce85aff-c222-4ce2-bdf7-9f0fa826967c' LIMIT 1 Date : 2025-07-20T11:35:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T11:35:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007599 post PendingInvicesDO 2 MED-061007639 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007639 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3edaf474-1d35-4ecc-a33a-2f534e93fb9e' LIMIT 1 Date : 2025-07-20T12:05:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T12:05:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007600 post PendingInvicesDO 2 MED-061007640 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007640 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c31a949-58d0-4fee-a88a-c34b5bc3b838' LIMIT 1 Date : 2025-07-20T12:25:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T12:25:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007601 post PendingInvicesDO 2 MED-061007641 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007641 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8949794-9d25-4f37-a58d-3bc12f1f69cf' LIMIT 1 Date : 2025-07-20T17:46:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T17:46:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007602 post PendingInvicesDO 2 MED-061007642 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007642 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b721602f-ff6e-4106-a925-c0216e777294' LIMIT 1 Date : 2025-07-20T18:07:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T18:07:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007603 post PendingInvicesDO 2 MED-061007643 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007643 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd31a62a-affa-471f-ad27-a2e190960008' LIMIT 1 Date : 2025-07-20T18:30:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T18:30:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007604 post PendingInvicesDO 2 MED-061007644 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007644 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fed73815-8539-48e5-a9ba-6da5362f4f3d' LIMIT 1 Date : 2025-07-20T18:56:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T18:56:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007605 post PendingInvicesDO 2 MED-061007645 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007645 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3754e1bb-1cb0-4f6d-86ed-5b13695d7254' LIMIT 1 Date : 2025-07-20T19:18:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T19:18:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007606 post PendingInvicesDO 2 MED-061007648 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007648 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b15d272d-4651-416c-b8ae-94080bcec30f' LIMIT 1 Date : 2025-07-21T09:34:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T09:34:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007607 post PendingInvicesDO 2 MED-061007649 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007649 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b574471-4d75-4702-93ed-8eca7ffd3161' LIMIT 1 Date : 2025-07-21T09:57:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T09:57:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007608 post PendingInvicesDO 2 MED-061007527 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007527 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007527' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007527' OR OrderId='MED-061007527' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-21T10:19:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007609 post PendingInvicesDO 2 MED-061007651 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007651 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a129f20a-76d1-468a-8e02-c6db9c9859d3' LIMIT 1 Date : 2025-07-21T10:46:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T10:46:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007610 post PendingInvicesDO 2 MED-061007652 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007652 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3679c690-2deb-4059-814f-36a7f059e600' LIMIT 1 Date : 2025-07-21T10:52:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T10:52:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007611 post PendingInvicesDO 2 MED-061007653 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007653 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='40f0cd79-cca6-4080-9c17-0bb07bd0a983' LIMIT 1 Date : 2025-07-21T11:11:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T11:11:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007612 post PendingInvicesDO 2 MED-061007654 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007654 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9dba0d8-7760-4fad-876f-e2b62106c66b' LIMIT 1 Date : 2025-07-21T11:28:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T11:28:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007613 post PendingInvicesDO 2 MED-061007655 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007655 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a99e54a2-f4cc-4f0b-883b-6e4254e7346c' LIMIT 1 Date : 2025-07-21T11:34:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T11:34:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007614 post PendingInvicesDO 2 MED-061007656 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007656 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='40d8275f-ad0f-4682-b236-1796fdccb0c7' LIMIT 1 Date : 2025-07-21T11:49:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T11:49:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007615 post PendingInvicesDO 2 MED-061007657 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007657 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ca6aff7-6429-41d8-ba76-7a4f2b6c4745' LIMIT 1 Date : 2025-07-21T12:10:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T12:10:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007616 post PendingInvicesDO 2 MED-061007658 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007658 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea0ba99d-8cf6-42a8-9d77-ba0563e3f417' LIMIT 1 Date : 2025-07-21T13:17:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T13:17:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007617 post PendingInvicesDO 2 MED-061007659 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007659 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20ac0d66-86b0-495a-b59e-20e690d137bc' LIMIT 1 Date : 2025-07-21T14:00:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T14:00:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007618 post PendingInvicesDO 2 MED-061007660 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007660 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1bd125e-a406-4b89-a235-5170979bd178' LIMIT 1 Date : 2025-07-21T14:06:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T14:06:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007619 post PendingInvicesDO 2 MED-061007661 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007661 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f604d85-71fb-4364-b746-a745bbe1a6c9' LIMIT 1 Date : 2025-07-21T14:09:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T14:09:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007620 post PendingInvicesDO 2 MED-061007662 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007662 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc3901c6-c767-40ba-90d8-85b2e0983561' LIMIT 1 Date : 2025-07-21T14:13:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T14:13:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007621 post PendingInvicesDO 2 MED-061007663 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007663 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4e390b2-d4b1-45dd-af68-bda110d8893f' LIMIT 1 Date : 2025-07-21T14:25:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T14:25:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007622 post PendingInvicesDO 2 MED-061007664 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007664 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a45cd19-91eb-4044-b622-6c0e69e73602' LIMIT 1 Date : 2025-07-21T18:04:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T18:04:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007623 post PendingInvicesDO 2 MED-061007665 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007665 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83fb11ae-fc20-4b44-b72f-ae211db05957' LIMIT 1 Date : 2025-07-21T18:28:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T18:28:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007624 post PendingInvicesDO 2 MED-061007535 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007535 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007535' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007535' OR OrderId='MED-061007535' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-21T18:51:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007626 post PendingInvicesDO 2 MED-061007566 post PendingInvicesDO 2 MED-061007565 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007625 post PendingInvicesDO 2 MED-061007566 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007565 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007566 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007566' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007566' OR OrderId='MED-061007566' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007566' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007566' OR OrderId='MED-061007566' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-21T19:43:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007627 post PendingInvicesDO 2 MED-061007669 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007669 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5450be6f-77cd-478c-b64b-67b8df9ba245' LIMIT 1 Date : 2025-07-21T20:11:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T20:11:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007628 post PendingInvicesDO 2 MED-061007670 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007670 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='faf17303-1588-4aae-b52d-cf6c98b0536d' LIMIT 1 Date : 2025-07-22T09:28:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T09:28:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007629 post PendingInvicesDO 2 MED-061007671 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007671 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='187830c1-1daf-4fff-86e1-0fe621bccd3d' LIMIT 1 Date : 2025-07-22T09:34:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T09:34:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007630 post PendingInvicesDO 2 MED-061007672 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007672 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45fc3cde-c5f3-4c28-a2e8-08746c89bbc9' LIMIT 1 Date : 2025-07-22T09:52:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T09:52:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007631 post PendingInvicesDO 2 MED-061007673 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007673 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d4d8cfa-e61a-4a62-bd31-4495234b9559' LIMIT 1 Date : 2025-07-22T10:09:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T10:09:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007632 post PendingInvicesDO 2 MED-061007674 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007674 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28199fed-5a71-4091-983e-2a57c37f4559' LIMIT 1 Date : 2025-07-22T10:24:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T10:24:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007633 post PendingInvicesDO 2 MED-061007675 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007675 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86113a70-e639-4ba7-bb96-62bc5887164f' LIMIT 1 Date : 2025-07-22T10:33:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T10:33:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007634 post PendingInvicesDO 2 MED-061007676 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007676 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='709eaf44-02e5-4485-aee8-8f3c54074cea' LIMIT 1 Date : 2025-07-22T10:51:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T10:51:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007635 post PendingInvicesDO 2 MED-061007677 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007677 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5db67d51-ed58-4991-bd72-bf747dc04d19' LIMIT 1 Date : 2025-07-22T11:06:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T11:06:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007636 post PendingInvicesDO 2 MED-061007678 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007678 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2bfabf58-3ecf-46f3-b0ba-42ac8bb71a7b' LIMIT 1 Date : 2025-07-22T11:13:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T11:13:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007637 post PendingInvicesDO 2 MED-061007679 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007679 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a6a45a1-4435-43d8-89f2-4b238ba55850' LIMIT 1 Date : 2025-07-22T11:26:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T11:26:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007638 post PendingInvicesDO 2 MED-061007680 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007680 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb0b527b-64f8-411e-be8e-6ce45f0fa630' LIMIT 1 Date : 2025-07-22T11:44:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T11:44:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007639 post PendingInvicesDO 2 MED-061007681 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007681 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3495e5f0-5639-419b-9b14-575b4a402584' LIMIT 1 Date : 2025-07-22T11:51:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T11:51:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007640 post PendingInvicesDO 2 MED-061007682 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007682 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1f6c570-a3e2-49d8-acca-108aa38dc582' LIMIT 1 Date : 2025-07-22T12:10:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T12:10:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007641 post PendingInvicesDO 2 MED-061007518 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007518 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007518' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007518' OR OrderId='MED-061007518' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-22T12:15:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007642 post PendingInvicesDO 2 MED-061007684 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007684 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e16d34c2-000b-47c4-90e8-caf794fc3e31' LIMIT 1 Date : 2025-07-23T09:41:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T09:41:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007643 post PendingInvicesDO 2 MED-061007685 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007685 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49dd32d0-7dc7-4311-8a69-f2b7e6b35fe9' LIMIT 1 Date : 2025-07-23T10:23:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T10:23:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007644 post PendingInvicesDO 2 MED-061007559 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007559 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007559' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007559' OR OrderId='MED-061007559' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-23T10:51:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007645 post PendingInvicesDO 2 MED-061007687 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007687 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3fdc5f8c-a0fb-4ab6-8e19-9f503bcfc42f' LIMIT 1 Date : 2025-07-23T11:35:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T11:35:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007646 post PendingInvicesDO 2 MED-061007688 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007688 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5b3844a-64ed-4149-b4f0-d134d428552d' LIMIT 1 Date : 2025-07-23T12:17:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T12:17:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007647 post PendingInvicesDO 2 MED-061007689 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007689 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='231ca57e-b565-4439-a2e3-d4341719c597' LIMIT 1 Date : 2025-07-23T13:09:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T13:09:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007648 post PendingInvicesDO 2 MED-061007690 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007690 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6b1bd81-31fb-43d0-8722-1324bf57871e' LIMIT 1 Date : 2025-07-23T13:35:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T13:35:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007649 post PendingInvicesDO 2 MED-061007691 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007691 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='404eeb5b-2828-416e-b537-c1d43de2a9b8' LIMIT 1 Date : 2025-07-23T13:50:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T13:50:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007650 post PendingInvicesDO 2 MED-061007692 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007692 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4694cda4-b152-42ae-bc49-3d0ee35fb3de' LIMIT 1 Date : 2025-07-23T14:11:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T14:11:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007651 post PendingInvicesDO 2 MED-061007693 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007693 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e4472e8-a4dd-44de-ad14-7f6d91e55e85' LIMIT 1 Date : 2025-07-23T14:28:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T14:28:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007652 post PendingInvicesDO 2 MED-061007694 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007694 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f728369-90c7-4bae-a87b-1922a70107f4' LIMIT 1 Date : 2025-07-23T14:42:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T14:43:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007653 post PendingInvicesDO 2 MED-061007695 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007695 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da16968f-d966-412c-af24-10d84b3c16bd' LIMIT 1 Date : 2025-07-23T15:52:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T15:52:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007654 post PendingInvicesDO 2 MED-061007696 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007696 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3aa13355-8982-409c-a2e0-efbbc0198b65' LIMIT 1 Date : 2025-07-23T16:56:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T16:56:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007655 post PendingInvicesDO 2 MED-061007697 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007697 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='beb2a449-d827-4764-b860-dc510f4c35ab' LIMIT 1 Date : 2025-07-23T17:16:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T17:16:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007657 post PendingInvicesDO 2 MED-061007699 post PendingInvicesDO 2 MED-061007698 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007656 post PendingInvicesDO 2 MED-061007699 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007698 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007699 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f6cf8e5-3aa2-42e0-9d12-b9a63a0d97e6' LIMIT 1 Date : 2025-07-23T17:35:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='732386de-d623-4fec-83a9-8be591106f06' LIMIT 1 Date : 2025-07-23T17:35:04  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f6cf8e5-3aa2-42e0-9d12-b9a63a0d97e6' LIMIT 1 Date : 2025-07-23T17:35:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='732386de-d623-4fec-83a9-8be591106f06' LIMIT 1 Date : 2025-07-23T17:35:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-23T17:35:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007658 post PendingInvicesDO 2 MED-061007700 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007700 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d7cabec-cb3b-416b-b0e5-f76561362d87' LIMIT 1 Date : 2025-07-23T18:06:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T18:06:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007660 post PendingInvicesDO 2 MED-061007702 post PendingInvicesDO 2 MED-061007701 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007659 post PendingInvicesDO 2 MED-061007702 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007701 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007702 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a13427e-4e94-4abc-ba77-17330fe81fb9' LIMIT 1 Date : 2025-07-23T18:13:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d9b23dd-7cb1-45b0-9050-5adcf3dc234d' LIMIT 1 Date : 2025-07-23T18:13:37  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a13427e-4e94-4abc-ba77-17330fe81fb9' LIMIT 1 Date : 2025-07-23T18:13:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d9b23dd-7cb1-45b0-9050-5adcf3dc234d' LIMIT 1 Date : 2025-07-23T18:13:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-23T18:13:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007661 post PendingInvicesDO 2 MED-061007703 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007703 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cccc9f79-9502-4758-a1c6-24e5e05bd582' LIMIT 1 Date : 2025-07-23T18:31:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T18:31:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007662 post PendingInvicesDO 2 MED-061007704 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007704 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ebb68c86-1ebb-4601-9c9b-24e663fcb19e' LIMIT 1 Date : 2025-07-23T19:10:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T19:10:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007663 post PendingInvicesDO 2 MED-061007705 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007705 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a670560-9e5a-47d5-a144-e5f00c7d3ea5' LIMIT 1 Date : 2025-07-23T19:59:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T19:59:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007664 post PendingInvicesDO 2 MED-061007706 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007706 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ac2c5f9-9aa8-4a18-abb2-bac64ad098dd' LIMIT 1 Date : 2025-07-23T20:24:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T20:24:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007665 post PendingInvicesDO 2 MED-061007707 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007707 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b60f434e-d27f-44ea-920a-4806d3e37cdb' LIMIT 1 Date : 2025-07-23T21:23:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T21:23:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007666 post PendingInvicesDO 2 MED-061007708 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007708 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c20ad92-8cdc-4ea8-bdc5-de2e5ece2239' LIMIT 1 Date : 2025-07-23T21:33:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T21:33:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007667 post PendingInvicesDO 2 MED-061007709 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007709 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85f50617-364f-4ba3-8b79-2d540813d01c' LIMIT 1 Date : 2025-07-24T08:30:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T08:30:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007668 post PendingInvicesDO 2 MED-061007710 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007710 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='076260be-0a12-45c3-9717-9521e6434ce6' LIMIT 1 Date : 2025-07-24T09:34:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T09:34:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007669 post PendingInvicesDO 2 MED-061007711 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007711 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c4617c4-beb0-45d1-9279-e4015dd5e73f' LIMIT 1 Date : 2025-07-24T10:06:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T10:06:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007670 post PendingInvicesDO 2 MED-061007591 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007591 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007591' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007591' OR OrderId='MED-061007591' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-24T10:13:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007671 post PendingInvicesDO 2 MED-061007713 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007713 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f16644f-1747-4e00-8a76-a2a97ac4b10e' LIMIT 1 Date : 2025-07-24T10:58:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T10:58:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007672 post PendingInvicesDO 2 MED-061007714 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007714 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a29adf28-1f7a-4274-bfc2-700bb77ff4d9' LIMIT 1 Date : 2025-07-24T11:39:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T11:39:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007673 post PendingInvicesDO 2 MED-061007715 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007715 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='926e5867-4937-45aa-b9c6-c06f8c2bc387' LIMIT 1 Date : 2025-07-24T12:10:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T12:10:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007674 post PendingInvicesDO 2 MED-061007716 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007716 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3a8f161-1a77-4eb4-885a-aceeb722f121' LIMIT 1 Date : 2025-07-24T12:45:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T12:45:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007675 post PendingInvicesDO 2 MED-061007717 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007717 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4271dee-294c-4a22-a363-3d33228418af' LIMIT 1 Date : 2025-07-24T14:06:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T14:06:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007676 post PendingInvicesDO 2 MED-061007718 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007718 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a36db8a6-235a-40a1-861a-a97f81c4f76b' LIMIT 1 Date : 2025-07-24T14:32:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T14:32:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007677 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-07-24T15:17:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007677 post PendingInvicesDO 2 MED-061007719 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007719 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42b2ba7b-e83f-4976-aaf6-44b6475d38ae' LIMIT 1 Date : 2025-07-24T15:22:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T15:22:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007678 post PendingInvicesDO 2 MED-061007720 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007720 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='adede6f5-77a0-4db7-90a9-f03391d875d7' LIMIT 1 Date : 2025-07-24T15:52:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T15:52:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007679 post PendingInvicesDO 2 MED-061007721 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007721 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed6644b2-b0f6-4a45-8c45-4f23a25af551' LIMIT 1 Date : 2025-07-24T16:34:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T16:34:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007681 post PendingInvicesDO 2 MED-061007603 post PendingInvicesDO 2 MED-061007602 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007680 post PendingInvicesDO 2 MED-061007603 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007602 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007603 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007603' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007603' OR OrderId='MED-061007603' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007603' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007603' OR OrderId='MED-061007603' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-24T17:25:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007682 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-07-24T18:03:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007683 post PendingInvicesDO 2 MED-061007724 post PendingInvicesDO 2 MED-061007723 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007682 post PendingInvicesDO 2 MED-061007724 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007723 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007724 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='89e2c166-0c2a-44e9-9941-7382879c87ea' LIMIT 1 Date : 2025-07-24T18:21:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4beeee94-54e2-46c5-8298-284f703499b4' LIMIT 1 Date : 2025-07-24T18:21:37  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='89e2c166-0c2a-44e9-9941-7382879c87ea' LIMIT 1 Date : 2025-07-24T18:21:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4beeee94-54e2-46c5-8298-284f703499b4' LIMIT 1 Date : 2025-07-24T18:21:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-24T18:21:37 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-064007684 post PendingInvicesDO 2 MED-061007725 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007725 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab7914c9-3925-4c1f-a879-cf2e0b20ad5f' LIMIT 1 Date : 2025-07-24T18:44:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T18:44:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007686 post PendingInvicesDO 2 MED-061007524 post PendingInvicesDO 2 MED-061007523 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007685 post PendingInvicesDO 2 MED-061007524 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007523 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007524 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007524' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007524' OR OrderId='MED-061007524' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007524' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007524' OR OrderId='MED-061007524' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-25T17:16:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007687 post PendingInvicesDO 2 MED-061007727 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007727 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8841841f-b882-4084-828f-083635862fc8' LIMIT 1 Date : 2025-07-25T18:17:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-25T18:17:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007688 post PendingInvicesDO 2 MED-061007607 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007607 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007607' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007607' OR OrderId='MED-061007607' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-25T18:27:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007689 post PendingInvicesDO 2 MED-061007729 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007729 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='54fdd46f-1c57-40fb-b1dc-947a7ae03278' LIMIT 1 Date : 2025-07-25T19:10:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-25T19:10:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007690 post PendingInvicesDO 2 MED-061007608 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007608 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007608' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007608' OR OrderId='MED-061007608' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-25T19:43:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007691 post PendingInvicesDO 2 MED-061007731 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007731 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71586c6d-1d17-4007-8877-a66d3483562b' LIMIT 1 Date : 2025-07-25T20:35:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-25T20:35:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007692 post PendingInvicesDO 2 MED-061007732 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007732 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8cdc0d7-2b79-4486-b36b-c8de1318c32d' LIMIT 1 Date : 2025-07-25T20:54:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-25T20:54:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007693 post PendingInvicesDO 2 MED-061007446 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007446 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007446' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007446' OR OrderId='MED-061007446' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-25T21:29:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007694 post PendingInvicesDO 2 MED-061007734 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007734 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3180c7b5-adc1-4f84-8149-94da6feedc85' LIMIT 1 Date : 2025-07-25T21:59:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-25T21:59:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007695 post PendingInvicesDO 2 MED-061007735 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007735 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1ee6470-740d-4e0c-bb43-de5012c7d24d' LIMIT 1 Date : 2025-07-25T22:43:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-25T22:43:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007696 post PendingInvicesDO 2 MED-061007736 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007736 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b7824e4-da57-4515-8adf-7c14a1bce29a' LIMIT 1 Date : 2025-07-26T09:38:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T09:38:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007697 post PendingInvicesDO 2 MED-061007737 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007737 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8319ec1e-1f52-4cc5-9eb7-e1d1a46a1247' LIMIT 1 Date : 2025-07-26T09:56:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T09:56:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007698 post PendingInvicesDO 2 MED-061007738 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007738 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec76d572-2d73-4fd3-b4ac-56a4a0a34875' LIMIT 1 Date : 2025-07-26T10:33:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T10:33:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007699 post PendingInvicesDO 2 MED-061007739 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007739 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4980019-3eca-46f7-b67d-516d43f96ea8' LIMIT 1 Date : 2025-07-26T10:42:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T10:42:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007700 post PendingInvicesDO 2 MED-061007740 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007740 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e92005d-6133-47b8-b891-60946366b17a' LIMIT 1 Date : 2025-07-26T11:22:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T11:22:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007701 post PendingInvicesDO 2 MED-061007741 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007741 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fcd73a62-bbad-43be-9dab-2ab0afc2b726' LIMIT 1 Date : 2025-07-26T12:40:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T12:40:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007702 post PendingInvicesDO 2 MED-061007742 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007742 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88734523-866c-4f02-a658-a5a620ef08d5' LIMIT 1 Date : 2025-07-26T13:19:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T13:19:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007703 post PendingInvicesDO 2 MED-061007743 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007743 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8dbe07a1-20d9-4129-a0ea-7b11702c3f5a' LIMIT 1 Date : 2025-07-26T14:45:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T14:45:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007704 post PendingInvicesDO 2 MED-061007494 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007494 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007494' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007494' OR OrderId='MED-061007494' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-26T15:23:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007705 post PendingInvicesDO 2 MED-061007745 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007745 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38fc1d00-1f69-4230-8d7d-712d4a6cc5d2' LIMIT 1 Date : 2025-07-26T15:55:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T15:55:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007706 post PendingInvicesDO 2 MED-061007746 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007746 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55d484db-a9df-429d-9f00-93f2943500f9' LIMIT 1 Date : 2025-07-26T16:14:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T16:14:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007707 post PendingInvicesDO 2 MED-061007747 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007747 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93b4cebd-b5dd-4218-ba18-ff36e9371fe6' LIMIT 1 Date : 2025-07-26T16:50:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T16:50:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007708 post PendingInvicesDO 2 MED-061007748 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007748 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ddf8af5b-a881-4ed3-815d-dc7e40928b60' LIMIT 1 Date : 2025-07-26T17:21:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T17:21:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007709 post PendingInvicesDO 2 MED-061007749 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007749 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8f03ed5-404c-40b0-8e9b-4dfbaded2aa7' LIMIT 1 Date : 2025-07-26T17:35:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T17:35:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007710 post PendingInvicesDO 2 MED-061007750 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007750 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b44ed2c-0745-447f-b37b-0329e81e69bf' LIMIT 1 Date : 2025-07-26T17:47:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T17:47:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007711 post PendingInvicesDO 2 MED-061007567 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007567 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007567' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007567' OR OrderId='MED-061007567' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-26T19:05:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007712 post PendingInvicesDO 2 MED-061007751 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007751 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e9aaaf9-ad8c-49bf-9611-dab3656e7d38' LIMIT 1 Date : 2025-07-26T19:07:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T19:07:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007713 post PendingInvicesDO 2 MED-061007752 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007752 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5929453f-4d81-41e8-8829-8782c61473f6' LIMIT 1 Date : 2025-07-27T09:15:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T09:15:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007714 post PendingInvicesDO 2 MED-061007753 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007753 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='972fd185-c289-4fcb-b413-528a53455b91' LIMIT 1 Date : 2025-07-27T09:54:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T09:54:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007715 post PendingInvicesDO 2 MED-061007754 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007754 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aaddc168-1317-499d-a84a-57f89a01159f' LIMIT 1 Date : 2025-07-27T09:59:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T09:59:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007716 post PendingInvicesDO 2 MED-061007755 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007755 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eaa91424-076e-4e71-b659-285a62978000' LIMIT 1 Date : 2025-07-27T10:07:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T10:07:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007717 post PendingInvicesDO 2 MED-061007756 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007756 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d42be34-278a-4022-a8f4-3961e655d3f0' LIMIT 1 Date : 2025-07-27T10:26:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T10:26:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007718 post PendingInvicesDO 2 MED-061007757 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007757 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12fff568-08a9-47ab-b1ba-6ad0529486a7' LIMIT 1 Date : 2025-07-27T10:46:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T10:46:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007719 post PendingInvicesDO 2 MED-061007629 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007629 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007629' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007629' OR OrderId='MED-061007629' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-27T11:05:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007720 post PendingInvicesDO 2 MED-061007759 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007759 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5bfadfc7-77c0-4368-bf7a-ac480c6caec7' LIMIT 1 Date : 2025-07-27T11:49:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T11:49:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007721 post PendingInvicesDO 2 MED-061007760 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007760 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23a2388b-75a1-4997-a2e4-80a3c051ebe5' LIMIT 1 Date : 2025-07-27T11:55:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T11:55:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007722 post PendingInvicesDO 2 MED-061007761 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007761 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0871f5e3-16f2-4f10-a1a4-0a8fd9cd3295' LIMIT 1 Date : 2025-07-27T12:14:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T12:14:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007723 post PendingInvicesDO 2 MED-061007762 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007762 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aff6cb15-f5ae-4a8d-badf-43b2b83f2138' LIMIT 1 Date : 2025-07-27T13:02:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T13:02:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007724 post PendingInvicesDO 2 MED-061007763 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007763 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='677c7438-5739-443e-b0b2-112712269da8' LIMIT 1 Date : 2025-07-27T17:28:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T17:28:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007725 post PendingInvicesDO 2 MED-061007764 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007764 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2de77c5-7981-4980-b1a8-b676355c18bd' LIMIT 1 Date : 2025-07-27T18:15:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T18:15:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007726 post PendingInvicesDO 2 MED-061007765 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007765 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb64daa2-db8d-4dc6-82c3-fb5e1519b175' LIMIT 1 Date : 2025-07-27T18:36:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T18:36:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007727 post PendingInvicesDO 2 MED-061007766 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007766 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b6eb879-a8c4-44a1-854e-66430a1a9890' LIMIT 1 Date : 2025-07-28T08:12:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T08:12:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007728 post PendingInvicesDO 2 MED-061007767 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007767 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00dcb4cc-1348-4614-a902-b861c66472bd' LIMIT 1 Date : 2025-07-28T08:23:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T08:23:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007729 post PendingInvicesDO 2 MED-061007768 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007768 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca411f3e-5a30-44fb-aee2-9741d3a28a80' LIMIT 1 Date : 2025-07-28T08:34:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T08:34:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007730 post PendingInvicesDO 2 MED-061007769 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007769 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1ba8c1b-5beb-4469-b1a8-e11c7a2dce9c' LIMIT 1 Date : 2025-07-28T08:37:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T08:37:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007731 post PendingInvicesDO 2 MED-061007770 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007770 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee981a6d-525a-47d7-bbf4-bc0c829a5443' LIMIT 1 Date : 2025-07-28T08:55:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T08:55:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007732 post PendingInvicesDO 2 MED-061007771 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007771 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fddfeda2-cc8a-485f-b025-b1ad19d7770d' LIMIT 1 Date : 2025-07-28T09:09:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T09:09:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007733 post PendingInvicesDO 2 MED-061007772 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007772 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccfe8016-5b94-45d7-933d-6101e7be017a' LIMIT 1 Date : 2025-07-28T09:35:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T09:35:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007734 post PendingInvicesDO 2 MED-061007773 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007773 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7dd473e-e06f-4d56-afcb-1ea59304c11e' LIMIT 1 Date : 2025-07-28T09:51:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T09:51:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007735 post PendingInvicesDO 2 MED-061007774 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007774 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68b505f1-8bab-4c0d-9552-de3ca1cbcad0' LIMIT 1 Date : 2025-07-28T10:05:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T10:05:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007736 post PendingInvicesDO 2 MED-061007775 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007775 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9da9c668-1b87-459c-8f88-a7b09975eae3' LIMIT 1 Date : 2025-07-28T10:23:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T10:23:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007737 post PendingInvicesDO 2 MED-061007776 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007776 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2df8c5b-4316-4f04-89c3-feb43028f58d' LIMIT 1 Date : 2025-07-28T10:39:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T10:39:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007738 post PendingInvicesDO 2 MED-061007777 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007777 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58ec46f2-8eec-4653-b954-03f421a4583e' LIMIT 1 Date : 2025-07-28T10:57:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T10:57:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007739 post PendingInvicesDO 2 MED-061007778 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007778 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2ddf336-12ff-4843-a125-e0a7b838a523' LIMIT 1 Date : 2025-07-28T11:24:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T11:24:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007740 post PendingInvicesDO 2 MED-061007779 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007779 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c46ac398-ceb0-484c-9730-74b86de8bf50' LIMIT 1 Date : 2025-07-28T11:45:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T11:45:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007741 post PendingInvicesDO 2 MED-061007780 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007780 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='148cb36a-42ac-4f02-91fa-2f790bea26a4' LIMIT 1 Date : 2025-07-28T12:07:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T12:07:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007742 post PendingInvicesDO 2 MED-061007781 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007781 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b5b77ad-9b5a-4f8f-9117-792401c4d437' LIMIT 1 Date : 2025-07-28T12:43:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T12:43:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007743 post PendingInvicesDO 2 MED-061007782 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007782 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db8cb0fd-4cb8-43b7-abe0-0baa3f1b10a0' LIMIT 1 Date : 2025-07-28T21:36:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T21:36:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007744 post PendingInvicesDO 2 MED-061007783 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007783 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6239a48c-066d-4266-a2a6-4e0a7b508d5a' LIMIT 1 Date : 2025-07-29T09:20:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T09:20:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007745 post PendingInvicesDO 2 MED-061007784 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007784 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='80906aa0-9892-4534-8053-55755ee4343f' LIMIT 1 Date : 2025-07-29T09:46:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T09:46:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007746 post PendingInvicesDO 2 MED-061007785 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007785 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8f4f977-b789-4751-9d14-73bab9a74c05' LIMIT 1 Date : 2025-07-29T10:52:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T10:52:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007747 post PendingInvicesDO 2 MED-061007786 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007786 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1103040-feba-438c-a4da-0e8c05728fa8' LIMIT 1 Date : 2025-07-29T11:08:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T11:08:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007748 post PendingInvicesDO 2 MED-061007787 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007787 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7cf2bb2-fe97-4988-9a34-8476452fe859' LIMIT 1 Date : 2025-07-29T11:28:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T11:28:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007749 post PendingInvicesDO 2 MED-061007788 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007788 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffd8f7b7-fb76-485a-a488-ab9f30653ff9' LIMIT 1 Date : 2025-07-29T11:49:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T11:49:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007750 post PendingInvicesDO 2 MED-061007789 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007789 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3cd2cb2-6c0b-4ad8-8074-fd0854bbacbe' LIMIT 1 Date : 2025-07-29T11:58:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T11:58:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007751 post PendingInvicesDO 2 MED-061007790 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007790 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b87c801-ac02-41fb-b684-4ca2d930bf1c' LIMIT 1 Date : 2025-07-29T13:12:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T13:12:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007752 post PendingInvicesDO 2 MED-061007791 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007791 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6d36e02-f130-48f0-a648-bded17f2ff4e' LIMIT 1 Date : 2025-07-29T13:39:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T13:39:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007754 post PendingInvicesDO 2 MED-061007793 post PendingInvicesDO 2 MED-061007792 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007753 post PendingInvicesDO 2 MED-061007793 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007792 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007793 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27a2a29e-ae79-462a-a7d7-f9897f2c1d55' LIMIT 1 Date : 2025-07-29T14:00:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f940375d-f2e0-41f9-b5e9-5f979fea1ce5' LIMIT 1 Date : 2025-07-29T14:00:39  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27a2a29e-ae79-462a-a7d7-f9897f2c1d55' LIMIT 1 Date : 2025-07-29T14:00:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f940375d-f2e0-41f9-b5e9-5f979fea1ce5' LIMIT 1 Date : 2025-07-29T14:00:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-29T14:00:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007755 post PendingInvicesDO 2 MED-061007794 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007794 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92969f88-dd7f-4bb3-be2f-39a494c9a9ef' LIMIT 1 Date : 2025-07-29T14:24:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T14:24:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007756 post PendingInvicesDO 2 MED-061007683 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007683 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007683' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007683' OR OrderId='MED-061007683' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-29T15:07:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007757 post PendingInvicesDO 2 MED-061007795 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007795 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e1ed714b-3fa5-4baf-9d21-6a000dc8da48' LIMIT 1 Date : 2025-07-29T15:10:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T15:10:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007758 post PendingInvicesDO 2 MED-061007686 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007686 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007686' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007686' OR OrderId='MED-061007686' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-29T16:48:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007759 post PendingInvicesDO 2 MED-061007796 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007796 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29723701-5a16-4c06-99f2-f5d08fe9b4fe' LIMIT 1 Date : 2025-07-29T16:52:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T16:52:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007760 post PendingInvicesDO 2 MED-061007797 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007797 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c310c07c-c8b9-48b3-a36e-96a12ceac7a1' LIMIT 1 Date : 2025-07-29T17:35:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T17:35:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007761 post PendingInvicesDO 2 MED-061007798 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007798 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91907693-c7ca-423c-8a5e-bcc5c816261b' LIMIT 1 Date : 2025-07-29T17:55:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T17:55:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007762 post PendingInvicesDO 2 MED-061007799 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007799 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca2f98d7-c2df-4989-a792-d55c852d342d' LIMIT 1 Date : 2025-07-29T18:09:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T18:09:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007763 post PendingInvicesDO 2 MED-061007800 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007800 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45f97e33-e4b0-4e84-93a7-5f924003c750' LIMIT 1 Date : 2025-07-29T18:20:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T18:20:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007765 post PendingInvicesDO 2 MED-061007668 post PendingInvicesDO 2 MED-061007667 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007764 post PendingInvicesDO 2 MED-061007668 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007667 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007668 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007668' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007668' OR OrderId='MED-061007668' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007668' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007668' OR OrderId='MED-061007668' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-29T18:39:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007766 post PendingInvicesDO 2 MED-061007802 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007802 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9154348-67a7-4659-b639-19f31848360a' LIMIT 1 Date : 2025-07-29T20:14:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T20:14:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007767 post PendingInvicesDO 2 MED-061007803 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007803 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70e43d4b-f227-442e-b8fa-bb844ac51e23' LIMIT 1 Date : 2025-07-30T09:21:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T09:21:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007768 post PendingInvicesDO 2 MED-061007650 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007650 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007650' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007650' OR OrderId='MED-061007650' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T09:22:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007769 post PendingInvicesDO 2 MED-061007804 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007804 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f20835ca-13d3-4812-b808-4836ccedf9c3' LIMIT 1 Date : 2025-07-30T10:13:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T10:13:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007770 post PendingInvicesDO 2 MED-061007805 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007805 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44e2dc30-aad4-4a8c-b057-761995085c27' LIMIT 1 Date : 2025-07-30T10:38:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T10:38:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007771 post PendingInvicesDO 2 MED-061007806 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007806 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77077f03-39ab-4093-be63-94929da6ff6b' LIMIT 1 Date : 2025-07-30T11:15:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T11:15:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007772 post PendingInvicesDO 2 MED-061007807 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007807 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9327e246-9623-4701-a4f0-ddf8008c091b' LIMIT 1 Date : 2025-07-30T11:37:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T11:37:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007773 post PendingInvicesDO 2 MED-061007808 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007808 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9518577a-4cba-4967-a812-fc6027d5dea8' LIMIT 1 Date : 2025-07-30T12:02:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T12:02:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007774 post PendingInvicesDO 2 MED-061007809 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007809 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e6b536e-ffb4-45ba-8be9-963a9d6136bc' LIMIT 1 Date : 2025-07-30T12:20:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T12:20:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007775 post PendingInvicesDO 2 MED-061007810 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007810 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9cd5900e-45b4-4196-bca3-ad39f82db4c3' LIMIT 1 Date : 2025-07-30T13:09:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T13:09:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007776 post PendingInvicesDO 2 MED-061007811 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007811 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c418593d-d04c-4f95-a82e-767edcfb54f3' LIMIT 1 Date : 2025-07-30T14:44:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T14:44:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007777 post PendingInvicesDO 2 MED-061007812 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007812 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26d5ae2b-a1d6-4e9c-b2fc-316223dc6122' LIMIT 1 Date : 2025-07-30T15:05:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T15:05:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007778 post PendingInvicesDO 2 MED-061007813 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007813 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9889add9-c2aa-44db-8bbd-ada6392a1193' LIMIT 1 Date : 2025-07-30T15:54:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T15:54:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007779 post PendingInvicesDO 2 MED-061007814 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007814 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='693e4b57-3509-4599-81ce-ab10bb7ae2e0' LIMIT 1 Date : 2025-07-30T16:30:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T16:30:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007780 post PendingInvicesDO 2 MED-061007815 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007815 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d25cde3-2edb-4b30-969a-6b95751a926f' LIMIT 1 Date : 2025-07-30T17:36:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T17:36:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007781 post PendingInvicesDO 2 MED-061007816 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007816 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79adde4c-6bd0-43f8-a45b-20ca12ff030c' LIMIT 1 Date : 2025-07-30T18:14:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T18:14:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007782 post PendingInvicesDO 2 MED-061007817 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007817 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='348aa7a3-de3f-4fd6-beab-1bc65da2efe5' LIMIT 1 Date : 2025-07-30T18:38:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T18:38:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007783 post PendingInvicesDO 2 MED-061007818 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007818 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d10bb18d-27c8-42cb-8a22-6b8b223e49eb' LIMIT 1 Date : 2025-07-30T19:06:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T19:06:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007784 post PendingInvicesDO 2 MED-061007819 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007819 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a6d9bda-19ee-4b56-a2f4-a31d02f874ba' LIMIT 1 Date : 2025-07-30T19:21:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T19:21:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007785 post PendingInvicesDO 2 MED-061007820 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007820 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0279f1a8-5f1a-4681-b958-c8dcba4ce397' LIMIT 1 Date : 2025-07-30T19:37:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T19:37:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007786 post PendingInvicesDO 2 MED-061007821 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007821 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d477b8ad-37c5-476c-8dce-409d08266f82' LIMIT 1 Date : 2025-07-30T20:35:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T20:35:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007787 post PendingInvicesDO 2 MED-061007822 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007822 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffe8a289-7cd0-4f14-b695-8fb34339efbd' LIMIT 1 Date : 2025-07-30T20:56:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T20:56:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007788 post PendingInvicesDO 2 MED-061007522 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007522 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007522' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007522' OR OrderId='MED-061007522' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T21:42:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007789 post PendingInvicesDO 2 MED-061007823 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007823 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0305a27e-08de-493e-8a2e-1eea7f8d69f9' LIMIT 1 Date : 2025-07-30T21:45:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T21:45:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007790 post PendingInvicesDO 2 MED-061007824 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007824 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c53690fd-01fc-4222-addf-bea3ded43ac4' LIMIT 1 Date : 2025-07-30T22:12:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T22:12:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007791 post PendingInvicesDO 2 MED-061007825 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007825 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1ba5cbb-7ce2-41d3-aca8-7512035ef104' LIMIT 1 Date : 2025-07-31T08:54:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T08:54:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007792 post PendingInvicesDO 2 MED-061007826 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007826 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc697b93-73e2-45e4-93fd-c4ca91fb81b5' LIMIT 1 Date : 2025-07-31T09:29:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T09:29:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007793 post PendingInvicesDO 2 MED-061007827 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007827 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='802f65e1-7bed-4e09-9d73-684e165286af' LIMIT 1 Date : 2025-07-31T09:50:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T09:50:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007794 post PendingInvicesDO 2 MED-061007712 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007712 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007712' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007712' OR OrderId='MED-061007712' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T10:04:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007795 post PendingInvicesDO 2 MED-061007829 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007829 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d7fdd2d-35ff-4136-9988-67ecf004903d' LIMIT 1 Date : 2025-07-31T10:50:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T10:50:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007796 post PendingInvicesDO 2 MED-061007830 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007830 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fddeb397-249a-4776-b66f-fa66e3c69e09' LIMIT 1 Date : 2025-07-31T11:29:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T11:29:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007797 post PendingInvicesDO 2 MED-061007831 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007831 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d309fa52-a240-4ac1-b757-bd7dce270d2c' LIMIT 1 Date : 2025-07-31T11:55:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T11:55:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007798 post PendingInvicesDO 2 MED-061007832 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007832 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc6ec494-ac59-4bdb-b3c9-4a2b7ab74506' LIMIT 1 Date : 2025-07-31T12:22:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T12:22:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007799 post PendingInvicesDO 2 MED-061007833 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007833 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a52f62b8-3b16-47e3-8c9a-61df70e10d96' LIMIT 1 Date : 2025-07-31T13:13:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T13:13:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007800 post PendingInvicesDO 2 MED-061007834 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007834 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74d1472f-cab2-4313-83df-ad03625b5f47' LIMIT 1 Date : 2025-07-31T14:13:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T14:13:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007801 post PendingInvicesDO 2 MED-061007835 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007835 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a31da5f-97de-4194-a6fd-3717e6565fdb' LIMIT 1 Date : 2025-07-31T15:06:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T15:06:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007802 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-07-31T15:12:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007802 post PendingInvicesDO 2 MED-061007562 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007562 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007562' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007562' OR OrderId='MED-061007562' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T15:40:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007803 post PendingInvicesDO 2 MED-061007836 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007836 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da2aab6b-3651-4a5b-85b4-05db975c8040' LIMIT 1 Date : 2025-07-31T16:06:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T16:06:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007804 post PendingInvicesDO 2 MED-061007837 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007837 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='782ac177-6c0e-4605-9157-c705aff75c54' LIMIT 1 Date : 2025-07-31T17:00:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T17:00:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007805 post PendingInvicesDO 2 MED-061007722 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007722 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007722' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007722' OR OrderId='MED-061007722' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T17:46:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007807 post PendingInvicesDO 2 MED-061007840 post PendingInvicesDO 2 MED-061007839 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007806 post PendingInvicesDO 2 MED-061007840 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007839 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007840 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42a332b3-c3dc-4e82-abdc-79209b6a9d39' LIMIT 1 Date : 2025-07-31T18:37:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74ac59d5-38b9-44ae-8ceb-c22574430e81' LIMIT 1 Date : 2025-07-31T18:37:23  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42a332b3-c3dc-4e82-abdc-79209b6a9d39' LIMIT 1 Date : 2025-07-31T18:37:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74ac59d5-38b9-44ae-8ceb-c22574430e81' LIMIT 1 Date : 2025-07-31T18:37:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-31T18:37:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007808 post PendingInvicesDO 2 MED-061007841 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007841 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a09beffd-1f39-465a-8f28-6eca1e162a99' LIMIT 1 Date : 2025-07-31T18:59:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T18:59:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007809 post PendingInvicesDO 2 MED-061007726 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007726 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007726' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007726' OR OrderId='MED-061007726' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-01T17:40:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007810 post PendingInvicesDO 2 MED-061007539 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007539 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007539' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007539' OR OrderId='MED-061007539' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-01T18:21:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007811 post PendingInvicesDO 2 MED-061007844 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007844 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7aae3f4-90d3-48a2-93da-d956686c6506' LIMIT 1 Date : 2025-08-01T20:15:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-01T20:15:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007812 post PendingInvicesDO 2 MED-061007845 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007845 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6aa1a18f-2fab-4076-92e6-c78335351ca9' LIMIT 1 Date : 2025-08-01T21:23:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-01T21:23:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007813 post PendingInvicesDO 2 MED-061007728 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007728 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007728' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007728' OR OrderId='MED-061007728' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-01T21:40:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007814 post PendingInvicesDO 2 MED-061007730 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007730 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007730' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007730' OR OrderId='MED-061007730' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-01T22:37:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007815 post PendingInvicesDO 2 MED-061007848 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007848 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7bf807e-cf77-417d-b12a-92469930ca1b' LIMIT 1 Date : 2025-08-01T23:07:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-01T23:07:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007816 post PendingInvicesDO 2 MED-061007849 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007849 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='140b872c-b8e9-44c6-a341-63e14d445027' LIMIT 1 Date : 2025-08-02T08:08:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T08:08:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007818 post PendingInvicesDO 2 MED-061007851 post PendingInvicesDO 2 MED-061007850 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007817 post PendingInvicesDO 2 MED-061007851 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007850 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007851 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e606d262-a4c8-49f9-b7de-85e1370b30f8' LIMIT 1 Date : 2025-08-02T08:35:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a83f2e4e-f6c3-4d56-8a05-637850704636' LIMIT 1 Date : 2025-08-02T08:35:40  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e606d262-a4c8-49f9-b7de-85e1370b30f8' LIMIT 1 Date : 2025-08-02T08:35:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a83f2e4e-f6c3-4d56-8a05-637850704636' LIMIT 1 Date : 2025-08-02T08:35:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-02T08:35:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007819 post PendingInvicesDO 2 MED-061007852 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007852 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38c11613-b8b8-4402-b0e2-5879bccb4917' LIMIT 1 Date : 2025-08-02T09:24:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T09:24:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007820 post PendingInvicesDO 2 MED-061007853 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007853 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86851747-4598-4a0b-8be8-feafcadb8f50' LIMIT 1 Date : 2025-08-02T09:49:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T09:49:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007821 post PendingInvicesDO 2 MED-061007854 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007854 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69573d30-1c5d-4c25-bc77-5b1ba981e899' LIMIT 1 Date : 2025-08-02T10:32:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T10:32:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007822 post PendingInvicesDO 2 MED-061007855 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007855 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='104763be-6f8e-4b2f-9e48-c38f6f4b2d7d' LIMIT 1 Date : 2025-08-02T11:25:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T11:25:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007823 post PendingInvicesDO 2 MED-061007856 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007856 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb86e154-5804-47ee-87aa-6de2ac5facd1' LIMIT 1 Date : 2025-08-02T12:23:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T12:23:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007824 post PendingInvicesDO 2 MED-061007857 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007857 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb4a64ab-df59-4319-9e02-68358a46a65e' LIMIT 1 Date : 2025-08-02T13:21:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T13:21:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007825 post PendingInvicesDO 2 MED-061007744 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007744 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007744' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007744' OR OrderId='MED-061007744' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-02T14:19:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007826 post PendingInvicesDO 2 MED-061007859 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007859 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='664effe7-8364-4577-a6ca-b538a5af5a12' LIMIT 1 Date : 2025-08-02T14:49:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T14:49:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007827 post PendingInvicesDO 2 MED-061007860 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007860 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ab8ef40-0998-4167-83d4-4c5d50f90d73' LIMIT 1 Date : 2025-08-02T15:17:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T15:17:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007828 post PendingInvicesDO 2 MED-061007861 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007861 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5109b185-1595-4b06-8eb8-a8aab5759c54' LIMIT 1 Date : 2025-08-02T15:28:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T15:28:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007829 post PendingInvicesDO 2 MED-061007862 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007862 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa91264f-5e85-4a8c-a8ca-70c12a59e5e7' LIMIT 1 Date : 2025-08-02T16:00:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T16:00:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007830 post PendingInvicesDO 2 MED-061007863 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007863 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc4db8d0-daf9-4c7b-9265-1343784c0ea9' LIMIT 1 Date : 2025-08-02T16:10:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T16:10:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007831 post PendingInvicesDO 2 MED-061007864 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007864 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10ac4e2e-f12f-4d0c-a83c-bdbf65e00bc1' LIMIT 1 Date : 2025-08-02T16:29:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T16:29:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007832 post PendingInvicesDO 2 MED-061007865 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007865 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75ea7feb-b92e-440c-a147-d63a7bc13e82' LIMIT 1 Date : 2025-08-02T18:01:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T18:01:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007833 post PendingInvicesDO 2 MED-061007866 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007866 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03d2316b-bfaf-45b9-ae7c-d51995e7a057' LIMIT 1 Date : 2025-08-03T08:15:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T08:15:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007834 post PendingInvicesDO 2 MED-061007867 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007867 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4ccdc15-dacd-4bbf-baa5-b44995e59f3e' LIMIT 1 Date : 2025-08-03T09:12:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T09:12:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007836 post PendingInvicesDO 2 MED-061007869 post PendingInvicesDO 2 MED-061007868 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007835 post PendingInvicesDO 2 MED-061007869 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007868 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007869 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4d53f38-722c-4d69-be46-0e07acb48012' LIMIT 1 Date : 2025-08-03T09:33:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdd5ac20-53cd-42ca-b2d6-31da7241a276' LIMIT 1 Date : 2025-08-03T09:33:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4d53f38-722c-4d69-be46-0e07acb48012' LIMIT 1 Date : 2025-08-03T09:33:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdd5ac20-53cd-42ca-b2d6-31da7241a276' LIMIT 1 Date : 2025-08-03T09:33:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-03T09:33:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007837 post PendingInvicesDO 2 MED-061007870 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007870 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4aae9d2b-de00-48a1-b4ef-5b9a25ec1e41' LIMIT 1 Date : 2025-08-03T10:11:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T10:11:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007838 post PendingInvicesDO 2 MED-061007630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007630' OR OrderId='MED-061007630' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-03T10:13:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007839 post PendingInvicesDO 2 MED-061007872 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007872 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bff00d8c-5f2d-44b4-980d-c7007ff8664f' LIMIT 1 Date : 2025-08-03T10:37:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T10:37:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007840 post PendingInvicesDO 2 MED-061007758 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007758 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007758' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007758' OR OrderId='MED-061007758' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-03T10:45:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007841 post PendingInvicesDO 2 MED-061007874 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007874 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce2d02d1-aefa-4e13-a489-1831d07589f0' LIMIT 1 Date : 2025-08-03T11:13:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T11:13:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007843 post PendingInvicesDO 2 MED-061007876 post PendingInvicesDO 2 MED-061007875 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007842 post PendingInvicesDO 2 MED-061007876 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007875 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007876 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ec9ca9a-2923-45f1-86bf-459f1767f540' LIMIT 1 Date : 2025-08-03T18:07:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='413bffc6-c8f7-4423-9f63-5a4eeb2e8853' LIMIT 1 Date : 2025-08-03T18:07:34  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ec9ca9a-2923-45f1-86bf-459f1767f540' LIMIT 1 Date : 2025-08-03T18:07:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='413bffc6-c8f7-4423-9f63-5a4eeb2e8853' LIMIT 1 Date : 2025-08-03T18:07:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-03T18:07:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007844 post PendingInvicesDO 2 MED-061007877 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007877 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9e15518-b9a3-4dc1-90b5-6d9c2243809c' LIMIT 1 Date : 2025-08-03T18:48:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T18:48:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007845 post PendingInvicesDO 2 MED-061007878 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007878 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ada4850-39b6-4482-8aa4-20ebee639acc' LIMIT 1 Date : 2025-08-04T08:19:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T08:19:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007846 post PendingInvicesDO 2 MED-061007879 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007879 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ae30257-4a30-47a4-b701-7109cf4c6c5f' LIMIT 1 Date : 2025-08-04T08:56:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T08:56:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007847 post PendingInvicesDO 2 MED-061007880 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007880 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb2c28ab-25eb-437d-baf0-71c3d476038d' LIMIT 1 Date : 2025-08-04T09:22:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T09:22:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007848 post PendingInvicesDO 2 MED-061007881 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007881 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eee52688-a163-4810-be82-7aaf896d1209' LIMIT 1 Date : 2025-08-04T09:42:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T09:42:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007850 post PendingInvicesDO 2 MED-061007883 post PendingInvicesDO 2 MED-061007882 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007849 post PendingInvicesDO 2 MED-061007883 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007882 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007883 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64ec8ded-047c-4e89-bfe8-ad9106ab2fd9' LIMIT 1 Date : 2025-08-04T10:08:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b6572cb-5cf6-4a23-afb6-417dff94e5fe' LIMIT 1 Date : 2025-08-04T10:08:04  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64ec8ded-047c-4e89-bfe8-ad9106ab2fd9' LIMIT 1 Date : 2025-08-04T10:08:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b6572cb-5cf6-4a23-afb6-417dff94e5fe' LIMIT 1 Date : 2025-08-04T10:08:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-04T10:08:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007851 post PendingInvicesDO 2 MED-061007884 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007884 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a595e00-4ea4-4c80-8682-477f50003f66' LIMIT 1 Date : 2025-08-04T10:38:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T10:38:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007852 post PendingInvicesDO 2 MED-061007885 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007885 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cff78852-7299-4ba1-9b72-a3790e8d2b36' LIMIT 1 Date : 2025-08-04T10:57:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T10:57:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007853 post PendingInvicesDO 2 MED-061007886 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007886 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d780072c-b193-4505-aa3d-bddea657319e' LIMIT 1 Date : 2025-08-04T11:28:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T11:28:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007854 post PendingInvicesDO 2 MED-061007887 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007887 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='358dc464-9df9-45ee-9653-1302e3902010' LIMIT 1 Date : 2025-08-04T11:32:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T11:32:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007855 post PendingInvicesDO 2 MED-061007888 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007888 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a92d4174-8980-4dfb-8bc0-187b4f0ea2d5' LIMIT 1 Date : 2025-08-04T11:40:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T11:40:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007856 post PendingInvicesDO 2 MED-061007889 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007889 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbe90ed2-54f0-4f66-8671-334e2845d38f' LIMIT 1 Date : 2025-08-04T12:02:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T12:02:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007857 post PendingInvicesDO 2 MED-061007890 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007890 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e63b7ad-4bff-429a-be55-992ef1e5ec1c' LIMIT 1 Date : 2025-08-04T12:13:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T12:13:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007858 post PendingInvicesDO 2 MED-061007891 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007891 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c8c25a1-21cb-4fe2-8ee6-ff631ea1619a' LIMIT 1 Date : 2025-08-04T13:13:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T13:13:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007859 post PendingInvicesDO 2 MED-061007892 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007892 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e648a63-a518-43d4-878d-de3c5f994ca3' LIMIT 1 Date : 2025-08-04T13:46:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T13:46:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007860 post PendingInvicesDO 2 MED-061007893 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007893 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1355d8db-0e8d-4840-8cb1-72224e33470b' LIMIT 1 Date : 2025-08-04T14:14:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T14:14:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007861 post PendingInvicesDO 2 MED-061007894 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007894 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29ab406f-88fc-4744-9d30-a252f955a9c6' LIMIT 1 Date : 2025-08-04T17:50:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T17:50:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007862 post PendingInvicesDO 2 MED-061007896 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007896 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5078de9-fba6-4c5c-8a92-2c964c7d1bb0' LIMIT 1 Date : 2025-08-04T20:02:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T20:02:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007863 post PendingInvicesDO 2 MED-061007801 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007801 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007801' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007801' OR OrderId='MED-061007801' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-04T21:34:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007864 post PendingInvicesDO 2 MED-061007899 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007899 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b78b398d-b6fd-4ec9-ae02-fcfa4a4f45e5' LIMIT 1 Date : 2025-08-05T08:13:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T08:13:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007865 post PendingInvicesDO 2 MED-061007900 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007900 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10cb644e-4cd4-49d4-ad02-71ef2323c91a' LIMIT 1 Date : 2025-08-05T08:36:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T08:36:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007866 post PendingInvicesDO 2 MED-061007901 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007901 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49c4369b-60fe-4cde-b362-ac709dbe1360' LIMIT 1 Date : 2025-08-05T09:20:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T09:20:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007867 post PendingInvicesDO 2 MED-061007902 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007902 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23774cfb-05e8-4670-8703-aab2c4490bd3' LIMIT 1 Date : 2025-08-05T09:38:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T09:38:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007868 post PendingInvicesDO 2 MED-061007903 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007903 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6f8cad9-0f2e-4d01-a42d-feb95d576952' LIMIT 1 Date : 2025-08-05T09:47:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T09:47:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007869 post PendingInvicesDO 2 MED-061007904 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007904 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e9a9f47-4f15-4e19-9dc6-0d861b43bfcc' LIMIT 1 Date : 2025-08-05T10:05:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T10:06:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007871 post PendingInvicesDO 2 MED-061007906 post PendingInvicesDO 2 MED-061007905 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007870 post PendingInvicesDO 2 MED-061007906 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007905 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007906 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e2a5511-81df-4a1b-b29a-3b709eab987e' LIMIT 1 Date : 2025-08-05T10:34:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f6df2c7-3f07-4ec0-874a-c447a0069a3a' LIMIT 1 Date : 2025-08-05T10:34:49  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e2a5511-81df-4a1b-b29a-3b709eab987e' LIMIT 1 Date : 2025-08-05T10:34:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f6df2c7-3f07-4ec0-874a-c447a0069a3a' LIMIT 1 Date : 2025-08-05T10:34:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-05T10:34:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007872 post PendingInvicesDO 2 MED-061007909 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007909 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb54ffd5-e7b5-4834-8f81-f3427d98cfa6' LIMIT 1 Date : 2025-08-05T11:43:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T11:43:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007873 post PendingInvicesDO 2 MED-061007910 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007910 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ebd6bd7b-b56a-4372-a954-3dade8ea4ea2' LIMIT 1 Date : 2025-08-05T13:17:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T13:17:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007875 post PendingInvicesDO 2 MED-061007912 post PendingInvicesDO 2 MED-061007911 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007874 post PendingInvicesDO 2 MED-061007912 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007911 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007912 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21b46256-2021-4e46-8293-8ad10fc565c4' LIMIT 1 Date : 2025-08-05T13:45:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d8b23f3-1382-4954-81ef-952071e4e393' LIMIT 1 Date : 2025-08-05T13:45:05  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21b46256-2021-4e46-8293-8ad10fc565c4' LIMIT 1 Date : 2025-08-05T13:45:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d8b23f3-1382-4954-81ef-952071e4e393' LIMIT 1 Date : 2025-08-05T13:45:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-05T13:45:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007876 post PendingInvicesDO 2 MED-061007913 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007913 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab8faf7a-47ec-49ed-a98d-bf6d7df89480' LIMIT 1 Date : 2025-08-05T14:15:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T14:15:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007877 post PendingInvicesDO 2 MED-061007918 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007918 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='280fdaac-4435-4c09-b6a8-04ae8987acee' LIMIT 1 Date : 2025-08-05T18:10:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T18:10:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007878 post PendingInvicesDO 2 MED-061007919 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007919 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='199994b5-2683-4a4b-93d6-87ba7df7cf97' LIMIT 1 Date : 2025-08-05T18:32:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T18:32:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007879 post PendingInvicesDO 2 MED-061007920 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007920 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9aac3cf3-5801-4221-bf59-3021d8d1aa01' LIMIT 1 Date : 2025-08-05T19:02:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T19:02:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007880 post PendingInvicesDO 2 MED-061007733 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007733 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007733' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007733' OR OrderId='MED-061007733' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-05T19:31:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007881 post PendingInvicesDO 2 MED-061007923 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007923 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b99f2606-7056-4031-a191-326688786580' LIMIT 1 Date : 2025-08-06T08:19:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T08:19:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007882 post PendingInvicesDO 2 MED-061007842 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007842 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007842' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007842' OR OrderId='MED-061007842' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-06T08:42:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007883 post PendingInvicesDO 2 MED-061007847 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007847 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007847' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007847' OR OrderId='MED-061007847' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-06T09:52:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007884 post PendingInvicesDO 2 MED-061007926 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007926 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c96cc50f-256d-4161-8948-9a86b9ba7283' LIMIT 1 Date : 2025-08-06T11:29:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T11:29:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007885 post PendingInvicesDO 2 MED-061007928 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007928 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51425598-b5cd-466b-b0c5-efb43fdfeb02' LIMIT 1 Date : 2025-08-06T12:14:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T12:14:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007886 post PendingInvicesDO 2 MED-061007929 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007929 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57500ff9-e1e8-430f-a4ab-271caabe6132' LIMIT 1 Date : 2025-08-06T12:26:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T12:26:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007887 post PendingInvicesDO 2 MED-061007930 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007930 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01ca9ff4-74bc-4850-a7f9-54c3096dd728' LIMIT 1 Date : 2025-08-06T13:02:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T13:02:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007888 post PendingInvicesDO 2 MED-061007931 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007931 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68edfef3-1060-4e01-9111-31845244b5a2' LIMIT 1 Date : 2025-08-06T13:30:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T13:30:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007890 post PendingInvicesDO 2 MED-061007933 post PendingInvicesDO 2 MED-061007932 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007889 post PendingInvicesDO 2 MED-061007933 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007932 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007933 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fdc105ed-63b4-49e6-89f8-46b5fda02afe' LIMIT 1 Date : 2025-08-06T13:49:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d975f5e4-3589-4be4-bd10-a639c9aca465' LIMIT 1 Date : 2025-08-06T13:49:09  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fdc105ed-63b4-49e6-89f8-46b5fda02afe' LIMIT 1 Date : 2025-08-06T13:49:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d975f5e4-3589-4be4-bd10-a639c9aca465' LIMIT 1 Date : 2025-08-06T13:49:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-06T13:49:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007891 post PendingInvicesDO 2 MED-061007934 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007934 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f8fe2e1-2c4e-44e6-aaa8-a3df1c8e6e13' LIMIT 1 Date : 2025-08-06T14:55:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T14:55:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007892 post PendingInvicesDO 2 MED-061007935 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007935 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='657875a2-e457-4464-9092-d1d8170214ed' LIMIT 1 Date : 2025-08-06T15:45:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T15:45:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007893 post PendingInvicesDO 2 MED-061007936 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007936 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9cbc56b2-c42a-473e-b88d-5a10bf02878f' LIMIT 1 Date : 2025-08-06T16:17:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T16:17:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007894 post PendingInvicesDO 2 MED-061007937 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007937 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3d0fa4e-7eaa-4aa4-aab3-85e8c6cdacdd' LIMIT 1 Date : 2025-08-06T16:31:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T16:31:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007895 post PendingInvicesDO 2 MED-061007938 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007938 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1911d842-5d38-4e4b-a5ee-b778a8a19140' LIMIT 1 Date : 2025-08-06T17:56:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T17:56:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007896 post PendingInvicesDO 2 MED-061007939 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007939 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96f0cdf6-cc15-4dae-93c1-6cca35fa358a' LIMIT 1 Date : 2025-08-06T18:03:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T18:03:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007897 post PendingInvicesDO 2 MED-061007940 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007940 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45cc139c-b9d4-4a65-819f-13511de70d78' LIMIT 1 Date : 2025-08-06T18:19:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T18:19:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007898 post PendingInvicesDO 2 MED-061007941 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007941 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8149d0a8-12a3-44fc-a927-2b6d1997086a' LIMIT 1 Date : 2025-08-06T19:02:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T19:02:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007899 post PendingInvicesDO 2 MED-061007942 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007942 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4f0c8ef-1141-41f1-a307-6d1792431b22' LIMIT 1 Date : 2025-08-06T20:18:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T20:18:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007900 post PendingInvicesDO 2 MED-061007944 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007944 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed72f045-097d-47cf-97c3-d3f5ad35d237' LIMIT 1 Date : 2025-08-06T21:32:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T21:32:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007901 post PendingInvicesDO 2 MED-061007945 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007945 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2b70881-6886-45c7-85d2-8e0d5c8e93db' LIMIT 1 Date : 2025-08-07T08:16:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T08:16:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007902 post PendingInvicesDO 2 MED-061007946 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007946 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fcd86fe1-2125-4274-ac78-e1d4f7474d46' LIMIT 1 Date : 2025-08-07T09:24:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T09:24:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007903 post PendingInvicesDO 2 MED-061007947 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007947 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe060fa9-7888-41ab-af22-613ff7182821' LIMIT 1 Date : 2025-08-07T09:47:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T09:47:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007904 post PendingInvicesDO 2 MED-061007828 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007828 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007828' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007828' OR OrderId='MED-061007828' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-07T10:06:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007905 post PendingInvicesDO 2 MED-061007949 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007949 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36c0a7a3-188f-4cf2-97e4-34a64f763482' LIMIT 1 Date : 2025-08-07T10:57:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T10:57:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007906 post PendingInvicesDO 2 MED-061007950 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007950 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='630f4b80-22c0-4df8-beb9-d0d7efbdf494' LIMIT 1 Date : 2025-08-07T12:00:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T12:00:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007907 post PendingInvicesDO 2 MED-061007951 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007951 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='862c9dc2-9fc6-4ade-9a94-24c8ce5e478b' LIMIT 1 Date : 2025-08-07T12:24:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T12:24:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007908 post PendingInvicesDO 2 MED-061007952 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007952 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8e744c2-cce4-428e-aecf-b79bcf9615d7' LIMIT 1 Date : 2025-08-07T12:43:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T12:43:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007909 post PendingInvicesDO 2 MED-061007953 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007953 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82d8ab9f-fc8c-4fd4-88d9-2f765d507e57' LIMIT 1 Date : 2025-08-07T13:51:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T13:51:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007910 post PendingInvicesDO 2 MED-061007954 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007954 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ffd6e46-bb6b-473a-91bd-cb5d083733bc' LIMIT 1 Date : 2025-08-07T14:25:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T14:25:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007911 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-08-07T14:36:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007911 post PendingInvicesDO 2 MED-061007955 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007955 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86cb7a0a-ca1d-4ec5-8ad4-f1fa0ec9e538' LIMIT 1 Date : 2025-08-07T14:43:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T14:43:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007912 post PendingInvicesDO 2 MED-061007956 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007956 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d312c40-d2c4-4b03-b1ea-fd927c242f77' LIMIT 1 Date : 2025-08-07T16:49:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T16:49:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007913 post PendingInvicesDO 2 MED-061007957 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007957 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='80129874-6085-4e63-9986-ac585b34526a' LIMIT 1 Date : 2025-08-07T19:05:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T19:05:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007914 post PendingInvicesDO 2 MED-061007958 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007958 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21749407-b58d-4065-a7fa-adf066468eb1' LIMIT 1 Date : 2025-08-07T20:09:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T20:09:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007916 post PendingInvicesDO 2 MED-061007960 post PendingInvicesDO 2 MED-061007959 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007915 post PendingInvicesDO 2 MED-061007960 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007959 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007960 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9f8741f-60f6-49bf-a178-a38885d5611d' LIMIT 1 Date : 2025-08-08T17:48:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6772018b-68f2-4cf4-9303-99e0b9fec81b' LIMIT 1 Date : 2025-08-08T17:48:32  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9f8741f-60f6-49bf-a178-a38885d5611d' LIMIT 1 Date : 2025-08-08T17:48:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6772018b-68f2-4cf4-9303-99e0b9fec81b' LIMIT 1 Date : 2025-08-08T17:48:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-08T17:48:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007917 post PendingInvicesDO 2 MED-061007843 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007843 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007843' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007843' OR OrderId='MED-061007843' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-08T18:27:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007918 post PendingInvicesDO 2 MED-061007963 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007963 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84c30e54-e648-444c-9e86-da604bb7b9c0' LIMIT 1 Date : 2025-08-08T19:15:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-08T19:15:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007919 post PendingInvicesDO 2 MED-061007964 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007964 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47b14f5a-0653-43d4-b90d-13d8969d3257' LIMIT 1 Date : 2025-08-08T20:20:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-08T20:20:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007920 post PendingInvicesDO 2 MED-061007965 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007965 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='048171fc-16b2-4159-96a2-74f4a54fd38a' LIMIT 1 Date : 2025-08-08T21:00:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-08T21:00:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007921 post PendingInvicesDO 2 MED-061007846 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007846 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007846' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007846' OR OrderId='MED-061007846' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-08T21:17:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007922 post PendingInvicesDO 2 MED-061007967 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007967 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba3db822-3fe8-49b7-bb08-170d66e80d69' LIMIT 1 Date : 2025-08-08T22:01:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-08T22:01:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007923 post PendingInvicesDO 2 MED-061007968 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007968 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1deeee4-d659-4220-b334-e7e626a10f95' LIMIT 1 Date : 2025-08-09T08:20:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T08:20:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007924 post PendingInvicesDO 2 MED-061007969 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007969 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be43945c-18f9-478d-81e4-5ca54f74bcfc' LIMIT 1 Date : 2025-08-09T08:34:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T08:34:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007925 post PendingInvicesDO 2 MED-061007970 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007970 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b6b5fd9-1dcd-4cdc-948c-ebb6c86f27a0' LIMIT 1 Date : 2025-08-09T09:05:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T09:05:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007926 post PendingInvicesDO 2 MED-061007971 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007971 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bebf4a82-0f76-4db1-9f10-a9cf0f451b08' LIMIT 1 Date : 2025-08-09T10:07:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T10:07:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007927 post PendingInvicesDO 2 MED-061007972 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007972 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6edea701-9a1c-44d8-972c-8de13208d16a' LIMIT 1 Date : 2025-08-09T10:27:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T10:27:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007928 post PendingInvicesDO 2 MED-061007973 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007973 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fe6c43c-4d85-4fdb-a321-2ef1a0d5c6e8' LIMIT 1 Date : 2025-08-09T10:57:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T10:57:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007929 post PendingInvicesDO 2 MED-061007974 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007974 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb421f03-83c6-4801-b477-2355c7bf34f9' LIMIT 1 Date : 2025-08-09T11:12:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T11:12:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007930 post PendingInvicesDO 2 MED-061007975 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007975 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9266689a-6b58-4581-8568-f360d3ec2610' LIMIT 1 Date : 2025-08-09T11:29:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T11:29:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007931 post PendingInvicesDO 2 MED-061007976 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007976 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c11ed10-ea97-405e-8e9d-fa3b7e3c8099' LIMIT 1 Date : 2025-08-09T11:48:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T11:48:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007932 post PendingInvicesDO 2 MED-061007977 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007977 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8cc51ea0-4d41-40ef-bdff-4b9d1b0847ff' LIMIT 1 Date : 2025-08-09T12:00:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T12:00:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007933 post PendingInvicesDO 2 MED-061007978 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007978 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6768aa78-603e-4b4e-8e10-11c51688964e' LIMIT 1 Date : 2025-08-09T12:10:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T12:10:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007934 post PendingInvicesDO 2 MED-061007979 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007979 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='362397ed-7abe-4a73-be51-f195be57e1fe' LIMIT 1 Date : 2025-08-09T12:25:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T12:25:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007935 post PendingInvicesDO 2 MED-061007980 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007980 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6aad81f6-7fc3-4569-b7d4-c198bbaa6577' LIMIT 1 Date : 2025-08-09T12:31:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T12:31:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007936 post PendingInvicesDO 2 MED-061007981 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007981 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='54336834-48ce-4d08-9ea9-ced7d86a2149' LIMIT 1 Date : 2025-08-09T20:54:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T20:54:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007937 post PendingInvicesDO 2 MED-061007982 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007982 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13060a7c-acd4-4300-a37e-afc0b1195582' LIMIT 1 Date : 2025-08-09T21:39:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T21:39:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007938 post PendingInvicesDO 2 MED-061007983 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007983 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0dd3dbe-1205-42fe-bb91-b9035c7d9ca4' LIMIT 1 Date : 2025-08-10T08:28:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T08:28:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007939 post PendingInvicesDO 2 MED-061007984 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007984 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7045fed6-29ba-4f25-8de2-66209f36bf07' LIMIT 1 Date : 2025-08-10T09:09:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T09:09:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007940 post PendingInvicesDO 2 MED-061007985 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007985 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0e6cbe3-3d1c-48d1-9f77-ac8a21b909e0' LIMIT 1 Date : 2025-08-10T09:27:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T09:27:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007941 post PendingInvicesDO 2 MED-061007986 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007986 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa347c52-61a2-45f0-a91a-d22b87ac2968' LIMIT 1 Date : 2025-08-10T10:21:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T10:21:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007942 post PendingInvicesDO 2 MED-061007873 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007873 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007873' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007873' OR OrderId='MED-061007873' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T10:52:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007943 post PendingInvicesDO 2 MED-061007989 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007989 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9712b6d6-7974-4246-a3cd-e03dc757cfc6' LIMIT 1 Date : 2025-08-10T11:29:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T11:29:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007944 post PendingInvicesDO 2 MED-061007990 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007990 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6ccaec3-12c9-4d62-bac8-c69e76092212' LIMIT 1 Date : 2025-08-10T11:58:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T11:58:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007945 post PendingInvicesDO 2 MED-061007991 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007991 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92766f1c-3441-4a6f-9d6a-429866c60dad' LIMIT 1 Date : 2025-08-10T13:15:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T13:15:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007946 post PendingInvicesDO 2 MED-061007992 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007992 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='449c9fc0-b66c-47f3-827b-b00b710477ef' LIMIT 1 Date : 2025-08-10T13:22:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T13:22:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007947 post PendingInvicesDO 2 MED-061007995 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007995 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ff60b73-93bd-4a53-8993-3eddca80bafb' LIMIT 1 Date : 2025-08-10T19:00:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T19:00:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007948 post PendingInvicesDO 2 MED-061007914 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007914 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007914' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007914' OR OrderId='MED-061007914' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T19:34:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007949 post PendingInvicesDO 2 MED-061007997 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007997 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8525132b-3014-4087-a1b7-597022d25007' LIMIT 1 Date : 2025-08-11T08:39:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T08:39:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007950 post PendingInvicesDO 2 MED-061007998 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007998 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22f691ff-c3af-4ac5-928e-f1c77f724a6b' LIMIT 1 Date : 2025-08-11T09:01:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T09:01:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007951 post PendingInvicesDO 2 MED-061007999 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007999 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a02561b-2c7d-4cb1-9dbb-2a5c7fd43b4d' LIMIT 1 Date : 2025-08-11T09:40:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T09:40:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007952 post PendingInvicesDO 2 MED-061008000 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008000 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c98b4092-6a78-4eb1-a796-3b4e095d4eb1' LIMIT 1 Date : 2025-08-11T10:06:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T10:06:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007953 post PendingInvicesDO 2 MED-061008001 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008001 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='76db2b7f-a9d4-4ec2-bc53-dcf8b89b27ca' LIMIT 1 Date : 2025-08-11T10:38:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T10:38:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007954 post PendingInvicesDO 2 MED-061008002 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008002 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c2ccae7-73a4-4cbc-94aa-6a711fb59b21' LIMIT 1 Date : 2025-08-11T10:55:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T10:55:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007955 post PendingInvicesDO 2 MED-061008003 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008003 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8b46287-a132-4227-b82c-9c41b13508ef' LIMIT 1 Date : 2025-08-11T11:26:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T11:26:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007956 post PendingInvicesDO 2 MED-061008004 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008004 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5950b091-eb9b-4042-855e-05b58f6f9e23' LIMIT 1 Date : 2025-08-11T11:47:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T11:47:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007957 post PendingInvicesDO 2 MED-061008005 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008005 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1fd8fad-66c2-437f-9544-694b9daa0e4d' LIMIT 1 Date : 2025-08-11T12:10:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T12:10:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007959 post PendingInvicesDO 2 MED-061008007 post PendingInvicesDO 2 MED-061008006 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007958 post PendingInvicesDO 2 MED-061008007 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008006 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008007 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='621f7e14-6179-462e-b389-992eb3d22df0' LIMIT 1 Date : 2025-08-11T13:02:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0c1ff7f-bdff-4529-b555-3d56ba5ccd99' LIMIT 1 Date : 2025-08-11T13:02:22  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='621f7e14-6179-462e-b389-992eb3d22df0' LIMIT 1 Date : 2025-08-11T13:02:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0c1ff7f-bdff-4529-b555-3d56ba5ccd99' LIMIT 1 Date : 2025-08-11T13:02:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-11T13:02:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007960 post PendingInvicesDO 2 MED-061008008 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008008 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38c779f7-a394-4630-a04d-f0d6bcf28621' LIMIT 1 Date : 2025-08-11T13:18:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T13:18:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007961 post PendingInvicesDO 2 MED-061008009 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008009 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fedb7fe1-bd46-41bd-ae46-876523ad7a13' LIMIT 1 Date : 2025-08-11T13:48:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T13:48:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007962 post PendingInvicesDO 2 MED-061007666 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007666 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007666' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007666' OR OrderId='MED-061007666' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-11T13:49:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007963 post PendingInvicesDO 2 MED-061008010 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008010 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75eb5eeb-7500-42f3-9033-b1d823b2c29b' LIMIT 1 Date : 2025-08-11T14:12:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T14:12:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007964 post PendingInvicesDO 2 MED-061008011 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008011 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='425583cf-8031-46e9-9967-86d4400f80b8' LIMIT 1 Date : 2025-08-11T15:09:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T15:09:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007965 post PendingInvicesDO 2 MED-061008012 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008012 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='712dde02-385b-4de8-8690-9e706972c43b' LIMIT 1 Date : 2025-08-11T15:29:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T15:29:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007966 post PendingInvicesDO 2 MED-061007924 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007924 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007924' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007924' OR OrderId='MED-061007924' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-11T16:23:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007967 post PendingInvicesDO 2 MED-061008014 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008014 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='402c4680-145c-4e90-aa6b-79af1154ef44' LIMIT 1 Date : 2025-08-11T17:17:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T17:17:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007968 post PendingInvicesDO 2 MED-061008015 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008015 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa51c126-e2da-4258-bb55-dd5cd3c0ae2a' LIMIT 1 Date : 2025-08-11T17:40:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T17:40:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007969 post PendingInvicesDO 2 MED-061008016 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008016 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='abce2722-9131-426f-b72c-4856f4532a41' LIMIT 1 Date : 2025-08-11T17:45:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T17:45:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007971 post PendingInvicesDO 2 MED-061008018 post PendingInvicesDO 2 MED-061008017 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007970 post PendingInvicesDO 2 MED-061008018 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008017 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008018 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0695c62-9ba7-4ced-86c8-32395ce05171' LIMIT 1 Date : 2025-08-11T18:13:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a864efd-96df-46eb-ae44-6d590f7a3ef9' LIMIT 1 Date : 2025-08-11T18:13:41  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0695c62-9ba7-4ced-86c8-32395ce05171' LIMIT 1 Date : 2025-08-11T18:13:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a864efd-96df-46eb-ae44-6d590f7a3ef9' LIMIT 1 Date : 2025-08-11T18:13:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-11T18:13:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007972 post PendingInvicesDO 2 MED-061007925 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007925 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007925' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007925' OR OrderId='MED-061007925' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-11T19:54:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007973 post PendingInvicesDO 2 MED-061008020 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008020 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='443a5515-3024-4e98-91b3-10aea2aa29ee' LIMIT 1 Date : 2025-08-11T20:35:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T20:35:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007974 post PendingInvicesDO 2 MED-061008021 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008021 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a305ad36-a3bd-44cb-8568-6987c4c6f112' LIMIT 1 Date : 2025-08-12T08:22:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T08:22:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007975 post PendingInvicesDO 2 MED-061008022 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008022 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a89231a5-d6e3-472a-9b3f-66276e2798f3' LIMIT 1 Date : 2025-08-12T08:55:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T08:55:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007976 post PendingInvicesDO 2 MED-061008023 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008023 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9984506-d248-4c9b-ad0f-d7193be36d55' LIMIT 1 Date : 2025-08-12T09:26:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T09:26:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007977 post PendingInvicesDO 2 MED-061008024 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008024 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c066af96-80e0-4421-acec-baa5c5ec3549' LIMIT 1 Date : 2025-08-12T10:16:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T10:16:30 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-064007978 post PendingInvicesDO 2 MED-061008025 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008025 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10e5f5bf-85a0-4a02-8433-956a40832fea' LIMIT 1 Date : 2025-08-12T10:46:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T10:46:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007979 post PendingInvicesDO 2 MED-061008026 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008026 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60f42baf-99ce-4707-9ebc-0b9699312952' LIMIT 1 Date : 2025-08-12T10:51:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T10:51:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007980 post PendingInvicesDO 2 MED-061008027 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008027 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6dedbda0-d865-4ad6-8706-e0f170e6a82e' LIMIT 1 Date : 2025-08-12T11:33:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T11:33:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007981 post PendingInvicesDO 2 MED-061008028 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008028 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef97b053-cdd9-4365-9190-04a8fc6d68f9' LIMIT 1 Date : 2025-08-12T11:53:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T11:53:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007982 post PendingInvicesDO 2 MED-061008029 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008029 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='caa9a882-cc4d-406f-bc85-cf2b22336e44' LIMIT 1 Date : 2025-08-12T11:57:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T11:57:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007983 post PendingInvicesDO 2 MED-061008030 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008030 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e60f376e-7075-43cb-8736-3a39560ffd16' LIMIT 1 Date : 2025-08-12T12:17:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T12:17:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007984 post PendingInvicesDO 2 MED-061008031 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008031 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b5c0fc7-fda1-429e-8ae4-1514bf5dfb7f' LIMIT 1 Date : 2025-08-12T13:06:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T13:06:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007985 post PendingInvicesDO 2 MED-061008032 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008032 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d0ef228-84bc-42f9-944c-9b1639b61778' LIMIT 1 Date : 2025-08-12T13:35:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T13:35:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007986 post PendingInvicesDO 2 MED-061008033 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008033 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f10d04d8-1acb-422f-8159-f860acef2db7' LIMIT 1 Date : 2025-08-12T13:41:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T13:41:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007987 post PendingInvicesDO 2 MED-061007917 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007917 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007917' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007917' OR OrderId='MED-061007917' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-12T14:52:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007988 post PendingInvicesDO 2 MED-061008036 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008036 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72d9a191-da51-4e41-9c8c-44999e32ee30' LIMIT 1 Date : 2025-08-12T15:46:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T15:46:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007989 post PendingInvicesDO 2 MED-061008037 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008037 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='929b3d5b-ee8b-453c-b7b0-0fe55072981d' LIMIT 1 Date : 2025-08-12T16:42:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T16:42:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007990 post PendingInvicesDO 2 MED-061008038 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008038 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24b2104e-b6cb-4d52-9928-81be37955316' LIMIT 1 Date : 2025-08-12T16:55:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T16:55:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007991 post PendingInvicesDO 2 MED-061008039 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008039 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0797feb6-8156-4873-aa0c-40056ed3243b' LIMIT 1 Date : 2025-08-12T17:05:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T17:05:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007993 post PendingInvicesDO 2 MED-061007898 post PendingInvicesDO 2 MED-061007897 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064007992 post PendingInvicesDO 2 MED-061007898 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007897 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007898 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007898' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007898' OR OrderId='MED-061007898' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007898' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007898' OR OrderId='MED-061007898' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-12T17:27:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007994 post PendingInvicesDO 2 MED-061007908 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007908 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007908' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007908' OR OrderId='MED-061007908' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-12T18:13:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007995 post PendingInvicesDO 2 MED-061008042 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008042 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df707841-f500-4c46-83ed-bd61c57e6e13' LIMIT 1 Date : 2025-08-13T08:18:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T08:18:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007996 post PendingInvicesDO 2 MED-061008043 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008043 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d3b6074-cabf-4179-ac49-f970703fdba4' LIMIT 1 Date : 2025-08-13T08:59:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T08:59:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007997 post PendingInvicesDO 2 MED-061008044 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008044 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29160ddb-b7ba-412c-b2c9-6083b13ef2bd' LIMIT 1 Date : 2025-08-13T09:49:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T09:49:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007998 post PendingInvicesDO 2 MED-061007927 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007927 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007927' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007927' OR OrderId='MED-061007927' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-13T10:17:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064007999 post PendingInvicesDO 2 MED-061008046 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008046 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f2cbd06-ec8d-4310-9a01-80756efbc27e' LIMIT 1 Date : 2025-08-13T11:02:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T11:02:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008000 post PendingInvicesDO 2 MED-061008047 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008047 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e2a9332-7203-4033-ba93-d38b226b1b6b' LIMIT 1 Date : 2025-08-13T11:15:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T11:15:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008001 post PendingInvicesDO 2 MED-061008048 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008048 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00599cb8-1664-47fd-8517-29d6e6899a6f' LIMIT 1 Date : 2025-08-13T11:39:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T11:39:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008002 post PendingInvicesDO 2 MED-061008049 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008049 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='071af11e-f525-4568-85f0-0b99b0d6b3b3' LIMIT 1 Date : 2025-08-13T11:56:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T11:56:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008003 post PendingInvicesDO 2 MED-061008050 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008050 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c16c959c-b920-4991-9c96-fcba484f4e8c' LIMIT 1 Date : 2025-08-13T12:17:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T12:17:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008004 post PendingInvicesDO 2 MED-061008051 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008051 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13cc97b7-5cec-450a-b713-309c7321f0fb' LIMIT 1 Date : 2025-08-13T13:21:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T13:21:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008005 post PendingInvicesDO 2 MED-061008052 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008052 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23c5a843-a10d-4d25-87b3-dda458b11f61' LIMIT 1 Date : 2025-08-13T13:57:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T13:57:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008006 post PendingInvicesDO 2 MED-061008053 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008053 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85f1ec85-5de2-4665-9921-a3a5792631b7' LIMIT 1 Date : 2025-08-13T14:38:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T14:38:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008007 post PendingInvicesDO 2 MED-061008054 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008054 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='05eae24a-4893-4bd5-b81d-a753bebeff14' LIMIT 1 Date : 2025-08-13T15:44:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T15:44:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008009 post PendingInvicesDO 2 MED-061008056 post PendingInvicesDO 2 MED-061008055 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008008 post PendingInvicesDO 2 MED-061008056 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008055 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008056 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a969a4b-8906-46c5-9455-fb4c2e191b91' LIMIT 1 Date : 2025-08-13T16:08:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f79ed117-7501-4f37-bd28-0074da284778' LIMIT 1 Date : 2025-08-13T16:08:07  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a969a4b-8906-46c5-9455-fb4c2e191b91' LIMIT 1 Date : 2025-08-13T16:08:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f79ed117-7501-4f37-bd28-0074da284778' LIMIT 1 Date : 2025-08-13T16:08:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-13T16:08:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008010 post PendingInvicesDO 2 MED-061008057 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008057 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3d3fbb8-a0b4-4f0d-a6a6-7b72f622a7fb' LIMIT 1 Date : 2025-08-13T16:32:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T16:32:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008011 post PendingInvicesDO 2 MED-061008058 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008058 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd4415a8-d51c-4b2b-8559-96a5f6319f29' LIMIT 1 Date : 2025-08-13T17:09:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T17:09:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008012 post PendingInvicesDO 2 MED-061008059 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008059 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8dbbe60-0fdc-48aa-8028-32cbf47c0456' LIMIT 1 Date : 2025-08-13T17:36:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T17:36:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008013 post PendingInvicesDO 2 MED-061008060 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008060 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='600567ff-1765-40ae-98ec-f021da01fc33' LIMIT 1 Date : 2025-08-13T19:57:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T19:57:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008014 post PendingInvicesDO 2 MED-061008061 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008061 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce15b9bf-22c7-4c70-96da-346c6fda1128' LIMIT 1 Date : 2025-08-13T20:18:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T20:18:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008015 post PendingInvicesDO 2 MED-061008062 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008062 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a90292e-1f5b-45d8-ba4a-e82c711ff356' LIMIT 1 Date : 2025-08-13T20:35:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T20:35:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008016 post PendingInvicesDO 2 MED-061008063 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008063 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0039fd76-28c6-4701-b29e-61caed8d306f' LIMIT 1 Date : 2025-08-14T08:10:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T08:10:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008017 post PendingInvicesDO 2 MED-061008064 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008064 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d037e5a-f4e4-4b7f-9b5b-f0137806a1d1' LIMIT 1 Date : 2025-08-14T09:26:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T09:26:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008018 post PendingInvicesDO 2 MED-061008065 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008065 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35f7e198-ee14-48e0-a5cf-6205b3b5766e' LIMIT 1 Date : 2025-08-14T10:17:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T10:17:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008019 post PendingInvicesDO 2 MED-061007948 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007948 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007948' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007948' OR OrderId='MED-061007948' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-14T10:28:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008020 post PendingInvicesDO 2 MED-061008067 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008067 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b13c0df-c306-4309-875f-1a1b2315edda' LIMIT 1 Date : 2025-08-14T11:10:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T11:10:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008021 post PendingInvicesDO 2 MED-061008068 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008068 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6226ba3-7432-4a39-9d1f-a6ba05947532' LIMIT 1 Date : 2025-08-14T11:47:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T11:47:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008022 post PendingInvicesDO 2 MED-061008069 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008069 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='191ba39f-3297-4b39-9404-aade00858a52' LIMIT 1 Date : 2025-08-14T12:19:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T12:19:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008023 post PendingInvicesDO 2 MED-061008070 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008070 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9a9beaf-77a3-48a3-a359-b524eb2edc5b' LIMIT 1 Date : 2025-08-14T13:38:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T13:38:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008025 post PendingInvicesDO 2 MED-061008072 post PendingInvicesDO 2 MED-061008071 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008024 post PendingInvicesDO 2 MED-061008072 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008071 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008072 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8524599d-c086-4a98-aef3-f4341aa73c39' LIMIT 1 Date : 2025-08-14T14:57:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5a81524-fb19-4aef-bfe0-58472c49b673' LIMIT 1 Date : 2025-08-14T14:57:52  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8524599d-c086-4a98-aef3-f4341aa73c39' LIMIT 1 Date : 2025-08-14T14:57:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5a81524-fb19-4aef-bfe0-58472c49b673' LIMIT 1 Date : 2025-08-14T14:57:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-14T14:57:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008026 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-08-14T16:02:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008026 post PendingInvicesDO 2 MED-061008073 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008073 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8bcc1c7-51df-49cd-915d-07979c3c3e43' LIMIT 1 Date : 2025-08-14T16:06:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T16:06:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008027 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-08-14T16:09:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008028 post PendingInvicesDO 2 MED-061008075 post PendingInvicesDO 2 MED-061008074 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008027 post PendingInvicesDO 2 MED-061008075 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008074 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008075 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b94d1d75-dd26-4d0a-a1b0-2e7ebdc8387b' LIMIT 1 Date : 2025-08-14T17:20:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2b0c141-5b01-4c9e-8319-e024573c85e2' LIMIT 1 Date : 2025-08-14T17:20:43  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b94d1d75-dd26-4d0a-a1b0-2e7ebdc8387b' LIMIT 1 Date : 2025-08-14T17:20:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2b0c141-5b01-4c9e-8319-e024573c85e2' LIMIT 1 Date : 2025-08-14T17:20:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-14T17:20:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008029 post PendingInvicesDO 2 MED-061007838 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007838 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007838' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007838' OR OrderId='MED-061007838' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-14T18:11:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008030 post PendingInvicesDO 2 MED-061008078 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008078 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffda22c4-e8e5-4360-8bd7-bc499a362e0c' LIMIT 1 Date : 2025-08-14T18:46:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T18:46:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008031 post PendingInvicesDO 2 MED-061008079 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008079 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6009e453-39fa-458e-822f-686b0f968b74' LIMIT 1 Date : 2025-08-14T23:36:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T23:36:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008032 post PendingInvicesDO 2 MED-061008013 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008013 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008013' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008013' OR OrderId='MED-061008013' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-15T18:27:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008033 post PendingInvicesDO 2 MED-061008081 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008081 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4ce0932-d5ea-499d-9d10-fba14f0359a1' LIMIT 1 Date : 2025-08-15T19:20:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-15T19:20:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008034 post PendingInvicesDO 2 MED-061008082 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008082 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4922aa65-74d5-44bf-b1ce-4a6f7199d7bb' LIMIT 1 Date : 2025-08-15T20:08:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-15T20:08:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008035 post PendingInvicesDO 2 MED-061008083 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008083 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='876fc379-1793-41ff-aa26-ead41786bf8b' LIMIT 1 Date : 2025-08-15T20:48:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-15T20:48:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008036 post PendingInvicesDO 2 MED-061008084 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008084 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d15aee3f-c31a-4675-a781-79c86375a132' LIMIT 1 Date : 2025-08-16T08:51:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T08:51:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008038 post PendingInvicesDO 2 MED-061007916 post PendingInvicesDO 2 MED-061007915 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008037 post PendingInvicesDO 2 MED-061007916 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007915 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007916 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007916' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007916' OR OrderId='MED-061007916' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007916' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007916' OR OrderId='MED-061007916' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-16T08:57:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008039 post PendingInvicesDO 2 MED-061008085 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008085 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fcd8ac76-7186-40d4-9bc3-a94f9707fc2b' LIMIT 1 Date : 2025-08-16T09:14:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T09:14:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008040 post PendingInvicesDO 2 MED-061008086 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008086 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0066bff-e9a3-43aa-a4b6-cf3a7d7e4548' LIMIT 1 Date : 2025-08-16T09:57:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T09:57:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008041 post PendingInvicesDO 2 MED-061008088 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008088 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ff1c40e-f0d3-484a-9aad-7d9de6cb997f' LIMIT 1 Date : 2025-08-16T10:57:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T10:57:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008042 post PendingInvicesDO 2 MED-061008089 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008089 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a799b01-08b1-4beb-9e95-f4aa9c9b0f84' LIMIT 1 Date : 2025-08-16T12:02:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T12:02:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008043 post PendingInvicesDO 2 MED-061008090 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008090 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f1a0106-469c-4480-abfa-0041f4dcf8e8' LIMIT 1 Date : 2025-08-16T12:43:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T12:43:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008044 post PendingInvicesDO 2 MED-061008091 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008091 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='574b6b14-40eb-4b94-b5ab-89b8ef9785d9' LIMIT 1 Date : 2025-08-16T13:27:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T13:27:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008045 post PendingInvicesDO 2 MED-061007858 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007858 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007858' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007858' OR OrderId='MED-061007858' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-16T14:40:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008046 post PendingInvicesDO 2 MED-061008093 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008093 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20d2aea7-f77d-401b-b46b-a353f3914e10' LIMIT 1 Date : 2025-08-16T15:09:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T15:09:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008047 post PendingInvicesDO 2 MED-061008094 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008094 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd364c4f-8265-4bd4-96f9-3fb6c8d6a770' LIMIT 1 Date : 2025-08-16T15:32:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T15:32:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008048 post PendingInvicesDO 2 MED-061008095 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008095 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='beaa96cc-8a9a-40cf-a00c-f051c325bf49' LIMIT 1 Date : 2025-08-16T16:20:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T16:20:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008049 post PendingInvicesDO 2 MED-061008096 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008096 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68fefead-24bf-414e-adaf-f611ec08aa5b' LIMIT 1 Date : 2025-08-16T16:45:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T16:45:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008050 post PendingInvicesDO 2 MED-061008097 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008097 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='339de5da-1b22-4edc-8db1-7c0e055031a8' LIMIT 1 Date : 2025-08-16T17:02:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T17:02:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008051 post PendingInvicesDO 2 MED-061008098 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008098 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='456d7355-c819-4840-a21a-b83fe50e7047' LIMIT 1 Date : 2025-08-16T17:09:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T17:09:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008052 post PendingInvicesDO 2 MED-061008099 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008099 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d8f8f13-af00-4575-9198-3bbcda526749' LIMIT 1 Date : 2025-08-17T08:35:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T08:35:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008053 post PendingInvicesDO 2 MED-061008100 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008100 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bca10268-0232-4cea-ba30-7339a6b855bc' LIMIT 1 Date : 2025-08-17T09:06:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T09:06:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008054 post PendingInvicesDO 2 MED-061008101 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008101 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='848301e5-987d-4fd9-b778-b6197d33630c' LIMIT 1 Date : 2025-08-17T09:14:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T09:14:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008055 post PendingInvicesDO 2 MED-061008102 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008102 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8db57996-5c93-48f3-8dee-d89a861acce8' LIMIT 1 Date : 2025-08-17T09:31:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T09:31:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008056 post PendingInvicesDO 2 MED-061008103 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008103 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='297561fd-2ec7-4d07-b3cd-b6c1e4a41cbd' LIMIT 1 Date : 2025-08-17T09:40:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T09:40:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008057 post PendingInvicesDO 2 MED-061008104 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008104 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d1745b8-2521-48ed-b616-08fc5915a0e8' LIMIT 1 Date : 2025-08-17T10:00:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T10:00:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008059 post PendingInvicesDO 2 MED-061007988 post PendingInvicesDO 2 MED-061007987 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008058 post PendingInvicesDO 2 MED-061007988 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007987 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007988 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007988' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007988' OR OrderId='MED-061007988' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007988' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007988' OR OrderId='MED-061007988' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-17T10:37:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008060 post PendingInvicesDO 2 MED-061008106 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008106 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9586830-4710-4b6d-8d54-7fad195f7d3f' LIMIT 1 Date : 2025-08-17T11:08:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T11:08:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008061 post PendingInvicesDO 2 MED-061008107 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008107 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce2582e5-9875-455e-8521-ab407d0cd8e1' LIMIT 1 Date : 2025-08-17T11:29:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T11:29:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008062 post PendingInvicesDO 2 MED-061008108 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008108 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e200922b-31f7-478b-8838-807d175c2889' LIMIT 1 Date : 2025-08-17T11:45:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T11:45:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008063 post PendingInvicesDO 2 MED-061008109 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008109 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f497efaa-921c-4713-811f-9592bcced622' LIMIT 1 Date : 2025-08-17T12:19:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T12:19:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008064 post PendingInvicesDO 2 MED-061008110 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008110 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='944f01e0-4100-4f28-91a6-eae77033ca1b' LIMIT 1 Date : 2025-08-17T12:28:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T12:28:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008065 post PendingInvicesDO 2 MED-061008112 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008112 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6063c07-ea04-4c7e-b8d5-f7b0b84df4e9' LIMIT 1 Date : 2025-08-17T18:42:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T18:42:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008066 post PendingInvicesDO 2 MED-061007907 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007907 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007907' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007907' OR OrderId='MED-061007907' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-17T19:31:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008067 post PendingInvicesDO 2 MED-061008114 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008114 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2123e052-ad98-49c6-8f77-df9393c4e8be' LIMIT 1 Date : 2025-08-18T08:55:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T08:55:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008068 post PendingInvicesDO 2 MED-061008115 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008115 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c369803-3a73-436a-95c6-cfdfaa99c393' LIMIT 1 Date : 2025-08-18T09:15:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T09:15:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008069 post PendingInvicesDO 2 MED-061008117 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008117 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4520cbf4-c843-4c03-80fa-d429e5d6cbb8' LIMIT 1 Date : 2025-08-18T09:47:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T09:47:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008070 post PendingInvicesDO 2 MED-061008118 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008118 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3166de6e-8c64-4858-b05e-9215b5285c08' LIMIT 1 Date : 2025-08-18T10:03:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T10:03:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008071 post PendingInvicesDO 2 MED-061008119 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008119 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='327435bf-177b-4350-837f-2df00d2c50a4' LIMIT 1 Date : 2025-08-18T10:23:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T10:23:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008072 post PendingInvicesDO 2 MED-061008120 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008120 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='767a9c40-8e95-457f-8e3b-443ca984229e' LIMIT 1 Date : 2025-08-18T10:47:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T10:47:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008073 post PendingInvicesDO 2 MED-061008121 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008121 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2674f622-43a5-46a8-bb45-64a9873bdd9c' LIMIT 1 Date : 2025-08-18T10:54:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T10:54:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008074 post PendingInvicesDO 2 MED-061008122 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008122 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc5d49c9-fd7e-4329-a9e7-f6b9ba4e28ac' LIMIT 1 Date : 2025-08-18T11:07:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T11:07:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008075 post PendingInvicesDO 2 MED-061008123 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008123 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27073e62-e90e-47b7-963f-1675e7da4aab' LIMIT 1 Date : 2025-08-18T11:24:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T11:24:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008076 post PendingInvicesDO 2 MED-061008124 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008124 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='206dd050-e4fe-42b7-b69f-fd8310ac2f7e' LIMIT 1 Date : 2025-08-18T11:33:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T11:33:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008078 post PendingInvicesDO 2 MED-061008126 post PendingInvicesDO 2 MED-061008125 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008077 post PendingInvicesDO 2 MED-061008126 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008125 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008126 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef1e3961-14b1-4a05-990a-e9d25ebbed38' LIMIT 1 Date : 2025-08-18T12:13:08  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8108ae9-a6cb-41f5-acaf-77fd928af4f8' LIMIT 1 Date : 2025-08-18T12:13:08  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef1e3961-14b1-4a05-990a-e9d25ebbed38' LIMIT 1 Date : 2025-08-18T12:13:08  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8108ae9-a6cb-41f5-acaf-77fd928af4f8' LIMIT 1 Date : 2025-08-18T12:13:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-18T12:13:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008079 post PendingInvicesDO 2 MED-061008127 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008127 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9be81e2-b3d6-4ee5-9e2b-7799f80966c8' LIMIT 1 Date : 2025-08-18T13:16:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T13:16:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008080 post PendingInvicesDO 2 MED-061008128 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008128 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d89e9eb7-216c-4d36-ab82-61f2d95a7322' LIMIT 1 Date : 2025-08-18T14:18:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T14:18:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008082 post PendingInvicesDO 2 MED-061007962 post PendingInvicesDO 2 MED-061007961 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008081 post PendingInvicesDO 2 MED-061007962 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061007961 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007962 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007962' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007962' OR OrderId='MED-061007962' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007962' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007962' OR OrderId='MED-061007962' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-18T17:15:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008083 post PendingInvicesDO 2 MED-061008130 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008130 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50b64583-45ee-4d06-b943-72af4c128bc6' LIMIT 1 Date : 2025-08-18T17:51:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T17:51:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008084 post PendingInvicesDO 2 MED-061008131 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008131 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d6d023f-352f-44b8-8dc8-a06bc499f171' LIMIT 1 Date : 2025-08-18T18:26:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T18:26:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008085 post PendingInvicesDO 2 MED-061008132 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008132 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0b68464-3dc9-49f8-94ab-1f9fa1099272' LIMIT 1 Date : 2025-08-18T18:39:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T18:39:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008086 post PendingInvicesDO 2 MED-061008133 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008133 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4492a77-72f6-49e8-8e5d-f35b710af1a7' LIMIT 1 Date : 2025-08-18T18:44:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T18:44:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008087 post PendingInvicesDO 2 MED-061008134 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008134 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='406a3377-ab0a-40f2-bd8c-2ec49fce0139' LIMIT 1 Date : 2025-08-18T18:57:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T18:57:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008088 post PendingInvicesDO 2 MED-061007996 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007996 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007996' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007996' OR OrderId='MED-061007996' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-18T20:02:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008089 post PendingInvicesDO 2 MED-061008136 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008136 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f6536a3-33c4-4686-a294-00d742ea38e2' LIMIT 1 Date : 2025-08-19T09:00:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T09:00:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008090 post PendingInvicesDO 2 MED-061008137 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008137 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c4569bb-87c4-4b4e-9882-6979a2bf21ac' LIMIT 1 Date : 2025-08-19T09:15:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T09:15:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008091 post PendingInvicesDO 2 MED-061008138 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008138 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5dd994da-a682-40ed-a956-95c2059d3061' LIMIT 1 Date : 2025-08-19T09:39:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T09:39:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008092 post PendingInvicesDO 2 MED-061008139 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008139 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='128f54cf-0bb6-481b-971a-ecd112ad01ed' LIMIT 1 Date : 2025-08-19T10:00:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T10:00:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008093 post PendingInvicesDO 2 MED-061008140 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008140 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21701a2a-3df8-46fc-ad7c-ac15ab93eedd' LIMIT 1 Date : 2025-08-19T10:25:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T10:25:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008094 post PendingInvicesDO 2 MED-061008141 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008141 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78c75a52-4173-4a95-a77a-e8e51573a602' LIMIT 1 Date : 2025-08-19T10:31:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T10:31:36 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-064008096 post PendingInvicesDO 2 MED-061008143 post PendingInvicesDO 2 MED-061008142 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008095 post PendingInvicesDO 2 MED-061008143 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008142 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008143 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1705898a-abed-4538-a6dc-7902f7714386' LIMIT 1 Date : 2025-08-19T11:13:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29643397-adf1-4fec-9dba-a30d95dbd5df' LIMIT 1 Date : 2025-08-19T11:13:44  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1705898a-abed-4538-a6dc-7902f7714386' LIMIT 1 Date : 2025-08-19T11:13:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29643397-adf1-4fec-9dba-a30d95dbd5df' LIMIT 1 Date : 2025-08-19T11:13:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-19T11:13:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008097 post PendingInvicesDO 2 MED-061008144 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008144 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f30fb05-ea9e-4976-a4fd-7fd2cbdcf750' LIMIT 1 Date : 2025-08-19T11:49:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T11:49:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008099 post PendingInvicesDO 2 MED-061008146 post PendingInvicesDO 2 MED-061008145 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008098 post PendingInvicesDO 2 MED-061008146 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008145 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008146 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd4b250c-0982-445c-9e93-179544566d7e' LIMIT 1 Date : 2025-08-19T11:55:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a6a51ca-4d56-4ce3-b90e-a32c7410a103' LIMIT 1 Date : 2025-08-19T11:55:48  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd4b250c-0982-445c-9e93-179544566d7e' LIMIT 1 Date : 2025-08-19T11:55:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a6a51ca-4d56-4ce3-b90e-a32c7410a103' LIMIT 1 Date : 2025-08-19T11:55:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-19T11:55:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008100 post PendingInvicesDO 2 MED-061008147 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008147 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='abe34bd0-4aa3-4f66-8dd2-07edb7be2302' LIMIT 1 Date : 2025-08-19T12:20:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T12:20:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008101 post PendingInvicesDO 2 MED-061008041 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008041 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008041' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008041' OR OrderId='MED-061008041' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-19T13:07:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008102 post PendingInvicesDO 2 MED-061008149 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008149 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b61b9406-7bf8-487c-8009-63e67848fb5f' LIMIT 1 Date : 2025-08-19T13:30:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T13:30:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008103 post PendingInvicesDO 2 MED-061008150 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008150 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='784f798b-6254-4561-bd70-b43edaf68ef5' LIMIT 1 Date : 2025-08-19T14:14:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T14:14:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008105 post PendingInvicesDO 2 MED-061008035 post PendingInvicesDO 2 MED-061008034 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008104 post PendingInvicesDO 2 MED-061008035 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008034 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008035 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008035' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008035' OR OrderId='MED-061008035' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008035' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008035' OR OrderId='MED-061008035' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-19T14:59:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008106 post PendingInvicesDO 2 MED-061008152 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008152 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14c270c8-ad00-4a1e-8f79-7005c9c55161' LIMIT 1 Date : 2025-08-19T15:38:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T15:38:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008107 post PendingInvicesDO 2 MED-061008153 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008153 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='76b18a91-4823-4f79-8c4e-c8cb126fe502' LIMIT 1 Date : 2025-08-19T17:32:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T17:32:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008108 post PendingInvicesDO 2 MED-061008154 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008154 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d2eb027-9d8d-405b-96d5-279dc499f66d' LIMIT 1 Date : 2025-08-19T17:43:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T17:43:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008109 post PendingInvicesDO 2 MED-061008155 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008155 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3e7ee18-7e8c-4e7e-af48-ab3414c73d45' LIMIT 1 Date : 2025-08-19T17:51:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T17:51:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008110 post PendingInvicesDO 2 MED-061008019 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008019 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008019' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008019' OR OrderId='MED-061008019' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-19T18:31:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008111 post PendingInvicesDO 2 MED-061008158 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008158 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fbc42419-889f-417e-bd2b-dbb6798b80b3' LIMIT 1 Date : 2025-08-19T18:58:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T18:58:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008112 post PendingInvicesDO 2 MED-061007966 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007966 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007966' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007966' OR OrderId='MED-061007966' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-19T19:31:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008113 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-08-19T20:03:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008113 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-08-19T20:04:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008113 post PendingInvicesDO 2 MED-061008160 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008160 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43028d3c-366f-4b49-b42a-7d7e7575ac1b' LIMIT 1 Date : 2025-08-19T20:18:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T20:18:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008114 post PendingInvicesDO 2 MED-061008161 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008161 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbb55ac3-f7e3-4a6b-a383-0e2d546bebad' LIMIT 1 Date : 2025-08-20T08:45:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T08:45:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008115 post PendingInvicesDO 2 MED-061008162 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008162 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4dc978f6-5491-4eef-a7f1-bb22b88a8700' LIMIT 1 Date : 2025-08-20T09:41:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T09:41:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008116 post PendingInvicesDO 2 MED-061008045 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008045 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008045' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008045' OR OrderId='MED-061008045' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-20T10:00:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008117 post PendingInvicesDO 2 MED-061008164 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008164 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d86fb026-c2ad-4e6b-9d06-0e2b959d4a41' LIMIT 1 Date : 2025-08-20T10:29:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T10:29:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008118 post PendingInvicesDO 2 MED-061008165 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008165 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e29882c2-8a2f-4233-aa47-84cf63d88fb8' LIMIT 1 Date : 2025-08-20T10:41:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T10:41:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008120 post PendingInvicesDO 2 MED-061008167 post PendingInvicesDO 2 MED-061008166 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008119 post PendingInvicesDO 2 MED-061008167 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008166 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008167 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81ba9097-7b4d-4441-b9ad-28995a52a0c4' LIMIT 1 Date : 2025-08-20T11:10:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b956898-8924-43d1-b4fe-9411989ce56f' LIMIT 1 Date : 2025-08-20T11:10:42  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81ba9097-7b4d-4441-b9ad-28995a52a0c4' LIMIT 1 Date : 2025-08-20T11:10:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b956898-8924-43d1-b4fe-9411989ce56f' LIMIT 1 Date : 2025-08-20T11:10:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-20T11:10:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008121 post PendingInvicesDO 2 MED-061008168 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008168 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='53494df1-ca20-4d38-98e2-c5453d1bd5de' LIMIT 1 Date : 2025-08-20T11:19:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T11:19:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008122 post PendingInvicesDO 2 MED-061008169 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008169 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20365141-3ae1-4d5f-86c9-763ccabf0a77' LIMIT 1 Date : 2025-08-20T11:30:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T11:30:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008123 post PendingInvicesDO 2 MED-061008170 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008170 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51212fc5-cac8-46fc-8046-3e871469df69' LIMIT 1 Date : 2025-08-20T12:10:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T12:10:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008124 post PendingInvicesDO 2 MED-061008171 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008171 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9159b7dd-9e04-4483-8363-91ab518e3bba' LIMIT 1 Date : 2025-08-20T12:34:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T12:34:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008125 post PendingInvicesDO 2 MED-061008172 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008172 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='739aecb9-1458-400c-a6fd-cc432d3ab7ab' LIMIT 1 Date : 2025-08-20T13:10:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T13:10:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008126 post PendingInvicesDO 2 MED-061008173 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008173 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae88c56b-72a4-4cde-bfbe-ed4e2e8969b2' LIMIT 1 Date : 2025-08-20T13:29:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T13:29:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008127 post PendingInvicesDO 2 MED-061008174 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008174 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f4dd06e-658e-45c6-89e6-41e3e7e86e4e' LIMIT 1 Date : 2025-08-20T13:51:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T13:51:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008128 post PendingInvicesDO 2 MED-061008175 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008175 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c709f602-8c7f-42c3-87a2-f9eed86060ba' LIMIT 1 Date : 2025-08-20T14:02:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T14:02:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008129 post PendingInvicesDO 2 MED-061008176 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008176 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b67af20-a256-4cda-b359-d8e6a0a1f949' LIMIT 1 Date : 2025-08-20T14:27:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T14:27:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008130 post PendingInvicesDO 2 MED-061008177 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008177 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d20428d3-eef3-4346-a8ce-a08122ea30f4' LIMIT 1 Date : 2025-08-20T14:49:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T14:49:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008131 post PendingInvicesDO 2 MED-061008178 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008178 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='726461ef-d8be-4302-9a34-a82b4e2169cd' LIMIT 1 Date : 2025-08-20T15:05:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T15:05:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008132 post PendingInvicesDO 2 MED-061008179 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008179 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af262d3b-2afb-41ba-8102-7d31b6916e08' LIMIT 1 Date : 2025-08-20T15:32:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T15:32:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008134 post PendingInvicesDO 2 MED-061008181 post PendingInvicesDO 2 MED-061008180 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008133 post PendingInvicesDO 2 MED-061008181 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008180 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008181 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8023da45-77c9-4a5b-a8a5-a9166da41f96' LIMIT 1 Date : 2025-08-20T23:00:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25077d45-be49-4e9b-839e-d8846aa291b7' LIMIT 1 Date : 2025-08-20T23:00:35  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8023da45-77c9-4a5b-a8a5-a9166da41f96' LIMIT 1 Date : 2025-08-20T23:00:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25077d45-be49-4e9b-839e-d8846aa291b7' LIMIT 1 Date : 2025-08-20T23:00:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-20T23:00:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008135 post PendingInvicesDO 2 MED-061008182 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008182 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7eceaee4-bf5e-447e-b6f2-7d9f9885d94f' LIMIT 1 Date : 2025-08-21T09:03:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T09:03:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008136 post PendingInvicesDO 2 MED-061008183 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008183 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7cb67ac-9f0b-42c7-97ea-668a632f04f0' LIMIT 1 Date : 2025-08-21T10:17:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T10:17:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008138 post PendingInvicesDO 2 MED-061008185 post PendingInvicesDO 2 MED-061008184 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008137 post PendingInvicesDO 2 MED-061008185 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008184 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008185 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e151249-54a7-4fe4-a06f-3a16c6ff450b' LIMIT 1 Date : 2025-08-21T10:47:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d292c8dd-7863-4dc2-a9c7-5499217a69ab' LIMIT 1 Date : 2025-08-21T10:47:03  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e151249-54a7-4fe4-a06f-3a16c6ff450b' LIMIT 1 Date : 2025-08-21T10:47:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d292c8dd-7863-4dc2-a9c7-5499217a69ab' LIMIT 1 Date : 2025-08-21T10:47:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-21T10:47:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008140 post PendingInvicesDO 2 MED-061008187 post PendingInvicesDO 2 MED-061008186 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008139 post PendingInvicesDO 2 MED-061008187 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008186 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008187 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79337a4c-a544-4686-bf00-f18409283d27' LIMIT 1 Date : 2025-08-21T11:14:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa22c130-061b-4a9c-a36c-e8826af32896' LIMIT 1 Date : 2025-08-21T11:14:55  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79337a4c-a544-4686-bf00-f18409283d27' LIMIT 1 Date : 2025-08-21T11:14:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa22c130-061b-4a9c-a36c-e8826af32896' LIMIT 1 Date : 2025-08-21T11:14:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-21T11:14:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008141 post PendingInvicesDO 2 MED-061008066 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008066 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008066' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008066' OR OrderId='MED-061008066' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-21T12:59:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008142 post PendingInvicesDO 2 MED-061008189 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008189 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac05b717-16a5-408c-b6a4-aad81ce8ea69' LIMIT 1 Date : 2025-08-21T14:15:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T14:15:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008143 post PendingInvicesDO 2 MED-061008190 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008190 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6bd0ab0f-8f51-49af-97b4-1f7476b043fc' LIMIT 1 Date : 2025-08-21T15:30:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T15:30:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008144 post PendingInvicesDO 2 MED-061008191 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008191 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c8ae7f8-42bf-49ce-a0c6-38e3195ddeb5' LIMIT 1 Date : 2025-08-21T15:52:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T15:52:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008145 post PendingInvicesDO 2 MED-061008192 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008192 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca871872-fac3-4dcd-9873-e7eeb247d2cb' LIMIT 1 Date : 2025-08-21T17:00:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T17:00:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008146 post PendingInvicesDO 2 MED-061008193 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008193 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7db7eb9-c0ca-444f-a059-66354724261e' LIMIT 1 Date : 2025-08-21T17:38:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T17:38:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008147 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-08-21T17:41:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008147 post PendingInvicesDO 2 MED-061008194 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008194 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb50f7f9-54f5-4841-b915-595679b3d600' LIMIT 1 Date : 2025-08-21T18:16:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T18:16:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008148 post PendingInvicesDO 2 MED-061008195 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008195 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='778956d2-3cac-4c76-a4dd-8d195e56ed99' LIMIT 1 Date : 2025-08-21T19:19:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T19:19:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008150 post PendingInvicesDO 2 MED-061008077 post PendingInvicesDO 2 MED-061008076 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008149 post PendingInvicesDO 2 MED-061008077 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008076 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008077 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008077' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008077' OR OrderId='MED-061008077' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008077' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008077' OR OrderId='MED-061008077' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-21T20:38:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008151 post PendingInvicesDO 2 MED-061008198 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008198 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='887e61d5-e354-4f4e-89bc-0ca2b3598931' LIMIT 1 Date : 2025-08-21T21:41:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T21:41:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008152 post PendingInvicesDO 2 MED-061008105 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008105 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008105' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008105' OR OrderId='MED-061008105' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-22T16:58:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008153 post PendingInvicesDO 2 MED-061008201 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008201 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b18156b-6dc2-425a-a106-f94abfc4cb8d' LIMIT 1 Date : 2025-08-22T18:08:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-22T18:08:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008154 post PendingInvicesDO 2 MED-061008202 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008202 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f27225b0-f587-4549-a556-08ea0d0c3d6b' LIMIT 1 Date : 2025-08-23T09:34:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T09:34:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008155 post PendingInvicesDO 2 MED-061008203 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008203 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cfea3523-b7cd-47f2-98bc-fc9a9b3aa090' LIMIT 1 Date : 2025-08-23T09:55:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T09:55:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008156 post PendingInvicesDO 2 MED-061008204 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008204 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9231420d-9ac9-45a3-abde-dd529b39721b' LIMIT 1 Date : 2025-08-23T10:33:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T10:33:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008157 post PendingInvicesDO 2 MED-061008205 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008205 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9b58eba-1418-488f-81b0-a70431145e1f' LIMIT 1 Date : 2025-08-23T10:56:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T10:56:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008158 post PendingInvicesDO 2 MED-061008206 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008206 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6dadc07f-409e-4a5f-b5d8-b2a616026c1a' LIMIT 1 Date : 2025-08-23T11:43:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T11:43:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008159 post PendingInvicesDO 2 MED-061008087 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008087 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008087' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008087' OR OrderId='MED-061008087' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-23T13:13:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008160 post PendingInvicesDO 2 MED-061008207 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008207 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9dec1f05-beb5-4daa-9101-2c499821ba1b' LIMIT 1 Date : 2025-08-23T13:19:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T13:19:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008161 post PendingInvicesDO 2 MED-061008208 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008208 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c68ed4e5-9e5c-48c8-804c-598e375da30c' LIMIT 1 Date : 2025-08-23T13:47:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T13:47:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008162 post PendingInvicesDO 2 MED-061008209 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008209 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04990628-3b5b-4d83-899a-447a3a0f6090' LIMIT 1 Date : 2025-08-23T14:54:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T14:54:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008163 post PendingInvicesDO 2 MED-061008092 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008092 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008092' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008092' OR OrderId='MED-061008092' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-23T15:38:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008164 post PendingInvicesDO 2 MED-061008211 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008211 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84726957-2a06-4e05-9416-cc9985ca2536' LIMIT 1 Date : 2025-08-23T16:12:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T16:12:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008165 post PendingInvicesDO 2 MED-061008212 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008212 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11e30d4f-7cbb-499c-8215-21b8cf2723ea' LIMIT 1 Date : 2025-08-23T16:38:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T16:38:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008166 post PendingInvicesDO 2 MED-061008213 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008213 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac1679b1-2597-4bd3-b5ca-e825c875075c' LIMIT 1 Date : 2025-08-23T16:50:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T16:50:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008167 post PendingInvicesDO 2 MED-061008214 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008214 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62b54941-ab40-4e22-82dc-853764273e12' LIMIT 1 Date : 2025-08-23T17:32:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T17:32:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008168 post PendingInvicesDO 2 MED-061008215 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008215 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69244110-423f-47c5-a959-aad666d35ef3' LIMIT 1 Date : 2025-08-23T17:45:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T17:45:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008169 post PendingInvicesDO 2 MED-061008216 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008216 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3305c6b-2b7e-47fb-84e3-319b171df9eb' LIMIT 1 Date : 2025-08-23T17:54:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T17:54:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008170 post PendingInvicesDO 2 MED-061008217 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008217 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d06a6647-f715-4df8-8d9c-1e0e77b43100' LIMIT 1 Date : 2025-08-23T19:26:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T19:26:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008171 post PendingInvicesDO 2 MED-061007921 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007921 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007921' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007921' OR OrderId='MED-061007921' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-23T19:52:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008172 post PendingInvicesDO 2 MED-061008040 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008040 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008040' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008040' OR OrderId='MED-061008040' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-23T20:54:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008173 post PendingInvicesDO 2 MED-061008221 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008221 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='908310b7-6008-46b8-bd57-da14911fde88' LIMIT 1 Date : 2025-08-23T21:23:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T21:23:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008174 post PendingInvicesDO 2 MED-061008222 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008222 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6baf2bc2-2c7c-4eaa-8257-63b788e34a8f' LIMIT 1 Date : 2025-08-24T09:15:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T09:15:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008175 post PendingInvicesDO 2 MED-061008223 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008223 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='735f71a1-55a4-4bb2-868b-1fa8ee51f004' LIMIT 1 Date : 2025-08-24T10:10:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T10:10:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008176 post PendingInvicesDO 2 MED-061008224 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008224 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4de196d-dab8-4eda-90a2-b1dd341c9e63' LIMIT 1 Date : 2025-08-24T10:31:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T10:31:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008177 post PendingInvicesDO 2 MED-061008225 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008225 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7628d70b-f356-46d5-850f-52009cb37a8e' LIMIT 1 Date : 2025-08-24T10:39:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T10:39:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008178 post PendingInvicesDO 2 MED-061008226 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008226 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='274736c7-8e53-46b4-9ee7-10d8ed9c0f3c' LIMIT 1 Date : 2025-08-24T10:54:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T10:54:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008179 post PendingInvicesDO 2 MED-061007871 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007871 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007871' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007871' OR OrderId='MED-061007871' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-24T11:09:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008181 post PendingInvicesDO 2 MED-061008200 post PendingInvicesDO 2 MED-061008199 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008180 post PendingInvicesDO 2 MED-061008200 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008199 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008200 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008200' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008200' OR OrderId='MED-061008200' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008200' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008200' OR OrderId='MED-061008200' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-24T11:41:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008182 post PendingInvicesDO 2 MED-061008229 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008229 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c69dcef-a30e-4658-88a3-a8033bbac533' LIMIT 1 Date : 2025-08-24T12:13:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T12:13:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008183 post PendingInvicesDO 2 MED-061008230 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008230 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72ba7aa7-6064-4e58-b0de-4a9492bc821f' LIMIT 1 Date : 2025-08-24T13:12:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T13:12:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008184 post PendingInvicesDO 2 MED-061008231 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008231 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1eddce28-d662-4932-b486-75085ee58099' LIMIT 1 Date : 2025-08-24T13:28:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T13:28:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008185 post PendingInvicesDO 2 MED-061008232 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008232 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe38a63c-f054-497e-8939-9bfc1383699c' LIMIT 1 Date : 2025-08-24T13:48:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T13:48:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008186 post PendingInvicesDO 2 MED-061008235 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008235 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83a7386c-c3c0-4235-bfb0-2e673a18854d' LIMIT 1 Date : 2025-08-24T18:22:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T18:22:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008187 post PendingInvicesDO 2 MED-061008080 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008080 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008080' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008080' OR OrderId='MED-061008080' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-24T19:21:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008188 post PendingInvicesDO 2 MED-061008237 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008237 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d3ca7c1-fa22-4362-9939-a318ec772a4c' LIMIT 1 Date : 2025-08-24T20:31:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T20:31:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008189 post PendingInvicesDO 2 MED-061008238 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008238 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ecd7e5cc-193e-40c9-a2d5-1e8190c26d54' LIMIT 1 Date : 2025-08-24T21:22:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T21:22:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008190 post PendingInvicesDO 2 MED-061008239 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008239 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df613ecf-63a9-4928-a35d-3ffb5ef7dbac' LIMIT 1 Date : 2025-08-25T09:18:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T09:18:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008191 post PendingInvicesDO 2 MED-061008240 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008240 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d78b5d3d-1886-4152-b8ed-44eb65574622' LIMIT 1 Date : 2025-08-25T09:39:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T09:39:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008192 post PendingInvicesDO 2 MED-061008116 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008116 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008116' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008116' OR OrderId='MED-061008116' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-25T10:00:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008193 post PendingInvicesDO 2 MED-061008242 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008242 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c663e1b3-8263-4572-b83d-90463bca3174' LIMIT 1 Date : 2025-08-25T10:27:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T10:27:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008194 post PendingInvicesDO 2 MED-061008243 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008243 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca3519b9-a195-4eec-8c53-b042bcdd1799' LIMIT 1 Date : 2025-08-25T10:36:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T10:36:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008195 post PendingInvicesDO 2 MED-061008244 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008244 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='686eb04c-b5f3-4811-85d6-973f85e18975' LIMIT 1 Date : 2025-08-25T11:02:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T11:02:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008196 post PendingInvicesDO 2 MED-061008245 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008245 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='847cb291-11ef-4094-a9f4-aecab0fdef36' LIMIT 1 Date : 2025-08-25T11:19:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T11:19:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008197 post PendingInvicesDO 2 MED-061008246 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008246 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='051f0b2a-876d-488f-b5b7-2ed1a436ea86' LIMIT 1 Date : 2025-08-25T11:34:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T11:34:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008198 post PendingInvicesDO 2 MED-061008247 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008247 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da36c31a-1526-45b9-8523-07203c551b33' LIMIT 1 Date : 2025-08-25T11:51:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T11:51:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008199 post PendingInvicesDO 2 MED-061008248 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008248 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7281d1a8-d093-464d-9ee5-e18b9ec5b338' LIMIT 1 Date : 2025-08-25T12:10:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T12:10:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008200 post PendingInvicesDO 2 MED-061008249 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008249 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4126aa5-3dfe-40e2-956e-6d9e4195f9a0' LIMIT 1 Date : 2025-08-25T13:22:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T13:22:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008201 post PendingInvicesDO 2 MED-061008250 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008250 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a26f2400-bbb0-4647-8486-0560b325d902' LIMIT 1 Date : 2025-08-25T13:41:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T13:41:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008202 post PendingInvicesDO 2 MED-061007895 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007895 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007895' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007895' OR OrderId='MED-061007895' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-25T13:44:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008203 post PendingInvicesDO 2 MED-061008251 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008251 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1d07892-94f1-40e8-9c79-33bc95a5fc5f' LIMIT 1 Date : 2025-08-25T13:50:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T13:50:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008204 post PendingInvicesDO 2 MED-061008252 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008252 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8744d1f4-f579-4349-ab70-f262a836ba79' LIMIT 1 Date : 2025-08-25T14:13:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T14:13:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008205 post PendingInvicesDO 2 MED-061008253 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008253 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='671ff5b8-6c16-4b62-bf2a-a4908d17d255' LIMIT 1 Date : 2025-08-25T15:07:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T15:07:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008206 post PendingInvicesDO 2 MED-061008254 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008254 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6deb652-d59c-4480-9f9d-d2f8e56356db' LIMIT 1 Date : 2025-08-25T15:30:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T15:30:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008207 post PendingInvicesDO 2 MED-061008255 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008255 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc007745-a6df-485d-80f5-037ebb60d4a2' LIMIT 1 Date : 2025-08-25T18:01:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T18:01:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008208 post PendingInvicesDO 2 MED-061008256 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008256 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2af2528-2463-4ccf-9196-92dddec2e6d1' LIMIT 1 Date : 2025-08-25T18:37:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T18:37:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008209 post PendingInvicesDO 2 MED-061008129 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008129 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008129' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008129' OR OrderId='MED-061008129' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-25T18:48:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008211 post PendingInvicesDO 2 MED-061008157 post PendingInvicesDO 2 MED-061008156 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008210 post PendingInvicesDO 2 MED-061008157 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008156 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008157 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008157' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008157' OR OrderId='MED-061008157' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008157' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008157' OR OrderId='MED-061008157' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-25T20:06:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008212 post PendingInvicesDO 2 MED-061008259 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008259 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1986ca3f-d0e5-4996-9599-850d99e8e95d' LIMIT 1 Date : 2025-08-25T20:31:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T20:31:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008213 post PendingInvicesDO 2 MED-061008260 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008260 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ac2f236-346e-49d5-ad02-c706892e4321' LIMIT 1 Date : 2025-08-26T09:22:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T09:22:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008214 post PendingInvicesDO 2 MED-061008261 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008261 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e04e66bf-80be-4f62-a64e-93173926faa8' LIMIT 1 Date : 2025-08-26T09:51:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T09:51:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008215 post PendingInvicesDO 2 MED-061008262 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008262 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11e7e586-8aca-4ed5-a4df-367dde942d31' LIMIT 1 Date : 2025-08-26T10:02:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T10:02:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008216 post PendingInvicesDO 2 MED-061008263 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008263 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f19ebb6-cea6-494f-9be8-ca15bc229cbc' LIMIT 1 Date : 2025-08-26T10:24:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T10:24:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008217 post PendingInvicesDO 2 MED-061008264 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008264 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64fd631a-724c-4fa7-b40e-be8b6ded1fc0' LIMIT 1 Date : 2025-08-26T10:27:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T10:27:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008218 post PendingInvicesDO 2 MED-061008265 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008265 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63dc8c4e-3abb-4d66-ba17-0329af8d0599' LIMIT 1 Date : 2025-08-26T10:43:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T10:43:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008219 post PendingInvicesDO 2 MED-061008266 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008266 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68c25def-382e-4ac7-928d-753159357722' LIMIT 1 Date : 2025-08-26T11:05:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T11:05:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008220 post PendingInvicesDO 2 MED-061008267 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008267 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e8176b5-e98f-4390-8187-9e7bf83d8122' LIMIT 1 Date : 2025-08-26T11:28:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T11:28:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008221 post PendingInvicesDO 2 MED-061008113 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008113 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008113' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008113' OR OrderId='MED-061008113' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-26T11:31:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008222 post PendingInvicesDO 2 MED-061008268 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008268 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b5561515-4be0-4286-ad6f-0f75adcec054' LIMIT 1 Date : 2025-08-26T12:02:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T12:02:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008223 post PendingInvicesDO 2 MED-061008269 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008269 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb513b3e-a0ae-4997-b2f3-ef83d96eede6' LIMIT 1 Date : 2025-08-26T12:30:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T12:30:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008224 post PendingInvicesDO 2 MED-061008270 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008270 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e6a90d3-e681-48d0-9926-59c4098bbbb2' LIMIT 1 Date : 2025-08-26T12:49:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T12:49:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008225 post PendingInvicesDO 2 MED-061008148 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008148 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008148' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008148' OR OrderId='MED-061008148' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-26T12:50:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008226 post PendingInvicesDO 2 MED-061008271 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008271 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8afe525f-b452-46bf-b6f9-abf1d258e6ac' LIMIT 1 Date : 2025-08-26T13:10:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T13:10:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008227 post PendingInvicesDO 2 MED-061008135 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008135 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008135' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008135' OR OrderId='MED-061008135' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-26T13:44:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008228 post PendingInvicesDO 2 MED-061008151 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008151 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008151' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008151' OR OrderId='MED-061008151' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-26T14:36:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008229 post PendingInvicesDO 2 MED-061008274 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008274 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='113ca6a8-77bf-42b2-b304-ab8c0b908503' LIMIT 1 Date : 2025-08-26T15:08:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T15:08:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008230 post PendingInvicesDO 2 MED-061008159 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008159 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008159' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008159' OR OrderId='MED-061008159' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-26T15:42:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008231 post PendingInvicesDO 2 MED-061008276 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008276 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ea36492-7381-416e-bd57-a51f963f35e1' LIMIT 1 Date : 2025-08-26T16:31:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T16:31:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008232 post PendingInvicesDO 2 MED-061008277 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008277 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='80108155-c4bf-4b3e-b295-e8a5f62780e4' LIMIT 1 Date : 2025-08-27T09:49:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T09:49:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008233 post PendingInvicesDO 2 MED-061008278 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008278 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='efd407d4-dc38-4c6d-ba4c-2ec709eee6ca' LIMIT 1 Date : 2025-08-27T10:31:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T10:31:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008234 post PendingInvicesDO 2 MED-061008163 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008163 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008163' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008163' OR OrderId='MED-061008163' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-27T11:11:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008235 post PendingInvicesDO 2 MED-061008280 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008280 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d9616be-0515-4dd1-a164-0d3f939cd67c' LIMIT 1 Date : 2025-08-27T11:43:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T11:43:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008236 post PendingInvicesDO 2 MED-061008281 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008281 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bc29d84-e0af-4041-a4c6-7e10e9d74e2a' LIMIT 1 Date : 2025-08-27T11:58:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T11:58:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008237 post PendingInvicesDO 2 MED-061008282 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008282 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='288ee3b5-9c55-46f7-9543-cf26a65dae97' LIMIT 1 Date : 2025-08-27T12:19:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T12:19:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008238 post PendingInvicesDO 2 MED-061008283 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008283 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='758fd6cc-0c43-4fdd-9a71-7fae40a397c4' LIMIT 1 Date : 2025-08-27T12:55:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T12:55:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008239 post PendingInvicesDO 2 MED-061008284 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008284 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1fcf8f2-fe32-4509-8626-2b994c17b7ac' LIMIT 1 Date : 2025-08-27T13:03:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T13:03:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008240 post PendingInvicesDO 2 MED-061008285 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008285 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f10efa6-a5fb-4cb0-a0e7-a2108e550d5e' LIMIT 1 Date : 2025-08-27T13:30:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T13:30:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008241 post PendingInvicesDO 2 MED-061008286 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008286 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7b9dda6-2277-48a4-b03a-22f96e2191af' LIMIT 1 Date : 2025-08-27T13:37:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T13:37:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008243 post PendingInvicesDO 2 MED-061008288 post PendingInvicesDO 2 MED-061008287 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008242 post PendingInvicesDO 2 MED-061008288 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008287 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008288 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c49dc5ce-9cc8-4561-ad48-818401756ab7' LIMIT 1 Date : 2025-08-27T14:11:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ebba70ea-b640-442e-a3ca-4f94468f23b1' LIMIT 1 Date : 2025-08-27T14:11:08  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c49dc5ce-9cc8-4561-ad48-818401756ab7' LIMIT 1 Date : 2025-08-27T14:11:08  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ebba70ea-b640-442e-a3ca-4f94468f23b1' LIMIT 1 Date : 2025-08-27T14:11:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-27T14:11:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008244 post PendingInvicesDO 2 MED-061008289 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008289 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e45378c-b73b-48fe-a53d-7cd579d424d1' LIMIT 1 Date : 2025-08-27T14:31:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T14:31:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008245 post PendingInvicesDO 2 MED-061008290 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008290 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52f84ba1-3ef8-4ccb-8688-a3e8af79a022' LIMIT 1 Date : 2025-08-27T14:50:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T14:50:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008246 post PendingInvicesDO 2 MED-061008291 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008291 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2254f1a-7f65-4190-b566-f8a6807b138e' LIMIT 1 Date : 2025-08-27T15:58:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T15:58:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008247 post PendingInvicesDO 2 MED-061008292 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008292 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d32e04b3-d5d5-45cc-ab21-1fc11d5c2807' LIMIT 1 Date : 2025-08-27T17:03:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T17:03:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008248 post PendingInvicesDO 2 MED-061008293 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008293 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b39dd6c-0a3b-405e-a748-5ff1555c6ed9' LIMIT 1 Date : 2025-08-27T17:33:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T17:33:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008249 post PendingInvicesDO 2 MED-061008294 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008294 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7922bc1d-d15a-4122-8f24-479476d6447f' LIMIT 1 Date : 2025-08-27T18:06:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T18:06:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008251 post PendingInvicesDO 2 MED-061008296 post PendingInvicesDO 2 MED-061008295 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008250 post PendingInvicesDO 2 MED-061008296 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008295 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008296 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4f37fb7-211e-40e7-9394-e01fb11f23eb' LIMIT 1 Date : 2025-08-27T18:23:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d06c7d27-bd9e-4830-9717-357e20e24006' LIMIT 1 Date : 2025-08-27T18:23:33  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4f37fb7-211e-40e7-9394-e01fb11f23eb' LIMIT 1 Date : 2025-08-27T18:23:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d06c7d27-bd9e-4830-9717-357e20e24006' LIMIT 1 Date : 2025-08-27T18:23:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-27T18:23:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008252 post PendingInvicesDO 2 MED-061008297 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008297 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6671755-0e66-449e-8514-114c9f5c3801' LIMIT 1 Date : 2025-08-27T18:52:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T18:52:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008253 post PendingInvicesDO 2 MED-061008298 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008298 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e86d2c07-392a-4e2b-9ad2-bcb6eb693a5b' LIMIT 1 Date : 2025-08-27T19:22:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T19:22:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008254 post PendingInvicesDO 2 MED-061008299 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008299 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bd2d19f-d721-4d84-805b-99fd73c2351b' LIMIT 1 Date : 2025-08-27T20:09:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T20:09:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008255 post PendingInvicesDO 2 MED-061008300 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008300 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e4b3a6a-ec51-4dc1-9397-c9ebf7be7fdb' LIMIT 1 Date : 2025-08-27T20:42:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T20:42:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008256 post PendingInvicesDO 2 MED-061007943 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061007943 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061007943' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061007943' OR OrderId='MED-061007943' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-27T21:32:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008257 post PendingInvicesDO 2 MED-061008302 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008302 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e2ec170-10c4-4b24-8555-030c0950832c' LIMIT 1 Date : 2025-08-27T22:08:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T22:08:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008259 post PendingInvicesDO 2 MED-061008304 post PendingInvicesDO 2 MED-061008303 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008258 post PendingInvicesDO 2 MED-061008304 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008303 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008304 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc649179-ea2f-4071-b7b1-9ea8738e899e' LIMIT 1 Date : 2025-08-28T08:44:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7154ebd2-0443-40ce-81d0-64f5a7a6ecb9' LIMIT 1 Date : 2025-08-28T08:44:17  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc649179-ea2f-4071-b7b1-9ea8738e899e' LIMIT 1 Date : 2025-08-28T08:44:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7154ebd2-0443-40ce-81d0-64f5a7a6ecb9' LIMIT 1 Date : 2025-08-28T08:44:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-28T08:44:17 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-064008260 post PendingInvicesDO 2 MED-061008188 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008188 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008188' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008188' OR OrderId='MED-061008188' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-28T09:39:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008261 post PendingInvicesDO 2 MED-061008306 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008306 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e42a44f-05e7-4d38-9b69-67dae96f6a78' LIMIT 1 Date : 2025-08-28T10:24:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T10:24:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008262 post PendingInvicesDO 2 MED-061008307 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008307 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60644b59-729d-4ebe-8809-eb1068804c08' LIMIT 1 Date : 2025-08-28T10:39:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T10:39:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008264 post PendingInvicesDO 2 MED-061008309 post PendingInvicesDO 2 MED-061008308 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008263 post PendingInvicesDO 2 MED-061008309 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008308 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008309 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bafb761-6f39-4786-b4c2-e61558f60a75' LIMIT 1 Date : 2025-08-28T11:36:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d0de97e-8cec-4213-8bb2-b973617a2f20' LIMIT 1 Date : 2025-08-28T11:36:24  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bafb761-6f39-4786-b4c2-e61558f60a75' LIMIT 1 Date : 2025-08-28T11:36:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d0de97e-8cec-4213-8bb2-b973617a2f20' LIMIT 1 Date : 2025-08-28T11:36:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-28T11:36:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008265 post PendingInvicesDO 2 MED-061008310 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008310 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3dd22a4c-60e3-454d-a46e-42e597b91c11' LIMIT 1 Date : 2025-08-28T12:20:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T12:20:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008266 post PendingInvicesDO 2 MED-061008311 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008311 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2473828-e480-44b7-9eda-5bcf702d5d70' LIMIT 1 Date : 2025-08-28T12:36:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T12:36:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008267 post PendingInvicesDO 2 MED-061008312 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008312 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a2e540d-84a7-496d-b107-cbf2864be196' LIMIT 1 Date : 2025-08-28T13:16:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T13:16:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008268 post PendingInvicesDO 2 MED-061008313 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008313 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e836950e-2e5c-4266-9e7a-a5cae1ceb815' LIMIT 1 Date : 2025-08-28T14:12:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T14:12:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008269 post PendingInvicesDO 2 MED-061008314 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008314 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3807e6c-1272-47fe-98a8-d1af83cd7cc9' LIMIT 1 Date : 2025-08-28T14:31:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T14:31:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008270 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-08-28T14:32:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008271 post PendingInvicesDO 2 MED-061008316 post PendingInvicesDO 2 MED-061008315 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008270 post PendingInvicesDO 2 MED-061008316 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008315 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008316 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67f11f25-1bb0-4442-bce0-8600125afba6' LIMIT 1 Date : 2025-08-28T14:37:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8717a28b-ede3-4a08-b404-b289a03e34c8' LIMIT 1 Date : 2025-08-28T14:37:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67f11f25-1bb0-4442-bce0-8600125afba6' LIMIT 1 Date : 2025-08-28T14:37:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8717a28b-ede3-4a08-b404-b289a03e34c8' LIMIT 1 Date : 2025-08-28T14:37:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-28T14:37:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008272 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-08-28T14:44:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008272 post PendingInvicesDO 2 MED-061008317 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008317 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46ae09dc-9d5a-4e62-abc4-62a81260f95e' LIMIT 1 Date : 2025-08-28T15:26:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T15:26:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008273 post PendingInvicesDO 2 MED-061008318 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008318 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb47f76a-ef02-4e91-9433-f2fc1511f53b' LIMIT 1 Date : 2025-08-28T16:11:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T16:11:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008274 post PendingInvicesDO 2 MED-061008319 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008319 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bfc61558-f07f-408a-83c0-4648fd0f0fc1' LIMIT 1 Date : 2025-08-28T18:50:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T18:50:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008275 post PendingInvicesDO 2 MED-061008320 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008320 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2fcf6f5-5655-40a0-bbae-871a8b88220e' LIMIT 1 Date : 2025-08-28T19:29:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T19:29:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008277 post PendingInvicesDO 2 MED-061008197 post PendingInvicesDO 2 MED-061008196 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008276 post PendingInvicesDO 2 MED-061008197 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008196 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008197 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008197' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008197' OR OrderId='MED-061008197' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008197' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008197' OR OrderId='MED-061008197' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-28T20:39:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008278 post PendingInvicesDO 2 MED-061008322 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008322 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c71d8267-bf64-4a3d-b088-470800c1bba6' LIMIT 1 Date : 2025-08-28T21:45:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T21:45:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008279 post PendingInvicesDO 2 MED-061008323 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008323 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f524b665-69c6-441f-8952-a179072c456a' LIMIT 1 Date : 2025-08-29T18:39:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T18:39:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008280 post PendingInvicesDO 2 MED-061008324 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008324 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79228d8a-aac9-4272-ba1e-d74820b8e1f7' LIMIT 1 Date : 2025-08-29T19:46:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T19:46:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008281 post PendingInvicesDO 2 MED-061008325 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008325 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f10912c-cd8d-4ce9-92f8-7a9cd9ca9e50' LIMIT 1 Date : 2025-08-29T20:13:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T20:13:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008282 post PendingInvicesDO 2 MED-061008326 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008326 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc469fa6-ad37-4316-b3e9-962fd851b101' LIMIT 1 Date : 2025-08-29T20:44:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T20:44:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008283 post PendingInvicesDO 2 MED-061008327 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008327 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27794db8-8803-4c0e-a3c2-3b25ccef600c' LIMIT 1 Date : 2025-08-29T21:14:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T21:14:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008284 post PendingInvicesDO 2 MED-061008328 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008328 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='147ba091-8d2d-40a7-9f6a-a509e02239cd' LIMIT 1 Date : 2025-08-30T09:19:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T09:19:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008285 post PendingInvicesDO 2 MED-061008329 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008329 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02416a9f-561e-4b1c-989c-b1e742d533a4' LIMIT 1 Date : 2025-08-30T09:43:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T09:43:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008286 post PendingInvicesDO 2 MED-061008330 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008330 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6512831c-4816-46fc-b40c-9e7e7981f8f2' LIMIT 1 Date : 2025-08-30T10:25:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T10:25:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008287 post PendingInvicesDO 2 MED-061008331 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008331 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb1af9a8-fbae-46b0-81f0-e086bea89afe' LIMIT 1 Date : 2025-08-30T10:46:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T10:46:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008288 post PendingInvicesDO 2 MED-061008332 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008332 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a23fd1a-e8c0-49b5-9ab5-f75ffd1e248c' LIMIT 1 Date : 2025-08-30T11:15:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T11:15:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008289 post PendingInvicesDO 2 MED-061008333 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008333 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e912f5f-1d77-4719-9c24-3535e6d5402d' LIMIT 1 Date : 2025-08-30T12:21:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T12:21:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008290 post PendingInvicesDO 2 MED-061008334 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008334 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bd09f0a-948c-4497-809a-75d8ae769b24' LIMIT 1 Date : 2025-08-30T13:17:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T13:17:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008291 post PendingInvicesDO 2 MED-061008335 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008335 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='334c3b19-dd5a-42d6-8948-c660a260395e' LIMIT 1 Date : 2025-08-30T14:10:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T14:10:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008292 post PendingInvicesDO 2 MED-061008336 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008336 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b721ebfb-c236-4ca3-baf8-291904307fb6' LIMIT 1 Date : 2025-08-30T14:42:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T14:42:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008293 post PendingInvicesDO 2 MED-061008337 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008337 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71a21200-2ddd-47f1-8e03-2c4802bd63db' LIMIT 1 Date : 2025-08-30T15:08:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T15:08:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008294 post PendingInvicesDO 2 MED-061008338 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008338 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='693e3afc-8a70-483a-8acc-deb625db1131' LIMIT 1 Date : 2025-08-30T15:28:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T15:28:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008295 post PendingInvicesDO 2 MED-061008339 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008339 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69561c4f-5935-4589-90ae-8e99d1ca89f0' LIMIT 1 Date : 2025-08-30T15:50:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T15:50:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008296 post PendingInvicesDO 2 MED-061008340 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008340 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60c64ce4-758d-4719-a874-2f97de26f08f' LIMIT 1 Date : 2025-08-30T16:22:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T16:22:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008297 post PendingInvicesDO 2 MED-061008341 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008341 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f92cf91c-5907-4909-9ea9-39ce13c0284b' LIMIT 1 Date : 2025-08-30T16:32:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T16:32:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008298 post PendingInvicesDO 2 MED-061008342 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008342 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d33aace-dbac-4b2a-b8ca-53d3cd57f6a8' LIMIT 1 Date : 2025-08-30T16:37:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T16:37:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008299 post PendingInvicesDO 2 MED-061008343 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008343 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7cb543ef-08e2-41bd-a46e-824d98a0899d' LIMIT 1 Date : 2025-08-30T20:08:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T20:08:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008300 post PendingInvicesDO 2 MED-061008258 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008258 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008258' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008258' OR OrderId='MED-061008258' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T20:54:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008301 post PendingInvicesDO 2 MED-061008345 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008345 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='320c3fae-4aa1-4cc2-8b74-8614901c5e68' LIMIT 1 Date : 2025-08-30T21:27:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T21:27:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008302 post PendingInvicesDO 2 MED-061008346 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008346 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2ae7c3d-30ea-4bf4-8a7c-c2bcc07bab3d' LIMIT 1 Date : 2025-08-31T09:02:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T09:02:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008303 post PendingInvicesDO 2 MED-061008347 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008347 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d67ea3b7-ef9d-481a-b07d-00b906988274' LIMIT 1 Date : 2025-08-31T09:37:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T09:37:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008304 post PendingInvicesDO 2 MED-061008348 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008348 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56fe4188-c1f2-47c2-8d06-e4e16a177a32' LIMIT 1 Date : 2025-08-31T09:47:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T09:47:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008306 post PendingInvicesDO 2 MED-061008350 post PendingInvicesDO 2 MED-061008349 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008305 post PendingInvicesDO 2 MED-061008350 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008349 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008350 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8420601c-395a-478e-9220-60f280222c69' LIMIT 1 Date : 2025-08-31T10:03:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dab943c0-0ebc-4f4e-b6e1-2528c12a2723' LIMIT 1 Date : 2025-08-31T10:03:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8420601c-395a-478e-9220-60f280222c69' LIMIT 1 Date : 2025-08-31T10:03:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dab943c0-0ebc-4f4e-b6e1-2528c12a2723' LIMIT 1 Date : 2025-08-31T10:03:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-31T10:03:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008307 post PendingInvicesDO 2 MED-061008351 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008351 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8da571a1-2c6d-4ce9-be76-a8963b153e61' LIMIT 1 Date : 2025-08-31T10:17:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T10:17:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008308 post PendingInvicesDO 2 MED-061008352 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008352 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a74bf4c8-b0cf-4aa3-8fe4-c9dab03a6cc9' LIMIT 1 Date : 2025-08-31T10:35:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T10:35:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008309 post PendingInvicesDO 2 MED-061008353 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008353 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c51c0d96-702f-42d5-aea2-e9bfd3ca7221' LIMIT 1 Date : 2025-08-31T10:48:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T10:48:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008310 post PendingInvicesDO 2 MED-061008354 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008354 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dba0ac9f-9123-419c-b299-2fb9e1a59a11' LIMIT 1 Date : 2025-08-31T10:52:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T10:52:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008311 post PendingInvicesDO 2 MED-061008355 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008355 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7311fe76-3d56-4d6d-acff-6eadec5fd06f' LIMIT 1 Date : 2025-08-31T11:02:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T11:02:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008312 post PendingInvicesDO 2 MED-061008356 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008356 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f37c7a5a-026a-48a4-b8c0-3bb7b9fea782' LIMIT 1 Date : 2025-08-31T11:23:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T11:23:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008313 post PendingInvicesDO 2 MED-061008357 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008357 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0458a05e-bf3b-4de2-a6b5-9fb3ee62218a' LIMIT 1 Date : 2025-08-31T11:45:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T11:45:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008314 post PendingInvicesDO 2 MED-061008359 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008359 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a47b0ca0-031c-498f-8cd4-5add599f734f' LIMIT 1 Date : 2025-08-31T14:09:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T14:09:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008315 post PendingInvicesDO 2 MED-061008360 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008360 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21800c03-6890-428a-ab0d-50972c1ca304' LIMIT 1 Date : 2025-08-31T15:04:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T15:04:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008316 post PendingInvicesDO 2 MED-061008361 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008361 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6bc7aff2-1991-4a97-a560-9be85a5d25d0' LIMIT 1 Date : 2025-09-01T09:19:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T09:19:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008317 post PendingInvicesDO 2 MED-061008362 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008362 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90c33205-c7a1-4d08-9a7b-4eba5fc153e4' LIMIT 1 Date : 2025-09-01T09:36:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T09:36:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008318 post PendingInvicesDO 2 MED-061008363 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008363 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee9037ef-4659-4a5d-8845-c2acfb6c99dc' LIMIT 1 Date : 2025-09-01T09:43:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T09:43:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008319 post PendingInvicesDO 2 MED-061008364 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008364 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='134e9a1f-7ffc-4e00-8eb6-45da82bd9dd7' LIMIT 1 Date : 2025-09-01T09:59:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T09:59:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008320 post PendingInvicesDO 2 MED-061008365 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008365 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0b3c1a6-3436-4398-ba1a-5b200151c902' LIMIT 1 Date : 2025-09-01T10:05:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T10:05:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008321 post PendingInvicesDO 2 MED-061008366 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008366 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9c851c5-981c-4e50-a017-ca5c34312881' LIMIT 1 Date : 2025-09-01T10:22:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T10:22:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008322 post PendingInvicesDO 2 MED-061008367 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008367 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bc8bdfa-bade-4635-b848-ede704fb2425' LIMIT 1 Date : 2025-09-01T10:28:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T10:28:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008323 post PendingInvicesDO 2 MED-061008368 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008368 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fb91b53-619e-4077-b5e9-b821479a7573' LIMIT 1 Date : 2025-09-01T10:47:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T10:47:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008324 post PendingInvicesDO 2 MED-061008369 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008369 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6815f6db-2917-456f-8b39-ef66a8855c6a' LIMIT 1 Date : 2025-09-01T11:02:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T11:02:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008325 post PendingInvicesDO 2 MED-061008370 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008370 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='53493593-8679-4b88-b56d-92a2d8c7f7eb' LIMIT 1 Date : 2025-09-01T11:08:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T11:08:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008326 post PendingInvicesDO 2 MED-061008371 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008371 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a7d2ce3-f287-4c8a-9cd0-165853211a24' LIMIT 1 Date : 2025-09-01T11:30:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T11:30:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008328 post PendingInvicesDO 2 MED-061008373 post PendingInvicesDO 2 MED-061008372 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008327 post PendingInvicesDO 2 MED-061008373 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008372 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008373 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78f553cc-08c6-474e-813c-7705104e15ec' LIMIT 1 Date : 2025-09-01T11:46:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d2ab7cf-4628-4db5-8459-ea42330103b5' LIMIT 1 Date : 2025-09-01T11:46:29  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78f553cc-08c6-474e-813c-7705104e15ec' LIMIT 1 Date : 2025-09-01T11:46:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d2ab7cf-4628-4db5-8459-ea42330103b5' LIMIT 1 Date : 2025-09-01T11:46:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-01T11:46:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008329 post PendingInvicesDO 2 MED-061008374 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008374 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ddde3902-a6b9-4243-9201-b55afc6ca998' LIMIT 1 Date : 2025-09-01T12:21:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T12:21:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008330 post PendingInvicesDO 2 MED-061008257 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008257 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008257' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008257' OR OrderId='MED-061008257' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-01T12:56:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008331 post PendingInvicesDO 2 MED-061008375 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008375 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b5d42fc-d4b4-4557-aca0-a0a08dbfa0a4' LIMIT 1 Date : 2025-09-01T13:01:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T13:01:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008332 post PendingInvicesDO 2 MED-061008376 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008376 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14c93ba7-1305-42b2-b44c-4e759a27a3cf' LIMIT 1 Date : 2025-09-01T13:37:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T13:37:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008333 post PendingInvicesDO 2 MED-061008377 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008377 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='131dc966-c914-4992-af37-38bb4491cb54' LIMIT 1 Date : 2025-09-01T13:42:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T13:42:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008334 post PendingInvicesDO 2 MED-061008378 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008378 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9a37b32-d6bc-4f90-98a6-48bd75de9d11' LIMIT 1 Date : 2025-09-01T13:55:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T13:55:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008335 post PendingInvicesDO 2 MED-061008379 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008379 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3fd92959-9aa1-4648-a1ee-d286605b2f5d' LIMIT 1 Date : 2025-09-01T18:17:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T18:17:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008336 post PendingInvicesDO 2 MED-061008380 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008380 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008380' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008380' OR OrderId='MED-061008380' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-01T19:35:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008337 post PendingInvicesDO 2 MED-061008381 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008381 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6bbeb3c-6234-4f60-a57f-8106eb022cb5' LIMIT 1 Date : 2025-09-01T19:43:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T19:43:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008338 post PendingInvicesDO 2 MED-061008382 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008382 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e059e98d-b7c5-483f-9351-3d74857f3124' LIMIT 1 Date : 2025-09-01T20:03:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T20:03:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008339 post PendingInvicesDO 2 MED-061008383 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008383 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5823298d-5d30-457f-8020-dd6acc0aebe6' LIMIT 1 Date : 2025-09-02T08:48:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T08:48:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008340 post PendingInvicesDO 2 MED-061008384 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008384 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d5333ca-d04a-4a56-9fdc-446fd8b4f53b' LIMIT 1 Date : 2025-09-02T08:59:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T08:59:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008341 post PendingInvicesDO 2 MED-061008385 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008385 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6948bc56-4bd8-4092-aedc-7c837b6eb268' LIMIT 1 Date : 2025-09-02T09:07:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T09:07:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008342 post PendingInvicesDO 2 MED-061008386 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008386 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b337dca1-2964-4183-b4d5-bf8f656b8c59' LIMIT 1 Date : 2025-09-02T09:23:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T09:23:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008343 post PendingInvicesDO 2 MED-061008387 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008387 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5bab66cc-3c9c-4821-9678-a147c4727e73' LIMIT 1 Date : 2025-09-02T09:36:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T09:36:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008344 post PendingInvicesDO 2 MED-061008388 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008388 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93cfa291-81a9-4b7d-ae7e-746ca4a4dd88' LIMIT 1 Date : 2025-09-02T09:43:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T09:43:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008345 post PendingInvicesDO 2 MED-061008389 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008389 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a4573f5-7ef2-4c51-87d6-c83c4f33020f' LIMIT 1 Date : 2025-09-02T10:19:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T10:19:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008346 post PendingInvicesDO 2 MED-061008390 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008390 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c87c293-b46a-4ca9-bfaf-0842a943e7ef' LIMIT 1 Date : 2025-09-02T10:39:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T10:39:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008347 post PendingInvicesDO 2 MED-061008391 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008391 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b5e246a6-dd9a-47a0-9ff2-b0441c2a35d5' LIMIT 1 Date : 2025-09-02T10:43:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T10:43:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008348 post PendingInvicesDO 2 MED-061008392 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008392 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008392' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008392' OR OrderId='MED-061008392' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-02T11:07:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008349 post PendingInvicesDO 2 MED-061008393 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008393 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='baef63f4-774c-4c4b-9b25-623523876fc1' LIMIT 1 Date : 2025-09-02T11:35:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T11:35:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008350 post PendingInvicesDO 2 MED-061008394 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008394 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='111cb52a-8e19-428b-b4c3-518f15c5dbdb' LIMIT 1 Date : 2025-09-02T11:44:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T11:44:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008351 post PendingInvicesDO 2 MED-061008272 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008272 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008272' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008272' OR OrderId='MED-061008272' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-02T11:56:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008352 post PendingInvicesDO 2 MED-061008396 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008396 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9f8e309-a96e-4565-b591-cbae6491b038' LIMIT 1 Date : 2025-09-02T12:26:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T12:26:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008353 post PendingInvicesDO 2 MED-061008397 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008397 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84d66b08-7667-4b3c-8f58-4618a872a0bb' LIMIT 1 Date : 2025-09-02T12:30:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T12:30:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008354 post PendingInvicesDO 2 MED-061008398 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008398 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0536bb40-453f-4116-9d8f-5b8befb151ad' LIMIT 1 Date : 2025-09-02T13:07:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T13:07:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008355 post PendingInvicesDO 2 MED-061008399 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008399 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ee7ce44-bc79-442d-9442-4b89c16cbc13' LIMIT 1 Date : 2025-09-02T13:13:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T13:13:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008356 post PendingInvicesDO 2 MED-061008220 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008220 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008220' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008220' OR OrderId='MED-061008220' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-02T13:26:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008357 post PendingInvicesDO 2 MED-061008401 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008401 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='924eca87-73c4-4dfc-8812-f29fbc6b8c2c' LIMIT 1 Date : 2025-09-02T21:34:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T21:34:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008358 post PendingInvicesDO 2 MED-061008402 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008402 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b3b2109-1d06-4795-96fb-3eac2cfe44c1' LIMIT 1 Date : 2025-09-02T21:39:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T21:39:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008359 post PendingInvicesDO 2 MED-061008273 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008273 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008273' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008273' OR OrderId='MED-061008273' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-02T21:44:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008360 post PendingInvicesDO 2 MED-061008403 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008403 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4055e44a-bb59-4951-835a-8cf2ddf3c842' LIMIT 1 Date : 2025-09-02T21:48:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T21:48:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008361 post PendingInvicesDO 2 MED-061008404 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008404 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8e52e7f-0d11-4bb7-8f38-97efc95a6b0b' LIMIT 1 Date : 2025-09-03T10:04:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T10:04:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008362 post PendingInvicesDO 2 MED-061008279 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008279 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008279' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008279' OR OrderId='MED-061008279' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-03T10:24:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008363 post PendingInvicesDO 2 MED-061008406 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008406 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34da1e44-9d13-4bf5-b0e5-20d5db96a8d3' LIMIT 1 Date : 2025-09-03T10:53:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T10:53:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008364 post PendingInvicesDO 2 MED-061008407 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008407 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b7dea63-e61b-4273-8769-0866ad37bd5b' LIMIT 1 Date : 2025-09-03T11:11:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T11:11:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008365 post PendingInvicesDO 2 MED-061008408 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008408 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e874aecd-eb28-4edb-8137-8dc9277e4697' LIMIT 1 Date : 2025-09-03T11:39:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T11:39:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008366 post PendingInvicesDO 2 MED-061008409 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008409 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46a48328-4a80-4b27-870a-dc0e1080b835' LIMIT 1 Date : 2025-09-03T12:01:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T12:01:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008367 post PendingInvicesDO 2 MED-061008410 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008410 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='daeee458-ae91-4297-9411-ece9ac55a19c' LIMIT 1 Date : 2025-09-03T12:16:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T12:16:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008368 post PendingInvicesDO 2 MED-061008411 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008411 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66f42829-94ba-4915-94d1-14b664b81cfd' LIMIT 1 Date : 2025-09-03T13:06:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T13:06:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008369 post PendingInvicesDO 2 MED-061008412 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008412 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b1d09f1-3615-4a41-9560-c94f1b9d1356' LIMIT 1 Date : 2025-09-03T13:30:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T13:30:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008370 post PendingInvicesDO 2 MED-061008413 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008413 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f20583c5-77fe-4bcf-9337-704f08dd6184' LIMIT 1 Date : 2025-09-03T13:50:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T13:50:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008371 post PendingInvicesDO 2 MED-061008414 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008414 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32909a53-48f9-486c-8d2b-8eff3fadf768' LIMIT 1 Date : 2025-09-03T14:12:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T14:12:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008372 post PendingInvicesDO 2 MED-061008415 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008415 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67438eda-1f09-4570-a2b2-88d2e39326a0' LIMIT 1 Date : 2025-09-03T15:56:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T15:56:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008373 post PendingInvicesDO 2 MED-061008416 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008416 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e5b172d-a553-46bd-bfde-f0e3e77a1b91' LIMIT 1 Date : 2025-09-03T16:11:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T16:11:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008374 post PendingInvicesDO 2 MED-061008417 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008417 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a52c855b-1a15-4d8c-9ce4-2797e87a51a0' LIMIT 1 Date : 2025-09-03T16:38:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T16:38:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008375 post PendingInvicesDO 2 MED-061008418 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008418 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ebc42ac6-4f18-4fda-995a-d12e227a4097' LIMIT 1 Date : 2025-09-03T16:55:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T16:55:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008376 post PendingInvicesDO 2 MED-061008419 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008419 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2538a706-a4da-4cee-be3e-b6ddee945814' LIMIT 1 Date : 2025-09-03T17:22:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T17:22:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008377 post PendingInvicesDO 2 MED-061008420 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008420 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71c380a2-32cc-4af1-929e-3c5092cd3254' LIMIT 1 Date : 2025-09-03T19:03:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T19:03:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008378 post PendingInvicesDO 2 MED-061008421 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008421 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff27de53-9529-4485-9121-4f9173726f88' LIMIT 1 Date : 2025-09-03T19:16:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T19:16:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008379 post PendingInvicesDO 2 MED-061008422 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008422 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d7b9537-c896-4dd9-84bd-a7522aea5085' LIMIT 1 Date : 2025-09-03T19:21:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T19:21:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008380 post PendingInvicesDO 2 MED-061008424 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008424 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='033bde59-e43e-4b01-91ea-098b3b5b5d0c' LIMIT 1 Date : 2025-09-03T20:56:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T20:56:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008381 post PendingInvicesDO 2 MED-061008425 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008425 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4765977-cf95-4a8b-b924-782ef316ca74' LIMIT 1 Date : 2025-09-03T21:05:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T21:05:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008382 post PendingInvicesDO 2 MED-061008301 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008301 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008301' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008301' OR OrderId='MED-061008301' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-03T21:48:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008383 post PendingInvicesDO 2 MED-061008426 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008426 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6edbf43f-7f63-4ee9-8824-70047e445a9e' LIMIT 1 Date : 2025-09-03T21:49:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T21:49:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008384 post PendingInvicesDO 2 MED-061008427 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008427 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f46bfd3e-88d1-4878-a02b-3bc67176c281' LIMIT 1 Date : 2025-09-03T21:58:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T21:58:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008385 post PendingInvicesDO 2 MED-061008428 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008428 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e2073c7-1eed-49a6-808a-2b4670e7f7e3' LIMIT 1 Date : 2025-09-03T22:20:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T22:20:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008386 post PendingInvicesDO 2 MED-061008429 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008429 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9277a74-040e-4f12-b66a-6cfae0192e15' LIMIT 1 Date : 2025-09-04T09:08:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T09:08:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008387 post PendingInvicesDO 2 MED-061008430 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008430 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b397063c-c8f7-43c4-bfa4-4f3cf0f11f8d' LIMIT 1 Date : 2025-09-04T10:23:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T10:23:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008388 post PendingInvicesDO 2 MED-061008431 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008431 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5998e2e4-6a06-4dda-aaa8-89ba4905cdc8' LIMIT 1 Date : 2025-09-04T11:17:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T11:17:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008389 post PendingInvicesDO 2 MED-061008305 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008305 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008305' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008305' OR OrderId='MED-061008305' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-04T13:27:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008390 post PendingInvicesDO 2 MED-061008432 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008432 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008432' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008432' OR OrderId='MED-061008432' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-04T13:48:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008391 post PendingInvicesDO 2 MED-061008433 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008433 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='beb3ad9c-0a04-4460-b053-494073ae4e38' LIMIT 1 Date : 2025-09-04T14:19:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T14:19:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008392 post PendingInvicesDO 2 MED-061008434 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008434 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2f3c62e-3fb7-47ae-bf85-68a3548befc2' LIMIT 1 Date : 2025-09-04T14:34:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T14:34:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008393 post PendingInvicesDO 2 MED-061008435 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008435 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64ee72b3-dcb8-4d1d-95e5-33fcac0665b8' LIMIT 1 Date : 2025-09-04T15:28:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T15:28:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008394 post PendingInvicesDO 2 MED-061008436 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008436 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba9eb79a-b1d9-4db3-b7f2-88ecb354cf18' LIMIT 1 Date : 2025-09-04T16:03:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T16:03:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008395 post PendingInvicesDO 2 MED-061008437 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008437 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32c4b412-2f66-4749-878e-f9f956e23d06' LIMIT 1 Date : 2025-09-04T16:18:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T16:18:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008396 post PendingInvicesDO 2 MED-061008438 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008438 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96bcdc71-c26d-4e11-a3c4-eb6e47290f9a' LIMIT 1 Date : 2025-09-04T16:35:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T16:35:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008397 post PendingInvicesDO 2 MED-061008439 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008439 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2df1ef9f-8f83-494e-a3ad-2611279f5aa6' LIMIT 1 Date : 2025-09-04T17:27:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T17:27:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008398 post PendingInvicesDO 2 MED-061008440 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008440 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56b9af56-7d43-4513-89df-82882ea24b83' LIMIT 1 Date : 2025-09-04T17:58:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T17:58:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008399 post PendingInvicesDO 2 MED-061008441 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008441 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a77f5d19-334c-4c0e-83c0-b8acdaeb96e9' LIMIT 1 Date : 2025-09-04T18:22:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T18:22:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008400 post PendingInvicesDO 2 MED-061006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061006630' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061006630' OR OrderId='MED-061006630' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-09-04T18:24:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008400 post PendingInvicesDO 2 MED-061008442 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008442 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d3165d8-8aff-43d3-bfb7-bd462aa76005' LIMIT 1 Date : 2025-09-04T19:01:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T19:01:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008401 post PendingInvicesDO 2 MED-061008443 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008443 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc920e2f-1c4d-4f39-927d-4d207ab26c5e' LIMIT 1 Date : 2025-09-04T20:06:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T20:06:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008402 post PendingInvicesDO 2 MED-061008321 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008321 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008321' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008321' OR OrderId='MED-061008321' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-04T20:50:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008403 post PendingInvicesDO 2 MED-061008445 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008445 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='924b1f30-8f82-4177-9a33-7a6865dbf050' LIMIT 1 Date : 2025-09-04T21:43:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T21:43:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008404 post PendingInvicesDO 2 MED-061008446 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008446 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5f4b6ad-1755-4224-9a68-4f7b8b8a9794' LIMIT 1 Date : 2025-09-04T22:10:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T22:10:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008405 post PendingInvicesDO 2 MED-061008447 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008447 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e4cee5c-9776-4c92-bfaa-bf0fbe050366' LIMIT 1 Date : 2025-09-04T22:32:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T22:32:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008407 post PendingInvicesDO 2 MED-061008449 post PendingInvicesDO 2 MED-061008448 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008406 post PendingInvicesDO 2 MED-061008449 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008448 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008449 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ea545a6-36ee-4dda-8e40-eca0cc5a1c34' LIMIT 1 Date : 2025-09-04T23:02:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15fa7508-b8a9-4b82-989c-ce5eda302a8f' LIMIT 1 Date : 2025-09-04T23:02:17  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ea545a6-36ee-4dda-8e40-eca0cc5a1c34' LIMIT 1 Date : 2025-09-04T23:02:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15fa7508-b8a9-4b82-989c-ce5eda302a8f' LIMIT 1 Date : 2025-09-04T23:02:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-04T23:02:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008408 post PendingInvicesDO 2 MED-061008236 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008236 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008236' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008236' OR OrderId='MED-061008236' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-05T17:44:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008409 post PendingInvicesDO 2 MED-061008450 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008450 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='701d158e-f1dc-4f5b-8cb1-0a91ba693775' LIMIT 1 Date : 2025-09-05T17:48:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-05T17:48:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008410 post PendingInvicesDO 2 MED-061008452 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008452 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6af072d2-b9c1-4736-b26e-40c286bdd9cb' LIMIT 1 Date : 2025-09-05T19:00:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-05T19:00:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008412 post PendingInvicesDO 2 MED-061008219 post PendingInvicesDO 2 MED-061008218 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008411 post PendingInvicesDO 2 MED-061008219 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008218 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008219 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008219' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008219' OR OrderId='MED-061008219' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008219' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008219' OR OrderId='MED-061008219' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-05T19:46:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008413 post PendingInvicesDO 2 MED-061008454 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008454 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='737acd0f-e94b-4059-be79-816202b0d8b8' LIMIT 1 Date : 2025-09-05T20:55:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-05T20:55:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008414 post PendingInvicesDO 2 MED-061008275 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008275 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008275' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008275' OR OrderId='MED-061008275' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-05T21:08:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008415 post PendingInvicesDO 2 MED-061008344 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008344 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008344' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008344' OR OrderId='MED-061008344' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-05T21:52:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008416 post PendingInvicesDO 2 MED-061008457 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008457 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bc14859-ac25-43af-a22d-15737fd9cf2d' LIMIT 1 Date : 2025-09-05T21:56:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-05T21:56:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008417 post PendingInvicesDO 2 MED-061008458 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008458 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e832939-274a-441a-b8a5-e1e424bac883' LIMIT 1 Date : 2025-09-05T22:27:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-05T22:27:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008418 post PendingInvicesDO 2 MED-061008210 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008210 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008210' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008210' OR OrderId='MED-061008210' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-06T09:22:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008419 post PendingInvicesDO 2 MED-061008227 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008227 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008227' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008227' OR OrderId='MED-061008227' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-06T09:23:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008420 post PendingInvicesDO 2 MED-061008228 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008228 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008228' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008228' OR OrderId='MED-061008228' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-06T09:23:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008421 post PendingInvicesDO 2 MED-061008241 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008241 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008241' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008241' OR OrderId='MED-061008241' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-06T09:24:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008422 post PendingInvicesDO 2 MED-061008459 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008459 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ace6480-fea7-47c3-b60d-7385a3eaa211' LIMIT 1 Date : 2025-09-06T09:35:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T09:35:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008423 post PendingInvicesDO 2 MED-061008460 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008460 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8efc7f07-9b5c-4fcb-97dd-db6a1378ec42' LIMIT 1 Date : 2025-09-06T09:58:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T09:58:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008424 post PendingInvicesDO 2 MED-061008461 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008461 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aab006a5-170a-41f5-8d8c-020b332cb913' LIMIT 1 Date : 2025-09-06T10:41:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T10:41:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008425 post PendingInvicesDO 2 MED-061008463 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008463 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09b42c8e-7945-4e15-b100-4ac25bf8f647' LIMIT 1 Date : 2025-09-06T11:52:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T11:52:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008426 post PendingInvicesDO 2 MED-061008464 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008464 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a1808f4-62f1-4616-b198-c178ff78b254' LIMIT 1 Date : 2025-09-06T13:10:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T13:10:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008427 post PendingInvicesDO 2 MED-061008465 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008465 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d744b629-9ebc-42f6-847a-a35c3052d830' LIMIT 1 Date : 2025-09-06T13:41:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T13:41:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008428 post PendingInvicesDO 2 MED-061008466 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008466 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13c5ef9f-bf87-4dec-a82e-684db02fa930' LIMIT 1 Date : 2025-09-06T14:44:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T14:44:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008429 post PendingInvicesDO 2 MED-061008467 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008467 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d30000a8-7b94-4c70-8f7e-9752c4837f8e' LIMIT 1 Date : 2025-09-06T15:08:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T15:08:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008430 post PendingInvicesDO 2 MED-061008468 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008468 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b098258-9cb4-45fc-856e-75d1a9257efe' LIMIT 1 Date : 2025-09-06T15:36:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T15:36:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008431 post PendingInvicesDO 2 MED-061008469 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008469 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b6fafbf-785f-42c4-8bf0-b6f8a3b7f6e9' LIMIT 1 Date : 2025-09-06T16:04:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:04:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008432 post PendingInvicesDO 2 MED-061008470 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008470 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6d74cfc-035c-455a-9fd2-1e860dfaa90d' LIMIT 1 Date : 2025-09-06T16:22:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:22:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008433 post PendingInvicesDO 2 MED-061008471 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008471 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf6d79e2-1ea7-423a-b069-9a325f186bc6' LIMIT 1 Date : 2025-09-06T16:35:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:35:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008434 post PendingInvicesDO 2 MED-061008476 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008476 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd77d09a-f044-487e-8ca6-350ce65c7cd8' LIMIT 1 Date : 2025-09-07T09:14:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T09:14:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008435 post PendingInvicesDO 2 MED-061008478 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008478 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2599b25-0b45-49cb-a7e6-8d2d8759aef8' LIMIT 1 Date : 2025-09-07T10:13:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T10:13:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008437 post PendingInvicesDO 2 MED-061008480 post PendingInvicesDO 2 MED-061008479 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008436 post PendingInvicesDO 2 MED-061008480 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008479 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008480 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2455c357-d976-4dc2-bb80-11435793b2a1' LIMIT 1 Date : 2025-09-07T10:23:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67eda790-8350-4c46-a936-0fe7fe44a9b4' LIMIT 1 Date : 2025-09-07T10:23:05  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2455c357-d976-4dc2-bb80-11435793b2a1' LIMIT 1 Date : 2025-09-07T10:23:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67eda790-8350-4c46-a936-0fe7fe44a9b4' LIMIT 1 Date : 2025-09-07T10:23:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-07T10:23:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008438 post PendingInvicesDO 2 MED-061008481 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008481 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f5ea073-62dc-4504-b658-911dbe7a7d93' LIMIT 1 Date : 2025-09-07T10:47:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T10:47:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008439 post PendingInvicesDO 2 MED-061008482 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008482 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a79df25-ac93-4372-a8fa-15e75020ea6f' LIMIT 1 Date : 2025-09-07T11:03:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T11:03:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008440 post PendingInvicesDO 2 MED-061008483 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008483 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8acf325-d1c6-486a-880d-1c166d9c38c1' LIMIT 1 Date : 2025-09-07T11:13:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T11:13:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008441 post PendingInvicesDO 2 MED-061008485 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008485 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20e87f8c-a034-4794-8610-73341cbd7b55' LIMIT 1 Date : 2025-09-07T12:06:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T12:06:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008442 post PendingInvicesDO 2 MED-061008486 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008486 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e09c0c4c-dc6a-4899-9a21-9d1f75226706' LIMIT 1 Date : 2025-09-07T12:22:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T12:22:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008443 post PendingInvicesDO 2 MED-061008488 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008488 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e92e581-26d9-4c30-b384-fcacf6639f89' LIMIT 1 Date : 2025-09-07T13:29:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T13:29:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008444 post PendingInvicesDO 2 MED-061008491 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008491 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f025a4ec-a20c-4e96-870a-cb303f0ad5ed' LIMIT 1 Date : 2025-09-07T18:20:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T18:20:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008445 post PendingInvicesDO 2 MED-061008493 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008493 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f3c83cf-a1a1-4363-b15f-f524ad7fc266' LIMIT 1 Date : 2025-09-07T20:06:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T20:06:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008446 post PendingInvicesDO 2 MED-061008494 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008494 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59a433b6-be4b-4d23-ab2e-bc8d7130fb1a' LIMIT 1 Date : 2025-09-07T20:21:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T20:21:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008447 post PendingInvicesDO 2 MED-061008487 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008487 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008487' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008487' OR OrderId='MED-061008487' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-07T22:50:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008448 post PendingInvicesDO 2 MED-061008495 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008495 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1df4b260-635b-4759-87c3-7b44b1963770' LIMIT 1 Date : 2025-09-08T07:38:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T07:38:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008449 post PendingInvicesDO 2 MED-061008496 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008496 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fab4e4ad-6867-439c-957e-192506b5a94c' LIMIT 1 Date : 2025-09-08T08:09:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T08:09:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008450 post PendingInvicesDO 2 MED-061008497 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008497 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='76b41dcf-1955-4cba-be8c-5d2cdc612457' LIMIT 1 Date : 2025-09-08T08:33:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T08:33:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008451 post PendingInvicesDO 2 MED-061008498 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008498 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6557880-80d6-4612-beed-42ab9de8add1' LIMIT 1 Date : 2025-09-08T08:40:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T08:40:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008452 post PendingInvicesDO 2 MED-061008499 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008499 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0082248-7b29-4d05-9f8c-aca053bf80f6' LIMIT 1 Date : 2025-09-08T08:55:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T08:55:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008453 post PendingInvicesDO 2 MED-061008500 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008500 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6f26e25-637c-4b82-9306-c6a11a7ce88f' LIMIT 1 Date : 2025-09-08T09:16:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T09:16:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008454 post PendingInvicesDO 2 MED-061008501 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008501 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98291dfc-0258-4402-90fc-93ffb8deb551' LIMIT 1 Date : 2025-09-08T09:32:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T09:32:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008456 post PendingInvicesDO 2 MED-061008503 post PendingInvicesDO 2 MED-061008502 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008455 post PendingInvicesDO 2 MED-061008503 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008502 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008503 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6bf81ab2-cd64-49c9-b364-da39cda18bc9' LIMIT 1 Date : 2025-09-08T09:48:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='257a581a-4e17-40bd-b555-2ff9c41e8afa' LIMIT 1 Date : 2025-09-08T09:48:10  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6bf81ab2-cd64-49c9-b364-da39cda18bc9' LIMIT 1 Date : 2025-09-08T09:48:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='257a581a-4e17-40bd-b555-2ff9c41e8afa' LIMIT 1 Date : 2025-09-08T09:48:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-08T09:48:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008457 post PendingInvicesDO 2 MED-061008504 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008504 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b62a5552-8001-4f35-ac17-109ec5fe7ba5' LIMIT 1 Date : 2025-09-08T10:04:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T10:04:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008458 post PendingInvicesDO 2 MED-061008505 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008505 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9db661e-dd51-42ef-93d5-3eae355638d3' LIMIT 1 Date : 2025-09-08T10:30:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T10:30:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008459 post PendingInvicesDO 2 MED-061008506 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008506 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4017bcea-7f86-4ae9-9f20-0024be2ae316' LIMIT 1 Date : 2025-09-08T11:01:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T11:01:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008460 post PendingInvicesDO 2 MED-061008507 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008507 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12e2ca56-c263-45aa-98c7-ff6ff098e566' LIMIT 1 Date : 2025-09-08T11:18:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T11:18:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008461 post PendingInvicesDO 2 MED-061008508 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008508 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d4881ed-2767-4408-902e-0240813cb8cc' LIMIT 1 Date : 2025-09-08T11:59:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T11:59:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008462 post PendingInvicesDO 2 MED-061008509 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008509 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c305b51-89ea-411b-be6b-a6a0462d1cf6' LIMIT 1 Date : 2025-09-08T12:02:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T12:02:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008463 post PendingInvicesDO 2 MED-061008510 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008510 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea6f8cc3-8234-4fe5-8ad7-6e1a0b8385fe' LIMIT 1 Date : 2025-09-08T12:08:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T12:08:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008464 post PendingInvicesDO 2 MED-061008511 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008511 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccfaebeb-98c0-4172-ba1e-01b20f123d11' LIMIT 1 Date : 2025-09-08T12:13:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T12:13:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008465 post PendingInvicesDO 2 MED-061008512 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008512 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='703e1cc5-cae1-4cda-adc6-83ba9685a8dc' LIMIT 1 Date : 2025-09-08T13:16:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T13:16:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008466 post PendingInvicesDO 2 MED-061008513 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008513 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83d67a61-44b8-4209-ae85-85aa2c8ce8dd' LIMIT 1 Date : 2025-09-08T13:24:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T13:24:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008468 post PendingInvicesDO 2 MED-061008515 post PendingInvicesDO 2 MED-061008514 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008467 post PendingInvicesDO 2 MED-061008515 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008514 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008515 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa62168f-da58-425b-9937-b8e6f1b1c6e7' LIMIT 1 Date : 2025-09-08T13:30:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbddb142-b120-43c5-bff7-724bcfe68ddf' LIMIT 1 Date : 2025-09-08T13:30:42  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa62168f-da58-425b-9937-b8e6f1b1c6e7' LIMIT 1 Date : 2025-09-08T13:30:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbddb142-b120-43c5-bff7-724bcfe68ddf' LIMIT 1 Date : 2025-09-08T13:30:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-08T13:30:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008469 post PendingInvicesDO 2 MED-061008516 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008516 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c271378-b23e-4cce-9aed-05bd52f7bbf3' LIMIT 1 Date : 2025-09-09T10:13:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T10:13:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008470 post PendingInvicesDO 2 MED-061008517 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008517 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc182adb-3c18-47b5-9dc9-2d210cfb4ed5' LIMIT 1 Date : 2025-09-09T10:30:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T10:30:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008471 post PendingInvicesDO 2 MED-061008518 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008518 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fca56ac0-cb5a-43f5-84fb-7bb5dc5c3d60' LIMIT 1 Date : 2025-09-09T11:05:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T11:05:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008473 post PendingInvicesDO 2 MED-061008520 post PendingInvicesDO 2 MED-061008519 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008472 post PendingInvicesDO 2 MED-061008520 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008519 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008520 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='967f09ef-7851-4464-8847-3a8fcd20b39f' LIMIT 1 Date : 2025-09-09T11:29:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a9de0cb-b97e-4c69-ab3a-3ba9931a75eb' LIMIT 1 Date : 2025-09-09T11:29:17  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='967f09ef-7851-4464-8847-3a8fcd20b39f' LIMIT 1 Date : 2025-09-09T11:29:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a9de0cb-b97e-4c69-ab3a-3ba9931a75eb' LIMIT 1 Date : 2025-09-09T11:29:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-09T11:29:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008474 post PendingInvicesDO 2 MED-061008521 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008521 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0984289e-2c03-49c9-9ed9-93abf25fbf70' LIMIT 1 Date : 2025-09-09T11:45:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T11:45:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008475 post PendingInvicesDO 2 MED-061008522 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008522 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab3acaa9-c0c8-4e8f-8b54-a6a0a74aa252' LIMIT 1 Date : 2025-09-09T11:56:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T11:56:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008476 post PendingInvicesDO 2 MED-061008523 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008523 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4f565e8-9fa3-409c-8e10-5e79035cca8e' LIMIT 1 Date : 2025-09-09T12:21:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T12:21:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008477 post PendingInvicesDO 2 MED-061008524 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008524 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7f4e886-5f86-4b4d-a1ae-e9cc91b3d625' LIMIT 1 Date : 2025-09-09T13:21:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T13:21:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008478 post PendingInvicesDO 2 MED-061008525 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008525 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='352bf0d2-fb9f-457a-baaa-c08f8a21f636' LIMIT 1 Date : 2025-09-09T13:42:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T13:42:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008479 post PendingInvicesDO 2 MED-061008526 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008526 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e665ce00-ab05-43a2-b130-81f1520e8a3a' LIMIT 1 Date : 2025-09-09T14:04:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T14:04:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008480 post PendingInvicesDO 2 MED-061008527 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008527 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2993ad6d-c2b0-4888-9144-a2141168c37d' LIMIT 1 Date : 2025-09-09T14:23:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T14:23:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008481 post PendingInvicesDO 2 MED-061008528 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008528 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec0e027b-21ca-4e51-ad63-0b97b3f3394c' LIMIT 1 Date : 2025-09-09T14:30:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T14:30:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008482 post PendingInvicesDO 2 MED-061008529 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008529 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c1e9dcd-18f0-4211-b4c3-61d94eaef104' LIMIT 1 Date : 2025-09-09T15:43:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T15:43:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008483 post PendingInvicesDO 2 MED-061008530 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008530 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03177302-f8d2-4dac-b822-82c2d17beb8a' LIMIT 1 Date : 2025-09-09T15:57:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T15:57:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008484 post PendingInvicesDO 2 MED-061008531 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008531 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0215ed4-e8c5-439f-991a-3255d01dace4' LIMIT 1 Date : 2025-09-09T16:02:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T16:02:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008485 post PendingInvicesDO 2 MED-061008532 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008532 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b668d95-79c5-4421-adff-4deb9dbe6df7' LIMIT 1 Date : 2025-09-09T16:51:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T16:51:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008486 post PendingInvicesDO 2 MED-061008533 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008533 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='025b6783-23cb-4546-9a6d-d88e9e8545f8' LIMIT 1 Date : 2025-09-09T17:32:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T17:32:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008487 post PendingInvicesDO 2 MED-061008534 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008534 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b30a2ebc-2bc1-419d-9800-b5aa84111f99' LIMIT 1 Date : 2025-09-09T17:38:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T17:38:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008488 post PendingInvicesDO 2 MED-061008535 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008535 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b5d8280-5bcd-4ece-846e-9dac52fdb682' LIMIT 1 Date : 2025-09-09T17:48:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T17:48:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008489 post PendingInvicesDO 2 MED-061008400 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008400 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008400' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008400' OR OrderId='MED-061008400' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-09T18:07:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008490 post PendingInvicesDO 2 MED-061008538 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008538 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4dccef76-2e25-451b-a0b8-51f7b8cfdb87' LIMIT 1 Date : 2025-09-09T19:47:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T19:47:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008491 post PendingInvicesDO 2 MED-061008539 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008539 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8bf3a7c-aeb5-4408-9888-b0381893f023' LIMIT 1 Date : 2025-09-10T09:50:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T09:50:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008492 post PendingInvicesDO 2 MED-061008405 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008405 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008405' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008405' OR OrderId='MED-061008405' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-10T10:16:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008493 post PendingInvicesDO 2 MED-061008541 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008541 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c50606fc-1b05-4dbb-b2ce-db24148216f0' LIMIT 1 Date : 2025-09-10T10:47:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T10:47:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008494 post PendingInvicesDO 2 MED-061008542 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008542 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe3b3dff-c79e-4dc8-9f40-e929d090f523' LIMIT 1 Date : 2025-09-10T11:03:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T11:03:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008495 post PendingInvicesDO 2 MED-061008543 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008543 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03d0b146-ffc8-4c34-bec9-8e5ef2f0e818' LIMIT 1 Date : 2025-09-10T11:23:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T11:23:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008496 post PendingInvicesDO 2 MED-061008544 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008544 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3bb56d65-ea0d-447b-93e8-868a963e9ec7' LIMIT 1 Date : 2025-09-10T11:59:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T11:59:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008497 post PendingInvicesDO 2 MED-061008545 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008545 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f22844e-998e-4c45-aeed-7c9def1cd74b' LIMIT 1 Date : 2025-09-10T12:07:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T12:07:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008498 post PendingInvicesDO 2 MED-061008546 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008546 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca61ff08-9cd8-4ab5-bdde-5b479bd81f36' LIMIT 1 Date : 2025-09-10T12:26:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T12:26:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008499 post PendingInvicesDO 2 MED-061008547 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008547 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='903177d0-0dee-4ef5-bf1d-a428e7058712' LIMIT 1 Date : 2025-09-10T12:36:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T12:36:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008500 post PendingInvicesDO 2 MED-061008548 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008548 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12aa8a33-b0fc-4e61-aef0-5b722b190bde' LIMIT 1 Date : 2025-09-10T12:49:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T12:49:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008501 post PendingInvicesDO 2 MED-061008549 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008549 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='adca446c-476f-44c9-9e4a-d25c869d910c' LIMIT 1 Date : 2025-09-10T13:01:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T13:01:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008502 post PendingInvicesDO 2 MED-061008423 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008423 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008423' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008423' OR OrderId='MED-061008423' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-10T14:29:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008503 post PendingInvicesDO 2 MED-061008551 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008551 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d9d963f-60c3-4811-aa09-28b08c3aa41f' LIMIT 1 Date : 2025-09-10T15:19:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T15:19:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008504 post PendingInvicesDO 2 MED-061008552 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008552 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd0aaa40-a637-44b3-9ac5-3c07495f067c' LIMIT 1 Date : 2025-09-10T15:37:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T15:37:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008505 post PendingInvicesDO 2 MED-061008553 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008553 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2fe700f-0cac-4d84-b544-ea23a8a23b78' LIMIT 1 Date : 2025-09-10T16:13:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T16:13:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008506 post PendingInvicesDO 2 MED-061008554 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008554 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='daad4400-8484-4fcd-8a45-190f94abd501' LIMIT 1 Date : 2025-09-10T16:37:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T16:37:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008507 post PendingInvicesDO 2 MED-061008555 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008555 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14ab5a99-b66f-468f-87d7-32608cf097fd' LIMIT 1 Date : 2025-09-10T17:18:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T17:18:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008508 post PendingInvicesDO 2 MED-061008556 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008556 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6a52e59-38f7-4838-8eed-da78d459c1b9' LIMIT 1 Date : 2025-09-10T18:36:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T18:36:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008510 post PendingInvicesDO 2 MED-061008558 post PendingInvicesDO 2 MED-061008557 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008509 post PendingInvicesDO 2 MED-061008558 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008557 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008558 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3545821-2779-436f-a87e-2b229880d560' LIMIT 1 Date : 2025-09-10T18:57:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c497cc44-16b2-4064-89df-6bf47792d09c' LIMIT 1 Date : 2025-09-10T18:57:40  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3545821-2779-436f-a87e-2b229880d560' LIMIT 1 Date : 2025-09-10T18:57:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c497cc44-16b2-4064-89df-6bf47792d09c' LIMIT 1 Date : 2025-09-10T18:57:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-10T18:57:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008511 post PendingInvicesDO 2 MED-061008559 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008559 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c51e2365-923a-4183-9f26-3bc8bacfccdf' LIMIT 1 Date : 2025-09-10T19:13:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T19:13:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008512 post PendingInvicesDO 2 MED-061008560 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008560 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9cb4787-b9e1-45af-9d5e-d88b9769f8b6' LIMIT 1 Date : 2025-09-10T19:37:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T19:37:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008513 post PendingInvicesDO 2 MED-061008561 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008561 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c82cd57-fe35-44e1-ac1c-0150f99fc631' LIMIT 1 Date : 2025-09-10T19:44:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T19:44:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008514 post PendingInvicesDO 2 MED-061008562 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008562 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5da00542-e3ae-4e8a-a05f-8cbf2e99d6ed' LIMIT 1 Date : 2025-09-10T20:49:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T20:49:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008515 post PendingInvicesDO 2 MED-061008563 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008563 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5870e7b-ad03-4ad8-a9b8-592a580d8d20' LIMIT 1 Date : 2025-09-10T21:32:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T21:32:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008516 post PendingInvicesDO 2 MED-061008564 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008564 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21698b80-623c-4e40-84d6-ccabebaef8e8' LIMIT 1 Date : 2025-09-11T08:41:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T08:41:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008517 post PendingInvicesDO 2 MED-061008566 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008566 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='baec186d-ae08-429c-a4e9-4796f8e1b4e9' LIMIT 1 Date : 2025-09-11T10:39:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T10:39:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008518 post PendingInvicesDO 2 MED-061008567 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008567 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0fb35942-0d30-423f-9cd6-0c207a02fc13' LIMIT 1 Date : 2025-09-11T10:51:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T10:51:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008519 post PendingInvicesDO 2 MED-061008568 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008568 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='54e35a1c-e968-47d3-bbf7-6447917a1b91' LIMIT 1 Date : 2025-09-11T11:33:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T11:33:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008520 post PendingInvicesDO 2 MED-061008569 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008569 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e6fba25-1f8e-4edb-a8d1-024b9889189b' LIMIT 1 Date : 2025-09-11T12:04:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T12:04:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008522 post PendingInvicesDO 2 MED-061008571 post PendingInvicesDO 2 MED-061008570 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008521 post PendingInvicesDO 2 MED-061008571 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008570 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008571 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='343099ac-c683-4f83-b496-41e7b48b1f40' LIMIT 1 Date : 2025-09-11T12:34:21  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95a5c680-5d3d-44c9-bd4f-e5d3a02af2d7' LIMIT 1 Date : 2025-09-11T12:34:21  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='343099ac-c683-4f83-b496-41e7b48b1f40' LIMIT 1 Date : 2025-09-11T12:34:21  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95a5c680-5d3d-44c9-bd4f-e5d3a02af2d7' LIMIT 1 Date : 2025-09-11T12:34:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-11T12:34:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008523 post PendingInvicesDO 2 MED-061008572 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008572 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36249c16-84fe-425d-8acc-61c7c0561602' LIMIT 1 Date : 2025-09-11T13:22:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T13:22:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008524 post PendingInvicesDO 2 MED-061008573 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008573 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='656ac5e6-a3c6-4979-a709-3ef8d2a143ac' LIMIT 1 Date : 2025-09-11T14:20:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T14:20:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008525 post PendingInvicesDO 2 MED-061008574 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008574 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8da143f7-9b8a-4388-9411-15d43e6e49c1' LIMIT 1 Date : 2025-09-11T14:32:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T14:32:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008526 post PendingInvicesDO 2 MED-061008575 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008575 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7950a636-c8f3-47f8-8169-3128715b3fa0' LIMIT 1 Date : 2025-09-11T15:05:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T15:05:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008527 post PendingInvicesDO 2 MED-061008576 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008576 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c18f359-934d-4194-8602-81e5ebf72a30' LIMIT 1 Date : 2025-09-11T16:29:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T16:29:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008528 post PendingInvicesDO 2 MED-061008577 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008577 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8399d279-2e0c-4183-a954-2345b14b49ae' LIMIT 1 Date : 2025-09-11T16:58:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T16:58:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008529 post PendingInvicesDO 2 MED-061008444 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008444 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008444' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008444' OR OrderId='MED-061008444' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-11T17:55:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008530 post PendingInvicesDO 2 MED-061008579 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008579 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c35d205-2fde-48d7-818c-fd9fc94b48df' LIMIT 1 Date : 2025-09-11T18:43:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T18:43:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008531 post PendingInvicesDO 2 MED-061008580 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008580 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f11f751-761f-49d7-95c2-1a80c7a3d34d' LIMIT 1 Date : 2025-09-11T19:35:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T19:35:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008532 post PendingInvicesDO 2 MED-061008581 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008581 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb03fda7-386c-4acd-9a21-510a16e969d8' LIMIT 1 Date : 2025-09-11T20:05:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T20:05:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008533 post PendingInvicesDO 2 MED-061008582 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008582 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e858c56-61f1-4190-bada-85e3bcaa7d59' LIMIT 1 Date : 2025-09-11T20:32:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T20:32:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008534 post PendingInvicesDO 2 MED-061008584 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008584 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2319ce93-b891-4fa9-85df-fe7f8d542bd3' LIMIT 1 Date : 2025-09-12T19:04:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-12T19:04:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008536 post PendingInvicesDO 2 MED-061008456 post PendingInvicesDO 2 MED-061008455 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008535 post PendingInvicesDO 2 MED-061008456 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008455 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008456 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008456' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008456' OR OrderId='MED-061008456' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008456' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008456' OR OrderId='MED-061008456' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-12T19:18:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008537 post PendingInvicesDO 2 MED-061008587 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008587 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b45a8f4-d268-454a-9f49-a06498682b4d' LIMIT 1 Date : 2025-09-12T20:02:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-12T20:02:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008538 post PendingInvicesDO 2 MED-061008588 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008588 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58aa2e82-5dc7-48fd-9065-a70c34abb0c7' LIMIT 1 Date : 2025-09-12T20:38:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-12T20:38:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008539 post PendingInvicesDO 2 MED-061008589 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008589 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e19d294a-6fe5-4161-9f63-07883cea45f4' LIMIT 1 Date : 2025-09-12T21:00:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-12T21:00:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008540 post PendingInvicesDO 2 MED-061008590 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008590 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9f58b91-57c7-4491-a61b-a11d3bc5d7f3' LIMIT 1 Date : 2025-09-13T09:20:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T09:20:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008541 post PendingInvicesDO 2 MED-061008591 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008591 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06319eae-8db3-4775-b5f3-0591bc2966b5' LIMIT 1 Date : 2025-09-13T09:48:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T09:48:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008542 post PendingInvicesDO 2 MED-061008592 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008592 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f0b7469-71c2-46a0-a9c9-3b7ea16dba47' LIMIT 1 Date : 2025-09-13T10:26:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T10:26:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008543 post PendingInvicesDO 2 MED-061008462 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008462 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008462' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008462' OR OrderId='MED-061008462' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-13T10:42:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008544 post PendingInvicesDO 2 MED-061008593 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008593 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1747c5f-61e1-438d-b7f3-f73aedbed6a6' LIMIT 1 Date : 2025-09-13T10:42:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T10:42:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008545 post PendingInvicesDO 2 MED-061008594 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008594 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77c25d7f-0eba-4335-a3b4-15b4786bfa5b' LIMIT 1 Date : 2025-09-13T11:11:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T11:11:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008546 post PendingInvicesDO 2 MED-061008595 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008595 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5579c6c1-9430-44af-92a7-ba2b3cb455b5' LIMIT 1 Date : 2025-09-13T11:50:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T11:50:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008547 post PendingInvicesDO 2 MED-061008596 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008596 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9316fc60-0f0c-4e35-89f0-2880dda0b45b' LIMIT 1 Date : 2025-09-13T12:18:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T12:18:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008548 post PendingInvicesDO 2 MED-061008597 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008597 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e73ef57-7dc8-4384-9f5d-269beb0fc4a2' LIMIT 1 Date : 2025-09-13T13:13:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T13:13:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008549 post PendingInvicesDO 2 MED-061008598 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008598 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4584fbc3-65c6-4c1a-8d03-68643d066b92' LIMIT 1 Date : 2025-09-13T14:23:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T14:23:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008550 post PendingInvicesDO 2 MED-061008599 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008599 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f7ea635-d9a2-4192-a725-7c06f779768c' LIMIT 1 Date : 2025-09-13T14:46:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T14:46:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008551 post PendingInvicesDO 2 MED-061008600 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008600 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e01eedc-5da3-4f79-9bb2-4a89472c7e04' LIMIT 1 Date : 2025-09-13T15:01:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T15:01:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008552 post PendingInvicesDO 2 MED-061008601 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008601 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3723e969-fcd0-41c7-84ca-f0497368e494' LIMIT 1 Date : 2025-09-13T16:03:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T16:03:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008553 post PendingInvicesDO 2 MED-061008602 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008602 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0129bfc-a75a-4857-965b-3e887088c1c2' LIMIT 1 Date : 2025-09-13T16:30:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T16:30:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008554 post PendingInvicesDO 2 MED-061008603 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008603 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f4e8469-93a9-4e1b-8125-5985142523be' LIMIT 1 Date : 2025-09-13T16:42:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T16:42:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008555 post PendingInvicesDO 2 MED-061008604 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008604 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75492fa6-1ebe-4dc6-8efe-c59478140c4b' LIMIT 1 Date : 2025-09-13T16:51:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T16:51:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008556 post PendingInvicesDO 2 MED-061008607 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008607 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6f0f08e-a231-4a70-9797-4b9e60e40171' LIMIT 1 Date : 2025-09-14T09:02:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T09:02:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008557 post PendingInvicesDO 2 MED-061008477 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008477 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008477' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008477' OR OrderId='MED-061008477' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-14T09:27:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008558 post PendingInvicesDO 2 MED-061008608 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008608 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f484142-b527-483c-ba2b-94ff41086469' LIMIT 1 Date : 2025-09-14T09:29:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T09:29:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008559 post PendingInvicesDO 2 MED-061008609 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008609 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a70c2ab-b120-4352-8690-faf5e9ff60e2' LIMIT 1 Date : 2025-09-14T09:39:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T09:39:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008560 post PendingInvicesDO 2 MED-061008610 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008610 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92b8815f-ab23-422e-803d-ca45cb1aba79' LIMIT 1 Date : 2025-09-14T09:47:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T09:47:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008561 post PendingInvicesDO 2 MED-061008611 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008611 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7b494e1-5ca4-48a9-901c-108bc8cbc536' LIMIT 1 Date : 2025-09-14T10:17:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T10:17:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008562 post PendingInvicesDO 2 MED-061008612 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008612 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6dc9b66-2559-4a6d-afb8-113b71b91430' LIMIT 1 Date : 2025-09-14T10:37:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T10:37:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008563 post PendingInvicesDO 2 MED-061008613 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008613 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='372eb1a2-251d-439c-bd32-4ac724738c7b' LIMIT 1 Date : 2025-09-14T10:56:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T10:56:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008564 post PendingInvicesDO 2 MED-061008614 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008614 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='addd0930-7383-4d7b-8c58-4ee10bfbd8fd' LIMIT 1 Date : 2025-09-14T11:21:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T11:21:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008565 post PendingInvicesDO 2 MED-061008615 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008615 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba3aa714-c7d8-4ada-8af2-52815262b753' LIMIT 1 Date : 2025-09-14T11:35:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T11:35:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008566 post PendingInvicesDO 2 MED-061008616 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008616 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f27ae9a3-f3b7-414e-82d4-2a8808d51acf' LIMIT 1 Date : 2025-09-14T11:44:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T11:44:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008567 post PendingInvicesDO 2 MED-061008617 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008617 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a666258b-7ac8-45a0-b8b0-40f09d47ec2a' LIMIT 1 Date : 2025-09-14T12:06:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T12:06:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008568 post PendingInvicesDO 2 MED-061008618 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008618 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c83adbf9-6185-4873-94e5-83e4965fc192' LIMIT 1 Date : 2025-09-14T12:27:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T12:27:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008569 post PendingInvicesDO 2 MED-061008619 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008619 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='670b0852-1c77-4301-b412-3a3095b6178f' LIMIT 1 Date : 2025-09-14T13:07:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T13:07:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008570 post PendingInvicesDO 2 MED-061008395 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008395 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008395' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008395' OR OrderId='MED-061008395' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-14T18:21:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008571 post PendingInvicesDO 2 MED-061008621 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008621 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56e90c56-7156-439a-9d94-29db8d39e472' LIMIT 1 Date : 2025-09-15T08:56:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T08:56:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008572 post PendingInvicesDO 2 MED-061008622 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008622 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18cd6c95-85dd-47ac-b6f2-f280a601aa5b' LIMIT 1 Date : 2025-09-15T09:17:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T09:17:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008573 post PendingInvicesDO 2 MED-061008492 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008492 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008492' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008492' OR OrderId='MED-061008492' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-15T09:42:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008574 post PendingInvicesDO 2 MED-061008624 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008624 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b5ffffe-f97a-407f-8d8c-636fccd496a4' LIMIT 1 Date : 2025-09-15T10:12:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T10:12:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008575 post PendingInvicesDO 2 MED-061008625 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008625 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ecac408-b336-4bdb-adc0-dfacbc1ad5fd' LIMIT 1 Date : 2025-09-15T10:28:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T10:28:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008576 post PendingInvicesDO 2 MED-061008626 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008626 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3fe99eae-17df-4c86-8113-ecea8bd8524d' LIMIT 1 Date : 2025-09-15T10:48:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T10:48:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008577 post PendingInvicesDO 2 MED-061008627 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008627 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aba2feb0-1048-4fdc-aa3d-4fee84745c74' LIMIT 1 Date : 2025-09-15T11:07:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T11:07:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008578 post PendingInvicesDO 2 MED-061008628 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008628 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44636ed9-750a-448b-86ea-87a0f600c3bd' LIMIT 1 Date : 2025-09-15T11:22:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T11:22:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008579 post PendingInvicesDO 2 MED-061008629 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008629 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e303c7bd-5822-47e4-8c1c-49430103be49' LIMIT 1 Date : 2025-09-15T11:28:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T11:28:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008580 post PendingInvicesDO 2 MED-061008630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d9a5f5f-e34f-434d-9bc6-7db069910046' LIMIT 1 Date : 2025-09-15T11:43:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T11:43:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008581 post PendingInvicesDO 2 MED-061008631 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008631 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3553b49-f1c8-4e8a-a253-f591c57e6dfa' LIMIT 1 Date : 2025-09-15T11:54:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T11:54:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008582 post PendingInvicesDO 2 MED-061008632 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008632 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2e8c44a-fa03-47c5-a1dd-bb31f6f78f36' LIMIT 1 Date : 2025-09-15T12:19:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T12:19:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008583 post PendingInvicesDO 2 MED-061008633 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008633 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='404349ce-0f3b-45e6-8691-c99c9dc87c33' LIMIT 1 Date : 2025-09-15T13:07:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T13:07:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008584 post PendingInvicesDO 2 MED-061008634 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008634 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a60c6068-3370-4053-89b7-08fd3c8bd462' LIMIT 1 Date : 2025-09-15T13:35:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T13:35:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008585 post PendingInvicesDO 2 MED-061008635 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008635 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3fc2969-df0c-42b3-b8a7-b2b6bc1468b1' LIMIT 1 Date : 2025-09-15T17:43:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T17:43:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008586 post PendingInvicesDO 2 MED-061008636 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008636 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='488bba09-9dfc-475f-b91b-2479970ec5e5' LIMIT 1 Date : 2025-09-15T18:01:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T18:01:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008587 post PendingInvicesDO 2 MED-061008637 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008637 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd0b5f74-a31d-4eda-aebf-2c37fe4aa27b' LIMIT 1 Date : 2025-09-15T18:35:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T18:35:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008588 post PendingInvicesDO 2 MED-061008638 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008638 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6346fc34-be6b-47e6-84f1-e4f600116d6b' LIMIT 1 Date : 2025-09-15T18:55:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T18:55:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008589 post PendingInvicesDO 2 MED-061008639 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008639 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28927a69-63df-459c-b72f-0e4932652662' LIMIT 1 Date : 2025-09-15T19:05:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T19:05:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008590 post PendingInvicesDO 2 MED-061008640 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008640 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cafb28b2-fe4e-4555-815f-66cfa5fa6264' LIMIT 1 Date : 2025-09-15T19:19:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T19:19:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008591 post PendingInvicesDO 2 MED-061008474 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008474 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008474' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008474' OR OrderId='MED-061008474' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-15T20:10:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008592 post PendingInvicesDO 2 MED-061008642 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008642 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2c93abb-1e98-4a24-b587-41fd64f4f07e' LIMIT 1 Date : 2025-09-16T09:01:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T09:01:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008593 post PendingInvicesDO 2 MED-061008643 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008643 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ef488d7-93a9-4418-9e02-8390377e114b' LIMIT 1 Date : 2025-09-16T09:20:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T09:20:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008594 post PendingInvicesDO 2 MED-061008644 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008644 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66207533-72dc-4eaa-a210-ff98298e8268' LIMIT 1 Date : 2025-09-16T09:38:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T09:38:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008595 post PendingInvicesDO 2 MED-061008645 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008645 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed025025-000d-4cc0-bf47-d8af24e18ae6' LIMIT 1 Date : 2025-09-16T09:54:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T09:54:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008596 post PendingInvicesDO 2 MED-061008646 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008646 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0644994c-ec00-4fcf-8d94-15d65f6eba50' LIMIT 1 Date : 2025-09-16T09:59:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T09:59:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008597 post PendingInvicesDO 2 MED-061008647 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008647 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed1f5de8-95c1-4399-94ec-4d6ad4e132b8' LIMIT 1 Date : 2025-09-16T10:20:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T10:20:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008598 post PendingInvicesDO 2 MED-061008648 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008648 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29a100c8-c1c5-4bff-9928-9e48d1b23fee' LIMIT 1 Date : 2025-09-16T10:39:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T10:39:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008599 post PendingInvicesDO 2 MED-061008649 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008649 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='80c06e6c-eb62-422c-9d9b-bb81e431b191' LIMIT 1 Date : 2025-09-16T10:58:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T10:58:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008600 post PendingInvicesDO 2 MED-061008650 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008650 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aff6def9-c9de-4b86-b12a-460326456d25' LIMIT 1 Date : 2025-09-16T11:17:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T11:17:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008601 post PendingInvicesDO 2 MED-061008651 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008651 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5d6edba-5f3c-45ca-ab68-8eaeadab7b7e' LIMIT 1 Date : 2025-09-16T11:36:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T11:36:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008602 post PendingInvicesDO 2 MED-061008652 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008652 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87ab40c3-1ab8-49ec-9f53-72191e1d75a8' LIMIT 1 Date : 2025-09-16T11:43:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T11:43:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008603 post PendingInvicesDO 2 MED-061008653 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008653 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14055547-a94f-4f52-88f3-06983d7af9ec' LIMIT 1 Date : 2025-09-16T11:56:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T11:56:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008604 post PendingInvicesDO 2 MED-061008654 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008654 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fea0b89-2e75-489c-99a4-2afe39241a4a' LIMIT 1 Date : 2025-09-16T12:02:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T12:02:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008605 post PendingInvicesDO 2 MED-061008655 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008655 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c5460d0-7e29-4fd7-b2d3-16df6e4bd362' LIMIT 1 Date : 2025-09-16T12:17:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T12:17:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008606 post PendingInvicesDO 2 MED-061008656 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008656 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3afee1e-fc45-4811-aee5-de281f9cc31f' LIMIT 1 Date : 2025-09-16T12:24:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T12:24:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008607 post PendingInvicesDO 2 MED-061008657 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008657 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02aa3dfc-9ce0-4b51-b7c4-e0fae153930f' LIMIT 1 Date : 2025-09-16T13:16:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T13:16:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008608 post PendingInvicesDO 2 MED-061008658 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008658 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47fa0032-d0a1-46c5-b604-642b778d8749' LIMIT 1 Date : 2025-09-16T13:30:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T13:30:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008609 post PendingInvicesDO 2 MED-061008659 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008659 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7616a19f-9a2d-496d-b4c4-f3627a38a179' LIMIT 1 Date : 2025-09-17T15:56:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T15:56:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008610 post PendingInvicesDO 2 MED-061008660 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008660 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='253fa256-cd7e-4773-aaa6-3e6d7057a628' LIMIT 1 Date : 2025-09-17T17:51:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T17:51:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008611 post PendingInvicesDO 2 MED-061008540 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008540 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008540' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008540' OR OrderId='MED-061008540' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-17T18:15:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008612 post PendingInvicesDO 2 MED-061008662 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008662 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5d4cc48-9abd-48bd-8c66-ac4b1fc2138c' LIMIT 1 Date : 2025-09-17T18:41:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T18:41:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008613 post PendingInvicesDO 2 MED-061008663 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008663 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b15e08f-3835-4706-9d06-84b4bfc4c32f' LIMIT 1 Date : 2025-09-17T18:52:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T18:52:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008614 post PendingInvicesDO 2 MED-061008664 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008664 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90c4e029-de4f-498e-80c7-f8e2f03389ea' LIMIT 1 Date : 2025-09-17T19:13:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T19:13:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008615 post PendingInvicesDO 2 MED-061008665 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008665 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2fea865-87cb-4d1b-a526-e8f95586ab28' LIMIT 1 Date : 2025-09-17T19:55:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T19:55:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008616 post PendingInvicesDO 2 MED-061008666 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008666 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12adeb72-9426-4357-aac9-6832a4e0d43a' LIMIT 1 Date : 2025-09-17T20:05:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T20:05:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008617 post PendingInvicesDO 2 MED-061008667 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008667 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7b1d929-db70-4b58-a45d-ec1d4bb4b6f8' LIMIT 1 Date : 2025-09-17T20:22:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T20:22:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008618 post PendingInvicesDO 2 MED-061008668 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008668 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c84b2362-299a-4f61-a078-21112e92caa2' LIMIT 1 Date : 2025-09-17T20:28:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T20:28:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008619 post PendingInvicesDO 2 MED-061008669 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008669 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4598b74f-8bcd-430e-8d89-68bc7181a09a' LIMIT 1 Date : 2025-09-17T20:48:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T20:48:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008620 post PendingInvicesDO 2 MED-061008550 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008550 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-061008550' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-061008550' OR OrderId='MED-061008550' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-17T21:17:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008621 post PendingInvicesDO 2 MED-061008671 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008671 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09409b8e-da90-4830-a6af-b19c0ad39639' LIMIT 1 Date : 2025-09-17T21:56:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T21:56:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008622 post PendingInvicesDO 2 MED-061008672 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008672 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d819230-7872-43f2-b180-8b4a7c2297d6' LIMIT 1 Date : 2025-09-17T22:36:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T22:36:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008623 post PendingInvicesDO 2 MED-061008673 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008673 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2cc319d6-b8f4-40bc-9e24-852a9d595779' LIMIT 1 Date : 2025-09-18T08:04:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T08:04:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008624 post PendingInvicesDO 2 MED-061008674 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008674 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f817975b-63d6-4faa-b7d8-02a720306dbb' LIMIT 1 Date : 2025-09-18T09:15:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T09:15:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008626 post PendingInvicesDO 2 MED-061008676 post PendingInvicesDO 2 MED-061008675 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-064008625 post PendingInvicesDO 2 MED-061008676 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-061008675 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008676 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4c27e1b-a129-47cc-ac66-177dfba10a37' LIMIT 1 Date : 2025-09-18T09:59:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db7e4ed1-0fc8-4d87-9268-026e80d985dd' LIMIT 1 Date : 2025-09-18T09:59:09  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4c27e1b-a129-47cc-ac66-177dfba10a37' LIMIT 1 Date : 2025-09-18T09:59:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db7e4ed1-0fc8-4d87-9268-026e80d985dd' LIMIT 1 Date : 2025-09-18T09:59:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-18T09:59:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008627 post PendingInvicesDO 2 MED-061008677 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008677 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3195560b-dd3a-44b6-a169-bfdd53cac14d' LIMIT 1 Date : 2025-09-18T11:32:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T11:32:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008628 post PendingInvicesDO 2 MED-061008678 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008678 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d22c837-ab35-4f3a-be17-447f647d4fc4' LIMIT 1 Date : 2025-09-18T11:59:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T11:59:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-064008629 post PendingInvicesDO 2 MED-061008679 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-061008679 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e0e4ee1-8e9d-45a4-8b65-2bce234e9ada' LIMIT 1 Date : 2025-09-18T12:17:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T12:17:20 payment end 
