 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004271 post PendingInvicesDO 2 MED-021004263 post PendingInvicesDO 2 MED-021004262 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004263' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004263' OR OrderId='MED-021004263' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-10-30T08:16:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004388 post PendingInvicesDO 2 MED-021004378 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004378 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68841538-5b0b-43b8-b8e9-af391c4eacd4' LIMIT 1 Date : 2024-10-30T08:44:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-30T08:44:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004389 post PendingInvicesDO 2 MED-021004379 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004379 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84948d13-728c-4af7-bb3b-54e2eff84b9c' LIMIT 1 Date : 2024-10-30T10:20:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-30T10:20:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004390 post PendingInvicesDO 2 MED-021004380 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004380 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6fdd7bf5-aa67-49bc-acbf-c9819538c075' LIMIT 1 Date : 2024-10-30T10:35:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-30T10:35:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004391 post PendingInvicesDO 2 MED-021004381 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004381 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3face62f-b5a4-4386-adbd-729928589e23' LIMIT 1 Date : 2024-10-30T10:50:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-30T10:50:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004392 post PendingInvicesDO 2 MED-021004308 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004308 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004308' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004308' OR OrderId='MED-021004308' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-10-30T11:26:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004393 post PendingInvicesDO 2 MED-021004383 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004383 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3449401b-5e1c-42ae-836a-014a6e31b847' LIMIT 1 Date : 2024-10-30T12:03:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-30T12:03:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004394 post PendingInvicesDO 2 MED-021004384 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004384 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='753a8129-7260-4774-a2c4-6770bcbf49aa' LIMIT 1 Date : 2024-10-30T12:47:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-30T12:47:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004395 post PendingInvicesDO 2 MED-021004385 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004385 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0539ca38-5203-4443-a133-809410f665cc' LIMIT 1 Date : 2024-10-30T13:12:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-30T13:12:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004396 post PendingInvicesDO 2 MED-021004386 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004386 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59191d16-621a-4ed0-bcc8-2816fcf003c8' LIMIT 1 Date : 2024-10-30T13:32:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-30T13:32:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004397 post PendingInvicesDO 2 MED-021004387 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004387 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8138888a-1a44-4ba6-812f-515901ad0643' LIMIT 1 Date : 2024-10-30T13:46:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-30T13:46:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004398 post PendingInvicesDO 2 MED-021004372 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004372' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004372' OR OrderId='MED-021004372' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-10-30T14:07:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004399 post PendingInvicesDO 2 MED-021004388 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004388 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='703195f0-0ec1-4fd8-a1e9-de095e970863' LIMIT 1 Date : 2024-10-30T14:23:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-30T14:23:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004400 post PendingInvicesDO 2 MED-021004389 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004389 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2dd99e7a-3f30-47f1-88a4-58e4f32e432f' LIMIT 1 Date : 2024-10-30T14:52:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-30T14:52:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004401 post PendingInvicesDO 2 MED-021004390 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004390 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be8b2e0a-1a90-4279-b448-c86ec3280dcc' LIMIT 1 Date : 2024-10-31T08:46:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T08:46:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004403 post PendingInvicesDO 2 MED-021004392 post PendingInvicesDO 2 MED-021004391 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-024004402 post PendingInvicesDO 2 MED-021004392 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-021004391 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004392 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c342a7e2-539f-4899-bd5c-d1eb2a65ef5a' LIMIT 1 Date : 2024-10-31T09:06:31  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36fe7f8f-9675-45c5-b395-6dea5b4c4d94' LIMIT 1 Date : 2024-10-31T09:06:31  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c342a7e2-539f-4899-bd5c-d1eb2a65ef5a' LIMIT 1 Date : 2024-10-31T09:06:31  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36fe7f8f-9675-45c5-b395-6dea5b4c4d94' LIMIT 1 Date : 2024-10-31T09:06:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2024-10-31T09:06:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004404 post PendingInvicesDO 2 MED-021004393 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004393 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='268838a4-3057-47cf-ba36-837ae8928f18' LIMIT 1 Date : 2024-10-31T09:44:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T09:44:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004405 post PendingInvicesDO 2 MED-021004394 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004394 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e793399-49af-4e6a-a019-bf65f1dda10d' LIMIT 1 Date : 2024-10-31T10:10:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T10:10:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004406 post PendingInvicesDO 2 MED-021004395 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004395 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a61b90d5-36f9-48ed-b72c-cb01be144de7' LIMIT 1 Date : 2024-10-31T10:48:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T10:48:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004407 post PendingInvicesDO 2 MED-021004396 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004396 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd37ddbb-d4c0-4f15-ba8d-f402db6077e6' LIMIT 1 Date : 2024-10-31T11:02:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T11:02:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004408 post PendingInvicesDO 2 MED-021004397 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004397 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf78f6a4-8259-4a88-9c21-257f6398af45' LIMIT 1 Date : 2024-10-31T11:14:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T11:14:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004409 post PendingInvicesDO 2 MED-021004398 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004398 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='636f856e-6a2c-40d6-88e5-329cbd93f5e2' LIMIT 1 Date : 2024-10-31T11:53:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T11:53:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004410 post PendingInvicesDO 2 MED-021004399 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004399 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4781aadd-421b-4df8-a4eb-36194ac18e7a' LIMIT 1 Date : 2024-10-31T12:09:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T12:09:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004411 post PendingInvicesDO 2 MED-021004400 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004400 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb6ce512-1234-475a-b0a9-b2d1caa5cb51' LIMIT 1 Date : 2024-10-31T12:45:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T12:45:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004413 post PendingInvicesDO 2 MED-021004217 post PendingInvicesDO 2 MED-021004216 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-024004412 post PendingInvicesDO 2 MED-021004217 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-021004216 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004217 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004217' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004217' OR OrderId='MED-021004217' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004217' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004217' OR OrderId='MED-021004217' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-10-31T12:54:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004415 post PendingInvicesDO 2 MED-021004403 post PendingInvicesDO 2 MED-021004402 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-024004414 post PendingInvicesDO 2 MED-021004403 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-021004402 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004403 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b64ec3a-7e92-42fb-a230-e844f6c9dc17' LIMIT 1 Date : 2024-10-31T13:14:15  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d79b31b6-3331-4033-86c2-4b4ec5c1429e' LIMIT 1 Date : 2024-10-31T13:14:15  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b64ec3a-7e92-42fb-a230-e844f6c9dc17' LIMIT 1 Date : 2024-10-31T13:14:15  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d79b31b6-3331-4033-86c2-4b4ec5c1429e' LIMIT 1 Date : 2024-10-31T13:14:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2024-10-31T13:14:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004417 post PendingInvicesDO 2 MED-021004405 post PendingInvicesDO 2 MED-021004404 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-024004416 post PendingInvicesDO 2 MED-021004405 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-021004404 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004405 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b361c76-860e-49c2-84c6-bd4f1c06d28f' LIMIT 1 Date : 2024-10-31T13:37:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='576cdb89-e3fd-4f3b-b805-f300ecf1abe5' LIMIT 1 Date : 2024-10-31T13:37:25  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b361c76-860e-49c2-84c6-bd4f1c06d28f' LIMIT 1 Date : 2024-10-31T13:37:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='576cdb89-e3fd-4f3b-b805-f300ecf1abe5' LIMIT 1 Date : 2024-10-31T13:37:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2024-10-31T13:37:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004418 post PendingInvicesDO 2 MED-021004406 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004406 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25bca75b-b4dd-4c88-9180-92dcd90bfeba' LIMIT 1 Date : 2024-10-31T14:01:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T14:01:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004419 post PendingInvicesDO 2 MED-021004407 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004407 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e202c64e-f5ca-4c43-baf1-c6df5eb22423' LIMIT 1 Date : 2024-10-31T14:28:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T14:28:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004420 post PendingInvicesDO 2 MED-021004408 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004408 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2533a278-0445-4098-930c-3f64a39bb1d2' LIMIT 1 Date : 2024-10-31T15:07:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T15:08:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004421 post PendingInvicesDO 2 MED-021004314 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004314 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004314' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004314' OR OrderId='MED-021004314' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-10-31T15:38:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004423 post PendingInvicesDO 2 MED-021004410 post PendingInvicesDO 2 MED-021004409 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-024004422 post PendingInvicesDO 2 MED-021004410 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-021004409 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004410 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6e1a276-0271-406b-97d0-17cb226d95fc' LIMIT 1 Date : 2024-10-31T15:56:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='492f04c8-552b-4f8b-a1b9-297661cf606a' LIMIT 1 Date : 2024-10-31T15:56:43  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6e1a276-0271-406b-97d0-17cb226d95fc' LIMIT 1 Date : 2024-10-31T15:56:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='492f04c8-552b-4f8b-a1b9-297661cf606a' LIMIT 1 Date : 2024-10-31T15:56:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2024-10-31T15:56:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004424 post PendingInvicesDO 2 MED-021004411 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004411 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9aeabba2-0a4e-4d06-bc8f-3e1421a895ed' LIMIT 1 Date : 2024-10-31T16:09:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T16:09:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004425 post PendingInvicesDO 2 MED-021004412 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004412 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c0b74c3-e3c9-4f19-b61b-b895964ae93f' LIMIT 1 Date : 2024-10-31T16:52:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T16:52:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004426 post PendingInvicesDO 2 MED-021004413 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004413 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b359efa-8b64-47d1-bdfb-11233b013285' LIMIT 1 Date : 2024-10-31T18:35:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T18:35:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004427 post PendingInvicesDO 2 MED-021004414 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004414 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aaaae738-d9a1-4eb9-b522-7660e2f754d1' LIMIT 1 Date : 2024-10-31T19:04:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T19:04:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004428 post PendingInvicesDO 2 MED-021004415 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004415 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee61ac6f-0b30-4726-8d46-e6a5a8f55827' LIMIT 1 Date : 2024-10-31T19:39:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-10-31T19:39:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004429 post PendingInvicesDO 2 MED-021004416 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004416 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6116ded-08ab-4cc0-88ca-7df97e9cbeea' LIMIT 1 Date : 2024-11-02T09:17:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T09:17:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004430 post PendingInvicesDO 2 MED-021004417 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004417 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='842de78c-cea7-4ac5-aae6-48e3b679d519' LIMIT 1 Date : 2024-11-02T09:40:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T09:40:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004431 post PendingInvicesDO 2 MED-021004418 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004418 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29a9a93f-a645-4f29-9a26-29712d11a5ef' LIMIT 1 Date : 2024-11-02T09:58:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T09:58:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004432 post PendingInvicesDO 2 MED-021004419 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004419 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ee206a7-43c2-40a8-bf53-a60f0e0775c9' LIMIT 1 Date : 2024-11-02T10:13:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T10:13:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004433 post PendingInvicesDO 2 MED-021004420 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004420 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98e7c342-496f-4157-9ab6-84764941d8a5' LIMIT 1 Date : 2024-11-02T10:36:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T10:36:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004434 post PendingInvicesDO 2 MED-021004422 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004422 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0736acb7-8e5f-4e69-b9ee-218b586408c2' LIMIT 1 Date : 2024-11-02T11:49:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T11:49:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004435 post PendingInvicesDO 2 MED-021004423 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004423 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d1d55af-d487-4fd4-84ab-bb3346922b2e' LIMIT 1 Date : 2024-11-02T12:18:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T12:18:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004436 post PendingInvicesDO 2 MED-021004424 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004424 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9a6d92b-6e3d-40cb-a468-fd8cc7d22775' LIMIT 1 Date : 2024-11-02T12:49:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T12:49:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004437 post PendingInvicesDO 2 MED-021004425 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004425 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49adf20e-bea9-40c2-a20f-1b8c303c9b9c' LIMIT 1 Date : 2024-11-02T13:12:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T13:12:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004438 post PendingInvicesDO 2 MED-021004426 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004426 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e1628eff-8098-4bb5-8a55-5a7aa311f6cf' LIMIT 1 Date : 2024-11-02T13:52:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T13:52:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004439 post PendingInvicesDO 2 MED-021004427 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004427 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59b0cdd0-7489-45b1-b3b2-3f15c536ebc1' LIMIT 1 Date : 2024-11-02T14:09:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T14:09:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004440 post PendingInvicesDO 2 MED-021004428 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004428 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='649a965a-1089-441c-8b1f-f1a840f4fcf1' LIMIT 1 Date : 2024-11-02T14:36:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T14:36:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004441 post PendingInvicesDO 2 MED-021004429 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004429 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bdfc78f-1b6c-44d5-8b35-4bb3857e9e73' LIMIT 1 Date : 2024-11-02T14:52:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T14:52:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004442 post PendingInvicesDO 2 MED-021004430 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004430 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c437571f-a572-4adc-b93f-d1ea2374e080' LIMIT 1 Date : 2024-11-02T15:19:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T15:19:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004443 post PendingInvicesDO 2 MED-021004431 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004431 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ffea6c6-3d36-4cb5-8425-a5f37923d88c' LIMIT 1 Date : 2024-11-02T15:45:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-02T15:45:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004444 post PendingInvicesDO 2 MED-021004432 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004432 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e68dc4f-f3e5-402d-acf1-8ced697236e5' LIMIT 1 Date : 2024-11-03T08:18:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T08:18:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004445 post PendingInvicesDO 2 MED-021004433 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004433 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f445f4ab-a4b8-4476-811f-b2bd4993baac' LIMIT 1 Date : 2024-11-03T08:42:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T08:42:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004446 post PendingInvicesDO 2 MED-021004434 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004434 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c67bc8e4-425d-4dea-960d-ec6aab5ab2c2' LIMIT 1 Date : 2024-11-03T09:13:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T09:13:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004447 post PendingInvicesDO 2 MED-021004435 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004435 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45f6e51d-3792-4c35-ac7f-445370b04326' LIMIT 1 Date : 2024-11-03T09:38:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T09:38:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004448 post PendingInvicesDO 2 MED-021004436 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004436 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3353abd6-f6a3-4194-aecc-07ab0f26f53e' LIMIT 1 Date : 2024-11-03T10:18:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T10:18:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004449 post PendingInvicesDO 2 MED-021004437 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004437 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6bd78468-329e-417a-aba3-50088485e32c' LIMIT 1 Date : 2024-11-03T10:54:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T10:54:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004450 post PendingInvicesDO 2 MED-021004438 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004438 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='05b8da0c-9b38-455a-b00a-56f0f54a1809' LIMIT 1 Date : 2024-11-03T11:28:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T11:28:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004451 post PendingInvicesDO 2 MED-021004439 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004439 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bfc054ee-5c5b-4b0f-bd9d-305d940436e5' LIMIT 1 Date : 2024-11-03T11:43:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T11:43:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004452 post PendingInvicesDO 2 MED-021004440 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004440 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79a6c487-8ab8-454b-81b1-b5730eab7b0d' LIMIT 1 Date : 2024-11-03T11:53:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T11:53:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004453 post PendingInvicesDO 2 MED-021004441 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004441 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b35fb573-f60d-4e7e-8142-4b470ddb36ad' LIMIT 1 Date : 2024-11-03T12:03:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T12:03:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004454 post PendingInvicesDO 2 MED-021004442 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004442 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f1465e1-55d7-401d-9387-308fa42afbb9' LIMIT 1 Date : 2024-11-03T12:12:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T12:12:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004455 post PendingInvicesDO 2 MED-021004443 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004443 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e056e35e-8f17-4b67-b790-8d57c8683240' LIMIT 1 Date : 2024-11-03T12:49:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T12:49:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004456 post PendingInvicesDO 2 MED-021004444 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004444 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d57a7316-73c4-4154-86fb-762a7a36ef2c' LIMIT 1 Date : 2024-11-03T13:02:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T13:02:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004457 post PendingInvicesDO 2 MED-021004445 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004445 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec06210d-d73f-4b03-a0d0-75dd10d25003' LIMIT 1 Date : 2024-11-03T13:31:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T13:31:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004458 post PendingInvicesDO 2 MED-021004446 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004446 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c790da3-f51f-4ac1-b014-ea237d545650' LIMIT 1 Date : 2024-11-03T13:52:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T13:52:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004459 post PendingInvicesDO 2 MED-021004447 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004447 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004447' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004447' OR OrderId='MED-021004447' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-11-03T14:21:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004460 post PendingInvicesDO 2 MED-021004448 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004448 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be84e099-4ea9-43fe-873f-36049eeaeaed' LIMIT 1 Date : 2024-11-03T14:30:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-03T14:30:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004461 post PendingInvicesDO 2 MED-021004450 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004450 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c18ecce5-bfb0-463c-8ea3-328de9395cd2' LIMIT 1 Date : 2024-11-04T08:44:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T08:44:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004462 post PendingInvicesDO 2 MED-021004451 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004451 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3b01c08-d4ab-4296-857c-10a7f437fbaf' LIMIT 1 Date : 2024-11-04T08:55:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T08:55:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004463 post PendingInvicesDO 2 MED-021004452 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004452 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb6360d8-19de-4561-9a63-1d71dc9e85f2' LIMIT 1 Date : 2024-11-04T09:11:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T09:11:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004464 post PendingInvicesDO 2 MED-021004453 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004453 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6d16468-8a9e-4032-b1be-74c177d8a9a3' LIMIT 1 Date : 2024-11-04T09:47:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T09:47:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004465 post PendingInvicesDO 2 MED-021004454 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004454 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02eeea32-1d58-4c57-b29d-7cce48b29adc' LIMIT 1 Date : 2024-11-04T10:10:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T10:10:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004466 post PendingInvicesDO 2 MED-021004455 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004455 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46a6af97-5ade-4170-b535-d88cdb1453ff' LIMIT 1 Date : 2024-11-04T10:22:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T10:22:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004467 post PendingInvicesDO 2 MED-021004456 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004456 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf36f5bb-27e1-43aa-98dc-243a81b0aad4' LIMIT 1 Date : 2024-11-04T10:50:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T10:50:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004468 post PendingInvicesDO 2 MED-021004457 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004457 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46c213da-ca3f-431b-8aaa-930dd9766e6f' LIMIT 1 Date : 2024-11-04T11:23:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T11:23:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004469 post PendingInvicesDO 2 MED-021004458 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004458 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14b9abaf-4a89-47d3-b0d5-e71c7adba6f7' LIMIT 1 Date : 2024-11-04T11:36:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T11:36:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004470 post PendingInvicesDO 2 MED-021004459 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004459 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='416ae386-21df-4164-aa4c-0ab73e898d03' LIMIT 1 Date : 2024-11-04T12:00:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T12:00:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004471 post PendingInvicesDO 2 MED-021004460 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004460 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41881121-b098-4026-928d-1ba89ae21934' LIMIT 1 Date : 2024-11-04T12:12:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T12:12:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004472 post PendingInvicesDO 2 MED-021004461 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004461 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3f149b1-8bd4-4981-ace2-57f6c786f038' LIMIT 1 Date : 2024-11-04T12:24:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T12:24:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004473 post PendingInvicesDO 2 MED-021004462 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004462 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be86a61c-0ed3-4760-9282-54437cea3ac1' LIMIT 1 Date : 2024-11-04T12:43:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T12:43:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004474 post PendingInvicesDO 2 MED-021004463 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004463 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='990e8813-8b97-434a-980b-93ddf445a1e5' LIMIT 1 Date : 2024-11-04T12:59:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T12:59:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004475 post PendingInvicesDO 2 MED-021004464 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004464 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b42bf51d-020a-4c5e-80ba-76af20d56051' LIMIT 1 Date : 2024-11-04T13:27:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T13:27:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004476 post PendingInvicesDO 2 MED-021004465 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004465 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd0ee7f0-6071-4a51-91ab-592651787489' LIMIT 1 Date : 2024-11-04T14:04:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T14:04:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004477 post PendingInvicesDO 2 MED-021004466 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004466 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fd4149c-d92a-49ac-9ee9-4907a5213b6b' LIMIT 1 Date : 2024-11-04T14:28:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T14:28:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004478 post PendingInvicesDO 2 MED-021004467 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004467 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5eed248e-1657-4c9a-9368-80d099565b6d' LIMIT 1 Date : 2024-11-04T15:17:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T15:17:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004479 post PendingInvicesDO 2 MED-021004351 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004351 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004351' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004351' OR OrderId='MED-021004351' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-11-04T15:20:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004480 post PendingInvicesDO 2 MED-021004468 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004468 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9201d2a-05b4-4ea2-8a2a-6cd507c299e5' LIMIT 1 Date : 2024-11-04T16:14:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T16:14:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004481 post PendingInvicesDO 2 MED-021004471 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004471 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d42c4aa0-16df-4f45-b2b5-2028efe694ef' LIMIT 1 Date : 2024-11-04T17:33:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-04T17:33:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004482 post PendingInvicesDO 2 MED-021004472 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004472 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4db7b216-7dc4-4849-8459-4ecdcf3de89d' LIMIT 1 Date : 2024-11-05T08:16:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T08:16:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004483 post PendingInvicesDO 2 MED-021004473 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004473 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87954746-8b30-439f-8769-9ea1b088c7d7' LIMIT 1 Date : 2024-11-05T08:46:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T08:46:45 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-024004484 post PendingInvicesDO 2 MED-021004474 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004474 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='379bdbda-71a6-4ce2-b895-94bdfa0293ca' LIMIT 1 Date : 2024-11-05T09:05:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T09:05:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004485 post PendingInvicesDO 2 MED-021004475 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004475 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c82cf477-50c5-4207-996f-9310b7f53bce' LIMIT 1 Date : 2024-11-05T09:26:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T09:26:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004486 post PendingInvicesDO 2 MED-021004476 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004476 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9a69755-cee7-48dc-a1c2-99deed023ef0' LIMIT 1 Date : 2024-11-05T09:47:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T09:47:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004487 post PendingInvicesDO 2 MED-021004477 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004477 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52d9a7ea-167a-446a-8a16-461bf86e6adf' LIMIT 1 Date : 2024-11-05T10:09:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T10:09:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004488 post PendingInvicesDO 2 MED-021004401 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004401 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004401' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004401' OR OrderId='MED-021004401' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-11-05T10:19:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004489 post PendingInvicesDO 2 MED-021004479 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004479 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e027e7a8-8e74-4156-8669-6c5af096d14e' LIMIT 1 Date : 2024-11-05T10:57:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T10:57:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004490 post PendingInvicesDO 2 MED-021004480 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004480 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a4ed6dc-a091-4a20-8b57-1aacb5db966a' LIMIT 1 Date : 2024-11-05T11:06:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T11:06:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004491 post PendingInvicesDO 2 MED-021004481 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004481 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1fd09da0-e0dc-4452-b9c1-0a99be5b1703' LIMIT 1 Date : 2024-11-05T11:19:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T11:19:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004492 post PendingInvicesDO 2 MED-021004482 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004482 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00f2a50d-e71c-4a84-b462-aea970c8d259' LIMIT 1 Date : 2024-11-05T11:36:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T11:36:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004493 post PendingInvicesDO 2 MED-021004483 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004483 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='adeb574a-cb27-447d-9494-3a5029b762b0' LIMIT 1 Date : 2024-11-05T11:46:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T11:46:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004494 post PendingInvicesDO 2 MED-021004484 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004484 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e56c54ed-23e3-418b-a299-bfc0c4475491' LIMIT 1 Date : 2024-11-05T11:54:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T11:54:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004495 post PendingInvicesDO 2 MED-021004485 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004485 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a254f75e-a24e-4f16-8627-01172a17f4fd' LIMIT 1 Date : 2024-11-05T12:12:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T12:12:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004496 post PendingInvicesDO 2 MED-021004356 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004356 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004356' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004356' OR OrderId='MED-021004356' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-11-05T12:35:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004497 post PendingInvicesDO 2 MED-021004487 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004487 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64f57aa8-364c-4aa5-9863-6fb27c3da5c2' LIMIT 1 Date : 2024-11-05T13:19:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T13:19:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004498 post PendingInvicesDO 2 MED-021004488 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004488 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3e48e31-6f85-4430-8746-65b15fd9d3bc' LIMIT 1 Date : 2024-11-05T13:44:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-05T13:44:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004499 post PendingInvicesDO 2 MED-021004489 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004489 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4590b7b7-60bd-427f-8a67-927fe8c7cc92' LIMIT 1 Date : 2024-11-06T08:31:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T08:31:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004500 post PendingInvicesDO 2 MED-021004490 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004490 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5649ed30-0d7a-4da9-bbbe-fdbd4d3b583a' LIMIT 1 Date : 2024-11-06T09:00:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T09:00:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004501 post PendingInvicesDO 2 MED-021004491 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004491 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02767058-b0d1-4848-a19d-1dbbeec523c7' LIMIT 1 Date : 2024-11-06T09:40:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T09:40:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004502 post PendingInvicesDO 2 MED-021004492 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004492 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='629de90e-c44d-4fcd-8f75-10c4886fc4c5' LIMIT 1 Date : 2024-11-06T10:00:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T10:00:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004503 post PendingInvicesDO 2 MED-021004493 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004493 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='05297448-59db-4dab-84ca-ab8413bd3e43' LIMIT 1 Date : 2024-11-06T10:27:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T10:27:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004504 post PendingInvicesDO 2 MED-021004494 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004494 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c2adad5-9981-4668-ad53-8207a437a636' LIMIT 1 Date : 2024-11-06T10:42:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T10:42:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004505 post PendingInvicesDO 2 MED-021004495 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004495 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ac3d147-7a4f-49cd-8e71-a7a3b42eddaf' LIMIT 1 Date : 2024-11-06T11:03:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T11:03:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004506 post PendingInvicesDO 2 MED-021004496 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004496 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe9ffdb9-2550-4c63-ae31-d66796974e0e' LIMIT 1 Date : 2024-11-06T11:18:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T11:18:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004507 post PendingInvicesDO 2 MED-021004497 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004497 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66cc8414-b361-4f8f-8990-6f985d06ed49' LIMIT 1 Date : 2024-11-06T11:47:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T11:47:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004508 post PendingInvicesDO 2 MED-021004498 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004498 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2326fcf8-15af-443a-84fe-5a5eff3bc51c' LIMIT 1 Date : 2024-11-06T12:22:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T12:22:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004509 post PendingInvicesDO 2 MED-021004499 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004499 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a603a49-68a5-4a7e-be0e-50e0a0291737' LIMIT 1 Date : 2024-11-06T12:41:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T12:41:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004510 post PendingInvicesDO 2 MED-021004500 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004500 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='788fc235-afa0-48e1-9dd5-2e8af5439667' LIMIT 1 Date : 2024-11-06T12:56:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T12:56:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004511 post PendingInvicesDO 2 MED-021004501 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004501 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='386cf9f4-f7b3-463f-b21f-e1053a7e9a6d' LIMIT 1 Date : 2024-11-06T13:25:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T13:25:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004512 post PendingInvicesDO 2 MED-021004382 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004382 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004382' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004382' OR OrderId='MED-021004382' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-11-06T14:03:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004513 post PendingInvicesDO 2 MED-021004503 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004503 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8da74515-8134-46b6-8226-78d8f44fe508' LIMIT 1 Date : 2024-11-06T14:46:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T14:46:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004514 post PendingInvicesDO 2 MED-021004504 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004504 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b85a8bd0-c552-4a84-9192-db9b3f1a64f4' LIMIT 1 Date : 2024-11-06T15:09:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T15:09:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004515 post PendingInvicesDO 2 MED-021004505 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004505 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be3381f1-ddea-4027-8552-9957055b6c04' LIMIT 1 Date : 2024-11-06T15:37:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T15:37:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004516 post PendingInvicesDO 2 MED-021004506 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004506 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc4ca5ca-f56c-48ad-89fe-bf8843c96e7a' LIMIT 1 Date : 2024-11-06T16:13:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-06T16:13:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004517 post PendingInvicesDO 2 MED-021004507 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004507 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d032fd1e-7702-4bc3-8b40-91e7db6b71a8' LIMIT 1 Date : 2024-11-07T08:33:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T08:33:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004518 post PendingInvicesDO 2 MED-021004508 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004508 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56293451-64ff-42d4-a04a-b1a70acbdf67' LIMIT 1 Date : 2024-11-07T09:06:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T09:06:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004519 post PendingInvicesDO 2 MED-021004509 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004509 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe0c126f-6552-4a41-a92a-da7a6a8d6800' LIMIT 1 Date : 2024-11-07T09:21:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T09:21:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004520 post PendingInvicesDO 2 MED-021004510 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004510 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9d90f15-1650-47b5-a4e9-f9bea68a6c90' LIMIT 1 Date : 2024-11-07T09:38:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T09:38:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004521 post PendingInvicesDO 2 MED-021004511 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004511 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff5c296e-9728-4aae-8319-6ae02d4ca2a6' LIMIT 1 Date : 2024-11-07T09:56:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T09:56:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004522 post PendingInvicesDO 2 MED-021004512 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004512 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='edad8202-a0bf-48a5-b316-73aa597ba140' LIMIT 1 Date : 2024-11-07T10:04:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T10:04:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004523 post PendingInvicesDO 2 MED-021004513 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004513 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44bc5255-e33a-46fe-ab91-be395d67483e' LIMIT 1 Date : 2024-11-07T10:25:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T10:25:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004524 post PendingInvicesDO 2 MED-021004514 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004514 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82abc7ff-8459-496d-8369-e4e9eec93317' LIMIT 1 Date : 2024-11-07T10:45:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T10:45:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004525 post PendingInvicesDO 2 MED-021004515 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004515 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6470ec20-9540-4669-942a-42c23207235b' LIMIT 1 Date : 2024-11-07T11:31:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T11:31:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004526 post PendingInvicesDO 2 MED-021004516 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004516 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c4cf75a-0b81-4284-9941-a77b00060fdd' LIMIT 1 Date : 2024-11-07T11:53:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T11:53:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004527 post PendingInvicesDO 2 MED-021004517 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004517 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1db65801-a64d-4827-8f93-54de86f65b98' LIMIT 1 Date : 2024-11-07T12:12:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T12:12:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004528 post PendingInvicesDO 2 MED-021004518 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004518 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae02ea66-49c6-4396-8f65-e2592b0b597d' LIMIT 1 Date : 2024-11-07T12:53:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T12:53:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004529 post PendingInvicesDO 2 MED-021004519 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004519 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50c77abd-1a46-412c-8695-7bf4c9ae9725' LIMIT 1 Date : 2024-11-07T13:28:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T13:28:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004530 post PendingInvicesDO 2 MED-021004520 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004520 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f006c640-e908-4bfe-950f-fb6f5816cb5f' LIMIT 1 Date : 2024-11-07T13:43:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T13:43:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004531 post PendingInvicesDO 2 MED-021004521 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004521 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2db081c-4db2-4616-bf48-41dd3a555771' LIMIT 1 Date : 2024-11-07T14:14:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T14:14:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004532 post PendingInvicesDO 2 MED-021004522 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004522 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ba4be8a-3761-4534-8357-fcfbb548f26c' LIMIT 1 Date : 2024-11-07T14:46:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T14:46:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004533 post PendingInvicesDO 2 MED-021004523 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004523 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b989a74-22df-46c6-9256-8bece2405a36' LIMIT 1 Date : 2024-11-07T15:16:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T15:16:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004534 post PendingInvicesDO 2 MED-021004524 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004524 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19bfef5b-f461-41ff-95cc-c1e2898de747' LIMIT 1 Date : 2024-11-07T16:21:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-07T16:21:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004535 post PendingInvicesDO 2 MED-021004527 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004527 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b4ef15a-47ab-4c96-9fb4-816d2923a704' LIMIT 1 Date : 2024-11-09T08:47:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-09T08:47:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004536 post PendingInvicesDO 2 MED-021004528 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004528 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d7018df-be64-45c1-8271-f0726276fe82' LIMIT 1 Date : 2024-11-09T08:55:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-09T08:55:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004537 post PendingInvicesDO 2 MED-021004529 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004529 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='880803ce-eaf1-4b1f-9058-4ed4776c8e71' LIMIT 1 Date : 2024-11-09T09:10:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-09T09:10:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004538 post PendingInvicesDO 2 MED-021004530 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004530 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4984bb78-c0c8-4f1a-8c5c-314e9e956ff7' LIMIT 1 Date : 2024-11-09T09:29:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-09T09:29:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004539 post PendingInvicesDO 2 MED-021004531 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004531 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c9c36c7-eba8-4509-89b5-64703ec225c1' LIMIT 1 Date : 2024-11-09T09:50:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-09T09:50:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004540 post PendingInvicesDO 2 MED-021004532 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004532 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc5bbf2f-1ea4-4c1b-abad-c075a52c6753' LIMIT 1 Date : 2024-11-09T10:10:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-09T10:10:39 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-024004541 post PendingInvicesDO 2 MED-021004533 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004533 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4cec412-d6e8-44d0-811a-f6e8649fe07a' LIMIT 1 Date : 2024-11-09T10:40:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-09T10:40:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004542 post PendingInvicesDO 2 MED-021004421 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004421 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004421' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004421' OR OrderId='MED-021004421' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-11-09T10:53:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004543 post PendingInvicesDO 2 MED-021004535 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004535 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='775056d7-05aa-480c-b0a5-b6ab44c51151' LIMIT 1 Date : 2024-11-09T11:26:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-09T11:26:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004544 post PendingInvicesDO 2 MED-021004537 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004537 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd47ee15-d72d-4110-b7b3-62846487e553' LIMIT 1 Date : 2024-11-09T12:33:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-09T12:33:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004545 post PendingInvicesDO 2 MED-021004538 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004538 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d249b9e2-e7ae-4857-9650-d721e365183f' LIMIT 1 Date : 2024-11-09T13:02:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-09T13:02:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004546 post PendingInvicesDO 2 MED-021004539 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004539 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55064bf7-e70f-4612-a172-c1cd700a413a' LIMIT 1 Date : 2024-11-09T13:26:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-09T13:26:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004547 post PendingInvicesDO 2 MED-021004540 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004540 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='423eb3ee-44f4-46d1-b5d6-8c5884831825' LIMIT 1 Date : 2024-11-09T13:47:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-09T13:47:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004548 post PendingInvicesDO 2 MED-021004536 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004536 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004536' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004536' OR OrderId='MED-021004536' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-11-09T16:53:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004549 post PendingInvicesDO 2 MED-021004541 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004541 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74dbc5d6-8f00-4a13-aa06-67bc136f7555' LIMIT 1 Date : 2024-11-10T08:10:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T08:10:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004550 post PendingInvicesDO 2 MED-021004542 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004542 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6d5e179-a74e-4c8f-a5df-be19e6e542b7' LIMIT 1 Date : 2024-11-10T08:34:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T08:34:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004551 post PendingInvicesDO 2 MED-021004543 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004543 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5fc31f9-547f-48d9-a41d-c1373124c92b' LIMIT 1 Date : 2024-11-10T08:59:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T08:59:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004552 post PendingInvicesDO 2 MED-021004544 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004544 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='298d66bd-0911-49ea-b197-ac0ec98b5e19' LIMIT 1 Date : 2024-11-10T09:17:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T09:17:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004553 post PendingInvicesDO 2 MED-021004545 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004545 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc89d4d4-91ac-4403-88ff-56a456b7ab99' LIMIT 1 Date : 2024-11-10T10:11:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T10:11:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004554 post PendingInvicesDO 2 MED-021004546 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004546 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4671263-93fc-449b-8a46-6da32feb43a2' LIMIT 1 Date : 2024-11-10T10:28:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T10:28:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004555 post PendingInvicesDO 2 MED-021004547 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004547 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e172acfb-8afc-4f5a-a04e-642e822cb0f1' LIMIT 1 Date : 2024-11-10T10:40:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T10:40:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004556 post PendingInvicesDO 2 MED-021004548 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004548 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1463b474-95c4-4f19-bdaf-8037603cf4b4' LIMIT 1 Date : 2024-11-10T10:57:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T10:57:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004557 post PendingInvicesDO 2 MED-021004549 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004549 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8119d756-a625-4ceb-a26a-98f0d36a6aaa' LIMIT 1 Date : 2024-11-10T11:27:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T11:27:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004558 post PendingInvicesDO 2 MED-021004550 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004550 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4b9da7e-fdb9-4a4b-a1de-ddcf1da8ed86' LIMIT 1 Date : 2024-11-10T11:45:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T11:45:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004559 post PendingInvicesDO 2 MED-021004551 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004551 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f42c43d8-2ed7-4f46-85d9-268636ef36a5' LIMIT 1 Date : 2024-11-10T12:01:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T12:01:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004560 post PendingInvicesDO 2 MED-021004552 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004552 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91291afc-a74c-4e4c-9073-be08bad6d2e4' LIMIT 1 Date : 2024-11-10T12:44:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T12:44:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004561 post PendingInvicesDO 2 MED-021004553 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004553 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2d85324-ff0d-4112-9f12-8306420980bb' LIMIT 1 Date : 2024-11-10T12:57:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T12:57:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004562 post PendingInvicesDO 2 MED-021004554 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004554 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a593c373-d31b-4de1-9026-1e9e155fa632' LIMIT 1 Date : 2024-11-10T13:09:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T13:09:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004563 post PendingInvicesDO 2 MED-021004555 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004555 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50bdb28b-08d3-41e6-8613-e7d9dfb778e1' LIMIT 1 Date : 2024-11-10T13:19:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T13:19:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004564 post PendingInvicesDO 2 MED-021004556 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004556 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='020dd63f-91d9-4328-b7f5-2800ebdb4ed5' LIMIT 1 Date : 2024-11-10T13:30:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T13:30:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004565 post PendingInvicesDO 2 MED-021004557 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004557 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='634b7f56-851c-40f8-80b9-ea2df2f1d915' LIMIT 1 Date : 2024-11-10T13:52:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-10T13:52:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004567 post PendingInvicesDO 2 MED-021004559 post PendingInvicesDO 2 MED-021004558 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-024004566 post PendingInvicesDO 2 MED-021004559 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-021004558 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004559 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26d1ec99-0df5-4566-8cab-99032f461cf9' LIMIT 1 Date : 2024-11-10T14:25:16  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96bd120f-8f95-4270-9c86-3294567bbabb' LIMIT 1 Date : 2024-11-10T14:25:16  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26d1ec99-0df5-4566-8cab-99032f461cf9' LIMIT 1 Date : 2024-11-10T14:25:16  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96bd120f-8f95-4270-9c86-3294567bbabb' LIMIT 1 Date : 2024-11-10T14:25:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2024-11-10T14:25:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004568 post PendingInvicesDO 2 MED-021004449 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004449 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004449' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004449' OR OrderId='MED-021004449' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-11-11T08:24:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004569 post PendingInvicesDO 2 MED-021004561 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004561 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='850aab08-4d06-4ebe-8f6e-79b5e4d7e7fe' LIMIT 1 Date : 2024-11-11T08:58:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-11T08:58:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004571 post PendingInvicesDO 2 MED-021004563 post PendingInvicesDO 2 MED-021004562 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-024004570 post PendingInvicesDO 2 MED-021004563 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-021004562 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004563 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0da37bdb-57fa-4d14-87d5-cc9b64f48c0b' LIMIT 1 Date : 2024-11-11T09:48:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc083a48-b473-455f-934f-49ff4081ac96' LIMIT 1 Date : 2024-11-11T09:48:42  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0da37bdb-57fa-4d14-87d5-cc9b64f48c0b' LIMIT 1 Date : 2024-11-11T09:48:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc083a48-b473-455f-934f-49ff4081ac96' LIMIT 1 Date : 2024-11-11T09:48:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2024-11-11T09:48:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004572 post PendingInvicesDO 2 MED-021004564 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004564 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7836769-ce28-4dbd-ba21-52986e4bf826' LIMIT 1 Date : 2024-11-11T10:21:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-11T10:21:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004573 post PendingInvicesDO 2 MED-021004565 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004565 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb1c8dea-8e29-4a64-b499-a619b1b904e1' LIMIT 1 Date : 2024-11-11T10:46:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-11T10:46:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004575 post PendingInvicesDO 2 MED-021004567 post PendingInvicesDO 2 MED-021004566 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-024004574 post PendingInvicesDO 2 MED-021004567 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-021004566 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004567 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f2862e7-98e8-4b5e-8363-c0bc115f8780' LIMIT 1 Date : 2024-11-11T12:06:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c6b0fe0-4183-4d49-8939-5046245a2143' LIMIT 1 Date : 2024-11-11T12:06:41  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f2862e7-98e8-4b5e-8363-c0bc115f8780' LIMIT 1 Date : 2024-11-11T12:06:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c6b0fe0-4183-4d49-8939-5046245a2143' LIMIT 1 Date : 2024-11-11T12:06:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2024-11-11T12:06:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004576 post PendingInvicesDO 2 MED-021004568 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004568 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7a8923a-62dd-4e77-85f1-ca3307aa099e' LIMIT 1 Date : 2024-11-11T12:34:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-11T12:34:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004577 post PendingInvicesDO 2 MED-021004470 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004470 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004470' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004470' OR OrderId='MED-021004470' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-11-11T13:34:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004578 post PendingInvicesDO 2 MED-021004570 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004570 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8cf2fb40-16f5-42ef-8d80-432380c562ee' LIMIT 1 Date : 2024-11-11T13:59:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-11T13:59:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004579 post PendingInvicesDO 2 MED-021004571 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004571 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c589a350-6ad6-40d5-aeb6-527e344fb70e' LIMIT 1 Date : 2024-11-11T14:30:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-11T14:30:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004580 post PendingInvicesDO 2 MED-021004572 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004572 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee4b071c-6b8f-4740-80a9-b2f354e53c0b' LIMIT 1 Date : 2024-11-11T14:50:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-11T14:50:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004581 post PendingInvicesDO 2 MED-021004573 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004573 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='299119e4-af8b-4f11-93f6-a8c279b89f0e' LIMIT 1 Date : 2024-11-11T15:04:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-11T15:04:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004582 post PendingInvicesDO 2 MED-021004370 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004370' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004370' OR OrderId='MED-021004370' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-11-11T15:41:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004583 post PendingInvicesDO 2 MED-021004574 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004574 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e31d705-61b8-4c52-9175-460e666e0b3d' LIMIT 1 Date : 2024-11-12T08:38:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-12T08:38:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004585 post PendingInvicesDO 2 MED-021004576 post PendingInvicesDO 2 MED-021004575 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-024004584 post PendingInvicesDO 2 MED-021004576 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-021004575 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004576 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac883629-3f58-44a3-b491-4d76e2943cac' LIMIT 1 Date : 2024-11-12T09:22:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6599d0b-e070-47d5-9a7a-ea7ee5e0636c' LIMIT 1 Date : 2024-11-12T09:22:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac883629-3f58-44a3-b491-4d76e2943cac' LIMIT 1 Date : 2024-11-12T09:22:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6599d0b-e070-47d5-9a7a-ea7ee5e0636c' LIMIT 1 Date : 2024-11-12T09:22:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2024-11-12T09:22:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004586 post PendingInvicesDO 2 MED-021004577 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004577 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='573196e0-13ed-4f09-8b39-c246c2d00b16' LIMIT 1 Date : 2024-11-12T09:43:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-12T09:43:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004587 post PendingInvicesDO 2 MED-021004578 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004578 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b32d4b0f-3db4-479b-b373-64e942973266' LIMIT 1 Date : 2024-11-12T10:37:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-12T10:37:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004588 post PendingInvicesDO 2 MED-021004478 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004478 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004478' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004478' OR OrderId='MED-021004478' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-11-12T11:03:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004590 post PendingInvicesDO 2 MED-021004581 post PendingInvicesDO 2 MED-021004580 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-024004589 post PendingInvicesDO 2 MED-021004581 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-021004580 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004581 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ebb97a3-a3f0-4336-9794-00d1d62121df' LIMIT 1 Date : 2024-11-12T12:23:14  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='550fe0fd-ea56-4778-a103-d428b151f5d2' LIMIT 1 Date : 2024-11-12T12:23:14  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ebb97a3-a3f0-4336-9794-00d1d62121df' LIMIT 1 Date : 2024-11-12T12:23:14  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='550fe0fd-ea56-4778-a103-d428b151f5d2' LIMIT 1 Date : 2024-11-12T12:23:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2024-11-12T12:23:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004591 post PendingInvicesDO 2 MED-021004582 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004582 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1cbd245-8110-4b00-b890-47aa5c2d354f' LIMIT 1 Date : 2024-11-12T12:35:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-12T12:35:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004592 post PendingInvicesDO 2 MED-021004583 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004583 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3556f7e-9d97-424f-9a04-c82609da3ffc' LIMIT 1 Date : 2024-11-12T13:09:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-12T13:09:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004593 post PendingInvicesDO 2 MED-021004584 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004584 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44b5b523-a144-4bd2-92ae-62342c2aba16' LIMIT 1 Date : 2024-11-12T14:14:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-12T14:14:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004594 post PendingInvicesDO 2 MED-021004585 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004585 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90b73609-0ff3-4cd2-b692-d2fc5428e511' LIMIT 1 Date : 2024-11-13T08:48:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T08:48:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004595 post PendingInvicesDO 2 MED-021004586 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004586 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a70e15a3-deaf-4038-a628-ca4fccc6c501' LIMIT 1 Date : 2024-11-13T09:09:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T09:09:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004596 post PendingInvicesDO 2 MED-021004587 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004587 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9cbea483-e63e-4f96-bb71-66f04d686c9d' LIMIT 1 Date : 2024-11-13T09:27:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T09:27:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004597 post PendingInvicesDO 2 MED-021004588 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004588 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='691cf06f-f3b8-4e70-a4c4-5d3bdae66e2b' LIMIT 1 Date : 2024-11-13T10:05:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T10:05:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004598 post PendingInvicesDO 2 MED-021004589 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004589 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='322a0351-48fd-4067-900f-05069af2da54' LIMIT 1 Date : 2024-11-13T10:14:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T10:14:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004599 post PendingInvicesDO 2 MED-021004590 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004590 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17f8a5ce-1c04-4416-87ed-52c3c8bd14dd' LIMIT 1 Date : 2024-11-13T10:27:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T10:27:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004600 post PendingInvicesDO 2 MED-021004591 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004591 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='587a2905-45ee-42a6-8906-fdeee9499436' LIMIT 1 Date : 2024-11-13T10:44:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T10:44:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004601 post PendingInvicesDO 2 MED-021004592 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004592 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c5b233b-f1d6-4cb2-8890-9305dfe73ca2' LIMIT 1 Date : 2024-11-13T10:59:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T10:59:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004602 post PendingInvicesDO 2 MED-021004593 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004593 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da1b1c5f-89a7-4252-ae40-babd0fa39ed4' LIMIT 1 Date : 2024-11-13T11:17:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T11:17:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004603 post PendingInvicesDO 2 MED-021004594 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004594 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f696dc8-bd7c-4f7c-973a-191f99b24609' LIMIT 1 Date : 2024-11-13T12:14:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T12:14:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004604 post PendingInvicesDO 2 MED-021004595 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004595 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccfad1d6-1cb3-4f7f-95b4-5459ff725caa' LIMIT 1 Date : 2024-11-13T12:46:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T12:46:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004605 post PendingInvicesDO 2 MED-021004596 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004596 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c709acb-a346-469b-901a-27aab7d2036c' LIMIT 1 Date : 2024-11-13T13:09:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T13:09:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004606 post PendingInvicesDO 2 MED-021004502 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004502 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-021004502' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-021004502' OR OrderId='MED-021004502' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2024-11-13T13:33:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004607 post PendingInvicesDO 2 MED-021004598 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004598 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fa0f60b-efb9-4fe4-9923-17c45ba31262' LIMIT 1 Date : 2024-11-13T14:09:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T14:09:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004608 post PendingInvicesDO 2 MED-021004599 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004599 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2af9a982-21cb-4612-bf0e-22339cb713a1' LIMIT 1 Date : 2024-11-13T14:36:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-13T14:36:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004609 post PendingInvicesDO 2 MED-021004600 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004600 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31e26d32-ec7f-4dd1-86e2-00c81565e694' LIMIT 1 Date : 2024-11-14T09:36:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T09:36:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004610 post PendingInvicesDO 2 MED-021004601 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004601 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='791c6aa1-3be3-4a15-bcf8-72050e030188' LIMIT 1 Date : 2024-11-14T10:07:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T10:07:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004611 post PendingInvicesDO 2 MED-021004602 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004602 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2d3b29c-fbf1-4df9-83f4-67a6887a8aec' LIMIT 1 Date : 2024-11-14T10:33:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T10:33:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004612 post PendingInvicesDO 2 MED-021004603 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004603 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f400939-cd6b-49e7-a9f7-65cb7ac387e6' LIMIT 1 Date : 2024-11-14T10:50:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T10:50:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004613 post PendingInvicesDO 2 MED-021004604 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004604 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='454c8957-7a36-4c19-93ac-b61016d0e403' LIMIT 1 Date : 2024-11-14T10:54:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T10:54:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004614 post PendingInvicesDO 2 MED-021004605 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004605 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1cf41efe-ddba-4ac8-bdb8-d95d5ee1b5a1' LIMIT 1 Date : 2024-11-14T11:10:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T11:10:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004615 post PendingInvicesDO 2 MED-021004606 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004606 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7e53948-86f8-491a-91fb-523ea87885c0' LIMIT 1 Date : 2024-11-14T11:26:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T11:26:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004616 post PendingInvicesDO 2 MED-021004607 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004607 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3941940b-f8ae-4910-bae3-1ac748298621' LIMIT 1 Date : 2024-11-14T11:34:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T11:34:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004617 post PendingInvicesDO 2 MED-021004608 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004608 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ffe5991-884f-4050-b6d2-3393e1ea3068' LIMIT 1 Date : 2024-11-14T11:52:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T11:52:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004618 post PendingInvicesDO 2 MED-021004609 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004609 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3876e61-9472-48a9-a6e3-f10ee634ca48' LIMIT 1 Date : 2024-11-14T12:37:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T12:37:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004620 post PendingInvicesDO 2 MED-021004611 post PendingInvicesDO 2 MED-021004610 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-024004619 post PendingInvicesDO 2 MED-021004611 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-021004610 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004611 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3aebf6d-fea9-41f1-9ebd-f59dc9765930' LIMIT 1 Date : 2024-11-14T13:26:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c38eb16-dbdb-452e-9a4e-7e54b6a4a6f9' LIMIT 1 Date : 2024-11-14T13:26:25  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3aebf6d-fea9-41f1-9ebd-f59dc9765930' LIMIT 1 Date : 2024-11-14T13:26:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c38eb16-dbdb-452e-9a4e-7e54b6a4a6f9' LIMIT 1 Date : 2024-11-14T13:26:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2024-11-14T13:26:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004621 post PendingInvicesDO 2 MED-021004612 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004612 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5fd69bcd-9b64-48e5-8ed5-5f71cc8ae516' LIMIT 1 Date : 2024-11-14T14:23:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T14:23:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004622 post PendingInvicesDO 2 MED-021004613 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004613 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='133bad58-e043-4742-adab-93ecaf0d4c95' LIMIT 1 Date : 2024-11-14T15:04:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T15:04:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004623 post PendingInvicesDO 2 MED-021004614 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004614 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be16b6ae-77f3-4793-979f-74249168f4b4' LIMIT 1 Date : 2024-11-14T15:17:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T15:17:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004624 post PendingInvicesDO 2 MED-021004615 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004615 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1715c86-b43f-4ea1-91ad-c72c86c21b64' LIMIT 1 Date : 2024-11-14T15:50:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T15:50:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-024004625 post PendingInvicesDO 2 MED-021004616 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-021004616 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c42a56ed-3ee0-4375-9ee4-acdef0f30f31' LIMIT 1 Date : 2024-11-14T16:11:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2024-11-14T16:11:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003099 post PendingInvicesDO 2 MED-141003614 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003614 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003614' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003614' OR OrderId='MED-141003614' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-02-19T21:24:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003100 post PendingInvicesDO 2 MED-141003645 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003645 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4889ec61-6521-4513-b196-a975b53da326' LIMIT 1 Date : 2025-02-19T21:26:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-19T21:26:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003101 post PendingInvicesDO 2 MED-141003646 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003646 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8605f73a-6e7a-4533-8038-8045894b36f3' LIMIT 1 Date : 2025-02-20T08:19:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T08:19:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003102 post PendingInvicesDO 2 MED-141003647 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003647 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4583dc44-be62-42a1-b8c0-bf12a43c13f3' LIMIT 1 Date : 2025-02-20T08:34:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T08:34:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003103 post PendingInvicesDO 2 MED-141003648 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003648 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e155244-6f2d-4ec5-9a8c-233c6f4d17a7' LIMIT 1 Date : 2025-02-20T08:47:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T08:47:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003104 post PendingInvicesDO 2 MED-141003649 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003649 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81903a0c-e80f-4142-9272-3453002253f1' LIMIT 1 Date : 2025-02-20T09:15:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T09:15:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003105 post PendingInvicesDO 2 MED-141003650 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003650 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ed7c482-e7be-4818-b828-0d10343d175a' LIMIT 1 Date : 2025-02-20T09:28:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T09:28:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003106 post PendingInvicesDO 2 MED-141003651 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003651 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b3398b9-50df-42c9-aa88-959f732cf784' LIMIT 1 Date : 2025-02-20T09:41:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T09:41:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003107 post PendingInvicesDO 2 MED-141003652 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003652 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48e3f68c-f0a4-47a0-ab87-da234d841ebb' LIMIT 1 Date : 2025-02-20T10:09:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T10:09:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003108 post PendingInvicesDO 2 MED-141003653 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003653 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6478594e-46bc-4283-bfb1-28760a934783' LIMIT 1 Date : 2025-02-20T10:29:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T10:29:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003110 post PendingInvicesDO 2 MED-141003655 post PendingInvicesDO 2 MED-141003654 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003109 post PendingInvicesDO 2 MED-141003655 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003654 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003655 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a5d0a9f-937e-4107-9c12-7c3daf7c8669' LIMIT 1 Date : 2025-02-20T10:44:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47d97914-e9f6-4f9a-b721-3819287cb636' LIMIT 1 Date : 2025-02-20T10:44:56  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a5d0a9f-937e-4107-9c12-7c3daf7c8669' LIMIT 1 Date : 2025-02-20T10:44:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47d97914-e9f6-4f9a-b721-3819287cb636' LIMIT 1 Date : 2025-02-20T10:44:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-20T10:44:56 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003112 post PendingInvicesDO 2 MED-141003657 post PendingInvicesDO 2 MED-141003656 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003111 post PendingInvicesDO 2 MED-141003657 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003656 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003657 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c45e49d4-8c2b-49ab-bfb4-e5504e1a39f5' LIMIT 1 Date : 2025-02-20T11:10:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb05a0c0-6193-4d8c-8e80-af98ea6f9431' LIMIT 1 Date : 2025-02-20T11:10:56  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c45e49d4-8c2b-49ab-bfb4-e5504e1a39f5' LIMIT 1 Date : 2025-02-20T11:10:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb05a0c0-6193-4d8c-8e80-af98ea6f9431' LIMIT 1 Date : 2025-02-20T11:10:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-20T11:10:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003113 post PendingInvicesDO 2 MED-141003658 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003658 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29103745-d843-4fb8-b89e-64ec1548a1c2' LIMIT 1 Date : 2025-02-20T11:35:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T11:35:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003115 post PendingInvicesDO 2 MED-141003660 post PendingInvicesDO 2 MED-141003659 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003114 post PendingInvicesDO 2 MED-141003660 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003659 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003660 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='442240a5-1a82-4f7e-a89d-c5966b4d6eb6' LIMIT 1 Date : 2025-02-20T11:52:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c400dfa5-8912-40a7-9517-1135ad6fe338' LIMIT 1 Date : 2025-02-20T11:52:44  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='442240a5-1a82-4f7e-a89d-c5966b4d6eb6' LIMIT 1 Date : 2025-02-20T11:52:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c400dfa5-8912-40a7-9517-1135ad6fe338' LIMIT 1 Date : 2025-02-20T11:52:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-20T11:52:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003116 post PendingInvicesDO 2 MED-141003661 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003661 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c3856a0-9d9e-4b2e-bd41-ad4852077222' LIMIT 1 Date : 2025-02-20T12:09:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T12:09:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003118 post PendingInvicesDO 2 MED-141003663 post PendingInvicesDO 2 MED-141003662 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003117 post PendingInvicesDO 2 MED-141003663 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003662 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003663 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c56e640-bc3f-419f-8b9b-ecfd60619fde' LIMIT 1 Date : 2025-02-20T12:31:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8cc94cfa-c060-4037-8930-756111b3ccc5' LIMIT 1 Date : 2025-02-20T12:31:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c56e640-bc3f-419f-8b9b-ecfd60619fde' LIMIT 1 Date : 2025-02-20T12:31:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8cc94cfa-c060-4037-8930-756111b3ccc5' LIMIT 1 Date : 2025-02-20T12:31:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-20T12:31:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003119 post PendingInvicesDO 2 MED-141003664 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003664 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49cc1076-9f58-44f3-b705-ba3c8b541081' LIMIT 1 Date : 2025-02-20T12:50:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T12:50:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003120 post PendingInvicesDO 2 MED-141003665 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003665 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a0f0e47b-e2ee-42db-9797-acb3b43f8d2c' LIMIT 1 Date : 2025-02-20T13:23:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T13:23:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003121 post PendingInvicesDO 2 MED-141003666 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003666 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4dc3f93e-20db-49e7-926e-227a88d29c00' LIMIT 1 Date : 2025-02-20T13:38:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T13:38:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003123 post PendingInvicesDO 2 MED-141003668 post PendingInvicesDO 2 MED-141003667 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003122 post PendingInvicesDO 2 MED-141003668 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003667 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003668 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0674eb59-d1b3-49d6-9163-06b521aefde7' LIMIT 1 Date : 2025-02-20T14:09:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f71cfb4b-de5d-4ffa-b253-e23bcf200764' LIMIT 1 Date : 2025-02-20T14:09:52  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0674eb59-d1b3-49d6-9163-06b521aefde7' LIMIT 1 Date : 2025-02-20T14:09:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f71cfb4b-de5d-4ffa-b253-e23bcf200764' LIMIT 1 Date : 2025-02-20T14:09:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-20T14:09:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003124 post PendingInvicesDO 2 MED-141003670 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003670 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='97a88983-f5cc-4990-840b-bd232865c018' LIMIT 1 Date : 2025-02-20T15:31:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T15:31:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003125 post PendingInvicesDO 2 MED-141003671 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003671 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f872d1e3-6a47-4718-9490-da536d82ea27' LIMIT 1 Date : 2025-02-20T15:37:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T15:37:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003126 post PendingInvicesDO 2 MED-141003672 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003672 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62b2cc14-1a14-40d5-b46d-a6b19f3dec25' LIMIT 1 Date : 2025-02-20T16:07:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T16:07:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003127 post PendingInvicesDO 2 MED-141003673 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003673 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b80ea52-b021-4ff9-bf34-c044fdac589d' LIMIT 1 Date : 2025-02-20T16:34:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T16:34:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003128 post PendingInvicesDO 2 MED-141003674 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003674 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86acc2c5-0326-4508-9c2c-59147c92b1ee' LIMIT 1 Date : 2025-02-20T16:54:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T16:54:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003129 post PendingInvicesDO 2 MED-141003675 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003675 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='afc28be8-b9a1-46f3-9e7a-49f0ac502080' LIMIT 1 Date : 2025-02-20T17:31:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T17:31:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003130 post PendingInvicesDO 2 MED-141003676 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003676 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='678c6db7-cd66-4807-929c-c354d2853cee' LIMIT 1 Date : 2025-02-20T17:51:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T17:51:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003131 post PendingInvicesDO 2 MED-141003677 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003677 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='138be519-b32e-4382-a17a-6cdd561ba4b3' LIMIT 1 Date : 2025-02-20T19:51:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-20T19:51:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003132 post PendingInvicesDO 2 MED-141003681 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003681 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a816e8c-d712-4af0-b427-c8634cb8aaa2' LIMIT 1 Date : 2025-02-22T12:28:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T12:28:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003133 post PendingInvicesDO 2 MED-141003682 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003682 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb7f217f-bad4-488f-8f4c-22e1148f6f40' LIMIT 1 Date : 2025-02-22T12:49:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T12:49:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003134 post PendingInvicesDO 2 MED-141003683 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003683 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24c1c19b-0478-4793-8173-ddaa893b226e' LIMIT 1 Date : 2025-02-22T13:26:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T13:26:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003135 post PendingInvicesDO 2 MED-141003684 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003684 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ee56392-e3eb-4dd2-ac79-63b5805e1a77' LIMIT 1 Date : 2025-02-22T13:46:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T13:46:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003136 post PendingInvicesDO 2 MED-141003685 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003685 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9ca2573-9e13-4378-9ee2-20f548d006fc' LIMIT 1 Date : 2025-02-22T14:02:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T14:02:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003137 post PendingInvicesDO 2 MED-141003632 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003632 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003632' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003632' OR OrderId='MED-141003632' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-02-22T14:34:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003138 post PendingInvicesDO 2 MED-141003687 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003687 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='206c1206-6c87-49d8-810c-28ab62967368' LIMIT 1 Date : 2025-02-22T14:54:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T14:54:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003139 post PendingInvicesDO 2 MED-141003583 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003583 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003583' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003583' OR OrderId='MED-141003583' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-02-22T15:11:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003140 post PendingInvicesDO 2 MED-141003689 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003689 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1544c1f1-eda0-4251-bb95-945e2ad4fe1a' LIMIT 1 Date : 2025-02-22T15:22:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T15:22:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003141 post PendingInvicesDO 2 MED-141003690 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003690 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6a848bf-9769-4744-87f2-1d04704ead64' LIMIT 1 Date : 2025-02-22T15:38:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T15:38:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003142 post PendingInvicesDO 2 MED-141003691 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003691 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14d2105a-ef8c-453a-b483-a0d6f54e0b40' LIMIT 1 Date : 2025-02-22T15:56:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T15:56:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003143 post PendingInvicesDO 2 MED-141003692 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003692 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2998b967-561d-4f08-9363-51f622e0c57e' LIMIT 1 Date : 2025-02-22T16:15:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T16:15:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003144 post PendingInvicesDO 2 MED-141003273 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003273 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003273' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003273' OR OrderId='MED-141003273' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-02-22T21:16:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003145 post PendingInvicesDO 2 MED-141003693 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003693 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f5c7798-70e3-43da-89db-e4864bdcc954' LIMIT 1 Date : 2025-02-23T08:02:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T08:02:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003147 post PendingInvicesDO 2 MED-141003702 post PendingInvicesDO 2 MED-141003701 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003146 post PendingInvicesDO 2 MED-141003702 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003701 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003702 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='293493ad-e293-442b-b76b-14bd20d5718c' LIMIT 1 Date : 2025-02-23T13:54:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d107603-7af9-4575-b867-83a6c7f04efb' LIMIT 1 Date : 2025-02-23T13:54:59  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='293493ad-e293-442b-b76b-14bd20d5718c' LIMIT 1 Date : 2025-02-23T13:54:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d107603-7af9-4575-b867-83a6c7f04efb' LIMIT 1 Date : 2025-02-23T13:54:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-23T13:54:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003149 post PendingInvicesDO 2 MED-141003704 post PendingInvicesDO 2 MED-141003703 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003148 post PendingInvicesDO 2 MED-141003704 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003703 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003704 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='097fb2ba-74fa-4399-aa05-8946c9eae721' LIMIT 1 Date : 2025-02-23T14:24:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4356033-a648-4794-a60e-d876c28e6f16' LIMIT 1 Date : 2025-02-23T14:24:25  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='097fb2ba-74fa-4399-aa05-8946c9eae721' LIMIT 1 Date : 2025-02-23T14:24:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4356033-a648-4794-a60e-d876c28e6f16' LIMIT 1 Date : 2025-02-23T14:24:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-23T14:24:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003150 post PendingInvicesDO 2 MED-141003705 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003705 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f01edf4-9585-43bc-b0d0-0c1c8d330b5d' LIMIT 1 Date : 2025-02-23T14:49:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T14:49:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003151 post PendingInvicesDO 2 MED-141003706 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003706 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d82ec1e-a956-4b07-b386-4612681f598b' LIMIT 1 Date : 2025-02-23T15:02:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T15:02:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003152 post PendingInvicesDO 2 MED-141003707 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003707 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e195670-4bd6-43f5-ba3e-eecd0d2c0493' LIMIT 1 Date : 2025-02-23T15:27:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T15:27:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003153 post PendingInvicesDO 2 MED-141003708 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003708 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34d68c4c-a5c1-41c7-ab7c-8bcc4b222fe4' LIMIT 1 Date : 2025-02-23T16:04:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T16:04:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003154 post PendingInvicesDO 2 MED-141003709 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003709 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='532706ac-33d1-46df-abaa-906bc9477da3' LIMIT 1 Date : 2025-02-23T19:54:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T19:54:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003155 post PendingInvicesDO 2 MED-141003710 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003710 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='487daf44-8306-4d69-8df9-cb46fd7df94f' LIMIT 1 Date : 2025-02-23T21:06:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T21:06:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003156 post PendingInvicesDO 2 MED-141003711 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003711 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc5a550d-62a0-40dd-a80c-cd7feab046c1' LIMIT 1 Date : 2025-02-24T07:55:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T07:55:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003157 post PendingInvicesDO 2 MED-141003712 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003712 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd6a5fd5-470c-41aa-82a7-99616546219b' LIMIT 1 Date : 2025-02-24T08:34:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T08:34:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003158 post PendingInvicesDO 2 MED-141003714 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003714 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2e6f0eb-e8ae-4f7c-8e19-f277d4b412e2' LIMIT 1 Date : 2025-02-24T10:48:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T10:48:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003160 post PendingInvicesDO 2 MED-141003716 post PendingInvicesDO 2 MED-141003715 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003159 post PendingInvicesDO 2 MED-141003716 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003715 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003716 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d1ea21c-4f1d-4803-a0d6-921e80fcd55f' LIMIT 1 Date : 2025-02-24T11:06:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64e9dc10-ace0-4504-968a-b2e875721708' LIMIT 1 Date : 2025-02-24T11:06:25  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d1ea21c-4f1d-4803-a0d6-921e80fcd55f' LIMIT 1 Date : 2025-02-24T11:06:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64e9dc10-ace0-4504-968a-b2e875721708' LIMIT 1 Date : 2025-02-24T11:06:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-24T11:06:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003161 post PendingInvicesDO 2 MED-141003717 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003717 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36fe1438-53f7-498c-a4a5-0b3b0c2b6d04' LIMIT 1 Date : 2025-02-24T11:27:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T11:27:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003162 post PendingInvicesDO 2 MED-141003718 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003718 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='deeff6b5-a4a9-483c-8be9-eea9225caace' LIMIT 1 Date : 2025-02-24T11:39:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T11:39:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003163 post PendingInvicesDO 2 MED-141003719 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003719 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='def28e2f-83e0-491f-a05e-099e162632d1' LIMIT 1 Date : 2025-02-24T12:09:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T12:09:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003164 post PendingInvicesDO 2 MED-141003720 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003720 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b307aae-1c0d-435e-bc48-41fd81b11a64' LIMIT 1 Date : 2025-02-24T12:22:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T12:22:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003165 post PendingInvicesDO 2 MED-141003721 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003721 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47466af6-c836-4f42-9b20-400a03fa4698' LIMIT 1 Date : 2025-02-24T13:23:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T13:23:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003166 post PendingInvicesDO 2 MED-141003722 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003722 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='322dc156-6057-493c-afd6-8ade233ec32e' LIMIT 1 Date : 2025-02-24T13:26:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T13:26:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003167 post PendingInvicesDO 2 MED-141003723 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003723 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb3cfa68-5048-46ea-ab60-a59174047323' LIMIT 1 Date : 2025-02-24T14:00:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T14:00:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003168 post PendingInvicesDO 2 MED-141003724 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003724 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003724' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003724' OR OrderId='MED-141003724' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-02-24T15:07:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003169 post PendingInvicesDO 2 MED-141003725 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003725 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e91d2369-ca8c-4714-a6ea-5e423903a5d9' LIMIT 1 Date : 2025-02-24T15:08:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T15:08:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003170 post PendingInvicesDO 2 MED-141003669 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003669 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003669' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003669' OR OrderId='MED-141003669' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-02-24T21:18:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003171 post PendingInvicesDO 2 MED-141003727 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003727 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ee81b47-ff36-4b46-b279-ce44a884bde8' LIMIT 1 Date : 2025-02-25T11:16:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T11:16:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003172 post PendingInvicesDO 2 MED-141003728 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003728 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3771e28a-61c4-459f-9dda-7e6db6edb5b7' LIMIT 1 Date : 2025-02-25T11:50:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T11:50:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003173 post PendingInvicesDO 2 MED-141003729 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003729 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f4438a9-6eed-4ca1-bb20-6df5655e4934' LIMIT 1 Date : 2025-02-25T12:33:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T12:33:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003174 post PendingInvicesDO 2 MED-141003730 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003730 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c15bde34-9da4-43c8-8f19-6264dfe3a3dc' LIMIT 1 Date : 2025-02-25T13:14:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T13:14:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003175 post PendingInvicesDO 2 MED-141003731 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003731 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c61fd1c-b9b5-48ba-9ae1-9becf586578f' LIMIT 1 Date : 2025-02-25T13:33:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T13:33:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003176 post PendingInvicesDO 2 MED-141003732 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003732 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd49071c-1c40-4eb1-a7c9-5069c00b776d' LIMIT 1 Date : 2025-02-25T14:04:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T14:04:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003177 post PendingInvicesDO 2 MED-141003733 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003733 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d31cab75-d6c6-4cab-a273-678c39bf0b7c' LIMIT 1 Date : 2025-02-25T14:33:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T14:33:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003178 post PendingInvicesDO 2 MED-141003734 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003734 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bcb49ab5-1da0-4641-8a09-6ce6dc06fac7' LIMIT 1 Date : 2025-02-25T15:16:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T15:16:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003179 post PendingInvicesDO 2 MED-141003735 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003735 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c17cecb-8111-4a1f-bd85-165c21b567e8' LIMIT 1 Date : 2025-02-25T15:57:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T15:57:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003180 post PendingInvicesDO 2 MED-141003726 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003726 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003726' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003726' OR OrderId='MED-141003726' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-02-25T17:22:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003181 post PendingInvicesDO 2 MED-141003739 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003739 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c210aa50-c724-4393-bca5-9246f6bc4e2b' LIMIT 1 Date : 2025-02-26T11:40:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T11:40:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003182 post PendingInvicesDO 2 MED-141003740 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003740 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='354c18d8-71dc-40fb-88f3-ac95885d2af7' LIMIT 1 Date : 2025-02-26T12:25:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T12:25:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003183 post PendingInvicesDO 2 MED-141003741 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003741 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f4490b4-cf3c-469b-8a5e-7c6aaab699b2' LIMIT 1 Date : 2025-02-26T12:40:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T12:40:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003184 post PendingInvicesDO 2 MED-141003742 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003742 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1b7616c-500e-4cb3-b943-cad755709d22' LIMIT 1 Date : 2025-02-26T12:56:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T12:56:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003185 post PendingInvicesDO 2 MED-141003743 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003743 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7ed3d1d-9cee-4027-82f1-4f1503f25386' LIMIT 1 Date : 2025-02-26T13:08:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T13:08:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003186 post PendingInvicesDO 2 MED-141003744 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003744 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='65d85408-509b-4108-946b-0b0804563dc3' LIMIT 1 Date : 2025-02-26T13:15:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T13:15:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003187 post PendingInvicesDO 2 MED-141003745 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003745 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f319879-8611-4b9b-a9b7-562704cc26a9' LIMIT 1 Date : 2025-02-26T13:24:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T13:24:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003188 post PendingInvicesDO 2 MED-141003746 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003746 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d87e26b-dafa-4876-853b-3c9ebeb3c7dd' LIMIT 1 Date : 2025-02-26T13:41:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T13:41:12 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003189 post PendingInvicesDO 2 MED-141003747 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003747 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7b8985d-b2aa-4985-a237-3d99cf6d3956' LIMIT 1 Date : 2025-02-26T14:01:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T14:01:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003190 post PendingInvicesDO 2 MED-141003748 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003748 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96a4aeaa-d9e7-4885-9e24-2582baeef725' LIMIT 1 Date : 2025-02-26T14:40:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T14:40:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003191 post PendingInvicesDO 2 MED-141003750 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003750 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7984299-6ffc-48d1-8e66-687db5f033d7' LIMIT 1 Date : 2025-02-26T19:25:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T19:25:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003192 post PendingInvicesDO 2 MED-141003751 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003751 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='97fdcecd-245b-4092-96c7-24b9ed93fca0' LIMIT 1 Date : 2025-02-27T07:42:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T07:42:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003193 post PendingInvicesDO 2 MED-141003752 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003752 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f11a4f3a-3b10-4983-8c41-4cd90af34d42' LIMIT 1 Date : 2025-02-27T07:56:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T07:56:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003194 post PendingInvicesDO 2 MED-141003753 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003753 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98f81c4a-30a8-47e1-aefc-95703a17aba6' LIMIT 1 Date : 2025-02-27T08:20:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T08:20:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003195 post PendingInvicesDO 2 MED-141003754 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003754 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='472b7869-9618-44dc-85c0-ab550138bba0' LIMIT 1 Date : 2025-02-27T08:23:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T08:23:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003196 post PendingInvicesDO 2 MED-141003755 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003755 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7d36ca5-a9d4-4bb4-8217-70aa11c11c08' LIMIT 1 Date : 2025-02-27T08:49:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T08:49:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003197 post PendingInvicesDO 2 MED-141003756 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003756 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6db3107e-4b46-43cb-8db8-353e6d562ce8' LIMIT 1 Date : 2025-02-27T09:15:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T09:15:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003198 post PendingInvicesDO 2 MED-141003757 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003757 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c47bf85-f129-42a1-a3a5-eb52c9372535' LIMIT 1 Date : 2025-02-27T09:28:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T09:28:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003199 post PendingInvicesDO 2 MED-141003758 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003758 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2420a5b5-535d-4493-9f7b-6b98d785c4e8' LIMIT 1 Date : 2025-02-27T09:46:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T09:46:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003201 post PendingInvicesDO 2 MED-141003760 post PendingInvicesDO 2 MED-141003759 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003200 post PendingInvicesDO 2 MED-141003760 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003759 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003760 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72c52b20-d441-46de-a4f1-ee6aded663f8' LIMIT 1 Date : 2025-02-27T09:58:16  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5fc6cb94-579d-4e62-a7a9-684cfd469011' LIMIT 1 Date : 2025-02-27T09:58:16  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72c52b20-d441-46de-a4f1-ee6aded663f8' LIMIT 1 Date : 2025-02-27T09:58:16  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5fc6cb94-579d-4e62-a7a9-684cfd469011' LIMIT 1 Date : 2025-02-27T09:58:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-27T09:58:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003202 post PendingInvicesDO 2 MED-141003761 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003761 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9f061bb-c8c4-4513-a9d8-06edc993811c' LIMIT 1 Date : 2025-02-27T10:28:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T10:28:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003203 post PendingInvicesDO 2 MED-141003762 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003762 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bec3bc90-0c5d-443f-8dd8-e24f75194f3e' LIMIT 1 Date : 2025-02-27T10:49:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T10:49:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003204 post PendingInvicesDO 2 MED-141003763 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003763 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f809ca23-bc41-4570-b644-09a68144eb5e' LIMIT 1 Date : 2025-02-27T11:02:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T11:02:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003205 post PendingInvicesDO 2 MED-141003764 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003764 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44424f25-d45c-4032-8d42-c69b516ddcd7' LIMIT 1 Date : 2025-02-27T11:31:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T11:31:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003206 post PendingInvicesDO 2 MED-141003765 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003765 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7daaa5c4-6885-41fc-a5d9-525b4e85f174' LIMIT 1 Date : 2025-02-27T11:42:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T11:42:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003207 post PendingInvicesDO 2 MED-141003766 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003766 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b846e197-73ba-4794-b7c7-e3c00b23cb6e' LIMIT 1 Date : 2025-02-27T11:56:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T11:56:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003208 post PendingInvicesDO 2 MED-141003767 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003767 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0aa9d2eb-5f4a-41ac-9d9a-8a6ec9a45ae6' LIMIT 1 Date : 2025-02-27T12:18:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T12:18:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003209 post PendingInvicesDO 2 MED-141003768 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003768 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c2200f1-027f-418c-871e-1cb2c57e3cd1' LIMIT 1 Date : 2025-02-27T12:25:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T12:25:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003210 post PendingInvicesDO 2 MED-141003769 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003769 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bff9b159-6a7b-4dfd-8f29-96e83c7d1387' LIMIT 1 Date : 2025-02-27T12:50:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T12:50:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003211 post PendingInvicesDO 2 MED-141003770 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003770 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33fdc7a8-f555-4992-acaf-f3e6b84c4580' LIMIT 1 Date : 2025-02-27T13:40:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T13:40:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003212 post PendingInvicesDO 2 MED-141003771 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003771 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9526bcc3-102b-428f-95d8-2a5391ce6e09' LIMIT 1 Date : 2025-02-27T14:01:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T14:01:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003213 post PendingInvicesDO 2 MED-141003772 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003772 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10eba819-369f-4c78-b3b5-ca05c5635867' LIMIT 1 Date : 2025-02-27T14:04:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T14:04:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003214 post PendingInvicesDO 2 MED-141003773 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003773 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a821cde0-9996-4a3c-97ac-761c38f1cebb' LIMIT 1 Date : 2025-02-27T15:03:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T15:03:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003215 post PendingInvicesDO 2 MED-141003774 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003774 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8aa1e259-1faf-48b6-b11e-2c2515bcfec0' LIMIT 1 Date : 2025-02-27T17:16:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-27T17:16:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003216 post PendingInvicesDO 2 MED-141003780 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003780 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='943401e6-b387-413b-9281-a0b6b1758595' LIMIT 1 Date : 2025-03-01T13:47:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-01T13:47:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003218 post PendingInvicesDO 2 MED-141003782 post PendingInvicesDO 2 MED-141003781 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003217 post PendingInvicesDO 2 MED-141003782 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003781 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003782 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f0be9a3-4af8-4297-b709-e1f1bce8aaf4' LIMIT 1 Date : 2025-03-01T14:28:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91b57f03-d4ef-4a35-a18d-e6939a04a74d' LIMIT 1 Date : 2025-03-01T14:28:05  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f0be9a3-4af8-4297-b709-e1f1bce8aaf4' LIMIT 1 Date : 2025-03-01T14:28:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91b57f03-d4ef-4a35-a18d-e6939a04a74d' LIMIT 1 Date : 2025-03-01T14:28:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-01T14:28:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003219 post PendingInvicesDO 2 MED-141003783 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003783 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='088ea6e9-8101-4e07-bfe5-1985e0ab8da6' LIMIT 1 Date : 2025-03-01T14:50:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-01T14:50:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003220 post PendingInvicesDO 2 MED-141003784 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003784 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a5826c3-5486-4fa9-aa83-c39a4d003fa4' LIMIT 1 Date : 2025-03-01T15:27:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-01T15:27:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003221 post PendingInvicesDO 2 MED-141003785 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003785 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='944d81fd-3379-468f-9f7c-21b9d5de42f9' LIMIT 1 Date : 2025-03-01T15:44:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-01T15:44:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003222 post PendingInvicesDO 2 MED-141003786 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003786 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3eab82a8-6ee0-4014-8c70-bc590ab8992b' LIMIT 1 Date : 2025-03-01T16:27:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-01T16:27:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003223 post PendingInvicesDO 2 MED-141003787 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003787 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea386ac0-f3d1-442b-8376-a241f4d3a3b8' LIMIT 1 Date : 2025-03-01T23:15:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-01T23:15:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003225 post PendingInvicesDO 2 MED-141003790 post PendingInvicesDO 2 MED-141003789 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003224 post PendingInvicesDO 2 MED-141003790 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003789 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003790 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e55a1ac-ef3d-4255-9bfe-dd485614d95a' LIMIT 1 Date : 2025-03-02T12:54:12  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c574e22-162c-4f2e-9563-ad4176ab1116' LIMIT 1 Date : 2025-03-02T12:54:12  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e55a1ac-ef3d-4255-9bfe-dd485614d95a' LIMIT 1 Date : 2025-03-02T12:54:12  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c574e22-162c-4f2e-9563-ad4176ab1116' LIMIT 1 Date : 2025-03-02T12:54:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-02T12:54:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003227 post PendingInvicesDO 2 MED-141003792 post PendingInvicesDO 2 MED-141003791 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003226 post PendingInvicesDO 2 MED-141003792 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003791 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003792 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78fdaa83-bdb6-44e3-b312-243f683648b7' LIMIT 1 Date : 2025-03-02T14:17:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a09ea63-f431-4798-bed9-cf032bfc6b99' LIMIT 1 Date : 2025-03-02T14:17:34  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78fdaa83-bdb6-44e3-b312-243f683648b7' LIMIT 1 Date : 2025-03-02T14:17:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a09ea63-f431-4798-bed9-cf032bfc6b99' LIMIT 1 Date : 2025-03-02T14:17:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-02T14:17:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003228 post PendingInvicesDO 2 MED-141003793 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003793 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99a943bb-7f7e-49a3-afb1-8d4b0c756caa' LIMIT 1 Date : 2025-03-02T15:18:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-02T15:18:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003229 post PendingInvicesDO 2 MED-141003794 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003794 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c18b76d-593c-4a20-8eab-7d97e478919f' LIMIT 1 Date : 2025-03-02T15:24:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-02T15:24:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003230 post PendingInvicesDO 2 MED-141003795 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003795 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9989da4-656a-414a-8f4e-541ff682e674' LIMIT 1 Date : 2025-03-02T15:44:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-02T15:44:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003231 post PendingInvicesDO 2 MED-141003796 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003796 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b894ba8-4d93-4134-b20d-0962cb7681cd' LIMIT 1 Date : 2025-03-02T16:11:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-02T16:11:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003232 post PendingInvicesDO 2 MED-141003797 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003797 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b7abf70-86bb-43a3-9932-de3138526f72' LIMIT 1 Date : 2025-03-02T16:15:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-02T16:15:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003233 post PendingInvicesDO 2 MED-141003633 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003633 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003633' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003633' OR OrderId='MED-141003633' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-02T16:15:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003234 post PendingInvicesDO 2 MED-141003800 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003800 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f70885e8-4380-4990-8ae7-5ac9e6b1557f' LIMIT 1 Date : 2025-03-03T14:13:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-03T14:13:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003235 post PendingInvicesDO 2 MED-141003801 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003801 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='068c414e-9093-47bb-bdc9-1163c0ff18b3' LIMIT 1 Date : 2025-03-03T14:58:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-03T14:58:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003236 post PendingInvicesDO 2 MED-141003802 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003802 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c4c4fdd-b307-4de9-bd22-fdc714afa138' LIMIT 1 Date : 2025-03-03T14:59:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-03T14:59:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003237 post PendingInvicesDO 2 MED-141003803 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003803 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='767bace5-38ce-4e0f-ac48-a1bc35669a6f' LIMIT 1 Date : 2025-03-03T15:38:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-03T15:38:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003238 post PendingInvicesDO 2 MED-141003804 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003804 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2e7adbb-384e-40c0-a5fc-c4119e4a2c70' LIMIT 1 Date : 2025-03-03T16:01:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-03T16:01:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003239 post PendingInvicesDO 2 MED-141003805 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003805 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4752ffdb-5e8f-4bed-bb28-e90e1439ab49' LIMIT 1 Date : 2025-03-03T16:59:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-03T16:59:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003241 post PendingInvicesDO 2 MED-141003776 post PendingInvicesDO 2 MED-141003382 post PendingInvicesDO 2 MED-141001600 post PendingInvicesDO 2 MED-141002678 post PendingInvicesDO 2 MED-141002347 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003240 post PendingInvicesDO 2 MED-141003776 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003776 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003776' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003776' OR OrderId='MED-141003776' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003776' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003776' OR OrderId='MED-141003776' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-03T22:40:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003243 post PendingInvicesDO 2 MED-141003809 post PendingInvicesDO 2 MED-141003808 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003242 post PendingInvicesDO 2 MED-141003809 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003808 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003809 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e1d119d-3824-402b-9267-811b1ba20d78' LIMIT 1 Date : 2025-03-04T13:38:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e64cccf2-b0f0-42fc-a6b1-d2343ca4d73c' LIMIT 1 Date : 2025-03-04T13:38:36  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e1d119d-3824-402b-9267-811b1ba20d78' LIMIT 1 Date : 2025-03-04T13:38:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e64cccf2-b0f0-42fc-a6b1-d2343ca4d73c' LIMIT 1 Date : 2025-03-04T13:38:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-04T13:38:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003244 post PendingInvicesDO 2 MED-141003810 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003810 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2cb86b39-5d73-424d-8a57-8829a79a7c3f' LIMIT 1 Date : 2025-03-04T15:00:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-04T15:00:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003245 post PendingInvicesDO 2 MED-141003811 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003811 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc766f92-f653-470d-8989-4aad98d6781a' LIMIT 1 Date : 2025-03-04T16:45:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-04T16:45:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003246 post PendingInvicesDO 2 MED-141003813 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003813 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c0266e9-0fd3-4421-b9ab-b0d0df346d3e' LIMIT 1 Date : 2025-03-04T20:29:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-04T20:29:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003247 post PendingInvicesDO 2 MED-141003812 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003812 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003812' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003812' OR OrderId='MED-141003812' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-04T21:54:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003248 post PendingInvicesDO 2 MED-141003814 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003814 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0ffd566-3a0c-4d61-9a1a-194d9516035c' LIMIT 1 Date : 2025-03-05T10:04:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T10:04:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003249 post PendingInvicesDO 2 MED-141003816 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003816 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42459b31-51f0-4f36-a962-15cfb77a6392' LIMIT 1 Date : 2025-03-05T11:25:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T11:25:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003251 post PendingInvicesDO 2 MED-141003818 post PendingInvicesDO 2 MED-141003817 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003250 post PendingInvicesDO 2 MED-141003818 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003817 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003818 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffcb10e0-82cf-4ea5-a6bd-c9f6d621fb52' LIMIT 1 Date : 2025-03-05T13:26:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c2ca4e3-1875-41a9-adfc-3f4ba57b3918' LIMIT 1 Date : 2025-03-05T13:26:07  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffcb10e0-82cf-4ea5-a6bd-c9f6d621fb52' LIMIT 1 Date : 2025-03-05T13:26:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c2ca4e3-1875-41a9-adfc-3f4ba57b3918' LIMIT 1 Date : 2025-03-05T13:26:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-05T13:26:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003252 post PendingInvicesDO 2 MED-141003819 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003819 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9285da95-f3ef-4540-80e4-876ca2dc9cfd' LIMIT 1 Date : 2025-03-05T13:56:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T13:56:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003253 post PendingInvicesDO 2 MED-141003820 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003820 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf8c2dd1-5381-4545-94b8-c82c3513031c' LIMIT 1 Date : 2025-03-05T14:06:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T14:06:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003254 post PendingInvicesDO 2 MED-141003821 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003821 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18483f10-4134-4c4f-a86a-89daf696fcd2' LIMIT 1 Date : 2025-03-05T14:17:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T14:17:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003255 post PendingInvicesDO 2 MED-141003822 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003822 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2c1d3cc-4ca5-4b38-ba0f-77eee5a877c6' LIMIT 1 Date : 2025-03-05T14:27:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T14:27:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003256 post PendingInvicesDO 2 MED-141003823 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003823 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3fc45ffa-90c4-41c0-8f9a-97e278bfb50a' LIMIT 1 Date : 2025-03-05T14:57:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T14:57:11 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003257 post PendingInvicesDO 2 MED-141003824 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003824 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fc03bd2-4ab1-45b2-93b9-6e9ccd805974' LIMIT 1 Date : 2025-03-05T15:01:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T15:01:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003258 post PendingInvicesDO 2 MED-141003826 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003826 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c160ce1-af44-4d95-a63e-021a0fe02bfe' LIMIT 1 Date : 2025-03-05T16:44:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T16:44:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003260 post PendingInvicesDO 2 MED-141003815 post PendingInvicesDO 2 MED-141000450 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003259 post PendingInvicesDO 2 MED-141003815 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003815 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003815' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003815' OR OrderId='MED-141003815' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003815' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003815' OR OrderId='MED-141003815' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-05T22:41:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003261 post PendingInvicesDO 2 MED-141003825 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003825 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003825' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003825' OR OrderId='MED-141003825' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-05T22:41:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003262 post PendingInvicesDO 2 MED-141003827 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003827 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31d0a0cf-9663-4f6a-a7ac-1e75b8aec329' LIMIT 1 Date : 2025-03-06T09:57:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T09:57:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003264 post PendingInvicesDO 2 MED-141003829 post PendingInvicesDO 2 MED-141003828 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003263 post PendingInvicesDO 2 MED-141003829 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003828 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003829 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a11356f-ba4e-4c0a-9415-dbf113fe7765' LIMIT 1 Date : 2025-03-06T10:17:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a6fe1e8-d0ea-4a9e-8979-215caa5e84c9' LIMIT 1 Date : 2025-03-06T10:17:30  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a11356f-ba4e-4c0a-9415-dbf113fe7765' LIMIT 1 Date : 2025-03-06T10:17:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a6fe1e8-d0ea-4a9e-8979-215caa5e84c9' LIMIT 1 Date : 2025-03-06T10:17:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-06T10:17:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003265 post PendingInvicesDO 2 MED-141003830 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003830 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9413644-9028-449d-b809-e5a8b50a0280' LIMIT 1 Date : 2025-03-06T10:31:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T10:31:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003267 post PendingInvicesDO 2 MED-141003832 post PendingInvicesDO 2 MED-141003831 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003266 post PendingInvicesDO 2 MED-141003832 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003831 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003832 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa627322-8a77-4182-aeba-8a26660843c8' LIMIT 1 Date : 2025-03-06T10:47:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28e5a0ca-5bc8-4a4a-85da-0874dc43ae19' LIMIT 1 Date : 2025-03-06T10:47:24  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa627322-8a77-4182-aeba-8a26660843c8' LIMIT 1 Date : 2025-03-06T10:47:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28e5a0ca-5bc8-4a4a-85da-0874dc43ae19' LIMIT 1 Date : 2025-03-06T10:47:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-06T10:47:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003268 post PendingInvicesDO 2 MED-141003833 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003833 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94c9effa-b7e0-4346-bd45-010c6c48767f' LIMIT 1 Date : 2025-03-06T11:27:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T11:27:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003269 post PendingInvicesDO 2 MED-141003834 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003834 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='afba3831-229b-4530-b7da-e0a366c9d7cf' LIMIT 1 Date : 2025-03-06T12:06:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T12:06:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003270 post PendingInvicesDO 2 MED-141003835 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003835 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a27e45b0-f9bf-4a48-8280-83cfa99885d7' LIMIT 1 Date : 2025-03-06T13:33:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T13:33:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003271 post PendingInvicesDO 2 MED-141003836 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003836 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9324865d-fe41-42b3-a08d-e6acd598acb4' LIMIT 1 Date : 2025-03-06T14:11:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T14:11:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003272 post PendingInvicesDO 2 MED-141003838 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003838 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1444960-23e1-4c63-a02b-eaad76ad7da2' LIMIT 1 Date : 2025-03-06T14:52:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T14:52:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003273 post PendingInvicesDO 2 MED-141003839 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003839 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b76dd52f-b8cc-4dd3-8f85-6d09e2e57cbc' LIMIT 1 Date : 2025-03-06T15:07:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T15:07:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003274 post PendingInvicesDO 2 MED-141003840 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003840 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa3291e3-21c3-4f1d-90f4-0b2b79d0c977' LIMIT 1 Date : 2025-03-06T15:26:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T15:26:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003275 post PendingInvicesDO 2 MED-141003841 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003841 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8e6fbaf-b7a3-4c3f-bf59-c9ce0edfeca8' LIMIT 1 Date : 2025-03-06T15:59:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T15:59:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003276 post PendingInvicesDO 2 MED-141003842 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003842 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92ff8b62-c51f-45f6-91f2-f6cefe1870af' LIMIT 1 Date : 2025-03-06T16:41:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T16:41:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003277 post PendingInvicesDO 2 MED-141003843 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003843 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64f07f5a-2f0f-4eef-a33e-6500b5e3c1b4' LIMIT 1 Date : 2025-03-06T17:02:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T17:02:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003278 post PendingInvicesDO 2 MED-141003844 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003844 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d729c1d-ebde-4ae2-bd31-db5ec3342122' LIMIT 1 Date : 2025-03-06T23:46:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T23:46:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003279 post PendingInvicesDO 2 MED-141003845 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003845 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003845' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003845' OR OrderId='MED-141003845' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-07T22:58:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003280 post PendingInvicesDO 2 MED-141003850 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003850 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc7a7554-a0ea-450f-af92-ad5e4c58a17c' LIMIT 1 Date : 2025-03-08T12:32:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-08T12:32:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003281 post PendingInvicesDO 2 MED-141003851 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003851 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='818f4163-b521-481d-8f2e-69f7ef06f2b5' LIMIT 1 Date : 2025-03-08T14:17:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-08T14:17:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003282 post PendingInvicesDO 2 MED-141003852 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003852 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='994d2396-e7f2-47a0-8d6b-37adce64f8b4' LIMIT 1 Date : 2025-03-08T15:02:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-08T15:02:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003283 post PendingInvicesDO 2 MED-141003853 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003853 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb6a4300-8c8f-47e0-ae1b-afe1514898b0' LIMIT 1 Date : 2025-03-08T16:40:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-08T16:40:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003284 post PendingInvicesDO 2 MED-141003857 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003857 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b76a128d-2d3c-48c5-850b-733b83b09b92' LIMIT 1 Date : 2025-03-09T13:02:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-09T13:02:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003285 post PendingInvicesDO 2 MED-141003858 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003858 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f46e93e-b48d-423c-9382-1510f00ad43d' LIMIT 1 Date : 2025-03-09T13:51:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-09T13:51:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003287 post PendingInvicesDO 2 MED-141003860 post PendingInvicesDO 2 MED-141003859 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003286 post PendingInvicesDO 2 MED-141003860 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003859 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003860 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='850f1d63-fc16-419a-b8c5-1e26da622f6e' LIMIT 1 Date : 2025-03-09T14:53:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5cbc7db7-72da-4ba0-98e1-105947c9ed8e' LIMIT 1 Date : 2025-03-09T14:53:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='850f1d63-fc16-419a-b8c5-1e26da622f6e' LIMIT 1 Date : 2025-03-09T14:53:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5cbc7db7-72da-4ba0-98e1-105947c9ed8e' LIMIT 1 Date : 2025-03-09T14:53:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-09T14:53:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003288 post PendingInvicesDO 2 MED-141003861 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003861 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21938d91-7419-4a05-9c95-a3c211d04c11' LIMIT 1 Date : 2025-03-09T14:57:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-09T14:57:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003289 post PendingInvicesDO 2 MED-141003862 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003862 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67682083-5f4a-4efa-9c64-0fa2537ffdd7' LIMIT 1 Date : 2025-03-09T15:33:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-09T15:33:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003290 post PendingInvicesDO 2 MED-141003863 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003863 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='467b68ea-236f-4ab5-96bd-81c3bdecdb8f' LIMIT 1 Date : 2025-03-09T16:04:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-09T16:04:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003291 post PendingInvicesDO 2 MED-141003864 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003864 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9780c547-f6ef-4f6a-a195-d5f4b927104e' LIMIT 1 Date : 2025-03-09T21:09:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-09T21:09:47 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003292 post PendingInvicesDO 2 MED-141003866 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003866 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81d24069-f318-4cd9-a60e-f032b15d9d00' LIMIT 1 Date : 2025-03-10T11:31:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-10T11:31:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003293 post PendingInvicesDO 2 MED-141003867 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003867 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b12db13c-c0e1-494c-8e7c-a03f6cd01448' LIMIT 1 Date : 2025-03-10T12:21:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-10T12:21:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003294 post PendingInvicesDO 2 MED-141003868 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003868 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fffe3c74-7c63-4f83-aeb7-770a9356a965' LIMIT 1 Date : 2025-03-10T15:15:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-10T15:15:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003295 post PendingInvicesDO 2 MED-141003869 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003869 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e366b9a7-2da7-4702-9c3a-c1e095e9f162' LIMIT 1 Date : 2025-03-10T15:46:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-10T15:46:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003296 post PendingInvicesDO 2 MED-141003870 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003870 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='761b1907-5052-4743-a7b8-d49b364030c4' LIMIT 1 Date : 2025-03-10T16:27:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-10T16:27:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003297 post PendingInvicesDO 2 MED-141003871 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003871 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4abd07af-bebf-4a1e-b127-94e35ba7cdbd' LIMIT 1 Date : 2025-03-10T16:54:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-10T16:54:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003298 post PendingInvicesDO 2 MED-141003872 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003872 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='030cc277-bd95-47d0-9da1-bd15b2c2d7cd' LIMIT 1 Date : 2025-03-10T22:04:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-10T22:04:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003300 post PendingInvicesDO 2 MED-141003875 post PendingInvicesDO 2 MED-141003874 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003299 post PendingInvicesDO 2 MED-141003875 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003874 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003875 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7857aeaa-3449-444e-95bb-9c510caf9038' LIMIT 1 Date : 2025-03-11T12:21:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea3b9eaf-e2ac-4c7e-a6bc-2b610d2857df' LIMIT 1 Date : 2025-03-11T12:21:57  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7857aeaa-3449-444e-95bb-9c510caf9038' LIMIT 1 Date : 2025-03-11T12:21:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea3b9eaf-e2ac-4c7e-a6bc-2b610d2857df' LIMIT 1 Date : 2025-03-11T12:21:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-11T12:21:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003301 post PendingInvicesDO 2 MED-141003876 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003876 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b5dc3e3-ba30-435e-a520-a9088df1c439' LIMIT 1 Date : 2025-03-11T14:01:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T14:01:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003302 post PendingInvicesDO 2 MED-141003877 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003877 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c08cfc0-cf95-4f8b-9bff-8169a6445dc3' LIMIT 1 Date : 2025-03-11T14:42:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T14:42:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003303 post PendingInvicesDO 2 MED-141003879 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003879 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4ceca3d-89c4-425e-85d1-46b6088b03f5' LIMIT 1 Date : 2025-03-11T16:26:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T16:26:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003304 post PendingInvicesDO 2 MED-141003837 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003837 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003837' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003837' OR OrderId='MED-141003837' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-11T17:19:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003305 post PendingInvicesDO 2 MED-141003880 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003880 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc7df4e2-7b11-4635-9b0d-0052fc38a3f3' LIMIT 1 Date : 2025-03-11T23:06:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T23:06:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003306 post PendingInvicesDO 2 MED-141003881 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003881 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5dfc7c72-c2bb-46a8-8fd7-92b6bbba2e66' LIMIT 1 Date : 2025-03-11T23:37:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T23:37:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003307 post PendingInvicesDO 2 MED-141003882 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003882 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2a7a2fe-30cd-4da5-b016-9119e6870b25' LIMIT 1 Date : 2025-03-11T23:59:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T23:59:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003308 post PendingInvicesDO 2 MED-141003883 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003883 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6fdf43f1-c78a-48de-95d0-2608bd69834e' LIMIT 1 Date : 2025-03-12T10:07:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T10:07:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003309 post PendingInvicesDO 2 MED-141003887 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003887 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4f31502-06b2-4b58-ad8c-1e76ec6c1d17' LIMIT 1 Date : 2025-03-12T13:39:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T13:39:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003310 post PendingInvicesDO 2 MED-141003888 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003888 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab4e90ac-d39a-497f-a0f8-86a3c78bef10' LIMIT 1 Date : 2025-03-12T13:50:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T13:50:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003311 post PendingInvicesDO 2 MED-141003889 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003889 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d98e7ff-4c20-42e0-8f29-1f4df5e0b36a' LIMIT 1 Date : 2025-03-12T14:00:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T14:00:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003312 post PendingInvicesDO 2 MED-141003890 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003890 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0a9e556-5a7b-45b0-bf85-616792800e08' LIMIT 1 Date : 2025-03-12T14:13:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T14:13:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003313 post PendingInvicesDO 2 MED-141003891 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003891 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9eefdc4-2222-414e-b6fc-5859d7c6a7b6' LIMIT 1 Date : 2025-03-12T14:21:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T14:21:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003314 post PendingInvicesDO 2 MED-141003892 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003892 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c71ef26-63bc-4d03-975b-e6ee0df95aac' LIMIT 1 Date : 2025-03-12T14:31:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T14:31:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003315 post PendingInvicesDO 2 MED-141003893 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003893 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='692959d5-ed1f-420d-9471-12c81677863a' LIMIT 1 Date : 2025-03-12T15:11:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T15:11:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003316 post PendingInvicesDO 2 MED-141003894 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003894 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9899a0f2-2422-40b1-b248-e0c4962373a5' LIMIT 1 Date : 2025-03-12T19:04:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T19:04:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003317 post PendingInvicesDO 2 MED-141003878 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003878 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003878' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003878' OR OrderId='MED-141003878' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-12T19:04:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003318 post PendingInvicesDO 2 MED-141003895 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003895 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6167393-ff10-4305-b751-0d724db21463' LIMIT 1 Date : 2025-03-12T23:26:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T23:26:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003319 post PendingInvicesDO 2 MED-141003896 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003896 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15795edb-d1f8-4359-a23f-b0abb574e030' LIMIT 1 Date : 2025-03-13T10:01:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T10:01:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003320 post PendingInvicesDO 2 MED-141003897 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003897 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9da42580-18a8-4e41-a7dc-0a583ed3910b' LIMIT 1 Date : 2025-03-13T10:32:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T10:32:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003321 post PendingInvicesDO 2 MED-141003898 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003898 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b25eb8f6-bbe5-463a-be39-b81cdfd93db2' LIMIT 1 Date : 2025-03-13T10:39:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T10:39:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003322 post PendingInvicesDO 2 MED-141003899 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003899 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b47882d8-c431-410f-a69e-706e396bd4ce' LIMIT 1 Date : 2025-03-13T10:52:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T10:52:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003323 post PendingInvicesDO 2 MED-141003900 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003900 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c72d2203-b507-4b9c-af6b-e89f49e84287' LIMIT 1 Date : 2025-03-13T11:47:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T11:47:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003324 post PendingInvicesDO 2 MED-141003901 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003901 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad8f708f-bf64-4869-b57a-19b25ca59220' LIMIT 1 Date : 2025-03-13T12:02:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T12:02:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003325 post PendingInvicesDO 2 MED-141003902 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003902 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc61fc79-f932-4582-b437-3da339bb0935' LIMIT 1 Date : 2025-03-13T12:08:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T12:08:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003327 post PendingInvicesDO 2 MED-141003904 post PendingInvicesDO 2 MED-141003903 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003326 post PendingInvicesDO 2 MED-141003904 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003903 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003904 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f858a61-18ff-44e4-ae82-b98bb8732a18' LIMIT 1 Date : 2025-03-13T13:14:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='651daaa1-20b4-4740-8d30-74f99740cb6b' LIMIT 1 Date : 2025-03-13T13:14:57  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f858a61-18ff-44e4-ae82-b98bb8732a18' LIMIT 1 Date : 2025-03-13T13:14:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='651daaa1-20b4-4740-8d30-74f99740cb6b' LIMIT 1 Date : 2025-03-13T13:14:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-13T13:14:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003328 post PendingInvicesDO 2 MED-141003905 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003905 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ed9372d-c8f1-4f79-b67d-f15da9594889' LIMIT 1 Date : 2025-03-13T13:30:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T13:30:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003329 post PendingInvicesDO 2 MED-141003906 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003906 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6591bf5-a206-45af-94f4-263c8813b20e' LIMIT 1 Date : 2025-03-13T13:51:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T13:51:28 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003330 post PendingInvicesDO 2 MED-141003907 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003907 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc0bf1fe-518d-4026-a80b-e3b9a733577c' LIMIT 1 Date : 2025-03-13T14:25:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T14:25:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003331 post PendingInvicesDO 2 MED-141003908 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003908 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02d716b9-9071-4076-9c4e-d69c93b26df9' LIMIT 1 Date : 2025-03-13T15:00:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T15:00:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003332 post PendingInvicesDO 2 MED-141003909 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003909 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='978fb569-501c-405b-8101-a352899315ba' LIMIT 1 Date : 2025-03-13T15:22:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T15:22:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003333 post PendingInvicesDO 2 MED-141003910 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003910 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc091837-5ec2-4e29-878b-173f7b57c68b' LIMIT 1 Date : 2025-03-13T15:42:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T15:42:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003334 post PendingInvicesDO 2 MED-141003911 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003911 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d106d231-a5f5-463c-a6c0-93862b559425' LIMIT 1 Date : 2025-03-13T19:51:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T19:51:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003335 post PendingInvicesDO 2 MED-141003914 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003914 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac8bb994-e823-40a2-9fd8-782dc583c07b' LIMIT 1 Date : 2025-03-14T20:05:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-14T20:05:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003336 post PendingInvicesDO 2 MED-141003915 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003915 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a686a7e0-c699-4e4f-b343-b6c4bb646d93' LIMIT 1 Date : 2025-03-14T20:22:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-14T20:22:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003337 post PendingInvicesDO 2 MED-141003920 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003920 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='395c45b0-7f3c-405c-baea-e600b9f39b6a' LIMIT 1 Date : 2025-03-15T13:50:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-15T13:50:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003338 post PendingInvicesDO 2 MED-141003921 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003921 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d1f3feb-bd9f-479c-afdd-1a35bc2ab509' LIMIT 1 Date : 2025-03-15T14:25:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-15T14:25:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003339 post PendingInvicesDO 2 MED-141003922 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003922 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003922' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003922' OR OrderId='MED-141003922' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-15T15:11:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003340 post PendingInvicesDO 2 MED-141003923 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003923 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='89939af8-f3f3-4eec-9032-44a1c11638ad' LIMIT 1 Date : 2025-03-15T15:13:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-15T15:13:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003341 post PendingInvicesDO 2 MED-141003924 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003924 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d1ad7f5-d8de-4a69-9272-4346a3ebe769' LIMIT 1 Date : 2025-03-15T15:50:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-15T15:50:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003342 post PendingInvicesDO 2 MED-141003925 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003925 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc95b6d0-0afb-4ad1-9e4c-61a76270df2d' LIMIT 1 Date : 2025-03-15T17:38:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-15T17:38:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003344 post PendingInvicesDO 2 MED-141003927 post PendingInvicesDO 2 MED-141003926 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003343 post PendingInvicesDO 2 MED-141003927 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003926 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003927 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e9a06f2-f5b1-4706-ba97-34267d8b9b38' LIMIT 1 Date : 2025-03-15T22:10:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2626d61-2ec6-4612-b284-952d7e7844d5' LIMIT 1 Date : 2025-03-15T22:10:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e9a06f2-f5b1-4706-ba97-34267d8b9b38' LIMIT 1 Date : 2025-03-15T22:10:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2626d61-2ec6-4612-b284-952d7e7844d5' LIMIT 1 Date : 2025-03-15T22:10:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-15T22:10:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003345 post PendingInvicesDO 2 MED-141003928 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003928 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33015d92-e5e5-4e9e-89ec-855bd45d3d15' LIMIT 1 Date : 2025-03-15T23:09:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-15T23:09:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003347 post PendingInvicesDO 2 MED-141003933 post PendingInvicesDO 2 MED-141003932 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003346 post PendingInvicesDO 2 MED-141003933 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003932 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003933 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08755882-db22-4b4a-868a-09684abb58e5' LIMIT 1 Date : 2025-03-16T12:38:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8a03dd0-f6f1-4110-973f-e8aad26fb63b' LIMIT 1 Date : 2025-03-16T12:38:24  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08755882-db22-4b4a-868a-09684abb58e5' LIMIT 1 Date : 2025-03-16T12:38:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8a03dd0-f6f1-4110-973f-e8aad26fb63b' LIMIT 1 Date : 2025-03-16T12:38:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-16T12:38:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003348 post PendingInvicesDO 2 MED-141003934 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003934 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd2ed460-ef2b-4e1f-9f63-63a95ab97ccb' LIMIT 1 Date : 2025-03-16T13:14:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T13:14:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003350 post PendingInvicesDO 2 MED-141003936 post PendingInvicesDO 2 MED-141003935 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003349 post PendingInvicesDO 2 MED-141003936 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003935 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003936 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f2ce0bb-633c-492b-a401-f441cd654616' LIMIT 1 Date : 2025-03-16T13:55:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f21c8f9a-81d7-4ded-b2d4-b4c94eec1b74' LIMIT 1 Date : 2025-03-16T13:55:52  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f2ce0bb-633c-492b-a401-f441cd654616' LIMIT 1 Date : 2025-03-16T13:55:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f21c8f9a-81d7-4ded-b2d4-b4c94eec1b74' LIMIT 1 Date : 2025-03-16T13:55:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-16T13:55:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003351 post PendingInvicesDO 2 MED-141003937 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003937 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84bc510c-86fe-49f7-a268-df03df2bdb29' LIMIT 1 Date : 2025-03-16T15:13:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T15:13:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003352 post PendingInvicesDO 2 MED-141003938 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003938 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='743510f6-94bd-4963-a8e1-1ec7a20a91b7' LIMIT 1 Date : 2025-03-16T15:42:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T15:42:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003353 post PendingInvicesDO 2 MED-141003939 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003939 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='851f3639-c12c-44db-83c6-a32352693756' LIMIT 1 Date : 2025-03-16T16:01:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T16:01:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003354 post PendingInvicesDO 2 MED-141003940 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003940 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06763836-63b4-41ad-b12f-951497a78357' LIMIT 1 Date : 2025-03-16T16:24:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T16:24:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003355 post PendingInvicesDO 2 MED-141003941 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003941 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='939fcacc-ff94-45dc-837a-cdd123e9c8f7' LIMIT 1 Date : 2025-03-16T17:09:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T17:09:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003356 post PendingInvicesDO 2 MED-141003942 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003942 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='514171c5-db1f-4b4d-9be8-565bba5d3e75' LIMIT 1 Date : 2025-03-16T17:20:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T17:20:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003357 post PendingInvicesDO 2 MED-141003943 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003943 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0a7d825-4b03-47ac-8251-4169a80ce5a7' LIMIT 1 Date : 2025-03-16T17:27:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T17:27:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003358 post PendingInvicesDO 2 MED-141003944 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003944 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdb60076-033d-49e4-96fb-587c1a5e0af8' LIMIT 1 Date : 2025-03-16T22:06:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T22:06:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003359 post PendingInvicesDO 2 MED-141003946 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003946 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='694b33c4-d3bb-491a-aa9f-1ed5fa5d08c5' LIMIT 1 Date : 2025-03-16T23:46:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T23:46:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003360 post PendingInvicesDO 2 MED-141003688 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003688 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003688' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003688' OR OrderId='MED-141003688' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-17T14:24:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003361 post PendingInvicesDO 2 MED-141003949 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003949 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04aac1e4-da9d-4b60-a284-cf36738802fb' LIMIT 1 Date : 2025-03-17T15:28:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-17T15:28:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003362 post PendingInvicesDO 2 MED-141003950 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003950 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc4d1192-0934-433a-85a9-3bbdc6be109b' LIMIT 1 Date : 2025-03-17T16:17:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-17T16:17:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003363 post PendingInvicesDO 2 MED-141003919 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003919 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003919' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003919' OR OrderId='MED-141003919' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-17T19:33:33 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003364 post PendingInvicesDO 2 MED-141003951 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003951 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3596dcb0-3390-4da1-a173-eefe68ede34e' LIMIT 1 Date : 2025-03-17T20:33:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-17T20:33:17 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003366 post PendingInvicesDO 2 MED-141003957 post PendingInvicesDO 2 MED-141003956 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003365 post PendingInvicesDO 2 MED-141003957 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003956 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003957 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79ee0a6b-41b5-46cb-bea3-3fb94158df0e' LIMIT 1 Date : 2025-03-18T12:10:31  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a06ccfc-0330-4797-9c94-e4236fc40bb7' LIMIT 1 Date : 2025-03-18T12:10:31  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79ee0a6b-41b5-46cb-bea3-3fb94158df0e' LIMIT 1 Date : 2025-03-18T12:10:31  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a06ccfc-0330-4797-9c94-e4236fc40bb7' LIMIT 1 Date : 2025-03-18T12:10:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-18T12:10:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003367 post PendingInvicesDO 2 MED-141003958 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003958 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb485052-6c17-48e9-b8e8-81bf426fd7d5' LIMIT 1 Date : 2025-03-18T13:37:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T13:37:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003369 post PendingInvicesDO 2 MED-141003960 post PendingInvicesDO 2 MED-141003959 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003368 post PendingInvicesDO 2 MED-141003960 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003959 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003960 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09edb57c-de31-422d-8b0e-eef9af378b22' LIMIT 1 Date : 2025-03-18T14:08:51  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10bb7d3c-4afb-4de1-9d02-531fc358b7af' LIMIT 1 Date : 2025-03-18T14:08:51  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09edb57c-de31-422d-8b0e-eef9af378b22' LIMIT 1 Date : 2025-03-18T14:08:51  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10bb7d3c-4afb-4de1-9d02-531fc358b7af' LIMIT 1 Date : 2025-03-18T14:08:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-18T14:08:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003370 post PendingInvicesDO 2 MED-141003961 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003961 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e35bd92a-6e37-4f85-9316-b57e09e364c5' LIMIT 1 Date : 2025-03-18T14:25:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T14:25:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003371 post PendingInvicesDO 2 MED-141003962 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003962 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2dd72dde-0ba9-415b-8f99-d367ceb19fdb' LIMIT 1 Date : 2025-03-18T14:42:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T14:42:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003372 post PendingInvicesDO 2 MED-141003886 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003886 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003886' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003886' OR OrderId='MED-141003886' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-18T14:46:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003373 post PendingInvicesDO 2 MED-141003964 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003964 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa05c83e-0c4e-4423-bfe0-036c724b5fc9' LIMIT 1 Date : 2025-03-18T15:40:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T15:40:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003374 post PendingInvicesDO 2 MED-141003965 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003965 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0e1530d-913b-4e0b-a830-eb0f5f492ec5' LIMIT 1 Date : 2025-03-18T16:09:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T16:09:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003375 post PendingInvicesDO 2 MED-141003966 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003966 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8cdfae14-4aa7-4dd2-a703-b7206d21557f' LIMIT 1 Date : 2025-03-18T17:42:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T17:42:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003376 post PendingInvicesDO 2 MED-141003570 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003570 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003570' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003570' OR OrderId='MED-141003570' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-18T19:08:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003377 post PendingInvicesDO 2 MED-141003967 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003967 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce7bf257-00a0-4faa-874e-6a326c777961' LIMIT 1 Date : 2025-03-18T21:18:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T21:18:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003378 post PendingInvicesDO 2 MED-141003968 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003968 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b337e21-2f3b-4235-836b-a0c884cccd26' LIMIT 1 Date : 2025-03-18T23:06:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T23:06:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003379 post PendingInvicesDO 2 MED-141003969 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003969 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e391f0ce-cd0e-4f48-b53c-608691137bb9' LIMIT 1 Date : 2025-03-18T23:06:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T23:06:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003380 post PendingInvicesDO 2 MED-141003971 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003971 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b3a5690-e022-4e1c-b5f9-898ade5b4754' LIMIT 1 Date : 2025-03-19T13:02:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T13:02:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003381 post PendingInvicesDO 2 MED-141003972 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003972 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='710802fd-17b9-4bd0-9d38-5a41814d4873' LIMIT 1 Date : 2025-03-19T13:14:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T13:14:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003382 post PendingInvicesDO 2 MED-141003973 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003973 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a006a5b-2a8d-4937-9ac1-eeabbbee321a' LIMIT 1 Date : 2025-03-19T13:36:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T13:36:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003383 post PendingInvicesDO 2 MED-141003974 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003974 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5a2cda5-e592-4acb-880e-62c19c659d96' LIMIT 1 Date : 2025-03-19T13:49:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T13:49:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003384 post PendingInvicesDO 2 MED-141003975 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003975 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c9e5865-2bea-4208-b5c5-a718149dfbd8' LIMIT 1 Date : 2025-03-19T13:59:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T13:59:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003385 post PendingInvicesDO 2 MED-141003976 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003976 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ca7d63f-2984-4bdc-945b-8fca467d8787' LIMIT 1 Date : 2025-03-19T14:07:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T14:07:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003386 post PendingInvicesDO 2 MED-141003977 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003977 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f61375ee-fc62-4d63-b803-1f831fc1c40d' LIMIT 1 Date : 2025-03-19T14:16:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T14:16:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003388 post PendingInvicesDO 2 MED-141003979 post PendingInvicesDO 2 MED-141003978 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003387 post PendingInvicesDO 2 MED-141003979 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003978 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003979 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99562627-584c-48f5-9150-1971a84c1647' LIMIT 1 Date : 2025-03-19T14:58:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba7452a5-2dd7-4781-8bb0-151442feef6d' LIMIT 1 Date : 2025-03-19T14:58:19  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99562627-584c-48f5-9150-1971a84c1647' LIMIT 1 Date : 2025-03-19T14:58:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba7452a5-2dd7-4781-8bb0-151442feef6d' LIMIT 1 Date : 2025-03-19T14:58:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-19T14:58:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003389 post PendingInvicesDO 2 MED-141003980 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003980 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49c0fb2c-f2f4-47a6-b484-1d219f1546d1' LIMIT 1 Date : 2025-03-19T15:40:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T15:40:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003390 post PendingInvicesDO 2 MED-141003983 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003983 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='377f2c4d-ffd7-4840-8702-6810bd9bad92' LIMIT 1 Date : 2025-03-19T19:57:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T19:57:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003391 post PendingInvicesDO 2 MED-141003427 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003427 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003427' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003427' OR OrderId='MED-141003427' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-19T23:53:52 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003392 post PendingInvicesDO 2 MED-141003411 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003411 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003411' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003411' OR OrderId='MED-141003411' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-19T23:54:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003393 post PendingInvicesDO 2 MED-141003392 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003392 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003392' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003392' OR OrderId='MED-141003392' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-19T23:55:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003394 post PendingInvicesDO 2 MED-141003984 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003984 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72845c68-15ad-4f30-9ac3-11d8b8160e36' LIMIT 1 Date : 2025-03-20T10:04:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T10:04:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003395 post PendingInvicesDO 2 MED-141003985 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003985 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a0b9757-0f00-4e50-92c6-215d148170d0' LIMIT 1 Date : 2025-03-20T10:25:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T10:25:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003396 post PendingInvicesDO 2 MED-141003986 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003986 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f897f02e-474f-4e65-a12c-95ef66bbd13c' LIMIT 1 Date : 2025-03-20T10:44:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T10:44:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003397 post PendingInvicesDO 2 MED-141003987 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003987 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f881e20b-0837-4434-be75-f07a7c03fbce' LIMIT 1 Date : 2025-03-20T11:06:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T11:06:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003398 post PendingInvicesDO 2 MED-141003988 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003988 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3033af4-3a31-4c60-acf4-ca7ccb5bca35' LIMIT 1 Date : 2025-03-20T11:44:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T11:44:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003399 post PendingInvicesDO 2 MED-141003989 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003989 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3668086-f7e9-480e-88b3-ad308513528f' LIMIT 1 Date : 2025-03-20T13:09:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T13:09:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003400 post PendingInvicesDO 2 MED-141003990 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003990 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7dec6183-8eeb-4d27-a1c9-286e05a676f8' LIMIT 1 Date : 2025-03-20T13:39:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T13:39:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003401 post PendingInvicesDO 2 MED-141003991 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003991 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4172e1c9-babc-459e-bd74-480c3b4041d8' LIMIT 1 Date : 2025-03-20T14:30:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T14:30:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003402 post PendingInvicesDO 2 MED-141003992 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003992 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c2ff042-13f5-4026-82f9-3deaa07e2d16' LIMIT 1 Date : 2025-03-20T14:57:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T14:57:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003403 post PendingInvicesDO 2 MED-141003993 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003993 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e486910f-483c-4b7e-a427-8f8c6031974c' LIMIT 1 Date : 2025-03-20T15:18:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T15:18:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003404 post PendingInvicesDO 2 MED-141003994 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003994 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5d1f46d-db3e-43e6-b0e2-41adeb0295c0' LIMIT 1 Date : 2025-03-20T15:58:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T15:58:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003405 post PendingInvicesDO 2 MED-141003995 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003995 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56774356-8551-4696-bc1a-34891047c75e' LIMIT 1 Date : 2025-03-20T16:46:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T16:46:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003407 post PendingInvicesDO 2 MED-141003913 post PendingInvicesDO 2 MED-141000540 post PendingInvicesDO 2 MED-141003912 post PendingInvicesDO 2 MED-141000721 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003406 post PendingInvicesDO 2 MED-141003913 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003912 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003913 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003913' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003913' OR OrderId='MED-141003913' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003913' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003913' OR OrderId='MED-141003913' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-20T17:19:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003409 post PendingInvicesDO 2 MED-141003996 post PendingInvicesDO 2 MED-141000470 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003408 post PendingInvicesDO 2 MED-141003996 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003996 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003996' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003996' OR OrderId='MED-141003996' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003996' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003996' OR OrderId='MED-141003996' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-20T17:21:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003410 post PendingInvicesDO 2 MED-141003997 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003997 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='257fb339-9576-4294-8fe4-5cf46206507c' LIMIT 1 Date : 2025-03-20T17:23:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T17:23:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003411 post PendingInvicesDO 2 MED-141003998 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003998 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc9210fd-f11c-430f-b6f6-0b9abdcd33b2' LIMIT 1 Date : 2025-03-20T20:13:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T20:13:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003412 post PendingInvicesDO 2 MED-141003999 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003999 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ba2a944-0076-441f-8181-a8e6f8ba18be' LIMIT 1 Date : 2025-03-21T16:31:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-21T16:31:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003413 post PendingInvicesDO 2 MED-141004000 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004000 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ba2a944-0076-441f-8181-a8e6f8ba18be' LIMIT 1 Date : 2025-03-21T16:42:57 MED-141003999  performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-03-21T16:42:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003413 post PendingInvicesDO 2 MED-141004000 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004000 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='024b85e2-fe76-4a49-a76b-d1f0f140df1c' LIMIT 1 Date : 2025-03-21T16:45:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-21T16:45:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003414 post PendingInvicesDO 2 MED-141004002 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004002 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fab647a9-0aa6-41ab-9e64-41c282d6b947' LIMIT 1 Date : 2025-03-21T21:49:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-21T21:49:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003415 post PendingInvicesDO 2 MED-141004003 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004003 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='581211b2-f697-471b-b0a5-10b03d25cf1c' LIMIT 1 Date : 2025-03-21T22:12:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-21T22:12:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003416 post PendingInvicesDO 2 MED-141004004 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004004 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d97d67fd-119b-4dba-96e1-df115c9f2477' LIMIT 1 Date : 2025-03-21T22:38:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-21T22:38:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003417 post PendingInvicesDO 2 MED-141004005 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004005 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9269dce2-79bd-4de5-8247-f8ca13a253c2' LIMIT 1 Date : 2025-03-21T23:40:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-21T23:40:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003418 post PendingInvicesDO 2 MED-141004008 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004008 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdd6e847-2b79-4284-bfbd-cc9d26740235' LIMIT 1 Date : 2025-03-22T13:50:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-22T13:50:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003419 post PendingInvicesDO 2 MED-141004010 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004010 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe516d2b-ef4f-4262-b741-4324a9c35043' LIMIT 1 Date : 2025-03-22T16:14:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-22T16:14:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003420 post PendingInvicesDO 2 MED-141004012 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004012 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d49d60a-5d21-4e0d-ad57-df211375ab52' LIMIT 1 Date : 2025-03-23T09:53:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-23T09:53:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003422 post PendingInvicesDO 2 MED-141004014 post PendingInvicesDO 2 MED-141004013 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003421 post PendingInvicesDO 2 MED-141004014 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004013 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004014 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='542a9b0b-9590-42c7-b0a6-4ca8e482f9fa' LIMIT 1 Date : 2025-03-23T10:48:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16e28ebc-988c-4e45-b949-ccce44275817' LIMIT 1 Date : 2025-03-23T10:48:24  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='542a9b0b-9590-42c7-b0a6-4ca8e482f9fa' LIMIT 1 Date : 2025-03-23T10:48:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16e28ebc-988c-4e45-b949-ccce44275817' LIMIT 1 Date : 2025-03-23T10:48:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-23T10:48:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003423 post PendingInvicesDO 2 MED-141004015 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004015 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='969e23a9-ff7b-4e0e-a7ae-6fd3d8f442e8' LIMIT 1 Date : 2025-03-23T11:59:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-23T11:59:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003425 post PendingInvicesDO 2 MED-141004017 post PendingInvicesDO 2 MED-141004016 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003424 post PendingInvicesDO 2 MED-141004017 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004016 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004017 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e10cfb8-c931-40c7-87b4-dea246714e12' LIMIT 1 Date : 2025-03-23T12:44:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='870ad781-a22e-4f66-8e7c-b1f3258babe1' LIMIT 1 Date : 2025-03-23T12:44:20  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e10cfb8-c931-40c7-87b4-dea246714e12' LIMIT 1 Date : 2025-03-23T12:44:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='870ad781-a22e-4f66-8e7c-b1f3258babe1' LIMIT 1 Date : 2025-03-23T12:44:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-23T12:44:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003426 post PendingInvicesDO 2 MED-141004018 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004018 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22510909-3c59-4202-a2f3-31c6eb3dc63e' LIMIT 1 Date : 2025-03-23T13:26:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-23T13:26:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003428 post PendingInvicesDO 2 MED-141004020 post PendingInvicesDO 2 MED-141004019 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003427 post PendingInvicesDO 2 MED-141004020 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004019 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004020 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f95840d1-9832-4dcc-b2c4-0b4795886c1d' LIMIT 1 Date : 2025-03-23T13:42:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba4dce27-e43a-438b-b270-58f30130fb2f' LIMIT 1 Date : 2025-03-23T13:42:32  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f95840d1-9832-4dcc-b2c4-0b4795886c1d' LIMIT 1 Date : 2025-03-23T13:42:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba4dce27-e43a-438b-b270-58f30130fb2f' LIMIT 1 Date : 2025-03-23T13:42:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-23T13:42:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003429 post PendingInvicesDO 2 MED-141004021 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004021 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c2e1e64-3aa8-4501-9f08-6d7a0d669db2' LIMIT 1 Date : 2025-03-23T14:27:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-23T14:27:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003430 post PendingInvicesDO 2 MED-141004025 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004025 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de32131c-e20e-4a39-a14f-c01b501f84e7' LIMIT 1 Date : 2025-03-24T11:46:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T11:46:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003431 post PendingInvicesDO 2 MED-141004026 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004026 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c74d2d69-0771-4058-99a2-7feac592a0cd' LIMIT 1 Date : 2025-03-24T12:10:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T12:10:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003432 post PendingInvicesDO 2 MED-141004027 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004027 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7b2890a-d71a-426e-ba71-f668b0751216' LIMIT 1 Date : 2025-03-24T12:27:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T12:27:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003433 post PendingInvicesDO 2 MED-141004028 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004028 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed4c5cc0-82b9-4d40-be42-619f142d0d9e' LIMIT 1 Date : 2025-03-24T15:05:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T15:05:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003434 post PendingInvicesDO 2 MED-141004029 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004029 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d637100e-5fcf-42d2-a892-462cb0004008' LIMIT 1 Date : 2025-03-24T15:51:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T15:51:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003435 post PendingInvicesDO 2 MED-141003947 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003947 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003947' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003947' OR OrderId='MED-141003947' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-24T16:38:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003436 post PendingInvicesDO 2 MED-141004031 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004031 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3868895a-163e-47e6-8ed0-27600df63b8c' LIMIT 1 Date : 2025-03-24T16:49:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T16:49:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003437 post PendingInvicesDO 2 MED-141004032 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004032 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce9d2fe6-098d-4431-84da-f32c9a4d5e37' LIMIT 1 Date : 2025-03-24T16:51:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T16:51:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003438 post PendingInvicesDO 2 MED-141004033 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004033 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eee0a8c7-9a17-4d83-94aa-ab3cc584407b' LIMIT 1 Date : 2025-03-24T17:04:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T17:04:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003439 post PendingInvicesDO 2 MED-141004034 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004034 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7b6b2c2-095a-4106-b673-1a40c4e2a7b4' LIMIT 1 Date : 2025-03-24T17:45:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T17:45:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003440 post PendingInvicesDO 2 MED-141004035 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004035 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4132723-56a3-44a7-a4f2-7875a3d690f0' LIMIT 1 Date : 2025-03-24T17:51:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T17:51:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003442 post PendingInvicesDO 2 MED-141003379 post PendingInvicesDO 2 MED-141003378 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003441 post PendingInvicesDO 2 MED-141003379 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003378 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003379 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003379' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003379' OR OrderId='MED-141003379' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003379' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003379' OR OrderId='MED-141003379' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-24T19:13:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003443 post PendingInvicesDO 2 MED-141003486 post PendingInvicesDO 2 MED-141003485 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003485 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003486 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003486' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003486' OR OrderId='MED-141003486' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-24T19:14:32 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003444 post PendingInvicesDO 2 MED-141004036 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004036 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e88c425-84a1-413b-9cd5-ceab52881a64' LIMIT 1 Date : 2025-03-24T23:34:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T23:34:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003445 post PendingInvicesDO 2 MED-141004038 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004038 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6490ae52-d20c-4bbd-b1fa-d69e002b309f' LIMIT 1 Date : 2025-03-25T11:11:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T11:11:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003446 post PendingInvicesDO 2 MED-141004041 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004041 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11f31a94-3282-4824-b841-be1ab0647e4c' LIMIT 1 Date : 2025-03-25T13:21:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T13:21:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003447 post PendingInvicesDO 2 MED-141004042 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004042 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe0ff25f-1b9f-4bca-b614-e33469fa08ba' LIMIT 1 Date : 2025-03-25T13:47:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T13:47:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003448 post PendingInvicesDO 2 MED-141004043 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004043 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f57778f-1f6e-44eb-a54b-a04bd2d02f60' LIMIT 1 Date : 2025-03-25T13:55:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T13:55:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003449 post PendingInvicesDO 2 MED-141004044 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004044 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45ec9837-ae3b-4671-a4e9-973742ff448f' LIMIT 1 Date : 2025-03-25T14:12:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T14:12:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003450 post PendingInvicesDO 2 MED-141004045 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004045 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73d422a0-3722-4ab6-9475-20cc57cf9343' LIMIT 1 Date : 2025-03-25T14:22:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T14:22:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003451 post PendingInvicesDO 2 MED-141004046 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004046 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbaaeae8-e739-49d1-a8e9-17b9e662f102' LIMIT 1 Date : 2025-03-25T14:34:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T14:34:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003452 post PendingInvicesDO 2 MED-141004047 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004047 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1cd7a30a-986a-4b86-92a4-15b5fdf8c46e' LIMIT 1 Date : 2025-03-25T15:38:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T15:38:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003453 post PendingInvicesDO 2 MED-141004048 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004048 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aeb2e621-d049-494a-a7c0-55957cca5aaf' LIMIT 1 Date : 2025-03-25T16:05:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T16:05:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003454 post PendingInvicesDO 2 MED-141004049 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004049 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26521a7e-57b1-41b5-a846-042111dc0ab5' LIMIT 1 Date : 2025-03-25T16:39:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T16:39:28 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003455 post PendingInvicesDO 2 MED-141004050 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004050 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e9a1792-4d70-4305-9022-fa8232145a2b' LIMIT 1 Date : 2025-03-25T16:55:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T16:55:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003456 post PendingInvicesDO 2 MED-141004052 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004052 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09ba6339-7d66-4dea-bbb4-8a8238433166' LIMIT 1 Date : 2025-03-25T23:46:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T23:46:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003457 post PendingInvicesDO 2 MED-141004056 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004056 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffef9ca2-ce8c-48db-9a72-7502ad597484' LIMIT 1 Date : 2025-03-26T12:07:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T12:07:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003458 post PendingInvicesDO 2 MED-141004057 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004057 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c8942c4-a80a-443a-bb0c-1cede143a08f' LIMIT 1 Date : 2025-03-26T12:47:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T12:47:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003459 post PendingInvicesDO 2 MED-141004058 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004058 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3e3b25e-acfe-454c-806e-ff963a80e4bc' LIMIT 1 Date : 2025-03-26T13:05:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T13:05:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003460 post PendingInvicesDO 2 MED-141004001 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004001 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004001' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004001' OR OrderId='MED-141004001' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-26T14:16:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003461 post PendingInvicesDO 2 MED-141004062 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004062 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47609683-af2a-42e6-a7c4-483d7e58749a' LIMIT 1 Date : 2025-03-26T15:12:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T15:12:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003462 post PendingInvicesDO 2 MED-141004063 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004063 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b51d4c2-82e9-4593-9db8-22348aec5d8f' LIMIT 1 Date : 2025-03-26T15:34:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T15:34:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003463 post PendingInvicesDO 2 MED-141004065 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004065 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a828096-b29a-414b-8b0d-863ed6edd99d' LIMIT 1 Date : 2025-03-26T17:12:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T17:12:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003464 post PendingInvicesDO 2 MED-141004066 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004066 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e652e8f0-2d97-41c7-bcb2-00fedf59ce06' LIMIT 1 Date : 2025-03-26T18:13:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T18:13:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003465 post PendingInvicesDO 2 MED-141004060 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004060 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004060' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004060' OR OrderId='MED-141004060' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-26T23:03:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003466 post PendingInvicesDO 2 MED-141004067 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004067 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae8593a7-40d8-49fa-adde-9c62b3a2b5a9' LIMIT 1 Date : 2025-03-26T23:17:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T23:17:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003467 post PendingInvicesDO 2 MED-141004068 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004068 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='849e2bb5-eff0-47b6-9db4-c9bddbbbd92b' LIMIT 1 Date : 2025-03-26T23:30:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T23:30:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003468 post PendingInvicesDO 2 MED-141004069 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004069 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6b57467-5aa0-4c31-8607-267e6db80f6d' LIMIT 1 Date : 2025-03-26T23:51:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T23:51:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003469 post PendingInvicesDO 2 MED-141004059 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004059 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004059' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004059' OR OrderId='MED-141004059' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-27T09:36:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003470 post PendingInvicesDO 2 MED-141004070 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004070 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='310f01c1-962b-4196-b5e5-f75e34670417' LIMIT 1 Date : 2025-03-27T09:46:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T09:46:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003472 post PendingInvicesDO 2 MED-141004072 post PendingInvicesDO 2 MED-141004071 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003471 post PendingInvicesDO 2 MED-141004072 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004071 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004072 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9339a547-386a-4e86-9356-3294fc57efdc' LIMIT 1 Date : 2025-03-27T10:25:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7fd9b7ca-4794-41e5-96de-5e88f1d1fd23' LIMIT 1 Date : 2025-03-27T10:25:06  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9339a547-386a-4e86-9356-3294fc57efdc' LIMIT 1 Date : 2025-03-27T10:25:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7fd9b7ca-4794-41e5-96de-5e88f1d1fd23' LIMIT 1 Date : 2025-03-27T10:25:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-27T10:25:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003473 post PendingInvicesDO 2 MED-141004073 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004073 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d150fbac-a959-4275-a527-1191c75301a4' LIMIT 1 Date : 2025-03-27T11:04:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T11:04:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003475 post PendingInvicesDO 2 MED-141004075 post PendingInvicesDO 2 MED-141004074 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003474 post PendingInvicesDO 2 MED-141004075 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004074 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004075 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='063ef7c6-704f-430e-b062-b703d43d6490' LIMIT 1 Date : 2025-03-27T11:22:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e231794e-d147-4ce7-9b8e-218e34ecfd32' LIMIT 1 Date : 2025-03-27T11:22:09  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='063ef7c6-704f-430e-b062-b703d43d6490' LIMIT 1 Date : 2025-03-27T11:22:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e231794e-d147-4ce7-9b8e-218e34ecfd32' LIMIT 1 Date : 2025-03-27T11:22:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-27T11:22:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003476 post PendingInvicesDO 2 MED-141004076 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004076 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72a02e6f-1235-4c56-a596-9a8b95dc3ff4' LIMIT 1 Date : 2025-03-27T12:00:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T12:00:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003477 post PendingInvicesDO 2 MED-141004077 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004077 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='868b0521-cc23-456e-8aa7-a5a9c7da4af5' LIMIT 1 Date : 2025-03-27T12:06:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T12:06:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003479 post PendingInvicesDO 2 MED-141004079 post PendingInvicesDO 2 MED-141004078 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003478 post PendingInvicesDO 2 MED-141004079 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004078 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004079 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70b66226-24a5-4243-9d48-798ecb045f9f' LIMIT 1 Date : 2025-03-27T12:33:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc6a6b20-cec1-41da-885f-886f7e49796c' LIMIT 1 Date : 2025-03-27T12:33:43  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70b66226-24a5-4243-9d48-798ecb045f9f' LIMIT 1 Date : 2025-03-27T12:33:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc6a6b20-cec1-41da-885f-886f7e49796c' LIMIT 1 Date : 2025-03-27T12:33:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-27T12:33:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003480 post PendingInvicesDO 2 MED-141004030 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004030 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004030' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004030' OR OrderId='MED-141004030' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-27T14:59:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003482 post PendingInvicesDO 2 MED-141004082 post PendingInvicesDO 2 MED-141003436 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003481 post PendingInvicesDO 2 MED-141004082 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004082 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004082' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004082' OR OrderId='MED-141004082' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004082' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004082' OR OrderId='MED-141004082' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-27T15:44:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003483 post PendingInvicesDO 2 MED-141004083 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004083 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6cf01aed-0572-4a0c-8960-8a0964387a0a' LIMIT 1 Date : 2025-03-27T15:49:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T15:49:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003484 post PendingInvicesDO 2 MED-141004084 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004084 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e16a79dc-45aa-4703-8c87-00b271b253cd' LIMIT 1 Date : 2025-03-27T16:27:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T16:27:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003485 post PendingInvicesDO 2 MED-141004085 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004085 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db22bd89-5bcd-42ef-a092-ed73e4ae6481' LIMIT 1 Date : 2025-03-27T16:44:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T16:44:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003486 post PendingInvicesDO 2 MED-141004086 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004086 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7a00958-4576-4736-8c5e-2eed8a063286' LIMIT 1 Date : 2025-03-27T17:12:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T17:12:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003487 post PendingInvicesDO 2 MED-141004087 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004087 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf322e36-7a83-4bca-b88e-1c9c9f9f38ba' LIMIT 1 Date : 2025-03-27T17:32:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T17:32:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003488 post PendingInvicesDO 2 MED-141004089 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004089 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f92c9d2a-b2e9-4ad7-b8aa-92fc74489508' LIMIT 1 Date : 2025-03-27T22:56:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T22:56:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003489 post PendingInvicesDO 2 MED-141004090 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004090 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7aa95b3d-7b38-4655-8ca5-88b1540f85dc' LIMIT 1 Date : 2025-03-27T23:52:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T23:52:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003490 post PendingInvicesDO 2 MED-141004093 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004093 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41eba7fd-a994-412e-99c3-ad4b2e74f65e' LIMIT 1 Date : 2025-03-28T15:16:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T15:16:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003491 post PendingInvicesDO 2 MED-141004094 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004094 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='376e8561-eb80-4d28-98e9-1a1376e62e8d' LIMIT 1 Date : 2025-03-28T15:39:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T15:39:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003492 post PendingInvicesDO 2 MED-141004095 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004095 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90eb6370-e2e6-4054-920b-36cf26f2d4fb' LIMIT 1 Date : 2025-03-28T16:07:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T16:07:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003493 post PendingInvicesDO 2 MED-141004096 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004096 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e61c058-0eab-4fde-8291-166d21e9061e' LIMIT 1 Date : 2025-03-28T16:39:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T16:39:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003494 post PendingInvicesDO 2 MED-141004097 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004097 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69d87c96-7887-4b6c-afa9-144824bdd417' LIMIT 1 Date : 2025-03-28T16:57:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T16:57:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003495 post PendingInvicesDO 2 MED-141004098 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004098 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83dec332-f00c-4962-a85a-f57ba6a6007f' LIMIT 1 Date : 2025-03-28T17:18:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T17:18:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003496 post PendingInvicesDO 2 MED-141004099 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004099 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd27a4d4-292a-42be-b6ff-54f41de8849e' LIMIT 1 Date : 2025-03-28T17:38:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T17:38:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003497 post PendingInvicesDO 2 MED-141004100 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004100 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38a1c396-076c-4b39-8adf-3e1aaf9f8f39' LIMIT 1 Date : 2025-03-28T17:43:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T17:43:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003498 post PendingInvicesDO 2 MED-141004101 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004101 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93833902-aa0a-4f1b-bd74-d8de303dea1e' LIMIT 1 Date : 2025-03-28T18:09:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T18:09:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003499 post PendingInvicesDO 2 MED-141004061 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004061 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004061' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004061' OR OrderId='MED-141004061' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-28T19:13:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003500 post PendingInvicesDO 2 MED-141004102 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004102 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='933b649d-e3ac-4046-b3d2-5b0647ab5836' LIMIT 1 Date : 2025-03-28T19:59:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T19:59:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003501 post PendingInvicesDO 2 MED-141004103 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004103 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1674259-9ef3-46e9-b7c0-c8cb8e31d4bd' LIMIT 1 Date : 2025-03-28T21:36:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T21:36:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003502 post PendingInvicesDO 2 MED-141004051 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004051 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004051' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004051' OR OrderId='MED-141004051' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-28T23:46:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003503 post PendingInvicesDO 2 MED-141004106 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004106 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22135725-3053-4f48-abf5-36abca5ef9b8' LIMIT 1 Date : 2025-03-29T11:50:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T11:50:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003504 post PendingInvicesDO 2 MED-141004107 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004107 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b2bd2bb-51b5-4dfb-98c1-e57459708038' LIMIT 1 Date : 2025-03-29T12:25:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T12:25:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003505 post PendingInvicesDO 2 MED-141004108 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004108 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='463bd724-8016-49c0-a2d5-869f4f7bdf33' LIMIT 1 Date : 2025-03-29T13:06:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T13:06:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003507 post PendingInvicesDO 2 MED-141004110 post PendingInvicesDO 2 MED-141004109 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003506 post PendingInvicesDO 2 MED-141004110 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004109 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004110 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68a06131-2457-4de1-8821-4995ef222c29' LIMIT 1 Date : 2025-03-29T14:09:27  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e1be1a72-e966-4950-a7e3-f8bd5272a833' LIMIT 1 Date : 2025-03-29T14:09:27  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68a06131-2457-4de1-8821-4995ef222c29' LIMIT 1 Date : 2025-03-29T14:09:27  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e1be1a72-e966-4950-a7e3-f8bd5272a833' LIMIT 1 Date : 2025-03-29T14:09:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-29T14:09:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003508 post PendingInvicesDO 2 MED-141004111 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004111 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7da9c149-09ef-413b-be6f-053acf3c1c6e' LIMIT 1 Date : 2025-03-29T15:05:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T15:05:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003509 post PendingInvicesDO 2 MED-141004112 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004112 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba16edfc-9bc0-489b-a195-1b26264b3c85' LIMIT 1 Date : 2025-03-29T15:42:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T15:42:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003510 post PendingInvicesDO 2 MED-141004113 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004113 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc244ef4-92f9-4974-a88c-e45f31f71e43' LIMIT 1 Date : 2025-03-29T17:26:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T17:26:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003511 post PendingInvicesDO 2 MED-141004114 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004114 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='501dcb43-a061-45d4-92e3-c7f2942355d6' LIMIT 1 Date : 2025-03-29T17:43:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T17:43:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003512 post PendingInvicesDO 2 MED-141004115 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004115 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3a8ebbc-4249-4537-9569-9755e1f59486' LIMIT 1 Date : 2025-03-29T17:58:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T17:58:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003513 post PendingInvicesDO 2 MED-141004116 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004116 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='060dda95-2a39-4a9f-b254-e35ca4842d61' LIMIT 1 Date : 2025-03-29T23:21:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T23:21:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003514 post PendingInvicesDO 2 MED-141004117 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004117 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b54da68-0234-4fcf-aae5-ba51beef2f4b' LIMIT 1 Date : 2025-03-29T23:42:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T23:42:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003515 post PendingInvicesDO 2 MED-141004118 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004118 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8eb185ce-4d66-47b2-bdcf-f804f797c315' LIMIT 1 Date : 2025-04-01T07:39:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T07:39:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003516 post PendingInvicesDO 2 MED-141004119 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004119 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74d96da2-0756-46a5-8cc0-fada00fc849c' LIMIT 1 Date : 2025-04-01T08:04:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T08:04:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003517 post PendingInvicesDO 2 MED-141004120 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004120 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad431b1c-6014-4011-a230-c1912436e1a0' LIMIT 1 Date : 2025-04-01T08:35:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T08:35:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003518 post PendingInvicesDO 2 MED-141004121 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004121 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='65981002-ba16-4c51-9fba-b7a2fe29a624' LIMIT 1 Date : 2025-04-01T09:11:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T09:11:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003519 post PendingInvicesDO 2 MED-141004122 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004122 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a90a6c1-9875-4b61-bda2-25dfe32469d4' LIMIT 1 Date : 2025-04-01T09:24:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T09:24:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003520 post PendingInvicesDO 2 MED-141004123 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004123 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4394ec1b-32cc-47f8-872d-3fdef075067f' LIMIT 1 Date : 2025-04-01T09:57:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T09:57:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003521 post PendingInvicesDO 2 MED-141004124 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004124 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6eca7931-5e0a-4224-a24f-1b0e9c03a98e' LIMIT 1 Date : 2025-04-01T10:17:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T10:17:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003523 post PendingInvicesDO 2 MED-141004126 post PendingInvicesDO 2 MED-141004125 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003522 post PendingInvicesDO 2 MED-141004126 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004125 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004126 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c24dc968-8ca6-4455-8ac2-8954220b3eb1' LIMIT 1 Date : 2025-04-01T10:28:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8ddbec0-b25b-4a2a-a4a9-255b622daa28' LIMIT 1 Date : 2025-04-01T10:28:07  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c24dc968-8ca6-4455-8ac2-8954220b3eb1' LIMIT 1 Date : 2025-04-01T10:28:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8ddbec0-b25b-4a2a-a4a9-255b622daa28' LIMIT 1 Date : 2025-04-01T10:28:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-01T10:28:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003525 post PendingInvicesDO 2 MED-141004128 post PendingInvicesDO 2 MED-141004127 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003524 post PendingInvicesDO 2 MED-141004128 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004127 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004128 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d783305-066c-48fa-ad63-ed45cba0265c' LIMIT 1 Date : 2025-04-01T10:46:08  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='125758ae-1bd9-400b-a949-2cbd280bdfe9' LIMIT 1 Date : 2025-04-01T10:46:08  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d783305-066c-48fa-ad63-ed45cba0265c' LIMIT 1 Date : 2025-04-01T10:46:08  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='125758ae-1bd9-400b-a949-2cbd280bdfe9' LIMIT 1 Date : 2025-04-01T10:46:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-01T10:46:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003526 post PendingInvicesDO 2 MED-141004129 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004129 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c0d38d7-1395-4d79-bbdd-e794406af3fe' LIMIT 1 Date : 2025-04-01T10:54:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T10:54:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003527 post PendingInvicesDO 2 MED-141004130 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004130 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dadc01c7-d01c-4b61-94a5-81b7b49de475' LIMIT 1 Date : 2025-04-01T11:06:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T11:06:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003528 post PendingInvicesDO 2 MED-141004131 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004131 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e9ebb9e-d95e-4748-8614-415c41c12b0e' LIMIT 1 Date : 2025-04-01T11:18:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T11:18:23 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003529 post PendingInvicesDO 2 MED-141004132 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004132 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='347fc811-30c3-47ba-9840-5a0d45a4d1cd' LIMIT 1 Date : 2025-04-01T11:27:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T11:27:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003531 post PendingInvicesDO 2 MED-141004134 post PendingInvicesDO 2 MED-141004133 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003530 post PendingInvicesDO 2 MED-141004134 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004133 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004134 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94943902-49f3-4a01-b11f-556768155ec5' LIMIT 1 Date : 2025-04-01T11:44:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7ee8c2b-fac7-4d98-b281-8e648767dfcd' LIMIT 1 Date : 2025-04-01T11:44:29  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94943902-49f3-4a01-b11f-556768155ec5' LIMIT 1 Date : 2025-04-01T11:44:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7ee8c2b-fac7-4d98-b281-8e648767dfcd' LIMIT 1 Date : 2025-04-01T11:44:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-01T11:44:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003532 post PendingInvicesDO 2 MED-141004135 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004135 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='701442e9-1a33-4113-bfee-f738556697e4' LIMIT 1 Date : 2025-04-01T12:07:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T12:07:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003533 post PendingInvicesDO 2 MED-141004136 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004136 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d147b217-f029-4a5a-819f-2b8d8b9b6f39' LIMIT 1 Date : 2025-04-01T12:59:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T12:59:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003535 post PendingInvicesDO 2 MED-141004138 post PendingInvicesDO 2 MED-141004137 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003534 post PendingInvicesDO 2 MED-141004138 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004137 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004138 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2214f797-b9e4-46e6-a5d1-2b849ea31c72' LIMIT 1 Date : 2025-04-01T13:51:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c76878a6-715c-4793-bba5-90a64e81d4da' LIMIT 1 Date : 2025-04-01T13:51:36  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2214f797-b9e4-46e6-a5d1-2b849ea31c72' LIMIT 1 Date : 2025-04-01T13:51:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c76878a6-715c-4793-bba5-90a64e81d4da' LIMIT 1 Date : 2025-04-01T13:51:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-01T13:51:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003536 post PendingInvicesDO 2 MED-141004139 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004139 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41161702-5860-4157-8051-6675903b50f3' LIMIT 1 Date : 2025-04-01T14:12:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T14:12:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003537 post PendingInvicesDO 2 MED-141004140 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004140 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='690313e6-5491-47f0-b0a5-29ef232ffd92' LIMIT 1 Date : 2025-04-01T14:38:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T14:38:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003538 post PendingInvicesDO 2 MED-141004104 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004104 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004104' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004104' OR OrderId='MED-141004104' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-01T16:44:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003539 post PendingInvicesDO 2 MED-141004143 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004143 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf7b7aa5-716c-4aea-90ff-877bcd3ba3f7' LIMIT 1 Date : 2025-04-01T17:33:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T17:33:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003540 post PendingInvicesDO 2 MED-141004144 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004144 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1ac76e9-834b-4812-a8f7-5a0a5af083ba' LIMIT 1 Date : 2025-04-01T18:02:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T18:02:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003541 post PendingInvicesDO 2 MED-141004151 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004151 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df6e0e73-1687-4fde-b466-cdd3a5fbb4e4' LIMIT 1 Date : 2025-04-02T11:40:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T11:40:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003542 post PendingInvicesDO 2 MED-141004088 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004088 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004088' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004088' OR OrderId='MED-141004088' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-02T12:03:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003543 post PendingInvicesDO 2 MED-141004152 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004152 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d81bf9a-40fd-4ab8-a5eb-50acf2394873' LIMIT 1 Date : 2025-04-02T12:04:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T12:04:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003544 post PendingInvicesDO 2 MED-141004153 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004153 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3cf38fab-246e-4bdd-80e5-46ec10ea0a55' LIMIT 1 Date : 2025-04-02T12:33:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T12:33:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003545 post PendingInvicesDO 2 MED-141004154 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004154 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e186aae2-5943-42eb-b259-1575606d4fc4' LIMIT 1 Date : 2025-04-02T12:46:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T12:46:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003546 post PendingInvicesDO 2 MED-141004155 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004155 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b2a00c4-eac9-4eba-abd0-716ca03c1de0' LIMIT 1 Date : 2025-04-02T13:19:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T13:19:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003547 post PendingInvicesDO 2 MED-141004156 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004156 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c579378-e064-4e33-8b4e-d7a73b7929cc' LIMIT 1 Date : 2025-04-02T13:44:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T13:44:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003549 post PendingInvicesDO 2 MED-141004158 post PendingInvicesDO 2 MED-141004157 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003548 post PendingInvicesDO 2 MED-141004158 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004157 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004158 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fcade97c-86dd-4cee-8ddc-3554d9eb273d' LIMIT 1 Date : 2025-04-02T15:09:26  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e2adc59-31f3-47a3-bf1f-a4a9d3cd433f' LIMIT 1 Date : 2025-04-02T15:09:26  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fcade97c-86dd-4cee-8ddc-3554d9eb273d' LIMIT 1 Date : 2025-04-02T15:09:26  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e2adc59-31f3-47a3-bf1f-a4a9d3cd433f' LIMIT 1 Date : 2025-04-02T15:09:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-02T15:09:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003551 post PendingInvicesDO 2 MED-141004160 post PendingInvicesDO 2 MED-141004159 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003550 post PendingInvicesDO 2 MED-141004160 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004159 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004160 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6aa9b320-fab9-4a68-8693-0055c561de92' LIMIT 1 Date : 2025-04-02T16:42:11  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95862c45-1a96-4047-897b-c068352599a3' LIMIT 1 Date : 2025-04-02T16:42:11  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6aa9b320-fab9-4a68-8693-0055c561de92' LIMIT 1 Date : 2025-04-02T16:42:11  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95862c45-1a96-4047-897b-c068352599a3' LIMIT 1 Date : 2025-04-02T16:42:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-02T16:42:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003552 post PendingInvicesDO 2 MED-141004161 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004161 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6eae3fd-9789-4ca6-8de8-b5925b2ef92d' LIMIT 1 Date : 2025-04-02T17:21:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T17:21:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003553 post PendingInvicesDO 2 MED-141004162 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004162 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c95e95b0-d002-4a2a-8b78-02bb5b0922f3' LIMIT 1 Date : 2025-04-03T07:58:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T07:58:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003555 post PendingInvicesDO 2 MED-141004164 post PendingInvicesDO 2 MED-141004163 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003554 post PendingInvicesDO 2 MED-141004164 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004163 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004164 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='632fc33e-b88b-49ec-99eb-3a6372e8ba88' LIMIT 1 Date : 2025-04-03T08:28:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ed146be-ea38-462e-8f0b-56233b1ceefc' LIMIT 1 Date : 2025-04-03T08:28:39  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='632fc33e-b88b-49ec-99eb-3a6372e8ba88' LIMIT 1 Date : 2025-04-03T08:28:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ed146be-ea38-462e-8f0b-56233b1ceefc' LIMIT 1 Date : 2025-04-03T08:28:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-03T08:28:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003556 post PendingInvicesDO 2 MED-141004165 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004165 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb475cb5-db4f-4342-95e2-7468f0f37f77' LIMIT 1 Date : 2025-04-03T08:45:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T08:45:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003557 post PendingInvicesDO 2 MED-141004166 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004166 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ca39a36-42cc-4fac-a104-d72be4e228b9' LIMIT 1 Date : 2025-04-03T08:59:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T08:59:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003558 post PendingInvicesDO 2 MED-141004167 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004167 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa15e926-4a03-4403-b2d1-e83d5fe047ff' LIMIT 1 Date : 2025-04-03T09:22:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T09:22:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003560 post PendingInvicesDO 2 MED-141004169 post PendingInvicesDO 2 MED-141004168 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003559 post PendingInvicesDO 2 MED-141004169 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004168 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004169 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92fbef1f-896c-432c-b022-00bdf55d8ce1' LIMIT 1 Date : 2025-04-03T09:46:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19d349a1-5ec5-42f7-9bd9-6699386433f4' LIMIT 1 Date : 2025-04-03T09:46:23  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92fbef1f-896c-432c-b022-00bdf55d8ce1' LIMIT 1 Date : 2025-04-03T09:46:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19d349a1-5ec5-42f7-9bd9-6699386433f4' LIMIT 1 Date : 2025-04-03T09:46:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-03T09:46:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003561 post PendingInvicesDO 2 MED-141004170 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004170 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c631636-126e-41fa-a636-8c0048f257b9' LIMIT 1 Date : 2025-04-03T10:17:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T10:17:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003562 post PendingInvicesDO 2 MED-141004171 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004171 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8662850-e2bf-4e6c-b6df-91c8f9476fda' LIMIT 1 Date : 2025-04-03T10:34:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T10:34:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003564 post PendingInvicesDO 2 MED-141004174 post PendingInvicesDO 2 MED-141004173 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003563 post PendingInvicesDO 2 MED-141004174 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004173 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004174 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0540c42f-57df-48cf-b5a8-02b42c62a273' LIMIT 1 Date : 2025-04-03T11:18:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3c5136b-d593-4cbd-ae1f-2630a7867675' LIMIT 1 Date : 2025-04-03T11:18:22  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0540c42f-57df-48cf-b5a8-02b42c62a273' LIMIT 1 Date : 2025-04-03T11:18:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3c5136b-d593-4cbd-ae1f-2630a7867675' LIMIT 1 Date : 2025-04-03T11:18:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-03T11:18:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003565 post PendingInvicesDO 2 MED-141004175 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004175 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44b8635d-d70e-47f8-86d1-52c5addef9c4' LIMIT 1 Date : 2025-04-03T11:53:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T11:53:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003566 post PendingInvicesDO 2 MED-141004176 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004176 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='965f5735-307e-41fc-a703-8a8aa074f021' LIMIT 1 Date : 2025-04-03T12:06:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T12:06:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003568 post PendingInvicesDO 2 MED-141004178 post PendingInvicesDO 2 MED-141004177 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003567 post PendingInvicesDO 2 MED-141004178 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004177 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004178 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8777ddb5-afe5-4abc-813e-354f66ac2e07' LIMIT 1 Date : 2025-04-03T12:31:01  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3a1abc1-30df-4f28-aeee-041077804c5b' LIMIT 1 Date : 2025-04-03T12:31:01  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8777ddb5-afe5-4abc-813e-354f66ac2e07' LIMIT 1 Date : 2025-04-03T12:31:01  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3a1abc1-30df-4f28-aeee-041077804c5b' LIMIT 1 Date : 2025-04-03T12:31:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-03T12:31:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003569 post PendingInvicesDO 2 MED-141004179 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004179 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='915e3383-62c9-43af-a3df-fbd049f58c38' LIMIT 1 Date : 2025-04-03T13:24:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T13:24:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003570 post PendingInvicesDO 2 MED-141004180 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004180 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c01fdcd0-384c-4b2b-a198-be61c728edfe' LIMIT 1 Date : 2025-04-03T13:46:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T13:46:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003571 post PendingInvicesDO 2 MED-141004181 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004181 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6692a122-451c-4e79-a0a2-979abf4237e1' LIMIT 1 Date : 2025-04-03T13:54:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T13:54:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003572 post PendingInvicesDO 2 MED-141004182 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004182 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5fc30b97-6bb7-4ed6-aaf7-2d28e7686388' LIMIT 1 Date : 2025-04-03T14:19:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T14:19:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003573 post PendingInvicesDO 2 MED-141004183 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004183 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ec1bf45-aef8-4394-81dc-6746edc5767c' LIMIT 1 Date : 2025-04-03T14:40:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T14:40:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003574 post PendingInvicesDO 2 MED-141004185 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004185 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea227779-9b1e-4f10-a6c5-d42f18f2eaf9' LIMIT 1 Date : 2025-04-03T15:09:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T15:09:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003575 post PendingInvicesDO 2 MED-141004186 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004186 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1b6dc88-bb04-4029-bcb8-d37d6bda87ed' LIMIT 1 Date : 2025-04-03T15:15:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T15:15:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003576 post PendingInvicesDO 2 MED-141004187 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004187 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dce27888-50cf-4084-83c2-0674bf888974' LIMIT 1 Date : 2025-04-03T15:34:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T15:34:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003578 post PendingInvicesDO 2 MED-141004172 post PendingInvicesDO 2 MED-141003452 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003577 post PendingInvicesDO 2 MED-141004172 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004172 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004172' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004172' OR OrderId='MED-141004172' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004172' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004172' OR OrderId='MED-141004172' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-03T15:43:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003579 post PendingInvicesDO 2 MED-141004188 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004188 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39925243-b8d9-456f-83c9-7fe8e7f59fe7' LIMIT 1 Date : 2025-04-03T16:36:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T16:36:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003580 post PendingInvicesDO 2 MED-141004189 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004189 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dac416d0-c4f4-42bc-9313-0555426eeb5d' LIMIT 1 Date : 2025-04-03T16:58:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T16:58:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003581 post PendingInvicesDO 2 MED-141004190 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004190 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='679be267-56b1-417f-b3e4-35d6c9a9e522' LIMIT 1 Date : 2025-04-03T17:09:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T17:09:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003582 post PendingInvicesDO 2 MED-141004191 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004191 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb6bc675-4cd5-43f3-8f08-24757a6ef7eb' LIMIT 1 Date : 2025-04-03T17:43:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T17:43:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003583 post PendingInvicesDO 2 MED-141004192 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004192 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73fac09d-c338-48d8-ba6c-a6cfa561b509' LIMIT 1 Date : 2025-04-03T17:54:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T17:55:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003584 post PendingInvicesDO 2 MED-141004193 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004193 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5531fca3-ab71-4745-a94e-05f8ec3a9ff1' LIMIT 1 Date : 2025-04-03T18:07:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T18:07:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003585 post PendingInvicesDO 2 MED-141004194 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004194 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9bc1c90-8b2c-4c55-aa28-80f9b2630b8c' LIMIT 1 Date : 2025-04-03T20:58:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T20:58:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003586 post PendingInvicesDO 2 MED-141004195 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004195 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d42a826-411a-4048-80d4-2039537b8316' LIMIT 1 Date : 2025-04-03T21:15:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T21:15:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003587 post PendingInvicesDO 2 MED-141004196 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004196 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f0d02bc-1c46-48ea-9ec0-be3bf5a80222' LIMIT 1 Date : 2025-04-04T17:53:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-04T17:53:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003589 post PendingInvicesDO 2 MED-141004142 post PendingInvicesDO 2 MED-141004141 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003588 post PendingInvicesDO 2 MED-141004142 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004141 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004142 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004142' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004142' OR OrderId='MED-141004142' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004142' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004142' OR OrderId='MED-141004142' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-04T18:26:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003591 post PendingInvicesDO 2 MED-141004199 post PendingInvicesDO 2 MED-141004198 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003590 post PendingInvicesDO 2 MED-141004199 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004198 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004199 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce4cf66d-fb34-439c-af05-b6f6571a8ceb' LIMIT 1 Date : 2025-04-04T18:52:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2cbce5cc-42b9-4e14-ac5e-a3144b690989' LIMIT 1 Date : 2025-04-04T18:52:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce4cf66d-fb34-439c-af05-b6f6571a8ceb' LIMIT 1 Date : 2025-04-04T18:52:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2cbce5cc-42b9-4e14-ac5e-a3144b690989' LIMIT 1 Date : 2025-04-04T18:52:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-04T18:52:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003592 post PendingInvicesDO 2 MED-141004200 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004200 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b349118-c309-4048-addd-3c4fd580e8b8' LIMIT 1 Date : 2025-04-04T19:00:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-04T19:00:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003593 post PendingInvicesDO 2 MED-141004201 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004201 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2ad69bd-286c-4e8e-a0d8-f1dac6730c09' LIMIT 1 Date : 2025-04-04T19:21:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-04T19:21:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003594 post PendingInvicesDO 2 MED-141004202 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004202 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='428a8dbc-7519-459b-a7c5-a3eb23880d84' LIMIT 1 Date : 2025-04-04T21:41:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-04T21:41:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003595 post PendingInvicesDO 2 MED-141004203 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004203 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f701289f-b399-4d41-921e-c36bdf67975a' LIMIT 1 Date : 2025-04-04T21:53:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-04T21:53:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003596 post PendingInvicesDO 2 MED-141003777 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003777 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003777' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003777' OR OrderId='MED-141003777' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-04T22:54:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003597 post PendingInvicesDO 2 MED-141004209 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004209 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5fd13b0d-ac56-45b7-807a-9fb5a515972f' LIMIT 1 Date : 2025-04-05T13:29:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T13:29:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003599 post PendingInvicesDO 2 MED-141004211 post PendingInvicesDO 2 MED-141004210 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003598 post PendingInvicesDO 2 MED-141004211 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004210 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004211 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad89e0f1-80b7-461e-8ebc-8cfc038f52f2' LIMIT 1 Date : 2025-04-05T14:09:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='efc93c42-c1e7-4d33-bed1-353ab878d948' LIMIT 1 Date : 2025-04-05T14:09:56  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad89e0f1-80b7-461e-8ebc-8cfc038f52f2' LIMIT 1 Date : 2025-04-05T14:09:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='efc93c42-c1e7-4d33-bed1-353ab878d948' LIMIT 1 Date : 2025-04-05T14:09:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-05T14:09:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003600 post PendingInvicesDO 2 MED-141004212 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004212 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='576c2389-512f-425e-9ca0-4a136d6a44de' LIMIT 1 Date : 2025-04-05T14:33:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T14:33:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003601 post PendingInvicesDO 2 MED-141004214 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004214 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='101bdc38-a203-4e25-92fb-285b3082010c' LIMIT 1 Date : 2025-04-05T16:18:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T16:18:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003602 post PendingInvicesDO 2 MED-141004215 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004215 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9c89e22-d0d1-47b3-85fd-c33cd5e18747' LIMIT 1 Date : 2025-04-05T16:59:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T16:59:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003604 post PendingInvicesDO 2 MED-141004217 post PendingInvicesDO 2 MED-141004216 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003603 post PendingInvicesDO 2 MED-141004217 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004216 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004217 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39a02788-3781-4e21-8d79-5f39e58a53c1' LIMIT 1 Date : 2025-04-06T08:03:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ffc77ea-afb8-410a-bc2e-5b1ed7e7a0d1' LIMIT 1 Date : 2025-04-06T08:03:06  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39a02788-3781-4e21-8d79-5f39e58a53c1' LIMIT 1 Date : 2025-04-06T08:03:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ffc77ea-afb8-410a-bc2e-5b1ed7e7a0d1' LIMIT 1 Date : 2025-04-06T08:03:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-06T08:03:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003605 post PendingInvicesDO 2 MED-141004184 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004184 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004184' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004184' OR OrderId='MED-141004184' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-06T09:18:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003606 post PendingInvicesDO 2 MED-141004011 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004011 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004011' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004011' OR OrderId='MED-141004011' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-06T13:47:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003608 post PendingInvicesDO 2 MED-141004225 post PendingInvicesDO 2 MED-141004224 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003607 post PendingInvicesDO 2 MED-141004225 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004224 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004225 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e3a84ce-435e-4161-827e-2490baa32808' LIMIT 1 Date : 2025-04-06T15:06:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6d11eb3-81b4-4ff5-8fc5-d153c8566ddb' LIMIT 1 Date : 2025-04-06T15:06:30  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e3a84ce-435e-4161-827e-2490baa32808' LIMIT 1 Date : 2025-04-06T15:06:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6d11eb3-81b4-4ff5-8fc5-d153c8566ddb' LIMIT 1 Date : 2025-04-06T15:06:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-06T15:06:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003609 post PendingInvicesDO 2 MED-141004226 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004226 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0dc9386-0fdb-466a-a501-90e262d7334a' LIMIT 1 Date : 2025-04-06T15:44:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T15:44:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003610 post PendingInvicesDO 2 MED-141004227 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004227 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ddf6ab4-5305-408f-b7cf-da13648cc53c' LIMIT 1 Date : 2025-04-06T15:54:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T15:54:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003612 post PendingInvicesDO 2 MED-141004229 post PendingInvicesDO 2 MED-141004228 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003611 post PendingInvicesDO 2 MED-141004229 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004228 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004229 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9808a9f2-91e8-4c57-819c-a36cbe5bcc1b' LIMIT 1 Date : 2025-04-06T16:05:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0bd41aad-7cdc-4a59-b9fb-eae880c3b1d9' LIMIT 1 Date : 2025-04-06T16:05:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9808a9f2-91e8-4c57-819c-a36cbe5bcc1b' LIMIT 1 Date : 2025-04-06T16:05:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0bd41aad-7cdc-4a59-b9fb-eae880c3b1d9' LIMIT 1 Date : 2025-04-06T16:05:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-06T16:05:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003613 post PendingInvicesDO 2 MED-141003948 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003948 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003948' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003948' OR OrderId='MED-141003948' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-06T20:01:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003614 post PendingInvicesDO 2 MED-141004197 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004197 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004197' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004197' OR OrderId='MED-141004197' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-06T22:08:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003615 post PendingInvicesDO 2 MED-141004231 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004231 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f23717c-6c42-413e-932a-5ada9c1c0c28' LIMIT 1 Date : 2025-04-07T08:07:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T08:07:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003616 post PendingInvicesDO 2 MED-141004232 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004232 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc24af22-5589-4b5a-9557-4ecb80cb68af' LIMIT 1 Date : 2025-04-07T08:45:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T08:45:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003618 post PendingInvicesDO 2 MED-141004234 post PendingInvicesDO 2 MED-141004233 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003617 post PendingInvicesDO 2 MED-141004234 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004233 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004234 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4653f8f5-1897-476e-a494-d7eab6d41cf2' LIMIT 1 Date : 2025-04-07T09:26:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87003509-2e57-4c65-a7fc-fe054cd27869' LIMIT 1 Date : 2025-04-07T09:26:39  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4653f8f5-1897-476e-a494-d7eab6d41cf2' LIMIT 1 Date : 2025-04-07T09:26:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87003509-2e57-4c65-a7fc-fe054cd27869' LIMIT 1 Date : 2025-04-07T09:26:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-07T09:26:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003619 post PendingInvicesDO 2 MED-141004235 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004235 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5be3b585-0b22-4668-b2f9-7eb90862732f' LIMIT 1 Date : 2025-04-07T09:56:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T09:56:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003620 post PendingInvicesDO 2 MED-141004236 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004236 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e82248c1-1609-4236-ab38-2fa1ff726009' LIMIT 1 Date : 2025-04-07T10:55:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T10:55:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003621 post PendingInvicesDO 2 MED-141004237 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004237 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3969d0d-944c-4a47-92e3-77cc4f0672b9' LIMIT 1 Date : 2025-04-07T11:26:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T11:26:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003622 post PendingInvicesDO 2 MED-141004238 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004238 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab2dc0df-65cc-436a-8d12-ab4080f26bb7' LIMIT 1 Date : 2025-04-07T11:43:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T11:43:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003624 post PendingInvicesDO 2 MED-141004240 post PendingInvicesDO 2 MED-141004239 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003623 post PendingInvicesDO 2 MED-141004240 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004239 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004240 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c49b377-3f71-4956-9062-41b0b1fb8944' LIMIT 1 Date : 2025-04-07T12:07:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef78458d-3bf9-406f-a7c4-f06fb2c3ef66' LIMIT 1 Date : 2025-04-07T12:07:07  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c49b377-3f71-4956-9062-41b0b1fb8944' LIMIT 1 Date : 2025-04-07T12:07:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef78458d-3bf9-406f-a7c4-f06fb2c3ef66' LIMIT 1 Date : 2025-04-07T12:07:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-07T12:07:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003625 post PendingInvicesDO 2 MED-141004241 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004241 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50c4220f-8890-436c-9a57-a2bdb166680b' LIMIT 1 Date : 2025-04-07T12:27:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T12:27:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003626 post PendingInvicesDO 2 MED-141004242 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004242 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e2f37e5-c98e-434a-9ab1-ad92a6fbb809' LIMIT 1 Date : 2025-04-07T13:09:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T13:09:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003627 post PendingInvicesDO 2 MED-141004243 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004243 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f0ccea0-800f-46d4-85ba-10070e27fd30' LIMIT 1 Date : 2025-04-07T13:19:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T13:19:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003628 post PendingInvicesDO 2 MED-141004244 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004244 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2b2fa3c-4920-4cff-ad4f-7f461deae383' LIMIT 1 Date : 2025-04-07T13:29:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T13:29:53 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003629 post PendingInvicesDO 2 MED-141004245 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004245 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d73222cc-70c0-4367-9946-1c5f0450e9ae' LIMIT 1 Date : 2025-04-07T13:42:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T13:42:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003630 post PendingInvicesDO 2 MED-141004246 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004246 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb0f6b0a-6114-4b62-88c4-e5b2ad79fee4' LIMIT 1 Date : 2025-04-07T14:02:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T14:02:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003631 post PendingInvicesDO 2 MED-141004249 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004249 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e2309e0-1588-4470-a351-6965c43c42ed' LIMIT 1 Date : 2025-04-07T18:18:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T18:18:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003633 post PendingInvicesDO 2 MED-141004251 post PendingInvicesDO 2 MED-141004250 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003632 post PendingInvicesDO 2 MED-141004251 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004250 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004251 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0bb1058f-eaae-4bc6-ad1f-db17e2d6278a' LIMIT 1 Date : 2025-04-08T08:26:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d98e4e1f-5519-4443-9b94-eba17848a105' LIMIT 1 Date : 2025-04-08T08:26:59  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0bb1058f-eaae-4bc6-ad1f-db17e2d6278a' LIMIT 1 Date : 2025-04-08T08:26:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d98e4e1f-5519-4443-9b94-eba17848a105' LIMIT 1 Date : 2025-04-08T08:26:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-08T08:27:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003634 post PendingInvicesDO 2 MED-141004252 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004252 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7dffd8ff-9903-4f69-a760-1fe2563dba59' LIMIT 1 Date : 2025-04-08T09:22:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T09:22:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003635 post PendingInvicesDO 2 MED-141004253 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004253 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d91f74e0-d96d-4c8f-9a3f-20f54f4178cf' LIMIT 1 Date : 2025-04-08T09:28:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T09:28:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003636 post PendingInvicesDO 2 MED-141004254 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004254 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='582d5201-1433-4d07-8771-fc3bb1f9cfd5' LIMIT 1 Date : 2025-04-08T09:41:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T09:41:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003637 post PendingInvicesDO 2 MED-141004255 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004255 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50784f88-0e4b-4a98-a83b-294ae597da59' LIMIT 1 Date : 2025-04-08T10:15:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T10:15:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003638 post PendingInvicesDO 2 MED-141003125 post PendingInvicesDO 2 MED-141003124 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141003124 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003125 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003125' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003125' OR OrderId='MED-141003125' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-08T10:56:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003639 post PendingInvicesDO 2 MED-141004256 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004256 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f729c1b-d9e0-4f55-832c-26cd95e2fe0a' LIMIT 1 Date : 2025-04-08T11:03:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T11:03:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003640 post PendingInvicesDO 2 MED-141004257 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004257 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59980229-1c84-4a73-b31a-c7608ae4d3f0' LIMIT 1 Date : 2025-04-08T11:25:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T11:25:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003641 post PendingInvicesDO 2 MED-141004258 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004258 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd8ba5c9-591e-4e37-a3db-55ffda091c0e' LIMIT 1 Date : 2025-04-08T11:48:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T11:48:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003642 post PendingInvicesDO 2 MED-141004259 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004259 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0cad342a-30c2-4d5f-a3a0-1495a57f4735' LIMIT 1 Date : 2025-04-08T12:08:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T12:08:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003643 post PendingInvicesDO 2 MED-141004260 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004260 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c5da4eb-8eb6-43ea-bb82-4cd50661be4a' LIMIT 1 Date : 2025-04-08T12:15:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T12:15:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003644 post PendingInvicesDO 2 MED-141004261 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004261 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0813fcc0-2cb0-467f-b374-33098a6c05ed' LIMIT 1 Date : 2025-04-08T12:30:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T12:30:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003645 post PendingInvicesDO 2 MED-141004262 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004262 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='054206af-cdf4-4c9d-8090-19bfab07de07' LIMIT 1 Date : 2025-04-08T12:42:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T12:42:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003646 post PendingInvicesDO 2 MED-141004263 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004263 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9c8726c-5ca0-481e-87e2-1fd449628d6d' LIMIT 1 Date : 2025-04-08T13:03:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T13:03:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003648 post PendingInvicesDO 2 MED-141004265 post PendingInvicesDO 2 MED-141004264 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003647 post PendingInvicesDO 2 MED-141004265 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004264 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004265 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f796527d-393b-48e7-923c-3077e2e7a36e' LIMIT 1 Date : 2025-04-08T13:33:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aea2533f-9e40-47e9-b497-e00a6b92e1b5' LIMIT 1 Date : 2025-04-08T13:33:04  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f796527d-393b-48e7-923c-3077e2e7a36e' LIMIT 1 Date : 2025-04-08T13:33:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aea2533f-9e40-47e9-b497-e00a6b92e1b5' LIMIT 1 Date : 2025-04-08T13:33:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-08T13:33:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003649 post PendingInvicesDO 2 MED-141004266 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004266 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37413c56-72ce-4c7d-9a97-f79016a8134b' LIMIT 1 Date : 2025-04-08T13:52:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T13:52:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003650 post PendingInvicesDO 2 MED-141004267 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004267 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32b3da5f-12fb-4e8f-a66a-65bd9c766a4e' LIMIT 1 Date : 2025-04-08T13:53:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T13:53:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003651 post PendingInvicesDO 2 MED-141004268 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004268 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='765763cc-f9be-4682-b1d2-817e921c0417' LIMIT 1 Date : 2025-04-08T14:29:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T14:29:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003652 post PendingInvicesDO 2 MED-141004269 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004269 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c07d1e75-220d-4929-85db-20d0f300c87b' LIMIT 1 Date : 2025-04-08T21:46:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T21:46:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003654 post PendingInvicesDO 2 MED-141004274 post PendingInvicesDO 2 MED-141004273 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003653 post PendingInvicesDO 2 MED-141004274 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004273 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004274 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='851237a0-d1a6-471a-9252-f9951c63e14b' LIMIT 1 Date : 2025-04-09T09:14:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='271f0f88-1cd2-4ab4-a915-813fe09b3629' LIMIT 1 Date : 2025-04-09T09:14:09  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='851237a0-d1a6-471a-9252-f9951c63e14b' LIMIT 1 Date : 2025-04-09T09:14:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='271f0f88-1cd2-4ab4-a915-813fe09b3629' LIMIT 1 Date : 2025-04-09T09:14:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-09T09:14:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003655 post PendingInvicesDO 2 MED-141004278 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004278 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2646f69-3d03-4306-8ba7-e1b8b3314150' LIMIT 1 Date : 2025-04-09T11:48:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T11:48:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003657 post PendingInvicesDO 2 MED-141004280 post PendingInvicesDO 2 MED-141004279 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003656 post PendingInvicesDO 2 MED-141004280 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004279 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004280 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='623c0306-5d13-471f-9b77-5c62b9449ef5' LIMIT 1 Date : 2025-04-09T12:31:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='131753f2-9924-471b-9314-9c1cadcdc9ea' LIMIT 1 Date : 2025-04-09T12:31:03  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='623c0306-5d13-471f-9b77-5c62b9449ef5' LIMIT 1 Date : 2025-04-09T12:31:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='131753f2-9924-471b-9314-9c1cadcdc9ea' LIMIT 1 Date : 2025-04-09T12:31:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-09T12:31:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003659 post PendingInvicesDO 2 MED-141004282 post PendingInvicesDO 2 MED-141004281 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003658 post PendingInvicesDO 2 MED-141004282 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004281 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004282 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e7204eb-a59a-4b77-806d-6cecfd0a2782' LIMIT 1 Date : 2025-04-09T13:37:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1539ace9-dcb2-4981-8f57-f13e840f738f' LIMIT 1 Date : 2025-04-09T13:37:46  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e7204eb-a59a-4b77-806d-6cecfd0a2782' LIMIT 1 Date : 2025-04-09T13:37:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1539ace9-dcb2-4981-8f57-f13e840f738f' LIMIT 1 Date : 2025-04-09T13:37:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-09T13:37:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003660 post PendingInvicesDO 2 MED-141004283 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004283 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='067a0d41-d6af-4a22-aa6b-812fd0970c42' LIMIT 1 Date : 2025-04-09T14:13:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T14:13:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003661 post PendingInvicesDO 2 MED-141004284 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004284 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a972bab2-dec2-4c55-a0e0-1a11927cbb8b' LIMIT 1 Date : 2025-04-09T15:07:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T15:07:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003662 post PendingInvicesDO 2 MED-141004285 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004285 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b051ad7-51e4-406a-a897-645dd110957e' LIMIT 1 Date : 2025-04-09T15:42:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T15:42:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003663 post PendingInvicesDO 2 MED-141004286 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004286 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8338e3b-6a93-4c9d-b46b-bd2c5b59a03f' LIMIT 1 Date : 2025-04-09T16:11:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T16:11:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003664 post PendingInvicesDO 2 MED-141004287 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004287 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25f483ce-f199-4e25-8de5-ff83c5d9853d' LIMIT 1 Date : 2025-04-09T16:26:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T16:26:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003665 post PendingInvicesDO 2 MED-141004288 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004288 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e622c77d-7500-475d-8607-253c5ecd3dc5' LIMIT 1 Date : 2025-04-09T17:00:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T17:00:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003666 post PendingInvicesDO 2 MED-141004289 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004289 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ece55c5-90ad-4a4e-a865-a58922b75a63' LIMIT 1 Date : 2025-04-09T17:44:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T17:44:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003668 post PendingInvicesDO 2 MED-141004293 post PendingInvicesDO 2 MED-141004292 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003667 post PendingInvicesDO 2 MED-141004293 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004292 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004293 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab4538a6-77ee-4ed7-90fc-edf3c70fe80c' LIMIT 1 Date : 2025-04-10T09:47:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36c41980-aa6f-4798-8e8d-61d661ceb8bf' LIMIT 1 Date : 2025-04-10T09:47:40  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab4538a6-77ee-4ed7-90fc-edf3c70fe80c' LIMIT 1 Date : 2025-04-10T09:47:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36c41980-aa6f-4798-8e8d-61d661ceb8bf' LIMIT 1 Date : 2025-04-10T09:47:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-10T09:47:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003669 post PendingInvicesDO 2 MED-141004294 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004294 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c98edd37-288b-4ca9-965a-7011f63a5d41' LIMIT 1 Date : 2025-04-10T10:16:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T10:16:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003670 post PendingInvicesDO 2 MED-141004295 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004295 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='496f6cc5-c151-470c-9c4a-0d79260dc31c' LIMIT 1 Date : 2025-04-10T10:34:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T10:34:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003671 post PendingInvicesDO 2 MED-141004296 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004296 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e710ad9-8bc6-4a67-ba4d-e9cba13a69d5' LIMIT 1 Date : 2025-04-10T10:57:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T10:57:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003672 post PendingInvicesDO 2 MED-141004297 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004297 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c7afadd-799c-42a1-8fdd-f1385712c562' LIMIT 1 Date : 2025-04-10T11:07:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T11:07:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003673 post PendingInvicesDO 2 MED-141004298 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004298 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d1f142b-2946-4e9a-8004-9073ce096419' LIMIT 1 Date : 2025-04-10T11:17:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T11:17:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003674 post PendingInvicesDO 2 MED-141004299 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004299 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='245ce09f-0638-4bf7-b750-f5f72a775859' LIMIT 1 Date : 2025-04-10T11:55:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T11:55:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003675 post PendingInvicesDO 2 MED-141004300 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004300 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c47f3884-46e2-4c82-8e88-75e19ed9a8fd' LIMIT 1 Date : 2025-04-10T12:18:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T12:18:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003676 post PendingInvicesDO 2 MED-141004301 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004301 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e0861d0-2d77-4487-86d2-d60f65ca3b4a' LIMIT 1 Date : 2025-04-10T13:06:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T13:06:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003677 post PendingInvicesDO 2 MED-141004302 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004302 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='715f810a-1726-48ab-9600-0e110499f770' LIMIT 1 Date : 2025-04-10T13:22:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T13:22:11 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003678 post PendingInvicesDO 2 MED-141004303 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004303 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='027f4592-8eb8-440f-8ad0-5f45cae07bd2' LIMIT 1 Date : 2025-04-10T13:37:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T13:37:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003679 post PendingInvicesDO 2 MED-141004304 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004304 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='045c9a81-2963-4e53-84ac-189e42123bae' LIMIT 1 Date : 2025-04-10T13:56:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T13:56:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003680 post PendingInvicesDO 2 MED-141004305 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004305 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50c815d4-61ab-4aa7-82c4-7963cd28443c' LIMIT 1 Date : 2025-04-10T14:20:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T14:20:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003681 post PendingInvicesDO 2 MED-141004306 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004306 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e62718f-3b4d-49bc-bb33-251524633adf' LIMIT 1 Date : 2025-04-10T14:52:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T14:52:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003682 post PendingInvicesDO 2 MED-141004307 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004307 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7fbb7ac-60e0-4987-adb8-3c0a365bf64c' LIMIT 1 Date : 2025-04-10T15:35:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T15:35:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003683 post PendingInvicesDO 2 MED-141004308 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004308 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c703bb6-1d04-4ec0-a772-35a88125ca18' LIMIT 1 Date : 2025-04-10T15:56:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T15:56:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003684 post PendingInvicesDO 2 MED-141004309 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004309 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bf99380-d324-4b43-9811-5711d9d3a78c' LIMIT 1 Date : 2025-04-10T16:00:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T16:00:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003685 post PendingInvicesDO 2 MED-141004310 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004310 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ee3e7f3-e8cd-4904-b51b-f7ad00c83b88' LIMIT 1 Date : 2025-04-10T16:41:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T16:41:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003686 post PendingInvicesDO 2 MED-141004311 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004311 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82030fde-cc84-425a-85a4-91358bcec450' LIMIT 1 Date : 2025-04-10T17:06:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T17:06:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003688 post PendingInvicesDO 2 MED-141004313 post PendingInvicesDO 2 MED-141004312 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003687 post PendingInvicesDO 2 MED-141004313 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004312 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004313 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6cf804c5-e0c0-456c-bd6a-4c90d105b0ae' LIMIT 1 Date : 2025-04-10T17:14:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d55c936d-b6e2-4054-b15b-7515847e73fe' LIMIT 1 Date : 2025-04-10T17:14:05  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6cf804c5-e0c0-456c-bd6a-4c90d105b0ae' LIMIT 1 Date : 2025-04-10T17:14:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d55c936d-b6e2-4054-b15b-7515847e73fe' LIMIT 1 Date : 2025-04-10T17:14:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-10T17:14:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003689 post PendingInvicesDO 2 MED-141004314 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004314 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e2d7fd9-c251-48cc-989a-0b9616b6d88a' LIMIT 1 Date : 2025-04-10T17:27:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T17:27:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003690 post PendingInvicesDO 2 MED-141004247 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004247 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004247' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004247' OR OrderId='MED-141004247' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-11T17:37:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003691 post PendingInvicesDO 2 MED-141004316 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004316 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='226ac9e1-fecd-4c25-89d7-e2785af0c81d' LIMIT 1 Date : 2025-04-11T17:50:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-11T17:50:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003692 post PendingInvicesDO 2 MED-141004320 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004320 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d119842-9511-4afe-8437-1fc80405e094' LIMIT 1 Date : 2025-04-12T09:11:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-12T09:11:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003693 post PendingInvicesDO 2 MED-141004323 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004323 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b4a2beb-0358-4150-aa97-ce2896cb00d2' LIMIT 1 Date : 2025-04-12T10:40:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-12T10:40:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003694 post PendingInvicesDO 2 MED-141004324 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004324 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a82953f-cc40-4665-8bd0-3678d129c1fa' LIMIT 1 Date : 2025-04-12T11:08:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-12T11:08:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003695 post PendingInvicesDO 2 MED-141004327 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004327 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f64402d-5ce9-4ad0-9dc4-df075258e510' LIMIT 1 Date : 2025-04-12T13:09:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-12T13:09:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003696 post PendingInvicesDO 2 MED-141004328 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004328 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e176cd6-ce0d-4c3c-ba5d-1fca1dbd2c87' LIMIT 1 Date : 2025-04-12T14:27:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-12T14:27:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003697 post PendingInvicesDO 2 MED-141004330 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004330 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2e9e828-0a35-4892-a4bb-c04a124a6884' LIMIT 1 Date : 2025-04-12T16:43:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-12T16:43:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003698 post PendingInvicesDO 2 MED-141004331 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004331 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e841666c-cad4-4f54-b19e-7fa22b019f48' LIMIT 1 Date : 2025-04-12T16:58:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-12T16:58:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003699 post PendingInvicesDO 2 MED-141004332 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004332 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04affba6-bcb4-47de-a789-8bb574702aea' LIMIT 1 Date : 2025-04-12T17:14:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-12T17:14:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003700 post PendingInvicesDO 2 MED-141004333 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004333 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8914034-9d86-45aa-b6e0-58469451b034' LIMIT 1 Date : 2025-04-12T18:01:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-12T18:01:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003702 post PendingInvicesDO 2 MED-141004326 post PendingInvicesDO 2 MED-141004325 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003701 post PendingInvicesDO 2 MED-141004326 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004325 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004326 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004326' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004326' OR OrderId='MED-141004326' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004326' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004326' OR OrderId='MED-141004326' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-13T08:40:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003703 post PendingInvicesDO 2 MED-141004339 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004339 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba8e7c5c-6411-4b9a-a284-9824c7bfeeb8' LIMIT 1 Date : 2025-04-13T11:00:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T11:00:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003704 post PendingInvicesDO 2 MED-141004340 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004340 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='229f0e0a-53c2-4adc-803b-1fee2f59ad24' LIMIT 1 Date : 2025-04-13T11:29:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T11:29:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003705 post PendingInvicesDO 2 MED-141004341 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004341 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f592d60-7b25-47ac-8c5c-8f61acb7be76' LIMIT 1 Date : 2025-04-13T12:19:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T12:19:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003706 post PendingInvicesDO 2 MED-141004342 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004342 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='512cbc04-469a-4abf-ab28-66bb52896c16' LIMIT 1 Date : 2025-04-13T13:23:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T13:23:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003707 post PendingInvicesDO 2 MED-141004343 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004343 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6864a9d2-d208-4b8b-8049-3f847966db12' LIMIT 1 Date : 2025-04-13T13:49:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T13:49:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003708 post PendingInvicesDO 2 MED-141004344 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004344 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b515dbd-3594-4ec4-9b36-dff6f511bf39' LIMIT 1 Date : 2025-04-13T14:19:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T14:19:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003710 post PendingInvicesDO 2 MED-141004346 post PendingInvicesDO 2 MED-141004345 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003709 post PendingInvicesDO 2 MED-141004346 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004345 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004346 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85eb0e8d-ff71-479e-abb3-fdf87bf600da' LIMIT 1 Date : 2025-04-13T14:32:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43642ab2-c4d8-4c55-b3a7-50ea2dec501c' LIMIT 1 Date : 2025-04-13T14:32:57  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85eb0e8d-ff71-479e-abb3-fdf87bf600da' LIMIT 1 Date : 2025-04-13T14:32:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43642ab2-c4d8-4c55-b3a7-50ea2dec501c' LIMIT 1 Date : 2025-04-13T14:32:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-13T14:32:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003711 post PendingInvicesDO 2 MED-141004347 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004347 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06dbae10-c546-4411-b3e8-6171fa937f67' LIMIT 1 Date : 2025-04-13T15:10:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T15:10:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003712 post PendingInvicesDO 2 MED-141004348 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004348 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5b2c200-57c4-4111-b95e-d4b594be7cc1' LIMIT 1 Date : 2025-04-13T17:09:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T17:09:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003713 post PendingInvicesDO 2 MED-141004349 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004349 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='812d5535-3c80-4ca2-b204-f0553d49f769' LIMIT 1 Date : 2025-04-13T17:25:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T17:25:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003714 post PendingInvicesDO 2 MED-141004350 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004350 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0544d306-99c6-4ed5-8849-e3103f83e8dc' LIMIT 1 Date : 2025-04-14T07:58:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T07:58:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003715 post PendingInvicesDO 2 MED-141004351 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004351 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='569e7b20-99f9-43fe-8158-760562e2eef4' LIMIT 1 Date : 2025-04-14T08:43:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T08:43:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003716 post PendingInvicesDO 2 MED-141004352 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004352 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2207ce63-7135-487d-9535-9231c6abe1ca' LIMIT 1 Date : 2025-04-14T09:14:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T09:14:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003717 post PendingInvicesDO 2 MED-141004353 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004353 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='382a672d-be6e-4adc-8030-9f28e53dc42c' LIMIT 1 Date : 2025-04-14T10:39:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T10:39:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003718 post PendingInvicesDO 2 MED-141004354 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004354 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57856a14-219c-4196-82a9-05eeccef72c6' LIMIT 1 Date : 2025-04-14T10:41:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T10:41:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003719 post PendingInvicesDO 2 MED-141004355 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004355 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15b6488b-9852-4d2e-8a15-b7c8149ea07c' LIMIT 1 Date : 2025-04-14T10:46:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T10:46:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003720 post PendingInvicesDO 2 MED-141004356 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004356 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3691732-0810-4818-ae21-0817cf8b3813' LIMIT 1 Date : 2025-04-14T11:16:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T11:16:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003721 post PendingInvicesDO 2 MED-141004357 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004357 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1379b616-3bd5-4e3f-aff2-210fad19377e' LIMIT 1 Date : 2025-04-14T11:34:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T11:34:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003722 post PendingInvicesDO 2 MED-141004358 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004358 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f83ddd17-15c9-439d-8987-d075ee7fb025' LIMIT 1 Date : 2025-04-14T12:13:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T12:13:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003723 post PendingInvicesDO 2 MED-141004359 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004359 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb385ad9-f40c-43e1-bcd3-fe7dfcd698cb' LIMIT 1 Date : 2025-04-14T13:03:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T13:03:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003724 post PendingInvicesDO 2 MED-141004360 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004360 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4e5e060-efbb-4671-a0ca-371a0d812038' LIMIT 1 Date : 2025-04-14T13:39:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T13:39:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003725 post PendingInvicesDO 2 MED-141004361 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004361 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a258654-1c9d-4374-8340-aabac9e2e934' LIMIT 1 Date : 2025-04-14T14:05:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T14:05:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003726 post PendingInvicesDO 2 MED-141004362 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004362 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c54d0735-2077-4c2b-8713-5a404279c378' LIMIT 1 Date : 2025-04-14T14:10:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T14:10:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003727 post PendingInvicesDO 2 MED-141004363 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004363 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c54d0735-2077-4c2b-8713-5a404279c378' LIMIT 1 Date : 2025-04-14T14:13:30 MED-141004362  performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-04-14T14:13:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003727 post PendingInvicesDO 2 MED-141004363 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004363 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66ad8b39-78a6-4de7-b7d2-08298eeb1b04' LIMIT 1 Date : 2025-04-14T15:22:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T15:22:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003728 post PendingInvicesDO 2 MED-141004364 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004364 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48d8b6fe-8434-424b-9624-f04238778f60' LIMIT 1 Date : 2025-04-14T15:51:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T15:51:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003729 post PendingInvicesDO 2 MED-141004365 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004365 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a13282b1-dfde-44dd-8b8e-816ddb101bab' LIMIT 1 Date : 2025-04-14T16:22:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T16:22:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003730 post PendingInvicesDO 2 MED-141004366 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004366 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0eb52cc-8988-437a-badd-81a2c8c98415' LIMIT 1 Date : 2025-04-14T16:51:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T16:51:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003731 post PendingInvicesDO 2 MED-141004367 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004367 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95f5a538-f308-4daf-b33c-3f38bf67117b' LIMIT 1 Date : 2025-04-14T17:42:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T17:42:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003732 post PendingInvicesDO 2 MED-141004368 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004368 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4be8318-a6cd-4911-8510-5836b3287a49' LIMIT 1 Date : 2025-04-15T08:06:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T08:06:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003734 post PendingInvicesDO 2 MED-141004375 post PendingInvicesDO 2 MED-141004374 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003733 post PendingInvicesDO 2 MED-141004375 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004374 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004375 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69d0b25f-5826-4fae-be27-58cf6bcb6b82' LIMIT 1 Date : 2025-04-15T13:30:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1832d45b-7978-4e65-8273-0cf2c48aa0d7' LIMIT 1 Date : 2025-04-15T13:30:43  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69d0b25f-5826-4fae-be27-58cf6bcb6b82' LIMIT 1 Date : 2025-04-15T13:30:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1832d45b-7978-4e65-8273-0cf2c48aa0d7' LIMIT 1 Date : 2025-04-15T13:30:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-15T13:30:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003735 post PendingInvicesDO 2 MED-141004376 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004376 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61c58db6-d64b-4b12-9fe7-f24d43da8c4a' LIMIT 1 Date : 2025-04-15T13:48:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T13:48:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003736 post PendingInvicesDO 2 MED-141004377 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004377 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03fb1956-f4eb-43f8-b9ac-0711832dc085' LIMIT 1 Date : 2025-04-15T13:59:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T13:59:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003737 post PendingInvicesDO 2 MED-141004378 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004378 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b93da9a-a6f5-4903-bd57-06b5e9e447ed' LIMIT 1 Date : 2025-04-15T14:16:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T14:16:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003738 post PendingInvicesDO 2 MED-141004379 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004379 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9714cad5-dea5-4e97-83d7-4ccd79ebf109' LIMIT 1 Date : 2025-04-15T14:26:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T14:26:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003739 post PendingInvicesDO 2 MED-141004380 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004380 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0de4c4a-7af1-493a-8fb6-745bcc8e6bb8' LIMIT 1 Date : 2025-04-15T14:35:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T14:35:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003740 post PendingInvicesDO 2 MED-141004381 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004381 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='363fd9b7-52c5-4b84-992f-0d22e6f3918b' LIMIT 1 Date : 2025-04-15T14:59:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T14:59:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003741 post PendingInvicesDO 2 MED-141004382 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004382 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0eb8ccbc-192a-4c57-9ad4-7fda7bf8465b' LIMIT 1 Date : 2025-04-15T15:14:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T15:14:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003742 post PendingInvicesDO 2 MED-141004383 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004383 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af99073b-ea0d-4bac-b9c3-ab78b84e78c6' LIMIT 1 Date : 2025-04-15T16:09:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T16:09:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003744 post PendingInvicesDO 2 MED-141004385 post PendingInvicesDO 2 MED-141004384 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003743 post PendingInvicesDO 2 MED-141004385 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004384 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004385 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0c5d148-6bf6-4b2b-b4dd-cbe4a6668009' LIMIT 1 Date : 2025-04-15T19:01:01  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e63943c-add4-492d-b4eb-6f5ae6623142' LIMIT 1 Date : 2025-04-15T19:01:01  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0c5d148-6bf6-4b2b-b4dd-cbe4a6668009' LIMIT 1 Date : 2025-04-15T19:01:01  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e63943c-add4-492d-b4eb-6f5ae6623142' LIMIT 1 Date : 2025-04-15T19:01:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-15T19:01:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003745 post PendingInvicesDO 2 MED-141004386 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004386 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0ab4542-5420-4990-8b38-f637574c70a7' LIMIT 1 Date : 2025-04-15T19:48:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T19:48:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003746 post PendingInvicesDO 2 MED-141004387 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004387 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e950e92-ca7d-4ea5-aae3-948bc1962732' LIMIT 1 Date : 2025-04-15T20:34:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T20:34:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003747 post PendingInvicesDO 2 MED-141004389 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004389 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='311d783c-1710-43b7-9510-f240ab8b3992' LIMIT 1 Date : 2025-04-16T09:20:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T09:20:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003748 post PendingInvicesDO 2 MED-141004393 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004393 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b8cd91d-4f66-4095-88ca-ac114ec0c301' LIMIT 1 Date : 2025-04-16T12:01:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T12:01:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003749 post PendingInvicesDO 2 MED-141004394 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004394 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffbcb322-407d-4139-a451-1f000fa215e7' LIMIT 1 Date : 2025-04-16T12:21:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T12:21:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003750 post PendingInvicesDO 2 MED-141004395 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004395 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3674ba76-464d-42fc-89eb-0e9c53ed1431' LIMIT 1 Date : 2025-04-16T13:31:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T13:31:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003751 post PendingInvicesDO 2 MED-141004396 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004396 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc2e1e97-c326-4dcd-8ade-14d7bbee0238' LIMIT 1 Date : 2025-04-16T14:12:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T14:12:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003752 post PendingInvicesDO 2 MED-141004392 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004392 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004392' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004392' OR OrderId='MED-141004392' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-16T23:10:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003753 post PendingInvicesDO 2 MED-141004397 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004397 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fb775e9-1ffb-4316-9d00-226dc8f2ea17' LIMIT 1 Date : 2025-04-17T07:31:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T07:31:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003754 post PendingInvicesDO 2 MED-141004400 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004400 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3508150a-0d31-4924-a75a-ef9dd54c0473' LIMIT 1 Date : 2025-04-17T08:40:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T08:40:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003755 post PendingInvicesDO 2 MED-141004401 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004401 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='805b8917-ba20-4b1c-b501-4d029aa6e0c3' LIMIT 1 Date : 2025-04-17T08:52:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T08:52:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003756 post PendingInvicesDO 2 MED-141004402 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004402 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e5f2184-c41d-4f6f-af63-c93693899586' LIMIT 1 Date : 2025-04-17T09:07:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T09:07:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003757 post PendingInvicesDO 2 MED-141004403 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004403 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09739652-19ec-4e21-ad36-8b891b460629' LIMIT 1 Date : 2025-04-17T09:45:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T09:45:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003758 post PendingInvicesDO 2 MED-141004404 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004404 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4522b2c6-628c-457e-9b4a-4967681e133f' LIMIT 1 Date : 2025-04-17T10:01:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T10:01:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003759 post PendingInvicesDO 2 MED-141004405 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004405 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='801b2360-d388-4143-ad51-6c7d3ca67ef4' LIMIT 1 Date : 2025-04-17T10:20:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T10:20:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003760 post PendingInvicesDO 2 MED-141004406 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004406 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c24c8fd-82d6-47d7-b839-fcc643535816' LIMIT 1 Date : 2025-04-17T10:40:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T10:40:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003761 post PendingInvicesDO 2 MED-141004407 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004407 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b7da1a0-1b17-4b0d-a6ee-f36664704836' LIMIT 1 Date : 2025-04-17T11:29:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T11:29:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003762 post PendingInvicesDO 2 MED-141004408 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004408 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='656765a6-0ed0-4693-ada0-0d8e778af41d' LIMIT 1 Date : 2025-04-17T11:56:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T11:56:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003763 post PendingInvicesDO 2 MED-141004409 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004409 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c08198b6-9e16-4846-9e16-1718e3b8511f' LIMIT 1 Date : 2025-04-17T12:28:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T12:28:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003764 post PendingInvicesDO 2 MED-141004372 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004372 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004372' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004372' OR OrderId='MED-141004372' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-17T13:59:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003765 post PendingInvicesDO 2 MED-141004411 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004411 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ca4f26d-9ee1-4b1f-847f-fc0a4e96b703' LIMIT 1 Date : 2025-04-17T14:20:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T14:20:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003766 post PendingInvicesDO 2 MED-141004412 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004412 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c1d0d89-8e41-49d5-8fd4-92c561713c07' LIMIT 1 Date : 2025-04-17T15:22:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T15:22:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003767 post PendingInvicesDO 2 MED-141004413 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004413 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e06f00c-4b96-44a0-b396-17e802bbb6c0' LIMIT 1 Date : 2025-04-17T16:00:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T16:00:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003768 post PendingInvicesDO 2 MED-141004414 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004414 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='821cd2d5-1853-43e5-a72b-7fb942ffb987' LIMIT 1 Date : 2025-04-17T17:24:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T17:24:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003769 post PendingInvicesDO 2 MED-141004415 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004415 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='980f2dda-04ba-43dd-808b-7e94b31cfa39' LIMIT 1 Date : 2025-04-17T21:28:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T21:28:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003770 post PendingInvicesDO 2 MED-141004418 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004418 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3538ce3e-1cfd-4f81-ab5e-05e3f2eaff63' LIMIT 1 Date : 2025-04-18T19:12:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-18T19:12:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003771 post PendingInvicesDO 2 MED-141004419 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004419 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3d9fded-77c5-4997-a290-96514ef67a2e' LIMIT 1 Date : 2025-04-18T20:00:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-18T20:00:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003772 post PendingInvicesDO 2 MED-141004425 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004425 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb495705-5394-4914-962f-edae7b98045a' LIMIT 1 Date : 2025-04-19T11:46:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T11:46:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003773 post PendingInvicesDO 2 MED-141004427 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004427 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29db3145-83e6-4c61-bb4a-4622bbc9460a' LIMIT 1 Date : 2025-04-19T13:48:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T13:48:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003774 post PendingInvicesDO 2 MED-141004428 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004428 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a1d69d1-6e6d-4557-adaf-cfdeebe6862a' LIMIT 1 Date : 2025-04-19T14:30:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T14:30:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003775 post PendingInvicesDO 2 MED-141004429 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004429 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0da0b0ea-87bc-4fdf-b8f6-66d10600e7e0' LIMIT 1 Date : 2025-04-19T15:44:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T15:44:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003776 post PendingInvicesDO 2 MED-141004430 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004430 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66e6f24f-11dc-48c2-9f29-8e7594b8fbc5' LIMIT 1 Date : 2025-04-19T16:48:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T16:48:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003777 post PendingInvicesDO 2 MED-141004431 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004431 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c999d6a0-644e-42ab-850e-fbb4ac7e5977' LIMIT 1 Date : 2025-04-19T17:23:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T17:23:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003778 post PendingInvicesDO 2 MED-141004432 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004432 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0202714-378a-45a5-859d-d222210f669f' LIMIT 1 Date : 2025-04-19T17:49:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T17:49:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003779 post PendingInvicesDO 2 MED-141004433 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004433 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='edea5ae6-d885-4595-ac45-08ec6bdf6872' LIMIT 1 Date : 2025-04-19T22:21:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T22:21:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003780 post PendingInvicesDO 2 MED-141004434 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004434 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='958018a3-ba25-421f-a252-cafd6d8eb341' LIMIT 1 Date : 2025-04-19T22:29:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T22:29:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003781 post PendingInvicesDO 2 MED-141004435 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004435 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9079ac4-e73b-49d9-b24e-08e70a27b968' LIMIT 1 Date : 2025-04-19T22:48:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T22:48:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003782 post PendingInvicesDO 2 MED-141004436 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004436 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c49392e1-1c6c-403e-9dca-17280c7a1dea' LIMIT 1 Date : 2025-04-19T23:03:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T23:03:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003783 post PendingInvicesDO 2 MED-141004442 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004442 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51df2743-d137-41c5-94bf-c98f9124a3b5' LIMIT 1 Date : 2025-04-20T13:49:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-20T13:49:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003784 post PendingInvicesDO 2 MED-141004443 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004443 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e13767fe-1446-475e-8b49-106c845a2410' LIMIT 1 Date : 2025-04-20T14:56:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-20T14:56:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003785 post PendingInvicesDO 2 MED-141004444 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004444 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26922351-0d57-4e07-845d-ccd83c9819c2' LIMIT 1 Date : 2025-04-20T15:09:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-20T15:09:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003786 post PendingInvicesDO 2 MED-141004445 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004445 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e77d60d-35eb-4753-87a9-f1391559e0db' LIMIT 1 Date : 2025-04-20T15:41:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-20T15:41:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003787 post PendingInvicesDO 2 MED-141004446 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004446 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b945785b-cdce-43d8-bec2-2781dba420a0' LIMIT 1 Date : 2025-04-20T16:05:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-20T16:05:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003788 post PendingInvicesDO 2 MED-141004447 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004447 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='206d7164-85ac-4178-af17-a7d3fcd259b0' LIMIT 1 Date : 2025-04-20T16:44:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-20T16:44:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003789 post PendingInvicesDO 2 MED-141004448 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004448 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c449ae67-a2a6-4736-877c-52855f40b00f' LIMIT 1 Date : 2025-04-20T16:50:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-20T16:50:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003790 post PendingInvicesDO 2 MED-141004449 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004449 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='511a05ab-9f55-49e6-8675-27cb623be04c' LIMIT 1 Date : 2025-04-20T16:52:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-20T16:52:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003791 post PendingInvicesDO 2 MED-141004450 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004450 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffceb73c-e8bc-4be5-810c-8cf5701c0f5c' LIMIT 1 Date : 2025-04-20T17:05:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-20T17:05:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003792 post PendingInvicesDO 2 MED-141004451 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004451 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e72a15d4-1ad3-47cb-b7e1-31abfcb51fcf' LIMIT 1 Date : 2025-04-20T21:40:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-20T21:40:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003793 post PendingInvicesDO 2 MED-141004452 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004452 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5c79a72-209b-4193-a382-bbcf7797abf9' LIMIT 1 Date : 2025-04-21T07:54:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T07:54:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003794 post PendingInvicesDO 2 MED-141004453 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004453 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d06a4851-6bf9-4915-8d77-fc75aa55f6c3' LIMIT 1 Date : 2025-04-21T08:43:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T08:43:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003795 post PendingInvicesDO 2 MED-141004454 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004454 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a21a7818-ecbb-4b2f-b473-c98ffae38a15' LIMIT 1 Date : 2025-04-21T09:21:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T09:21:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003796 post PendingInvicesDO 2 MED-141004456 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004456 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6d00a1c-b056-4c58-8b0f-65dfe5eed840' LIMIT 1 Date : 2025-04-21T11:12:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T11:12:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003797 post PendingInvicesDO 2 MED-141004457 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004457 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2d3074f-a83c-4d56-a778-4c7a15ccf90b' LIMIT 1 Date : 2025-04-21T11:33:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T11:33:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003798 post PendingInvicesDO 2 MED-141004458 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004458 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11cea67a-55d0-4be8-a4c6-1d6eeef46f29' LIMIT 1 Date : 2025-04-21T12:01:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T12:01:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003799 post PendingInvicesDO 2 MED-141004459 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004459 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eeaa2dfd-bc34-4fbe-9f89-c374166c1c4d' LIMIT 1 Date : 2025-04-21T12:56:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T12:56:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003800 post PendingInvicesDO 2 MED-141004460 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004460 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='031a7fa8-7ccd-4352-aed4-206a2b299560' LIMIT 1 Date : 2025-04-21T13:03:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T13:03:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003802 post PendingInvicesDO 2 MED-141004462 post PendingInvicesDO 2 MED-141004461 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003801 post PendingInvicesDO 2 MED-141004462 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004461 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004462 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bcd161da-cbc9-4361-b246-d5168bb2dc73' LIMIT 1 Date : 2025-04-21T13:28:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5dac744e-c476-4a22-bc78-6ab2007afb62' LIMIT 1 Date : 2025-04-21T13:28:25  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bcd161da-cbc9-4361-b246-d5168bb2dc73' LIMIT 1 Date : 2025-04-21T13:28:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5dac744e-c476-4a22-bc78-6ab2007afb62' LIMIT 1 Date : 2025-04-21T13:28:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-21T13:28:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003803 post PendingInvicesDO 2 MED-141004463 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004463 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49f75e8d-11c1-4ee9-abad-3c90edbce02d' LIMIT 1 Date : 2025-04-21T14:01:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T14:01:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003804 post PendingInvicesDO 2 MED-141004464 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004464 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e8b8150-071a-418f-ac76-dfa3a22699aa' LIMIT 1 Date : 2025-04-21T14:26:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T14:26:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003805 post PendingInvicesDO 2 MED-141004465 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004465 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b792644-eb2c-4d62-950a-0cbafc3eb5a1' LIMIT 1 Date : 2025-04-21T15:08:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T15:08:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003806 post PendingInvicesDO 2 MED-141004466 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004466 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='457ea829-e455-49a8-9e8a-91369f91d32f' LIMIT 1 Date : 2025-04-21T15:24:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T15:24:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003807 post PendingInvicesDO 2 MED-141004315 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004315 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004315' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004315' OR OrderId='MED-141004315' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-21T15:47:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003808 post PendingInvicesDO 2 MED-141004467 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004467 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a36274f-39e8-48a0-b374-39f5d86e3de7' LIMIT 1 Date : 2025-04-21T15:48:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T15:48:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003809 post PendingInvicesDO 2 MED-141004469 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004469 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004469' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004469' OR OrderId='MED-141004469' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-22T08:36:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003810 post PendingInvicesDO 2 MED-141004474 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004474 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7dafe43-1f26-45b3-9311-61704ba709ff' LIMIT 1 Date : 2025-04-22T10:57:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-22T10:57:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003811 post PendingInvicesDO 2 MED-141004475 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004475 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccb24b0a-a506-445c-8c4e-151d7a55826e' LIMIT 1 Date : 2025-04-22T12:57:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-22T12:57:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003813 post PendingInvicesDO 2 MED-141004477 post PendingInvicesDO 2 MED-141004476 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003812 post PendingInvicesDO 2 MED-141004477 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004476 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004477 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7f06c00-1204-4c1e-ad83-c17c9e077815' LIMIT 1 Date : 2025-04-22T13:22:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6b5f50f-5bfc-4a86-afe7-91c87f2eb32a' LIMIT 1 Date : 2025-04-22T13:22:54  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7f06c00-1204-4c1e-ad83-c17c9e077815' LIMIT 1 Date : 2025-04-22T13:22:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6b5f50f-5bfc-4a86-afe7-91c87f2eb32a' LIMIT 1 Date : 2025-04-22T13:22:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-22T13:22:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003814 post PendingInvicesDO 2 MED-141004478 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004478 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd67e1c3-10fb-41d2-b4fd-212344c055f1' LIMIT 1 Date : 2025-04-22T13:35:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-22T13:35:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003816 post PendingInvicesDO 2 MED-141004480 post PendingInvicesDO 2 MED-141004479 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003815 post PendingInvicesDO 2 MED-141004480 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004479 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004480 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6843a6db-9e89-4245-afd7-a56174c9fbe2' LIMIT 1 Date : 2025-04-22T13:47:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='039ddfc0-8222-4306-90f9-b0215633d859' LIMIT 1 Date : 2025-04-22T13:47:23  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6843a6db-9e89-4245-afd7-a56174c9fbe2' LIMIT 1 Date : 2025-04-22T13:47:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='039ddfc0-8222-4306-90f9-b0215633d859' LIMIT 1 Date : 2025-04-22T13:47:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-22T13:47:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003817 post PendingInvicesDO 2 MED-141004481 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004481 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e50d982-9b09-4096-be46-b6270e3dfe95' LIMIT 1 Date : 2025-04-22T14:01:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-22T14:01:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003819 post PendingInvicesDO 2 MED-141004483 post PendingInvicesDO 2 MED-141004482 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003818 post PendingInvicesDO 2 MED-141004483 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004482 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004483 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8de426da-54a5-4d4e-9c0a-8fc0ced24a5a' LIMIT 1 Date : 2025-04-22T14:17:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db75e701-04fa-4896-ba1f-f31d09e4ef0b' LIMIT 1 Date : 2025-04-22T14:17:33  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8de426da-54a5-4d4e-9c0a-8fc0ced24a5a' LIMIT 1 Date : 2025-04-22T14:17:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db75e701-04fa-4896-ba1f-f31d09e4ef0b' LIMIT 1 Date : 2025-04-22T14:17:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-22T14:17:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003820 post PendingInvicesDO 2 MED-141004484 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004484 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='804a953c-3565-4216-a20c-3cae8045d350' LIMIT 1 Date : 2025-04-22T14:56:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-22T14:56:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003821 post PendingInvicesDO 2 MED-141004485 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004485 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b17e87e5-2b99-42ea-ae59-5cc9fd8073d2' LIMIT 1 Date : 2025-04-22T15:26:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-22T15:26:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003822 post PendingInvicesDO 2 MED-141004486 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004486 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8f41f6e-879f-4473-b585-17b4141324eb' LIMIT 1 Date : 2025-04-22T16:04:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-22T16:04:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003823 post PendingInvicesDO 2 MED-141004487 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004487 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fbac2293-590e-41b1-89c7-d837ab3488a0' LIMIT 1 Date : 2025-04-22T16:07:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-22T16:07:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003824 post PendingInvicesDO 2 MED-141004488 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004488 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004488' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004488' OR OrderId='MED-141004488' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-22T22:17:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003825 post PendingInvicesDO 2 MED-141004489 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004489 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ad382dc-e638-4f05-8dbd-93d35d2f0a22' LIMIT 1 Date : 2025-04-22T22:29:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-22T22:29:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003826 post PendingInvicesDO 2 MED-141004468 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004468 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004468' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004468' OR OrderId='MED-141004468' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-22T23:50:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003827 post PendingInvicesDO 2 MED-141003963 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003963 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003963' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003963' OR OrderId='MED-141003963' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-22T23:51:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003828 post PendingInvicesDO 2 MED-141004493 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004493 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68dc66d1-af3a-49b3-b2dd-778e5c85ba08' LIMIT 1 Date : 2025-04-23T10:52:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T10:52:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003829 post PendingInvicesDO 2 MED-141004494 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004494 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='54181593-c5e1-44bb-a1c3-85a3b51b2311' LIMIT 1 Date : 2025-04-23T11:09:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T11:09:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003831 post PendingInvicesDO 2 MED-141004496 post PendingInvicesDO 2 MED-141004495 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003830 post PendingInvicesDO 2 MED-141004496 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004495 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004496 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9755544-7a0c-4b2b-810f-4e0a0689b73d' LIMIT 1 Date : 2025-04-23T11:46:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa116920-d49a-4108-9bf8-18e78101517a' LIMIT 1 Date : 2025-04-23T11:46:52  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9755544-7a0c-4b2b-810f-4e0a0689b73d' LIMIT 1 Date : 2025-04-23T11:46:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa116920-d49a-4108-9bf8-18e78101517a' LIMIT 1 Date : 2025-04-23T11:46:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-23T11:46:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003832 post PendingInvicesDO 2 MED-141004497 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004497 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94c10a98-dd8a-46cf-9f6e-0136d3c75012' LIMIT 1 Date : 2025-04-23T12:18:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T12:18:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003833 post PendingInvicesDO 2 MED-141004498 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004498 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c6a0598-54f8-4e55-882f-e959ad064c92' LIMIT 1 Date : 2025-04-23T12:44:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T12:44:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003834 post PendingInvicesDO 2 MED-141004499 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004499 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ef343ae-576f-4a14-b5f4-f488390870a5' LIMIT 1 Date : 2025-04-23T14:01:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T14:01:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003835 post PendingInvicesDO 2 MED-141004500 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004500 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4c25999-7909-4a14-80f5-c10c7f3a7fe6' LIMIT 1 Date : 2025-04-23T14:28:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T14:28:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003837 post PendingInvicesDO 2 MED-141004502 post PendingInvicesDO 2 MED-141004501 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003836 post PendingInvicesDO 2 MED-141004502 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004501 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004502 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='590c8ba5-de95-4100-8be1-23cafe0f094f' LIMIT 1 Date : 2025-04-24T08:35:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='594c795f-979a-4205-bc72-6ea85062adc1' LIMIT 1 Date : 2025-04-24T08:35:25  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='590c8ba5-de95-4100-8be1-23cafe0f094f' LIMIT 1 Date : 2025-04-24T08:35:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='594c795f-979a-4205-bc72-6ea85062adc1' LIMIT 1 Date : 2025-04-24T08:35:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-24T08:35:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003838 post PendingInvicesDO 2 MED-141004503 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004503 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a10f435-36ec-4982-94ec-956f3319f88a' LIMIT 1 Date : 2025-04-24T08:57:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T08:57:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003839 post PendingInvicesDO 2 MED-141004504 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004504 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a06744de-c894-4855-8984-fcc6f356ceba' LIMIT 1 Date : 2025-04-24T09:17:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T09:17:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003840 post PendingInvicesDO 2 MED-141004505 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004505 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04b6e7e7-4f4e-48a4-a278-4b2c01e7ee9f' LIMIT 1 Date : 2025-04-24T09:34:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T09:34:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003841 post PendingInvicesDO 2 MED-141004506 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004506 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e56a6efb-e1b2-4de9-83c3-32e2c1307fa6' LIMIT 1 Date : 2025-04-24T09:51:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T09:51:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003842 post PendingInvicesDO 2 MED-141004507 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004507 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='faa4794b-71f5-49a7-b5a6-353bfcafecda' LIMIT 1 Date : 2025-04-24T10:07:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T10:07:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003844 post PendingInvicesDO 2 MED-141004509 post PendingInvicesDO 2 MED-141004508 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003843 post PendingInvicesDO 2 MED-141004509 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004508 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004509 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed83bb4d-4598-40ef-a85d-6ddc81f260bd' LIMIT 1 Date : 2025-04-24T10:34:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1eabfecc-ef21-4aca-80fc-491927874548' LIMIT 1 Date : 2025-04-24T10:34:35  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed83bb4d-4598-40ef-a85d-6ddc81f260bd' LIMIT 1 Date : 2025-04-24T10:34:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1eabfecc-ef21-4aca-80fc-491927874548' LIMIT 1 Date : 2025-04-24T10:34:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-24T10:34:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003846 post PendingInvicesDO 2 MED-141004512 post PendingInvicesDO 2 MED-141004511 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003845 post PendingInvicesDO 2 MED-141004512 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004511 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004512 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='274c247d-d91e-4a45-8a5b-d1761d505b9d' LIMIT 1 Date : 2025-04-24T11:16:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4187af8-a16e-4cf8-a4e9-5cbe8f6d2404' LIMIT 1 Date : 2025-04-24T11:16:46  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='274c247d-d91e-4a45-8a5b-d1761d505b9d' LIMIT 1 Date : 2025-04-24T11:16:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4187af8-a16e-4cf8-a4e9-5cbe8f6d2404' LIMIT 1 Date : 2025-04-24T11:16:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-24T11:16:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003847 post PendingInvicesDO 2 MED-141004513 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004513 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa9434bd-d64f-4e18-a912-82e4543ea14e' LIMIT 1 Date : 2025-04-24T11:35:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T11:35:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003848 post PendingInvicesDO 2 MED-141004514 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004514 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3df18409-54b6-4e07-911d-1a46beab3c25' LIMIT 1 Date : 2025-04-24T11:57:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T11:57:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003849 post PendingInvicesDO 2 MED-141004515 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004515 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bba38ae1-498a-417c-b140-523f275e3367' LIMIT 1 Date : 2025-04-24T13:00:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T13:00:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003850 post PendingInvicesDO 2 MED-141004516 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004516 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8cecbe57-670b-409b-8eb2-d4e12282265d' LIMIT 1 Date : 2025-04-24T13:12:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T13:12:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003851 post PendingInvicesDO 2 MED-141004517 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004517 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5c84e2d-44fc-42b0-820f-b68a1b45807e' LIMIT 1 Date : 2025-04-24T13:36:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T13:36:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003852 post PendingInvicesDO 2 MED-141004518 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004518 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f805df8-88ed-4ca2-a429-00eb5566ddb6' LIMIT 1 Date : 2025-04-24T14:04:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T14:04:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003853 post PendingInvicesDO 2 MED-141004519 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004519 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='30829a73-b7f5-430e-b914-a6661db8f886' LIMIT 1 Date : 2025-04-24T15:18:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T15:18:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003854 post PendingInvicesDO 2 MED-141004520 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004520 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de463427-b829-4644-8482-6513bbbc7633' LIMIT 1 Date : 2025-04-24T16:03:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T16:03:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003856 post PendingInvicesDO 2 MED-141004399 post PendingInvicesDO 2 MED-141004398 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003855 post PendingInvicesDO 2 MED-141004399 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004398 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004399 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004399' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004399' OR OrderId='MED-141004399' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004399' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004399' OR OrderId='MED-141004399' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-24T16:14:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003857 post PendingInvicesDO 2 MED-141003775 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003775 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003775' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003775' OR OrderId='MED-141003775' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-24T22:51:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003858 post PendingInvicesDO 2 MED-141004522 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004522 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cfe24b62-d886-48b5-be73-b0181086f7a4' LIMIT 1 Date : 2025-04-25T10:12:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T10:12:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003859 post PendingInvicesDO 2 MED-141004523 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004523 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12324aba-6806-470f-a0c2-e061a99b5c05' LIMIT 1 Date : 2025-04-25T10:48:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T10:48:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003860 post PendingInvicesDO 2 MED-141004524 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004524 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cee0400b-1006-49dc-98ba-84c3a1c581b3' LIMIT 1 Date : 2025-04-25T10:58:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T10:58:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003861 post PendingInvicesDO 2 MED-141004525 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004525 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e70e435-7ae8-47d3-8d35-ee1553941ab0' LIMIT 1 Date : 2025-04-25T13:50:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T13:50:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003862 post PendingInvicesDO 2 MED-141004526 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004526 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2dd903fb-d3a0-439f-a06d-7d4c132f3790' LIMIT 1 Date : 2025-04-25T14:13:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T14:13:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003863 post PendingInvicesDO 2 MED-141004527 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004527 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47d397bc-2eba-48fb-ac8d-a8f49c1ee3a4' LIMIT 1 Date : 2025-04-25T17:06:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T17:06:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003865 post PendingInvicesDO 2 MED-141004529 post PendingInvicesDO 2 MED-141004528 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003864 post PendingInvicesDO 2 MED-141004529 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004528 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004529 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf0f15c2-66d9-4c41-a285-912be58f2d82' LIMIT 1 Date : 2025-04-25T17:28:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='298b4b0d-1263-42f4-8836-6f703545f9a0' LIMIT 1 Date : 2025-04-25T17:28:44  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf0f15c2-66d9-4c41-a285-912be58f2d82' LIMIT 1 Date : 2025-04-25T17:28:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='298b4b0d-1263-42f4-8836-6f703545f9a0' LIMIT 1 Date : 2025-04-25T17:28:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-25T17:28:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003866 post PendingInvicesDO 2 MED-141004530 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004530 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e829ceba-eb0a-4de5-923c-4b5741fa563d' LIMIT 1 Date : 2025-04-25T18:12:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T18:12:20 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003867 post PendingInvicesDO 2 MED-141004510 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004510 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004510' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004510' OR OrderId='MED-141004510' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-25T20:02:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003868 post PendingInvicesDO 2 MED-141004223 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004223 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004223' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004223' OR OrderId='MED-141004223' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-25T22:31:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003869 post PendingInvicesDO 2 MED-141004532 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004532 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da486b17-93dc-4d6f-b9cb-a8e34df14be8' LIMIT 1 Date : 2025-04-26T07:45:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T07:45:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003870 post PendingInvicesDO 2 MED-141004536 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004536 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db989403-ff6b-494e-8dc3-b974446c0cb7' LIMIT 1 Date : 2025-04-26T10:03:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T10:03:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003871 post PendingInvicesDO 2 MED-141004538 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004538 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e59d846-fa0e-4187-9580-779f2dfc29b8' LIMIT 1 Date : 2025-04-26T11:31:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T11:31:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003873 post PendingInvicesDO 2 MED-141004541 post PendingInvicesDO 2 MED-141004540 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003872 post PendingInvicesDO 2 MED-141004541 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004540 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004541 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='065e8e71-a40b-4b90-a04f-41d239310cda' LIMIT 1 Date : 2025-04-26T13:18:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21f163af-d16b-4da8-a36c-21af5976e827' LIMIT 1 Date : 2025-04-26T13:18:48  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='065e8e71-a40b-4b90-a04f-41d239310cda' LIMIT 1 Date : 2025-04-26T13:18:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21f163af-d16b-4da8-a36c-21af5976e827' LIMIT 1 Date : 2025-04-26T13:18:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-26T13:18:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003874 post PendingInvicesDO 2 MED-141004542 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004542 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='872ce33a-e255-413d-be6c-13a3ed01bb95' LIMIT 1 Date : 2025-04-26T15:00:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T15:00:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003875 post PendingInvicesDO 2 MED-141004543 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004543 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3e2aab8-0275-4d8d-81e9-d21dd8a53e80' LIMIT 1 Date : 2025-04-26T15:44:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T15:44:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003876 post PendingInvicesDO 2 MED-141004545 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004545 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd909498-14ab-4aad-b651-a67b2244e7cb' LIMIT 1 Date : 2025-04-26T17:16:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T17:16:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003877 post PendingInvicesDO 2 MED-141004546 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004546 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='409fc12e-3ddf-4ecb-8a02-8f8f51f309ec' LIMIT 1 Date : 2025-04-26T17:52:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T17:52:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003878 post PendingInvicesDO 2 MED-141004547 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004547 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb97961b-4fb0-4639-a642-2a327ec45902' LIMIT 1 Date : 2025-04-26T18:06:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T18:06:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003879 post PendingInvicesDO 2 MED-141004548 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004548 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1eafc6a2-cdc2-405e-bfe4-b86b49a71e9d' LIMIT 1 Date : 2025-04-26T18:23:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T18:23:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003880 post PendingInvicesDO 2 MED-141004549 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004549 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ff34ceb-97bc-47c8-a5c5-f324adcd9b93' LIMIT 1 Date : 2025-04-26T22:13:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T22:13:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003881 post PendingInvicesDO 2 MED-141004554 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004554 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db549c07-2986-46e0-a2cf-725965691044' LIMIT 1 Date : 2025-04-27T13:18:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-27T13:18:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003882 post PendingInvicesDO 2 MED-141004555 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004555 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37a3b015-1842-4259-89ca-e2683b76053e' LIMIT 1 Date : 2025-04-27T13:40:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-27T13:40:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003883 post PendingInvicesDO 2 MED-141004556 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004556 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70882b54-31a7-43f4-8041-0fc3e539e0ca' LIMIT 1 Date : 2025-04-27T14:33:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-27T14:33:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003884 post PendingInvicesDO 2 MED-141004557 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004557 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c12bcda-10df-4369-b26d-0efc4e0b5cf4' LIMIT 1 Date : 2025-04-27T15:14:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-27T15:14:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003885 post PendingInvicesDO 2 MED-141004558 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004558 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='678e150c-3633-410b-b872-30e041160234' LIMIT 1 Date : 2025-04-27T16:21:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-27T16:21:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003886 post PendingInvicesDO 2 MED-141004559 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004559 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2da95c9-0dc2-4b00-9720-0affb9a66936' LIMIT 1 Date : 2025-04-27T16:42:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-27T16:42:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003887 post PendingInvicesDO 2 MED-141004561 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004561 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62d9a953-94ef-4bab-9891-7a07dabfeb8e' LIMIT 1 Date : 2025-04-28T07:28:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-28T07:28:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003888 post PendingInvicesDO 2 MED-141004566 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004566 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17ca0126-39e7-4c9c-b4a1-703628f274da' LIMIT 1 Date : 2025-04-28T11:16:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-28T11:16:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003889 post PendingInvicesDO 2 MED-141004567 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004567 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='867b728a-ab99-4e12-aebb-3abf51117d13' LIMIT 1 Date : 2025-04-28T11:56:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-28T11:56:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003890 post PendingInvicesDO 2 MED-141004568 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004568 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4148e013-d0b3-4d5a-b74d-03e044612527' LIMIT 1 Date : 2025-04-28T13:11:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-28T13:11:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003891 post PendingInvicesDO 2 MED-141004569 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004569 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eace2a39-8805-4843-b5e9-67225cc00f93' LIMIT 1 Date : 2025-04-28T13:56:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-28T13:56:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003892 post PendingInvicesDO 2 MED-141004570 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004570 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74428395-f8e6-44e0-9f7a-fb4a03e0c9ea' LIMIT 1 Date : 2025-04-28T14:28:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-28T14:28:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003893 post PendingInvicesDO 2 MED-141004571 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004571 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34b0bad5-963b-4921-9724-6d1154ffe286' LIMIT 1 Date : 2025-04-28T16:13:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-28T16:13:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003894 post PendingInvicesDO 2 MED-141004410 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004410 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004410' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004410' OR OrderId='MED-141004410' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-28T17:26:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003895 post PendingInvicesDO 2 MED-141004574 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004574 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a056c32-90d1-46ed-bed4-dc55b6e24585' LIMIT 1 Date : 2025-04-29T08:23:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T08:23:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003896 post PendingInvicesDO 2 MED-141004575 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004575 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3c2a597-e2d5-4663-b465-dd21bbaad783' LIMIT 1 Date : 2025-04-29T08:28:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T08:28:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003897 post PendingInvicesDO 2 MED-141004576 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004576 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d494b0b-a966-4f4c-b143-05a8c5661339' LIMIT 1 Date : 2025-04-29T09:04:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T09:04:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003898 post PendingInvicesDO 2 MED-141004577 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004577 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee998338-6cf5-493b-a313-a7b05a904de5' LIMIT 1 Date : 2025-04-29T10:08:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T10:08:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003899 post PendingInvicesDO 2 MED-141004579 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004579 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4f243be-43e3-4482-9dde-4af9a65b7994' LIMIT 1 Date : 2025-04-29T11:25:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T11:25:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003900 post PendingInvicesDO 2 MED-141004581 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004581 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c33f92af-dcf3-4bd4-adbe-88cfd6387dc5' LIMIT 1 Date : 2025-04-29T13:41:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T13:41:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003901 post PendingInvicesDO 2 MED-141004582 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004582 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45db6042-0944-4fc3-9d16-4c7090690f89' LIMIT 1 Date : 2025-04-29T14:15:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T14:15:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003902 post PendingInvicesDO 2 MED-141004583 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004583 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f81fa7b2-e223-4138-a135-19ea83d7bdcd' LIMIT 1 Date : 2025-04-29T14:31:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T14:31:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003903 post PendingInvicesDO 2 MED-141004584 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004584 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5cb24205-e851-4579-b4e3-6e7cfbb18737' LIMIT 1 Date : 2025-04-29T15:01:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T15:01:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003904 post PendingInvicesDO 2 MED-141004588 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004588 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7cb0a12e-1842-4fdd-b017-b8954b99e6d2' LIMIT 1 Date : 2025-04-29T20:57:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T20:57:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003905 post PendingInvicesDO 2 MED-141004589 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004589 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='628cc582-8f81-4b85-aa2d-8e86dbe4dbdd' LIMIT 1 Date : 2025-04-29T21:25:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T21:25:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003906 post PendingInvicesDO 2 MED-141004230 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004230 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004230' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004230' OR OrderId='MED-141004230' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-29T22:36:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003908 post PendingInvicesDO 2 MED-141004594 post PendingInvicesDO 2 MED-141004593 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003907 post PendingInvicesDO 2 MED-141004594 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004593 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004594 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3431f64e-24e2-451a-b4f9-1576c36b61a5' LIMIT 1 Date : 2025-04-30T10:27:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb7030a5-a8a3-4aa5-9731-590ae7b06205' LIMIT 1 Date : 2025-04-30T10:27:59  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3431f64e-24e2-451a-b4f9-1576c36b61a5' LIMIT 1 Date : 2025-04-30T10:27:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb7030a5-a8a3-4aa5-9731-590ae7b06205' LIMIT 1 Date : 2025-04-30T10:27:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-30T10:27:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003909 post PendingInvicesDO 2 MED-141004595 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004595 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ae3f8c1-ee6f-47ac-b778-7ef504ba0c37' LIMIT 1 Date : 2025-04-30T11:48:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T11:48:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003910 post PendingInvicesDO 2 MED-141004596 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004596 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='792772bc-09b5-4c21-9a29-951cdea62d82' LIMIT 1 Date : 2025-04-30T12:22:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T12:22:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003911 post PendingInvicesDO 2 MED-141004597 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004597 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d16f8621-92db-4d71-8fe7-82de8c902145' LIMIT 1 Date : 2025-04-30T12:49:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T12:49:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003912 post PendingInvicesDO 2 MED-141004598 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004598 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b411d973-de05-4ae8-93dc-6d73113692d3' LIMIT 1 Date : 2025-04-30T13:38:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T13:38:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003913 post PendingInvicesDO 2 MED-141004599 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004599 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48ed44e6-62d4-45ca-ac26-fc0288517ea8' LIMIT 1 Date : 2025-04-30T14:22:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T14:22:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003914 post PendingInvicesDO 2 MED-141004601 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004601 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd4c54ce-332c-488e-918a-e9f12bc36428' LIMIT 1 Date : 2025-04-30T18:21:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T18:21:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003915 post PendingInvicesDO 2 MED-141004602 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004602 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7186babf-52d6-4049-9d53-093bfa178735' LIMIT 1 Date : 2025-04-30T18:24:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T18:24:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003916 post PendingInvicesDO 2 MED-141004603 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004603 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c827d7f-c3dc-4117-85b9-4f4ba0e16269' LIMIT 1 Date : 2025-04-30T18:27:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T18:27:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003917 post PendingInvicesDO 2 MED-141004604 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004604 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='923a0b80-4fca-4229-97ef-ca5201758a76' LIMIT 1 Date : 2025-05-01T07:51:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T07:51:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003918 post PendingInvicesDO 2 MED-141004605 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004605 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06f31b4e-dd0a-4d62-854c-e482eefa6a68' LIMIT 1 Date : 2025-05-01T08:25:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T08:25:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003919 post PendingInvicesDO 2 MED-141004606 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004606 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b4b5397-d882-41c5-92b5-3a68af400c3a' LIMIT 1 Date : 2025-05-01T08:40:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T08:40:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003920 post PendingInvicesDO 2 MED-141004607 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004607 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7e0d1b0-42d6-4318-a1de-4a25299ecd52' LIMIT 1 Date : 2025-05-01T08:52:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T08:52:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003921 post PendingInvicesDO 2 MED-141004610 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004610 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10e5d51c-a259-4837-88e9-e4baea5a4141' LIMIT 1 Date : 2025-05-01T10:24:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T10:24:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003922 post PendingInvicesDO 2 MED-141004611 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004611 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d379ec43-e513-4dd8-9b4e-432bfd7fcbb7' LIMIT 1 Date : 2025-05-01T10:50:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T10:50:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003923 post PendingInvicesDO 2 MED-141004612 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004612 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c9d14de-effc-4628-a7a5-c28261f4ed4c' LIMIT 1 Date : 2025-05-01T11:19:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T11:19:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003924 post PendingInvicesDO 2 MED-141004613 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004613 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d5dbab4-4896-4265-84c1-f51d92be94f9' LIMIT 1 Date : 2025-05-01T11:49:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T11:49:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003925 post PendingInvicesDO 2 MED-141004614 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004614 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='616ca9bf-ec89-46c2-9939-946025e6ea1d' LIMIT 1 Date : 2025-05-01T12:14:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T12:14:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003926 post PendingInvicesDO 2 MED-141004615 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004615 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5aafc4f9-42e6-485c-8bcb-29f7eb9fa362' LIMIT 1 Date : 2025-05-01T12:59:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T12:59:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003927 post PendingInvicesDO 2 MED-141004616 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004616 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5065b2c3-56f7-4f9d-87a8-e4b721240888' LIMIT 1 Date : 2025-05-01T13:31:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T13:31:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003928 post PendingInvicesDO 2 MED-141004617 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004617 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f34f02d-2bf4-49cb-929d-7e6fd0c36f9e' LIMIT 1 Date : 2025-05-01T14:06:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T14:06:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003929 post PendingInvicesDO 2 MED-141004618 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004618 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5d38402-b002-4701-a9d0-9058e4fb138c' LIMIT 1 Date : 2025-05-01T14:31:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T14:31:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003930 post PendingInvicesDO 2 MED-141004619 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004619 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51775a5d-0edd-40fe-aea9-db53775b87d9' LIMIT 1 Date : 2025-05-01T14:36:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T14:36:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003931 post PendingInvicesDO 2 MED-141004620 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004620 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69f60a5e-8e6e-497e-9888-b4563051ff45' LIMIT 1 Date : 2025-05-01T14:51:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T14:51:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003932 post PendingInvicesDO 2 MED-141004621 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004621 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a64b98ed-59fe-4bd4-a646-f6959a22c27f' LIMIT 1 Date : 2025-05-01T15:05:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T15:05:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003933 post PendingInvicesDO 2 MED-141004622 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004622 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3a18d99-0ab7-4964-bcfb-253e1f23eea1' LIMIT 1 Date : 2025-05-01T15:15:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T15:15:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003934 post PendingInvicesDO 2 MED-141004623 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004623 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd18fd23-2a49-4606-a942-97c598ea279a' LIMIT 1 Date : 2025-05-01T15:39:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T15:40:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003935 post PendingInvicesDO 2 MED-141004624 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004624 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5a68676-c7da-4001-ab64-1e4dc487be5e' LIMIT 1 Date : 2025-05-01T15:55:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T15:55:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003936 post PendingInvicesDO 2 MED-141004625 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004625 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='616c7111-f483-4849-8fec-671c3685d159' LIMIT 1 Date : 2025-05-01T16:15:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T16:15:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003937 post PendingInvicesDO 2 MED-141004626 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004626 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f4c1d31-601b-40ba-9942-4c7022a810c7' LIMIT 1 Date : 2025-05-01T16:18:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T16:18:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003938 post PendingInvicesDO 2 MED-141004627 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004627 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d16e252a-ea2a-4def-8822-f72a09b9ab2c' LIMIT 1 Date : 2025-05-01T16:46:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T16:46:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003939 post PendingInvicesDO 2 MED-141004628 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004628 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56b57ffe-1f6b-414c-9fbd-3fda7b05e043' LIMIT 1 Date : 2025-05-01T18:11:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T18:11:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003940 post PendingInvicesDO 2 MED-141004629 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004629 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59aa2587-78e6-4bd8-b43e-f93d8fa78109' LIMIT 1 Date : 2025-05-01T22:11:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T22:11:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003941 post PendingInvicesDO 2 MED-141004630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fce6fa8-f2f9-4276-a494-da19349c403c' LIMIT 1 Date : 2025-05-02T15:32:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-02T15:32:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003942 post PendingInvicesDO 2 MED-141004631 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004631 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2dfaa8e-46de-4bba-bf53-7f7202708000' LIMIT 1 Date : 2025-05-03T07:51:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T07:51:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003943 post PendingInvicesDO 2 MED-141004632 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004632 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b726d46e-d1b8-4911-967b-a7eb211eb05f' LIMIT 1 Date : 2025-05-03T09:00:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T09:00:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003944 post PendingInvicesDO 2 MED-141004633 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004633 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52c3d32c-8876-495c-8b45-13f96a8cce38' LIMIT 1 Date : 2025-05-03T09:02:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T09:02:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003945 post PendingInvicesDO 2 MED-141004637 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004637 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af5ff6bd-fb93-41d1-8617-57dfc954bf29' LIMIT 1 Date : 2025-05-03T11:25:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T11:25:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003946 post PendingInvicesDO 2 MED-141004638 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004638 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2edc5770-45bf-43cf-8cfb-c157cbfb7bd7' LIMIT 1 Date : 2025-05-03T12:40:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T12:40:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003947 post PendingInvicesDO 2 MED-141004639 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004639 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b72c606-b9f6-4dd1-b399-1379d9e587d8' LIMIT 1 Date : 2025-05-03T12:45:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T12:45:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003948 post PendingInvicesDO 2 MED-141004640 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004640 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e04d6be-1a4f-4ca8-ae1e-a57f1edb1790' LIMIT 1 Date : 2025-05-03T13:22:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T13:22:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003950 post PendingInvicesDO 2 MED-141004560 post PendingInvicesDO 2 MED-141001692 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003949 post PendingInvicesDO 2 MED-141004560 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004560 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004560' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004560' OR OrderId='MED-141004560' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004560' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004560' OR OrderId='MED-141004560' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-03T14:02:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003951 post PendingInvicesDO 2 MED-141004642 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004642 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7205dab-b7d5-4815-ba92-92c1cda814ab' LIMIT 1 Date : 2025-05-03T14:56:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T14:56:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003953 post PendingInvicesDO 2 MED-141004641 post PendingInvicesDO 2 MED-141001974 post PendingInvicesDO 2 MED-141001785 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003952 post PendingInvicesDO 2 MED-141004641 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004641 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004641' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004641' OR OrderId='MED-141004641' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004641' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004641' OR OrderId='MED-141004641' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-03T14:57:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003954 post PendingInvicesDO 2 MED-141004643 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004643 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a31f9713-15c0-4155-8063-496695785479' LIMIT 1 Date : 2025-05-03T15:34:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T15:34:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003955 post PendingInvicesDO 2 MED-141004644 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004644 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3cafc70-5fdc-4754-9536-eed7fa7a7b95' LIMIT 1 Date : 2025-05-03T15:53:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T15:53:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003956 post PendingInvicesDO 2 MED-141004645 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004645 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d8bff68-3d29-4942-8cb0-8d9de2feefaf' LIMIT 1 Date : 2025-05-03T16:51:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T16:51:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003957 post PendingInvicesDO 2 MED-141004646 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004646 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='972be85b-ddb5-4435-9d41-9b57f676b631' LIMIT 1 Date : 2025-05-03T17:22:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T17:22:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003958 post PendingInvicesDO 2 MED-141004647 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004647 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1aa82ccf-f652-4e78-9a00-7a0e899673ca' LIMIT 1 Date : 2025-05-03T17:43:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T17:43:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003959 post PendingInvicesDO 2 MED-141004565 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004565 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004565' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004565' OR OrderId='MED-141004565' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-03T22:17:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003960 post PendingInvicesDO 2 MED-141004654 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004654 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e212e31-15c9-4662-b6f1-9cb581c24d4b' LIMIT 1 Date : 2025-05-04T13:26:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-04T13:26:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003962 post PendingInvicesDO 2 MED-141004656 post PendingInvicesDO 2 MED-141004655 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003961 post PendingInvicesDO 2 MED-141004656 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004655 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004656 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ce5e5ad-ec72-41d0-b26b-aedba8a5ce1e' LIMIT 1 Date : 2025-05-04T13:43:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8dcde8a4-7c2e-4105-866e-4a280d81d4b4' LIMIT 1 Date : 2025-05-04T13:43:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ce5e5ad-ec72-41d0-b26b-aedba8a5ce1e' LIMIT 1 Date : 2025-05-04T13:43:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8dcde8a4-7c2e-4105-866e-4a280d81d4b4' LIMIT 1 Date : 2025-05-04T13:43:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-04T13:43:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003963 post PendingInvicesDO 2 MED-141004657 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004657 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a378139b-28ef-4e7d-b894-d7fccd08c4e6' LIMIT 1 Date : 2025-05-04T14:27:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-04T14:27:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003964 post PendingInvicesDO 2 MED-141004658 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004658 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70fac442-ec6b-4bd3-aeac-387cfa11c52b' LIMIT 1 Date : 2025-05-04T15:00:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-04T15:00:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003965 post PendingInvicesDO 2 MED-141004521 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004521 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004521' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004521' OR OrderId='MED-141004521' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-04T18:07:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003966 post PendingInvicesDO 2 MED-141004661 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004661 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a6e518f-9863-4c16-88cf-0020e8d1b662' LIMIT 1 Date : 2025-05-05T07:55:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T07:55:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003967 post PendingInvicesDO 2 MED-141004662 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004662 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004662' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004662' OR OrderId='MED-141004662' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-05T08:53:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003968 post PendingInvicesDO 2 MED-141004664 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004664 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3080a166-0d71-4895-8cbc-b875856efa68' LIMIT 1 Date : 2025-05-05T09:57:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T09:57:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003969 post PendingInvicesDO 2 MED-141004665 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004665 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d653ea6-4454-4344-a706-637ab6fe5c93' LIMIT 1 Date : 2025-05-05T10:11:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T10:11:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003970 post PendingInvicesDO 2 MED-141004666 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004666 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004666' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004666' OR OrderId='MED-141004666' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-05T11:08:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003971 post PendingInvicesDO 2 MED-141004667 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004667 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a85e328a-7c5c-4eec-93f5-74417af8c74b' LIMIT 1 Date : 2025-05-05T11:13:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T11:13:31 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003972 post PendingInvicesDO 2 MED-141004668 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004668 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f42bc843-0c7a-4347-9ed2-4baa6471297b' LIMIT 1 Date : 2025-05-05T11:58:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T11:58:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003973 post PendingInvicesDO 2 MED-141004669 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004669 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a667bce-2d5c-4422-8650-9b42a30a9834' LIMIT 1 Date : 2025-05-05T12:17:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T12:17:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003974 post PendingInvicesDO 2 MED-141004670 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004670 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9705a0db-57d0-486d-ac79-4963026c2695' LIMIT 1 Date : 2025-05-05T13:10:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T13:10:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003975 post PendingInvicesDO 2 MED-141004671 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004671 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f60ce907-5a97-4be7-bd3a-072f20c2e915' LIMIT 1 Date : 2025-05-05T13:13:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T13:13:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003976 post PendingInvicesDO 2 MED-141004672 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004672 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2491fe55-0fb1-40db-9a8e-a1d3e6c526b1' LIMIT 1 Date : 2025-05-05T13:45:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T13:45:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003977 post PendingInvicesDO 2 MED-141004673 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004673 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ddd238d7-1464-472c-9663-d8ae5f2bfee8' LIMIT 1 Date : 2025-05-05T14:09:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T14:09:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003978 post PendingInvicesDO 2 MED-141004674 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004674 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='addfbf8f-2c0c-4b23-8b7c-0f4227974ee3' LIMIT 1 Date : 2025-05-05T17:17:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T17:17:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003979 post PendingInvicesDO 2 MED-141004675 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004675 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a958544-3035-4685-ac8c-01ddbd338c28' LIMIT 1 Date : 2025-05-06T07:45:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T07:45:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003980 post PendingInvicesDO 2 MED-141004676 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004676 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='caa4fd69-f468-4eeb-b75a-0009a4e42b30' LIMIT 1 Date : 2025-05-06T08:27:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T08:27:06 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144003982 post PendingInvicesDO 2 MED-141004678 post PendingInvicesDO 2 MED-141004677 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144003981 post PendingInvicesDO 2 MED-141004678 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004677 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004678 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a289a5ca-3292-4bb8-8cd0-1f5f53c33340' LIMIT 1 Date : 2025-05-06T08:41:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96264caa-e390-485a-a5cd-a003dccaba54' LIMIT 1 Date : 2025-05-06T08:41:37  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a289a5ca-3292-4bb8-8cd0-1f5f53c33340' LIMIT 1 Date : 2025-05-06T08:41:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96264caa-e390-485a-a5cd-a003dccaba54' LIMIT 1 Date : 2025-05-06T08:41:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-06T08:41:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003983 post PendingInvicesDO 2 MED-141004679 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004679 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6fa1322b-4b8e-44dc-8df6-573fdd6535a8' LIMIT 1 Date : 2025-05-06T09:19:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T09:19:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003984 post PendingInvicesDO 2 MED-141004680 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004680 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af0d333f-2dc0-4eb6-806b-73c10eb4d007' LIMIT 1 Date : 2025-05-06T09:36:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T09:36:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003985 post PendingInvicesDO 2 MED-141004681 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004681 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='05cb57b7-a5e1-49d8-ba34-16259f309f79' LIMIT 1 Date : 2025-05-06T10:01:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T10:01:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003986 post PendingInvicesDO 2 MED-141004682 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004682 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='afa5bed3-6c32-4052-a6d4-5454c8768b39' LIMIT 1 Date : 2025-05-06T10:38:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T10:38:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003987 post PendingInvicesDO 2 MED-141004683 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004683 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b4246b9-0eee-43db-a128-b8039cd90177' LIMIT 1 Date : 2025-05-06T10:50:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T10:50:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003988 post PendingInvicesDO 2 MED-141004684 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004684 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03839177-be6f-44f9-85fb-9dc980d4be6f' LIMIT 1 Date : 2025-05-06T12:10:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T12:10:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003989 post PendingInvicesDO 2 MED-141004685 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004685 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b79ee244-ef66-430d-bc2f-715665264d81' LIMIT 1 Date : 2025-05-06T12:30:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T12:30:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003990 post PendingInvicesDO 2 MED-141004686 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004686 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc7bcca4-54cf-4657-b17c-bd576b33c68a' LIMIT 1 Date : 2025-05-06T12:48:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T12:48:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003991 post PendingInvicesDO 2 MED-141004687 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004687 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b89442e-8cb1-4038-abb6-67188205e993' LIMIT 1 Date : 2025-05-06T12:59:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T12:59:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003992 post PendingInvicesDO 2 MED-141004688 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004688 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1cb40317-68e9-4dde-a0e5-e81241875aa3' LIMIT 1 Date : 2025-05-06T13:11:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T13:11:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003993 post PendingInvicesDO 2 MED-141004689 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004689 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c682756-5677-4ec5-8085-0b1fb945eaaf' LIMIT 1 Date : 2025-05-06T13:17:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T13:17:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003994 post PendingInvicesDO 2 MED-141004531 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004531 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004531' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004531' OR OrderId='MED-141004531' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-06T13:51:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003995 post PendingInvicesDO 2 MED-141004692 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004692 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca0041bf-8507-4a96-b18e-25e9a4b4139f' LIMIT 1 Date : 2025-05-06T19:22:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T19:22:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003996 post PendingInvicesDO 2 MED-141004696 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004696 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52a98658-19c9-4f06-9233-391c59cc796e' LIMIT 1 Date : 2025-05-07T09:39:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T09:39:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003997 post PendingInvicesDO 2 MED-141004700 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004700 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='456d8fbb-2ec8-4d41-a6a9-ae8ca8f485fc' LIMIT 1 Date : 2025-05-07T12:11:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T12:11:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003998 post PendingInvicesDO 2 MED-141004701 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004701 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c19aded-2239-42b9-bcb5-6aa73210dbef' LIMIT 1 Date : 2025-05-07T13:08:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T13:08:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144003999 post PendingInvicesDO 2 MED-141004702 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004702 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5360a2f-ae5d-43ac-89a2-13a93ee2c762' LIMIT 1 Date : 2025-05-07T13:54:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T13:54:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004000 post PendingInvicesDO 2 MED-141004703 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004703 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004703' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004703' OR OrderId='MED-141004703' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-07T15:33:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004001 post PendingInvicesDO 2 MED-141004704 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004704 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5822c895-ab4b-4dac-b3f1-b72bc1b5cbf3' LIMIT 1 Date : 2025-05-08T07:45:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T07:45:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004002 post PendingInvicesDO 2 MED-141004705 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004705 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='89725c18-6b6e-495d-9313-077cb15148f2' LIMIT 1 Date : 2025-05-08T08:28:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T08:28:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004003 post PendingInvicesDO 2 MED-141004706 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004706 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3665d5ca-3f5e-46ee-844c-0f30d1faa9f5' LIMIT 1 Date : 2025-05-08T08:49:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T08:49:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004004 post PendingInvicesDO 2 MED-141004707 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004707 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a01efbad-40db-4d38-8375-311c1dabd138' LIMIT 1 Date : 2025-05-08T09:17:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T09:17:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004005 post PendingInvicesDO 2 MED-141004708 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004708 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01ae57d6-bc1d-424a-bf90-9e27fb987ca7' LIMIT 1 Date : 2025-05-08T09:41:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T09:41:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004006 post PendingInvicesDO 2 MED-141004709 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004709 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9974154e-b500-48d4-9230-c6077f1e60a1' LIMIT 1 Date : 2025-05-08T10:21:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T10:21:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004007 post PendingInvicesDO 2 MED-141004710 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004710 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eda280d6-1a1d-4e28-acc0-22c769cc9ee8' LIMIT 1 Date : 2025-05-08T10:43:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T10:43:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004008 post PendingInvicesDO 2 MED-141004712 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004712 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e6f1330-1cf3-4316-808b-7c467cbfd26a' LIMIT 1 Date : 2025-05-08T11:10:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T11:10:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004009 post PendingInvicesDO 2 MED-141004713 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004713 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='caa3e33e-4fc5-4ff6-842c-c11038066a75' LIMIT 1 Date : 2025-05-08T11:31:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T11:31:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004010 post PendingInvicesDO 2 MED-141004714 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004714 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='243c55f1-0b37-4d9c-8f90-92a25778451e' LIMIT 1 Date : 2025-05-08T11:47:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T11:47:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004011 post PendingInvicesDO 2 MED-141004715 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004715 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3549a0d4-1245-4538-95c6-937e3f701104' LIMIT 1 Date : 2025-05-08T12:15:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T12:15:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004012 post PendingInvicesDO 2 MED-141004716 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004716 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da2cb88a-5496-4de2-84b8-011b3949a12c' LIMIT 1 Date : 2025-05-08T13:07:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T13:07:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004013 post PendingInvicesDO 2 MED-141004717 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004717 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29687744-26ee-44ef-a330-de9b11776bf0' LIMIT 1 Date : 2025-05-08T13:27:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T13:27:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004014 post PendingInvicesDO 2 MED-141004718 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004718 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98695681-f675-40f6-a87e-0ab23bd40aa4' LIMIT 1 Date : 2025-05-08T14:03:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T14:03:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004015 post PendingInvicesDO 2 MED-141004719 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004719 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2f4dbcd-b7ea-4968-bfbd-6f58bac328d1' LIMIT 1 Date : 2025-05-08T14:35:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T14:35:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004017 post PendingInvicesDO 2 MED-141004721 post PendingInvicesDO 2 MED-141004720 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004016 post PendingInvicesDO 2 MED-141004721 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004720 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004721 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='53ad4e8e-b83e-4fa4-a7b8-55eff887398d' LIMIT 1 Date : 2025-05-08T15:10:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c43b6cb-c53b-48a1-97f3-188e0eea1c86' LIMIT 1 Date : 2025-05-08T15:10:40  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='53ad4e8e-b83e-4fa4-a7b8-55eff887398d' LIMIT 1 Date : 2025-05-08T15:10:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c43b6cb-c53b-48a1-97f3-188e0eea1c86' LIMIT 1 Date : 2025-05-08T15:10:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-08T15:10:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004018 post PendingInvicesDO 2 MED-141004653 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004653 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004653' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004653' OR OrderId='MED-141004653' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-08T16:01:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004019 post PendingInvicesDO 2 MED-141004723 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004723 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a87c6ba-c209-4130-8bc0-052584a36069' LIMIT 1 Date : 2025-05-08T16:19:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T16:19:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004020 post PendingInvicesDO 2 MED-141004724 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004724 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1847995c-1d51-436d-ba41-14308af550b7' LIMIT 1 Date : 2025-05-08T16:56:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T16:56:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004021 post PendingInvicesDO 2 MED-141004725 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004725 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f00d0987-0449-48f7-aa40-2541a3fea337' LIMIT 1 Date : 2025-05-08T17:38:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T17:38:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004022 post PendingInvicesDO 2 MED-141004726 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004726 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71716556-f24c-4a64-8027-340cfedea7f8' LIMIT 1 Date : 2025-05-08T21:08:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T21:08:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004023 post PendingInvicesDO 2 MED-141004727 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004727 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75a12b52-bfa6-4254-8e38-61c5812e25e4' LIMIT 1 Date : 2025-05-08T21:21:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T21:21:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004024 post PendingInvicesDO 2 MED-141004728 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004728 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d874b70-1e3c-4179-bfd1-4ed2ba30c847' LIMIT 1 Date : 2025-05-08T21:33:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T21:33:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004026 post PendingInvicesDO 2 MED-141004691 post PendingInvicesDO 2 MED-141004690 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004025 post PendingInvicesDO 2 MED-141004691 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004690 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004691 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004691' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004691' OR OrderId='MED-141004691' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004691' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004691' OR OrderId='MED-141004691' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-08T22:36:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004027 post PendingInvicesDO 2 MED-141004729 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004729 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a625cdfb-b72a-4a10-b158-efae6b41ed9a' LIMIT 1 Date : 2025-05-09T14:19:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-09T14:19:09 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004028 post PendingInvicesDO 2 MED-141004730 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004730 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='014ce42b-639e-408c-b3fb-e63ddcbcfaed' LIMIT 1 Date : 2025-05-09T14:41:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-09T14:41:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004029 post PendingInvicesDO 2 MED-141004731 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004731 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d55bcd29-1ecf-4d72-b423-a54c04410e75' LIMIT 1 Date : 2025-05-09T16:28:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-09T16:28:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004030 post PendingInvicesDO 2 MED-141004732 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004732 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25598887-7a77-4425-9d9d-a21f0da89151' LIMIT 1 Date : 2025-05-09T17:09:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-09T17:09:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004031 post PendingInvicesDO 2 MED-141004733 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004733 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004733' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004733' OR OrderId='MED-141004733' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-10T09:17:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004032 post PendingInvicesDO 2 MED-141004740 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004740 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50597be8-4f6a-4707-b67e-928c40e4a880' LIMIT 1 Date : 2025-05-10T10:59:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-10T10:59:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004033 post PendingInvicesDO 2 MED-141004741 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004741 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e832830-92ab-4378-93c2-c4539127899c' LIMIT 1 Date : 2025-05-10T11:42:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-10T11:42:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004034 post PendingInvicesDO 2 MED-141004744 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004744 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73e240f3-06a9-416f-b397-41576905b416' LIMIT 1 Date : 2025-05-10T13:11:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-10T13:11:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004035 post PendingInvicesDO 2 MED-141004745 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004745 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61688902-7a8f-4dc1-872b-1b94f2f2d803' LIMIT 1 Date : 2025-05-10T13:14:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-10T13:14:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004036 post PendingInvicesDO 2 MED-141004746 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004746 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00f5b1d7-0efd-464d-84bd-6099231d86d9' LIMIT 1 Date : 2025-05-10T13:18:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-10T13:18:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004037 post PendingInvicesDO 2 MED-141004747 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004747 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8384e97b-a165-4b09-9493-ebe39f56cc7a' LIMIT 1 Date : 2025-05-10T13:19:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-10T13:19:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004038 post PendingInvicesDO 2 MED-141004572 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004572 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004572' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004572' OR OrderId='MED-141004572' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-11T11:37:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004039 post PendingInvicesDO 2 MED-141004754 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004754 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02382286-ce56-4ac9-b341-1578784afccf' LIMIT 1 Date : 2025-05-11T12:26:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T12:26:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004040 post PendingInvicesDO 2 MED-141004756 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004756 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6bee4b2-e56d-40d0-80cc-6fcbcee030c4' LIMIT 1 Date : 2025-05-12T11:27:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T11:27:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004041 post PendingInvicesDO 2 MED-141004757 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004757 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='341acaaa-75c1-4f7b-9b5d-75d1adf1fb87' LIMIT 1 Date : 2025-05-12T11:58:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T11:58:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004042 post PendingInvicesDO 2 MED-141004758 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004758 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10d1bd85-3389-4bd8-995a-800033675481' LIMIT 1 Date : 2025-05-12T13:06:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T13:06:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004043 post PendingInvicesDO 2 MED-141004759 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004759 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6ca1f36-68b1-4bce-afe8-d69f6e4656b2' LIMIT 1 Date : 2025-05-12T13:41:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T13:41:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004044 post PendingInvicesDO 2 MED-141004760 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004760 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ca6b65d-71d6-4cb0-bab8-7baf898fec12' LIMIT 1 Date : 2025-05-12T13:53:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T13:53:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004045 post PendingInvicesDO 2 MED-141004761 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004761 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2f0a91a-e55f-4362-b5eb-cd60b5574721' LIMIT 1 Date : 2025-05-12T14:51:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T14:51:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004046 post PendingInvicesDO 2 MED-141004752 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004752 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004752' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004752' OR OrderId='MED-141004752' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-12T15:08:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004047 post PendingInvicesDO 2 MED-141004762 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004762 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='811b1af6-ff40-46be-96cb-c7163cf287dd' LIMIT 1 Date : 2025-05-12T15:09:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T15:09:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004048 post PendingInvicesDO 2 MED-141004763 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004763 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e43064f4-66b3-4042-b5d5-cf28b21ce4d2' LIMIT 1 Date : 2025-05-12T15:40:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T15:40:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004049 post PendingInvicesDO 2 MED-141004764 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004764 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81cf3fc1-9f5a-4c3f-8cbb-202fc86901e9' LIMIT 1 Date : 2025-05-12T16:28:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T16:28:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004050 post PendingInvicesDO 2 MED-141004753 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004753 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004753' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004753' OR OrderId='MED-141004753' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-12T16:47:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004051 post PendingInvicesDO 2 MED-141004765 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004765 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04bdde90-4fd2-4f03-8049-026095aeed0f' LIMIT 1 Date : 2025-05-12T16:47:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T16:47:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004052 post PendingInvicesDO 2 MED-141004766 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004766 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='519dbaee-9507-4c69-83b0-d14b392a48e7' LIMIT 1 Date : 2025-05-12T17:23:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T17:23:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004053 post PendingInvicesDO 2 MED-141004767 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004767 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7ffad38-e82b-4d7d-93a5-281e9d04ca4d' LIMIT 1 Date : 2025-05-12T17:27:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T17:27:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004054 post PendingInvicesDO 2 MED-141004768 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004768 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='611b7d44-424d-4da1-8d09-0315fc9b9560' LIMIT 1 Date : 2025-05-12T17:43:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T17:43:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004055 post PendingInvicesDO 2 MED-141004769 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004769 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ede747b4-7d90-4cb8-b987-00371b5943cf' LIMIT 1 Date : 2025-05-13T07:45:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-13T07:45:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004056 post PendingInvicesDO 2 MED-141004770 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004770 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d618fb64-8fed-4e94-ac3f-9f90c8c34b26' LIMIT 1 Date : 2025-05-13T08:24:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-13T08:24:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004057 post PendingInvicesDO 2 MED-141004781 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004781 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a099c09-dd4c-4b74-82a5-ca91699820d3' LIMIT 1 Date : 2025-05-13T13:14:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-13T13:14:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004058 post PendingInvicesDO 2 MED-141004782 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004782 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2abc4232-e0d7-4e7c-b069-2f1d76c2011a' LIMIT 1 Date : 2025-05-13T13:18:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-13T13:18:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004059 post PendingInvicesDO 2 MED-141004783 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004783 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4a0fb61-37cc-4570-abdd-99506ea05ab7' LIMIT 1 Date : 2025-05-13T13:36:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-13T13:36:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004060 post PendingInvicesDO 2 MED-141004784 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004784 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22a61067-fff8-42e8-9f0d-9ed33f6235b3' LIMIT 1 Date : 2025-05-13T13:39:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-13T13:39:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004061 post PendingInvicesDO 2 MED-141004785 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004785 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10f04a37-908b-4b4d-95ae-8b27acf8ae9d' LIMIT 1 Date : 2025-05-13T14:15:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-13T14:15:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004062 post PendingInvicesDO 2 MED-141004786 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004786 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7373a6df-196b-425a-a6fb-e25f34e3e5ed' LIMIT 1 Date : 2025-05-13T14:27:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-13T14:27:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004063 post PendingInvicesDO 2 MED-141004793 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004793 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8fee033-ce5c-4b07-baff-647f55165dad' LIMIT 1 Date : 2025-05-14T12:32:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T12:32:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004064 post PendingInvicesDO 2 MED-141004794 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004794 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78738d03-79c7-4570-aa0e-59bed9d27a05' LIMIT 1 Date : 2025-05-14T12:53:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T12:53:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004065 post PendingInvicesDO 2 MED-141004795 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004795 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4201e2d0-234c-4b25-b5a5-26703705cc03' LIMIT 1 Date : 2025-05-14T13:26:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T13:26:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004066 post PendingInvicesDO 2 MED-141004796 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004796 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='943e4d43-15a8-4fba-9e3b-8c04baf4a180' LIMIT 1 Date : 2025-05-14T14:18:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T14:18:24 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004067 post PendingInvicesDO 2 MED-141004797 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004797 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5204208-8dc0-4e19-a236-4fd43211ad76' LIMIT 1 Date : 2025-05-14T14:42:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T14:42:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004068 post PendingInvicesDO 2 MED-141004798 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004798 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b60ecb58-e178-42ff-b54a-07bc0208309d' LIMIT 1 Date : 2025-05-14T14:54:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T14:54:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004069 post PendingInvicesDO 2 MED-141004799 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004799 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='623748c4-5f5c-4b3e-9242-fec9850df766' LIMIT 1 Date : 2025-05-14T15:33:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T15:33:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004070 post PendingInvicesDO 2 MED-141004800 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004800 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f3fa267-7447-4170-b2ab-edb99160945f' LIMIT 1 Date : 2025-05-14T16:24:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T16:24:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004071 post PendingInvicesDO 2 MED-141004660 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004660 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004660' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004660' OR OrderId='MED-141004660' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-14T17:07:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004072 post PendingInvicesDO 2 MED-141004802 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004802 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='206cddda-d493-4b41-b9a1-1c112a01c010' LIMIT 1 Date : 2025-05-14T17:47:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T17:47:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004073 post PendingInvicesDO 2 MED-141004803 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004803 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5250ef46-ba83-47f9-a9cb-eaaef5bd63c4' LIMIT 1 Date : 2025-05-15T08:07:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T08:07:14 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004074 post PendingInvicesDO 2 MED-141004804 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004804 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='30ffb570-f4b9-42df-b40c-ff6043df6e5c' LIMIT 1 Date : 2025-05-15T08:29:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T08:29:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004075 post PendingInvicesDO 2 MED-141004805 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004805 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6bca1622-d75c-4c9b-9cee-3c6d0abc4c15' LIMIT 1 Date : 2025-05-15T08:48:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T08:48:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004076 post PendingInvicesDO 2 MED-141004806 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004806 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41eedda1-5302-4033-9d01-58f6d2d3199d' LIMIT 1 Date : 2025-05-15T09:01:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T09:01:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004078 post PendingInvicesDO 2 MED-141004609 post PendingInvicesDO 2 MED-141004608 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004077 post PendingInvicesDO 2 MED-141004609 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004608 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004609 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004609' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004609' OR OrderId='MED-141004609' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004609' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004609' OR OrderId='MED-141004609' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-15T09:34:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004079 post PendingInvicesDO 2 MED-141004808 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004808 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a3a74df-e0c4-461d-8ac2-1c16b4ac9d4c' LIMIT 1 Date : 2025-05-15T10:25:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T10:25:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004080 post PendingInvicesDO 2 MED-141004809 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004809 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b63d4d2-a40b-42aa-a454-cbe949f74a41' LIMIT 1 Date : 2025-05-15T10:53:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T10:53:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004081 post PendingInvicesDO 2 MED-141004810 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004810 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bd07ef1-90ca-4c6d-9104-4c1914e2befe' LIMIT 1 Date : 2025-05-15T11:31:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T11:31:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004082 post PendingInvicesDO 2 MED-141004811 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004811 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d95314b5-0a90-4557-9c1f-4a1c1c4d4190' LIMIT 1 Date : 2025-05-15T12:36:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T12:36:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004084 post PendingInvicesDO 2 MED-141004813 post PendingInvicesDO 2 MED-141004812 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004083 post PendingInvicesDO 2 MED-141004813 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004812 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004813 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3329d89c-0b6e-4ebc-ab1c-ca6bdf7dbe2b' LIMIT 1 Date : 2025-05-15T13:12:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='311fcfbb-2698-404d-b308-4fc98cee8267' LIMIT 1 Date : 2025-05-15T13:12:56  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3329d89c-0b6e-4ebc-ab1c-ca6bdf7dbe2b' LIMIT 1 Date : 2025-05-15T13:12:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='311fcfbb-2698-404d-b308-4fc98cee8267' LIMIT 1 Date : 2025-05-15T13:12:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-15T13:12:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004085 post PendingInvicesDO 2 MED-141004814 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004814 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20a4ef80-65a8-4e26-8bda-7894335ced94' LIMIT 1 Date : 2025-05-15T13:42:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T13:42:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004086 post PendingInvicesDO 2 MED-141004815 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004815 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11ee7641-24b4-4c1c-ae9e-cd27a95bd8b9' LIMIT 1 Date : 2025-05-15T13:58:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T13:58:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004087 post PendingInvicesDO 2 MED-141004816 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004816 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ef61245-5631-4870-bf7e-644f1454c70d' LIMIT 1 Date : 2025-05-15T14:15:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T14:15:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004088 post PendingInvicesDO 2 MED-141004817 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004817 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0a120f9-5a40-46bc-8131-465b8fd45902' LIMIT 1 Date : 2025-05-15T14:33:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T14:33:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004089 post PendingInvicesDO 2 MED-141004818 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004818 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8e3cdd8-b41e-43dd-8858-33c9e2c859bc' LIMIT 1 Date : 2025-05-15T14:51:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T14:51:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004090 post PendingInvicesDO 2 MED-141004819 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004819 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='702129a0-a0b6-4fd9-bddc-9c45071b5d72' LIMIT 1 Date : 2025-05-15T15:10:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T15:10:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004091 post PendingInvicesDO 2 MED-141004820 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004820 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='768b96cd-461e-40fc-b031-0fc9a30592bb' LIMIT 1 Date : 2025-05-15T15:34:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T15:34:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004092 post PendingInvicesDO 2 MED-141004711 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004711 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004711' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004711' OR OrderId='MED-141004711' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-15T16:21:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004093 post PendingInvicesDO 2 MED-141004821 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004821 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7af00e35-5116-44e6-9d43-61c545180aea' LIMIT 1 Date : 2025-05-15T16:33:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T16:33:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004094 post PendingInvicesDO 2 MED-141004751 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004751 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004751' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004751' OR OrderId='MED-141004751' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-15T16:45:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004095 post PendingInvicesDO 2 MED-141004822 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004822 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='acb4321b-c07d-4bdc-b3ec-494e9ae6fa3b' LIMIT 1 Date : 2025-05-15T16:45:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T16:45:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004097 post PendingInvicesDO 2 MED-141004824 post PendingInvicesDO 2 MED-141004823 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004096 post PendingInvicesDO 2 MED-141004824 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004823 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004824 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be4a4657-caca-4fae-a403-6d4ecdf91a58' LIMIT 1 Date : 2025-05-15T16:55:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a73f5a76-472e-4d04-937d-4bd893b42214' LIMIT 1 Date : 2025-05-15T16:55:29  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be4a4657-caca-4fae-a403-6d4ecdf91a58' LIMIT 1 Date : 2025-05-15T16:55:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a73f5a76-472e-4d04-937d-4bd893b42214' LIMIT 1 Date : 2025-05-15T16:55:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-15T16:55:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004098 post PendingInvicesDO 2 MED-141004825 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004825 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a657c9d9-a8e1-423d-98ba-060cafc3a9fa' LIMIT 1 Date : 2025-05-15T17:29:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T17:29:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004099 post PendingInvicesDO 2 MED-141004826 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004826 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9253abf6-1f40-4600-995c-2bc4497e04ef' LIMIT 1 Date : 2025-05-15T17:47:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T17:47:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004100 post PendingInvicesDO 2 MED-141004827 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004827 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31a51d3b-0a82-45f7-85bc-c219e86fe0d4' LIMIT 1 Date : 2025-05-16T13:25:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-16T13:25:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004102 post PendingInvicesDO 2 MED-141004830 post PendingInvicesDO 2 MED-141004829 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004101 post PendingInvicesDO 2 MED-141004830 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004829 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004830 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ac74483-410e-4d99-830f-fcbd6a28b4e5' LIMIT 1 Date : 2025-05-16T14:04:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd4521f8-e988-4b6f-affa-959fc7b2d0e5' LIMIT 1 Date : 2025-05-16T14:04:48  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ac74483-410e-4d99-830f-fcbd6a28b4e5' LIMIT 1 Date : 2025-05-16T14:04:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd4521f8-e988-4b6f-affa-959fc7b2d0e5' LIMIT 1 Date : 2025-05-16T14:04:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-16T14:04:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004103 post PendingInvicesDO 2 MED-141004831 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004831 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3947cb36-b0a4-4c60-995a-a69ed673303f' LIMIT 1 Date : 2025-05-16T22:04:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-16T22:04:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004104 post PendingInvicesDO 2 MED-141004564 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004564 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004564' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004564' OR OrderId='MED-141004564' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-16T22:27:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004105 post PendingInvicesDO 2 MED-141004832 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004832 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c1f57cb-4521-4729-9880-66c3f7bb7550' LIMIT 1 Date : 2025-05-17T07:49:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-17T07:49:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004106 post PendingInvicesDO 2 MED-141004837 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004837 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e2109fc-8543-405f-9569-df1f127f3467' LIMIT 1 Date : 2025-05-17T11:00:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-17T11:00:39 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004107 post PendingInvicesDO 2 MED-141004841 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004841 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='131d1575-fc5b-43be-9e9b-4ea32e4774f6' LIMIT 1 Date : 2025-05-17T12:44:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-17T12:44:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004108 post PendingInvicesDO 2 MED-141004843 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004843 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec906c7b-8165-438e-9054-3c204f6781c9' LIMIT 1 Date : 2025-05-17T14:08:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-17T14:08:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004109 post PendingInvicesDO 2 MED-141004844 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004844 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c48d8a35-8ef8-4f7f-9e75-88bc3c06c807' LIMIT 1 Date : 2025-05-17T15:01:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-17T15:01:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004110 post PendingInvicesDO 2 MED-141004845 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004845 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a7f7e05-eabd-4a53-93ed-b06c460f0036' LIMIT 1 Date : 2025-05-17T16:07:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-17T16:07:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004111 post PendingInvicesDO 2 MED-141004848 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004848 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='abe0797a-6f72-4151-ada6-eeeefb0f8ee1' LIMIT 1 Date : 2025-05-17T17:44:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-17T17:44:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004112 post PendingInvicesDO 2 MED-141004849 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004849 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='97fc35dc-32cd-4431-a607-6d1cd67da4e4' LIMIT 1 Date : 2025-05-17T17:59:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-17T17:59:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004113 post PendingInvicesDO 2 MED-141004850 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004850 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='05750822-aef6-4ec8-9fd3-be037b659587' LIMIT 1 Date : 2025-05-18T08:01:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-18T08:01:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004114 post PendingInvicesDO 2 MED-141004857 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004857 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a44ebaa-d3cf-499c-b2f3-f4b848b8e7ed' LIMIT 1 Date : 2025-05-18T11:36:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-18T11:36:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004115 post PendingInvicesDO 2 MED-141004858 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004858 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82a95894-f87e-4649-8e15-8399406a3da2' LIMIT 1 Date : 2025-05-18T11:59:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-18T11:59:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004116 post PendingInvicesDO 2 MED-141004859 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004859 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e776d0e3-3b8d-45fe-83f7-2860bff24551' LIMIT 1 Date : 2025-05-18T12:53:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-18T12:53:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004117 post PendingInvicesDO 2 MED-141004860 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004860 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1597a935-8f8f-40ee-aa7e-2e3a554a245f' LIMIT 1 Date : 2025-05-18T13:35:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-18T13:35:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004118 post PendingInvicesDO 2 MED-141004861 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004861 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94a0d48c-9cd4-47dc-ae02-c23c812fe6d4' LIMIT 1 Date : 2025-05-18T13:53:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-18T13:53:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004119 post PendingInvicesDO 2 MED-141004862 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004862 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17ef5eb8-d09f-483c-b573-a5e9db199bc8' LIMIT 1 Date : 2025-05-18T14:25:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-18T14:25:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004121 post PendingInvicesDO 2 MED-141004864 post PendingInvicesDO 2 MED-141004863 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004120 post PendingInvicesDO 2 MED-141004864 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004863 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004864 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='189b3657-c95e-4bc8-84be-e91e0878caf5' LIMIT 1 Date : 2025-05-18T14:42:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ac58025-d115-48da-ae73-09e79a235a8a' LIMIT 1 Date : 2025-05-18T14:42:36  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='189b3657-c95e-4bc8-84be-e91e0878caf5' LIMIT 1 Date : 2025-05-18T14:42:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ac58025-d115-48da-ae73-09e79a235a8a' LIMIT 1 Date : 2025-05-18T14:42:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-18T14:42:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004122 post PendingInvicesDO 2 MED-141004865 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004865 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95fb7349-5671-4d44-8868-5da63dbcac7f' LIMIT 1 Date : 2025-05-18T15:05:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-18T15:05:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004123 post PendingInvicesDO 2 MED-141004866 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004866 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1782f0af-5aa1-4c96-b0b1-79a3e9e68634' LIMIT 1 Date : 2025-05-18T15:16:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-18T15:16:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004125 post PendingInvicesDO 2 MED-141004868 post PendingInvicesDO 2 MED-141004867 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004124 post PendingInvicesDO 2 MED-141004868 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004867 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004868 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='743aa80c-bf94-4c64-aa03-135dd8605a3e' LIMIT 1 Date : 2025-05-18T15:39:16  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b33b31e5-3e04-47b2-b48e-5e28695e76cf' LIMIT 1 Date : 2025-05-18T15:39:16  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='743aa80c-bf94-4c64-aa03-135dd8605a3e' LIMIT 1 Date : 2025-05-18T15:39:16  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b33b31e5-3e04-47b2-b48e-5e28695e76cf' LIMIT 1 Date : 2025-05-18T15:39:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-18T15:39:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004126 post PendingInvicesDO 2 MED-141004869 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004869 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b70ecf63-a611-4210-bba5-66939d3124d4' LIMIT 1 Date : 2025-05-18T16:05:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-18T16:05:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004127 post PendingInvicesDO 2 MED-141004755 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004755 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004755' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004755' OR OrderId='MED-141004755' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-19T14:22:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004128 post PendingInvicesDO 2 MED-141004872 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004872 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5af1616-8298-4a59-a86a-9af5a88d54ff' LIMIT 1 Date : 2025-05-19T14:24:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T14:24:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004129 post PendingInvicesDO 2 MED-141004873 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004873 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3eb0c41f-cf9d-4a5d-8cb2-be127fe2610b' LIMIT 1 Date : 2025-05-19T15:11:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T15:11:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004130 post PendingInvicesDO 2 MED-141004874 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004874 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='05ca9684-2069-4c1b-8960-c8568ef60507' LIMIT 1 Date : 2025-05-19T15:29:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T15:29:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004131 post PendingInvicesDO 2 MED-141004875 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004875 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='070c86ba-94a3-4481-a8d9-cf34e0275e1d' LIMIT 1 Date : 2025-05-19T15:42:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T15:42:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004132 post PendingInvicesDO 2 MED-141004876 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004876 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9fc2791-d38a-4739-a8f2-dbe4ea20d9f6' LIMIT 1 Date : 2025-05-19T16:09:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T16:09:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004133 post PendingInvicesDO 2 MED-141004877 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004877 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a15287d4-3475-44f8-bf01-8253cd90b269' LIMIT 1 Date : 2025-05-19T16:36:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T16:36:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004134 post PendingInvicesDO 2 MED-141004878 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004878 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0c8dd38-be10-4360-8f0a-6edc3f87c4b6' LIMIT 1 Date : 2025-05-19T16:40:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T16:40:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004135 post PendingInvicesDO 2 MED-141004879 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004879 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f182a508-897d-472a-a7b0-63c94c978c42' LIMIT 1 Date : 2025-05-19T16:52:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T16:52:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004136 post PendingInvicesDO 2 MED-141004880 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004880 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1278956-9a8d-4066-9f6c-f9653642a7dd' LIMIT 1 Date : 2025-05-19T17:12:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T17:12:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004137 post PendingInvicesDO 2 MED-141004881 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004881 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56ed8d63-e0f1-4f38-94b2-624aa75cb96c' LIMIT 1 Date : 2025-05-19T17:23:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T17:23:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004138 post PendingInvicesDO 2 MED-141004882 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004882 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27e5d79b-7cb7-4293-863d-5f1a1f11f852' LIMIT 1 Date : 2025-05-19T17:55:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T17:55:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004139 post PendingInvicesDO 2 MED-141004883 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004883 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c2415c5-75de-4225-8ec0-5b915230dca4' LIMIT 1 Date : 2025-05-19T18:38:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T18:38:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004140 post PendingInvicesDO 2 MED-141004789 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004789 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004789' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004789' OR OrderId='MED-141004789' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-19T20:24:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004141 post PendingInvicesDO 2 MED-141004886 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004886 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1d66564-0be1-4818-bd0f-dc4b2b05091e' LIMIT 1 Date : 2025-05-20T09:05:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T09:05:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004142 post PendingInvicesDO 2 MED-141004722 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004722 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004722' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004722' OR OrderId='MED-141004722' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T09:45:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004143 post PendingInvicesDO 2 MED-141004890 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004890 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5ed3276-08ed-4090-bf94-863c6ca6d8a3' LIMIT 1 Date : 2025-05-20T11:38:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T11:38:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004145 post PendingInvicesDO 2 MED-141004892 post PendingInvicesDO 2 MED-141004891 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004144 post PendingInvicesDO 2 MED-141004892 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004891 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004892 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10fc19f7-581a-4732-8929-79ce408557ad' LIMIT 1 Date : 2025-05-20T12:25:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='daf48188-55ea-4eba-a5d7-0d71071e5f37' LIMIT 1 Date : 2025-05-20T12:25:56  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10fc19f7-581a-4732-8929-79ce408557ad' LIMIT 1 Date : 2025-05-20T12:25:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='daf48188-55ea-4eba-a5d7-0d71071e5f37' LIMIT 1 Date : 2025-05-20T12:25:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-20T12:25:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004146 post PendingInvicesDO 2 MED-141004894 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004894 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae658523-d5a6-4b68-a7a5-0e8cc41fd1b8' LIMIT 1 Date : 2025-05-20T12:51:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T12:51:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004147 post PendingInvicesDO 2 MED-141004895 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004895 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7bb54213-a705-4dd1-a2f9-1b7df523d8dd' LIMIT 1 Date : 2025-05-20T13:03:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T13:03:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004148 post PendingInvicesDO 2 MED-141004896 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004896 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ec9686f-f83b-4bce-8a3d-e979f05e04d4' LIMIT 1 Date : 2025-05-20T13:16:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T13:16:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004149 post PendingInvicesDO 2 MED-141004897 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004897 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d46f5881-cdc8-43e1-acdd-c49520ca3733' LIMIT 1 Date : 2025-05-20T13:29:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T13:29:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004150 post PendingInvicesDO 2 MED-141004898 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004898 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e584590-1e51-4b3e-bc40-a2eaa189e412' LIMIT 1 Date : 2025-05-20T13:38:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T13:38:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004151 post PendingInvicesDO 2 MED-141004899 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004899 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d97fbc6f-a937-4f97-8559-db5df4246058' LIMIT 1 Date : 2025-05-20T13:48:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T13:48:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004152 post PendingInvicesDO 2 MED-141004900 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004900 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3cbe9c42-f44b-404d-a998-0e0d918d799a' LIMIT 1 Date : 2025-05-20T14:02:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T14:02:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004154 post PendingInvicesDO 2 MED-141004902 post PendingInvicesDO 2 MED-141004901 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004153 post PendingInvicesDO 2 MED-141004902 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004901 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004902 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d729e54c-4807-4dad-a114-c8ffaaba9639' LIMIT 1 Date : 2025-05-20T14:25:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e905e678-1ebb-42c9-8f6b-1523229090ba' LIMIT 1 Date : 2025-05-20T14:25:59  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d729e54c-4807-4dad-a114-c8ffaaba9639' LIMIT 1 Date : 2025-05-20T14:25:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e905e678-1ebb-42c9-8f6b-1523229090ba' LIMIT 1 Date : 2025-05-20T14:25:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-20T14:26:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004155 post PendingInvicesDO 2 MED-141004903 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004903 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4e2714d-07fc-4226-ab59-caa273fda3f5' LIMIT 1 Date : 2025-05-20T15:09:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T15:09:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004156 post PendingInvicesDO 2 MED-141004904 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004904 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f42de19-3b02-4af7-beb1-32fa50e88a42' LIMIT 1 Date : 2025-05-20T15:39:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T15:39:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004157 post PendingInvicesDO 2 MED-141004905 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004905 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82ce256d-cfbe-4c9d-a42c-674d3ae665bc' LIMIT 1 Date : 2025-05-20T16:31:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T16:31:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004158 post PendingInvicesDO 2 MED-141004906 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004906 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ce9efa1-f68d-45b4-a452-fcf8ffb60d5d' LIMIT 1 Date : 2025-05-20T16:45:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T16:45:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004159 post PendingInvicesDO 2 MED-141004907 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004907 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0386a1a8-2315-4d87-b32b-3a2244644c54' LIMIT 1 Date : 2025-05-20T17:10:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T17:10:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004160 post PendingInvicesDO 2 MED-141004908 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004908 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b456e0b0-7d20-4b19-8cb8-4024e763e51b' LIMIT 1 Date : 2025-05-20T17:17:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T17:17:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004161 post PendingInvicesDO 2 MED-141004909 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004909 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7f0016a-eb7c-46a3-bc72-d7bbe0807db9' LIMIT 1 Date : 2025-05-20T17:48:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T17:48:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004162 post PendingInvicesDO 2 MED-141004913 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004913 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32613951-9660-4fa9-82e5-8c5fdb35a4be' LIMIT 1 Date : 2025-05-21T11:39:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T11:39:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004163 post PendingInvicesDO 2 MED-141004914 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004914 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='921c3cf2-4045-4d11-b046-dbe985c9f1ea' LIMIT 1 Date : 2025-05-21T11:51:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T11:51:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004164 post PendingInvicesDO 2 MED-141004915 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004915 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2a45f68-a488-40b2-8f26-11a104686269' LIMIT 1 Date : 2025-05-21T12:36:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T12:36:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004166 post PendingInvicesDO 2 MED-141004917 post PendingInvicesDO 2 MED-141004916 post PendingInvicesDO 2 MED-141004828 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004165 post PendingInvicesDO 2 MED-141004917 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004916 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004917 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004917' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004917' OR OrderId='MED-141004917' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004917' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004917' OR OrderId='MED-141004917' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-21T13:19:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004167 post PendingInvicesDO 2 MED-141004918 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004918 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6422ce51-20e8-4067-b478-4a4b58c74a31' LIMIT 1 Date : 2025-05-21T13:49:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T13:49:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004168 post PendingInvicesDO 2 MED-141004919 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004919 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe3061be-ac87-4b35-88d2-28fc4727504e' LIMIT 1 Date : 2025-05-21T14:33:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T14:33:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004169 post PendingInvicesDO 2 MED-141004920 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004920 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1fbc9317-6890-422b-a518-64a7c462545b' LIMIT 1 Date : 2025-05-21T15:03:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T15:03:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004170 post PendingInvicesDO 2 MED-141004921 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004921 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='583e2f46-1516-427a-8042-7397b6ec8b85' LIMIT 1 Date : 2025-05-21T20:56:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T20:56:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004171 post PendingInvicesDO 2 MED-141004922 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004922 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='591efa65-231b-44fc-a9eb-03502c5b1b11' LIMIT 1 Date : 2025-05-22T07:52:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T07:52:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004173 post PendingInvicesDO 2 MED-141004924 post PendingInvicesDO 2 MED-141004923 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004172 post PendingInvicesDO 2 MED-141004924 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004923 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004924 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ff567e7-dfa6-406f-8538-825d5f3ce493' LIMIT 1 Date : 2025-05-22T08:21:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd321cfc-cd07-41ba-a397-37fa7a9e7c11' LIMIT 1 Date : 2025-05-22T08:21:55  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ff567e7-dfa6-406f-8538-825d5f3ce493' LIMIT 1 Date : 2025-05-22T08:21:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd321cfc-cd07-41ba-a397-37fa7a9e7c11' LIMIT 1 Date : 2025-05-22T08:21:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-22T08:21:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004174 post PendingInvicesDO 2 MED-141004925 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004925 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a80f7e8-9d7f-4ac8-a726-c15a0db27a2d' LIMIT 1 Date : 2025-05-22T08:47:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T08:47:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004175 post PendingInvicesDO 2 MED-141004926 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004926 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bbb93199-1b56-46c9-ac89-154f14f6c0d0' LIMIT 1 Date : 2025-05-22T09:06:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T09:06:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004176 post PendingInvicesDO 2 MED-141004807 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004807 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004807' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004807' OR OrderId='MED-141004807' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T09:35:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004177 post PendingInvicesDO 2 MED-141004928 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004928 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fed27026-acf7-4556-a4ad-edd3eeb40240' LIMIT 1 Date : 2025-05-22T10:22:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T10:22:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004178 post PendingInvicesDO 2 MED-141004929 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004929 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed75e629-c798-4925-94c8-7f07bac96778' LIMIT 1 Date : 2025-05-22T10:38:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T10:38:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004179 post PendingInvicesDO 2 MED-141004930 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004930 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='373e43b5-328f-41c6-b1ef-79cbbb03363f' LIMIT 1 Date : 2025-05-22T11:19:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T11:19:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004180 post PendingInvicesDO 2 MED-141004931 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004931 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7541d559-d123-455c-96fc-0c2275f639dc' LIMIT 1 Date : 2025-05-22T11:46:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T11:46:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004181 post PendingInvicesDO 2 MED-141004932 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004932 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a7494b3-418d-4676-8a55-f0b8b990df07' LIMIT 1 Date : 2025-05-22T12:01:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T12:01:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004182 post PendingInvicesDO 2 MED-141004933 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004933 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='119bcb3a-66ef-48a7-adeb-9e69032d0250' LIMIT 1 Date : 2025-05-22T12:16:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T12:16:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004183 post PendingInvicesDO 2 MED-141004934 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004934 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3396c760-8592-4b32-b1b1-1b2850fe124a' LIMIT 1 Date : 2025-05-22T13:03:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T13:03:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004185 post PendingInvicesDO 2 MED-141004936 post PendingInvicesDO 2 MED-141004935 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004184 post PendingInvicesDO 2 MED-141004936 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004935 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004936 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85a23b53-c140-49c0-8ec7-537395ba2a8b' LIMIT 1 Date : 2025-05-22T14:03:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4b1b0d0-da99-4d51-86b7-1aca7fff2527' LIMIT 1 Date : 2025-05-22T14:03:32  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85a23b53-c140-49c0-8ec7-537395ba2a8b' LIMIT 1 Date : 2025-05-22T14:03:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4b1b0d0-da99-4d51-86b7-1aca7fff2527' LIMIT 1 Date : 2025-05-22T14:03:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-22T14:03:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004186 post PendingInvicesDO 2 MED-141004937 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004937 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b98efef4-ad2e-4a30-86c4-1e93ce35e81c' LIMIT 1 Date : 2025-05-22T14:16:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T14:16:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004187 post PendingInvicesDO 2 MED-141004938 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004938 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='646510a2-687f-4607-aebf-d493689e942b' LIMIT 1 Date : 2025-05-22T14:18:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T14:18:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004188 post PendingInvicesDO 2 MED-141004749 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004749 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004749' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004749' OR OrderId='MED-141004749' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T14:49:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004189 post PendingInvicesDO 2 MED-141004940 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004940 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d6a460b-9b70-4fdf-ac30-827047a49a2e' LIMIT 1 Date : 2025-05-22T15:00:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T15:00:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004190 post PendingInvicesDO 2 MED-141004941 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004941 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de41aac4-a7cf-4c3f-b394-24ccc59be9f8' LIMIT 1 Date : 2025-05-22T15:57:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T15:57:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004191 post PendingInvicesDO 2 MED-141004750 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004750 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004750' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004750' OR OrderId='MED-141004750' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T22:54:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004192 post PendingInvicesDO 2 MED-141004942 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004942 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc81f1b6-1252-4336-9976-f7e6a3c1d659' LIMIT 1 Date : 2025-05-24T08:28:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T08:28:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004193 post PendingInvicesDO 2 MED-141004945 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004945 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1e1b6cb-5ba7-4c60-8e92-f597a6430de8' LIMIT 1 Date : 2025-05-24T12:19:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T12:19:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004194 post PendingInvicesDO 2 MED-141004801 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004801 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004801' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004801' OR OrderId='MED-141004801' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-24T13:01:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004196 post PendingInvicesDO 2 MED-141004949 post PendingInvicesDO 2 MED-141004948 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004195 post PendingInvicesDO 2 MED-141004949 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004948 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004949 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f1e19c6-3de1-48e9-9969-88f4136c4d6b' LIMIT 1 Date : 2025-05-24T13:12:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c673637f-fb44-41a3-9437-bba6e4fccdab' LIMIT 1 Date : 2025-05-24T13:12:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f1e19c6-3de1-48e9-9969-88f4136c4d6b' LIMIT 1 Date : 2025-05-24T13:12:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c673637f-fb44-41a3-9437-bba6e4fccdab' LIMIT 1 Date : 2025-05-24T13:12:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-24T13:12:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004198 post PendingInvicesDO 2 MED-141004951 post PendingInvicesDO 2 MED-141004950 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004197 post PendingInvicesDO 2 MED-141004951 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004950 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004951 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f1e19c6-3de1-48e9-9969-88f4136c4d6b' LIMIT 1 Date : 2025-05-24T13:14:50 MED-141004948 arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f1e19c6-3de1-48e9-9969-88f4136c4d6b' LIMIT 1 Date : 2025-05-24T13:14:50 MED-141004948  performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-05-24T13:14:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004197 post PendingInvicesDO 2 MED-141004950 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004950 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2704da5c-7448-4fa0-a82e-52f3552a9ba5' LIMIT 1 Date : 2025-05-24T13:33:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T13:33:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004199 post PendingInvicesDO 2 MED-141004952 post PendingInvicesDO 2 MED-141004951 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004198 post PendingInvicesDO 2 MED-141004952 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004951 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004952 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b5abc751-7bbe-47d1-8c03-3973d98a0db6' LIMIT 1 Date : 2025-05-24T14:04:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70a1e0de-ed84-4de5-8328-67e7b80654d3' LIMIT 1 Date : 2025-05-24T14:04:40  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b5abc751-7bbe-47d1-8c03-3973d98a0db6' LIMIT 1 Date : 2025-05-24T14:04:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70a1e0de-ed84-4de5-8328-67e7b80654d3' LIMIT 1 Date : 2025-05-24T14:04:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-24T14:04:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004200 post PendingInvicesDO 2 MED-141004953 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004953 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d326ac63-1cdf-43a1-bdda-f70d2a93f827' LIMIT 1 Date : 2025-05-24T14:20:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T14:20:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004201 post PendingInvicesDO 2 MED-141004954 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004954 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7123db71-03aa-4757-a171-68d21831d769' LIMIT 1 Date : 2025-05-24T14:33:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T14:33:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004202 post PendingInvicesDO 2 MED-141004955 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004955 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2271e0fa-512f-4351-9e3a-c28a6f18e2ee' LIMIT 1 Date : 2025-05-24T15:10:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T15:10:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004203 post PendingInvicesDO 2 MED-141004957 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004957 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed389cd7-1608-402e-8887-aac714c10707' LIMIT 1 Date : 2025-05-24T16:59:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T16:59:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004204 post PendingInvicesDO 2 MED-141004893 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004893 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004893' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004893' OR OrderId='MED-141004893' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-24T23:30:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004205 post PendingInvicesDO 2 MED-141004960 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004960 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bff29627-01e2-4d7e-82b4-da25e0b1f9ba' LIMIT 1 Date : 2025-05-24T23:36:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T23:36:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004206 post PendingInvicesDO 2 MED-141004961 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004961 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b09b79a-3b48-4cae-8bd1-6f070784becf' LIMIT 1 Date : 2025-05-25T07:32:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T07:32:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004207 post PendingInvicesDO 2 MED-141004965 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004965 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0064199-7515-4405-ba49-b48e6cbb7735' LIMIT 1 Date : 2025-05-25T11:07:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T11:07:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004208 post PendingInvicesDO 2 MED-141004966 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004966 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aade36b2-a2b1-4d2f-a015-6ad0dc0406cb' LIMIT 1 Date : 2025-05-25T11:30:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T11:31:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004209 post PendingInvicesDO 2 MED-141004967 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004967 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2984ec98-b50d-46cb-b6fe-8a8525cbbc25' LIMIT 1 Date : 2025-05-25T12:05:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T12:05:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004210 post PendingInvicesDO 2 MED-141004968 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004968 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7666777-7a7f-4c71-a6f8-8e6108d23897' LIMIT 1 Date : 2025-05-25T13:12:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T13:12:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004212 post PendingInvicesDO 2 MED-141004970 post PendingInvicesDO 2 MED-141004969 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004211 post PendingInvicesDO 2 MED-141004970 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004969 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004970 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6662c7c4-47df-47ac-956c-11ed3be7ef4e' LIMIT 1 Date : 2025-05-25T14:11:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='30abe15b-71c0-4a3e-bdeb-bc7ae945db8c' LIMIT 1 Date : 2025-05-25T14:11:48  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6662c7c4-47df-47ac-956c-11ed3be7ef4e' LIMIT 1 Date : 2025-05-25T14:11:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='30abe15b-71c0-4a3e-bdeb-bc7ae945db8c' LIMIT 1 Date : 2025-05-25T14:11:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-25T14:11:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004214 post PendingInvicesDO 2 MED-141004972 post PendingInvicesDO 2 MED-141004971 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004213 post PendingInvicesDO 2 MED-141004972 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141004971 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004972 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82854b90-04b9-4f92-8e0b-183da6fd8f46' LIMIT 1 Date : 2025-05-25T14:58:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25f99b54-dd91-45f5-bbda-0a20e70f5fdb' LIMIT 1 Date : 2025-05-25T14:58:57  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82854b90-04b9-4f92-8e0b-183da6fd8f46' LIMIT 1 Date : 2025-05-25T14:58:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25f99b54-dd91-45f5-bbda-0a20e70f5fdb' LIMIT 1 Date : 2025-05-25T14:58:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-25T14:58:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004215 post PendingInvicesDO 2 MED-141004973 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004973 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a5a6a4d-6918-4991-9836-0b1405b84e28' LIMIT 1 Date : 2025-05-25T15:17:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T15:17:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004216 post PendingInvicesDO 2 MED-141004974 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004974 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3ce79f5-5ed5-4fe7-bf2a-5a334e88665a' LIMIT 1 Date : 2025-05-25T15:49:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T15:49:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004217 post PendingInvicesDO 2 MED-141004975 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004975 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='520f2c1a-c46b-4997-abc1-4b75edba8a62' LIMIT 1 Date : 2025-05-25T16:18:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T16:18:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004218 post PendingInvicesDO 2 MED-141004976 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004976 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dfb8c04b-1d37-4b90-9b74-a40ef8ee88aa' LIMIT 1 Date : 2025-05-25T16:39:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T16:39:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004219 post PendingInvicesDO 2 MED-141004977 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004977 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a51561ab-ade5-4b56-8d3a-c8cd2504d956' LIMIT 1 Date : 2025-05-25T17:42:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T17:42:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004220 post PendingInvicesDO 2 MED-141004978 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004978 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004978' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004978' OR OrderId='MED-141004978' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T21:00:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004221 post PendingInvicesDO 2 MED-141004964 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004964 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004964' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004964' OR OrderId='MED-141004964' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T22:23:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004222 post PendingInvicesDO 2 MED-141004856 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004856 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004856' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004856' OR OrderId='MED-141004856' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T22:24:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004223 post PendingInvicesDO 2 MED-141004982 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004982 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ce342ff-9af2-44e6-a457-7430b4e35bf4' LIMIT 1 Date : 2025-05-26T11:38:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T11:38:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004224 post PendingInvicesDO 2 MED-141004983 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004983 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42945e25-92fa-4dd3-b9ae-d96154a81043' LIMIT 1 Date : 2025-05-26T12:05:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T12:05:42 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004225 post PendingInvicesDO 2 MED-141004984 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004984 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50dc2aeb-713a-47d6-bae4-3340fe5021be' LIMIT 1 Date : 2025-05-26T12:41:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T12:41:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004226 post PendingInvicesDO 2 MED-141004985 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004985 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='454c0368-fcd7-4aaf-a0d0-daa140c769fd' LIMIT 1 Date : 2025-05-26T13:02:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T13:02:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004227 post PendingInvicesDO 2 MED-141004986 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004986 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fb07001-b815-477e-96c9-3d1a5e754395' LIMIT 1 Date : 2025-05-26T13:15:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T13:15:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004228 post PendingInvicesDO 2 MED-141004987 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004987 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='493907a0-7095-4920-884a-d9aabe9096b0' LIMIT 1 Date : 2025-05-26T13:31:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T13:31:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004229 post PendingInvicesDO 2 MED-141004988 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004988 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26a79951-464a-4279-90dc-5e888c60499b' LIMIT 1 Date : 2025-05-26T13:43:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T13:43:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004230 post PendingInvicesDO 2 MED-141004989 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004989 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a514373-eeab-45b4-b58f-0621fe1747dd' LIMIT 1 Date : 2025-05-26T14:21:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T14:21:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004231 post PendingInvicesDO 2 MED-141004990 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004990 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b722eda-00a0-4bdb-95c2-eb1cd51a8a1d' LIMIT 1 Date : 2025-05-26T14:50:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T14:50:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004232 post PendingInvicesDO 2 MED-141004991 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004991 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='234d480d-e4bd-4391-a079-3693996d9cef' LIMIT 1 Date : 2025-05-26T15:25:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T15:25:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004233 post PendingInvicesDO 2 MED-141004992 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004992 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cde03122-6769-4e09-a7c0-a6f78ab5f7e5' LIMIT 1 Date : 2025-05-26T15:57:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T15:57:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004234 post PendingInvicesDO 2 MED-141004993 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004993 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0e20c8d-b39c-4aaf-bfe9-04fa1781774a' LIMIT 1 Date : 2025-05-26T16:20:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T16:20:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004235 post PendingInvicesDO 2 MED-141004995 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004995 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18cb63f8-1fb2-4a70-9660-f5d716e35d3e' LIMIT 1 Date : 2025-05-26T17:08:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T17:08:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004236 post PendingInvicesDO 2 MED-141004979 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004979 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004979' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004979' OR OrderId='MED-141004979' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-26T22:11:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004237 post PendingInvicesDO 2 MED-141004997 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004997 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b6984c0-e769-40f6-9587-4b002cd7eda9' LIMIT 1 Date : 2025-05-27T10:25:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T10:25:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004238 post PendingInvicesDO 2 MED-141005008 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005008 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='acd34f89-a1fc-4c34-b584-e98560b68abf' LIMIT 1 Date : 2025-05-28T07:30:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T07:30:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004239 post PendingInvicesDO 2 MED-141005009 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005009 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f827a681-24b2-4982-9370-63ea260e56e8' LIMIT 1 Date : 2025-05-28T08:10:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T08:10:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004240 post PendingInvicesDO 2 MED-141005014 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005014 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ebdd63c5-086c-4aff-8f46-86ac276e3a4b' LIMIT 1 Date : 2025-05-28T11:50:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T11:50:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004241 post PendingInvicesDO 2 MED-141005015 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005015 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4c4942e-edb6-4834-a3ff-9e52a5c5dcb8' LIMIT 1 Date : 2025-05-28T12:53:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T12:53:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004242 post PendingInvicesDO 2 MED-141005017 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005017 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0180ca27-f1ee-4be2-943b-583fde13bbfe' LIMIT 1 Date : 2025-05-28T14:18:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T14:18:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004243 post PendingInvicesDO 2 MED-141005018 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005018 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1879dd3d-a90f-4bb9-bcd2-6e48ee7f9405' LIMIT 1 Date : 2025-05-28T15:01:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T15:01:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004244 post PendingInvicesDO 2 MED-141005019 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005019 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d87e8f1a-136d-4072-b1b5-01b9ad0d2774' LIMIT 1 Date : 2025-05-28T15:25:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T15:25:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004245 post PendingInvicesDO 2 MED-141005025 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005025 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d72afb7a-0c54-4d25-92b6-8dc8dfde0bbd' LIMIT 1 Date : 2025-05-29T08:12:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T08:12:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004246 post PendingInvicesDO 2 MED-141005026 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005026 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d47bd8c-5e0c-48c7-9c15-4ec2037430ea' LIMIT 1 Date : 2025-05-29T08:41:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T08:41:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004247 post PendingInvicesDO 2 MED-141005027 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005027 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6187022-9e2b-4553-b2a7-9f64aba9c0c9' LIMIT 1 Date : 2025-05-29T09:04:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T09:04:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004248 post PendingInvicesDO 2 MED-141005028 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005028 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3395a329-ad80-41b1-8e20-6cc77c9df2ac' LIMIT 1 Date : 2025-05-29T09:27:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T09:27:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004249 post PendingInvicesDO 2 MED-141005030 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005030 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='547664af-5ceb-4f9a-a289-222125e09a04' LIMIT 1 Date : 2025-05-29T10:56:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T10:56:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004251 post PendingInvicesDO 2 MED-141005033 post PendingInvicesDO 2 MED-141005032 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004250 post PendingInvicesDO 2 MED-141005033 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005032 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005033 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a0c4958c-840e-4bb2-a22c-be869af84116' LIMIT 1 Date : 2025-05-29T12:02:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9903fee-5f75-4b49-97cb-36ddec750ba1' LIMIT 1 Date : 2025-05-29T12:02:59  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a0c4958c-840e-4bb2-a22c-be869af84116' LIMIT 1 Date : 2025-05-29T12:02:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9903fee-5f75-4b49-97cb-36ddec750ba1' LIMIT 1 Date : 2025-05-29T12:02:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-29T12:02:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004252 post PendingInvicesDO 2 MED-141005034 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005034 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71f146be-72c5-4de8-8483-b6ab731f056b' LIMIT 1 Date : 2025-05-29T12:18:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T12:18:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004253 post PendingInvicesDO 2 MED-141005035 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005035 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c34124e9-bcc0-492e-bd21-74d5741a05b9' LIMIT 1 Date : 2025-05-29T13:02:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T13:02:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004254 post PendingInvicesDO 2 MED-141005037 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005037 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef897e8a-554e-40d7-b205-e66a955b1f95' LIMIT 1 Date : 2025-05-29T13:41:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T13:41:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004255 post PendingInvicesDO 2 MED-141005038 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005038 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98619daf-890d-4af6-942e-ee23196cc822' LIMIT 1 Date : 2025-05-29T14:04:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T14:04:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004256 post PendingInvicesDO 2 MED-141005040 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005040 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005040' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005040' OR OrderId='MED-141005040' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T14:44:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004257 post PendingInvicesDO 2 MED-141005041 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005041 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48223622-28a1-4721-a0e8-e4d48a432db9' LIMIT 1 Date : 2025-05-29T14:52:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T14:52:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004258 post PendingInvicesDO 2 MED-141005042 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005042 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fd145fd-63db-412e-8164-611f9c359ac1' LIMIT 1 Date : 2025-05-29T15:11:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T15:11:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004259 post PendingInvicesDO 2 MED-141004939 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004939 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004939' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004939' OR OrderId='MED-141004939' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T15:57:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004260 post PendingInvicesDO 2 MED-141005045 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005045 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d749b912-d89a-4dda-9a9b-68dc539697f7' LIMIT 1 Date : 2025-05-29T15:59:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T15:59:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004262 post PendingInvicesDO 2 MED-141005047 post PendingInvicesDO 2 MED-141005046 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004261 post PendingInvicesDO 2 MED-141005047 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005046 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005047 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2259202e-0ae9-4c3a-af5f-09fb9f1cf258' LIMIT 1 Date : 2025-05-29T17:28:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='069c0c54-5878-4777-9f79-062341263f33' LIMIT 1 Date : 2025-05-29T17:28:33  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2259202e-0ae9-4c3a-af5f-09fb9f1cf258' LIMIT 1 Date : 2025-05-29T17:28:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='069c0c54-5878-4777-9f79-062341263f33' LIMIT 1 Date : 2025-05-29T17:28:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-29T17:28:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004263 post PendingInvicesDO 2 MED-141005048 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005048 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b035aa0-8ec8-45a6-a3e3-8c1b700047f8' LIMIT 1 Date : 2025-05-29T17:58:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T17:58:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004264 post PendingInvicesDO 2 MED-141005043 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005043 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005043' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005043' OR OrderId='MED-141005043' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-29T21:52:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004265 post PendingInvicesDO 2 MED-141005049 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005049 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='891426b5-7528-4910-b745-0c4d4ac042fc' LIMIT 1 Date : 2025-05-29T22:00:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T22:00:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004266 post PendingInvicesDO 2 MED-141005024 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005024 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005024' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005024' OR OrderId='MED-141005024' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T06:36:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004267 post PendingInvicesDO 2 MED-141005022 post PendingInvicesDO 2 MED-141005021 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005021 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005022 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005022' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005022' OR OrderId='MED-141005022' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005021' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005021' OR OrderId='MED-141005021' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T06:37:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004268 post PendingInvicesDO 2 MED-141005050 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005050 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e45183a-d366-4d3a-a4af-1e14398b4bdb' LIMIT 1 Date : 2025-05-31T07:41:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T07:41:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004269 post PendingInvicesDO 2 MED-141005051 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005051 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005051' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005051' OR OrderId='MED-141005051' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T08:24:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004270 post PendingInvicesDO 2 MED-141005057 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005057 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef7e35fe-4956-4bde-a661-b21c07433ebe' LIMIT 1 Date : 2025-05-31T12:25:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T12:25:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004271 post PendingInvicesDO 2 MED-141005059 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005059 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99d64e1b-eb77-4ee1-af40-987685fa7846' LIMIT 1 Date : 2025-05-31T12:41:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T12:41:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004273 post PendingInvicesDO 2 MED-141005062 post PendingInvicesDO 2 MED-141005061 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004272 post PendingInvicesDO 2 MED-141005062 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005061 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005062 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61823473-5639-4cee-b634-413c9f8c67ed' LIMIT 1 Date : 2025-05-31T13:33:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='945d6217-7e5f-4445-aaae-a96bc5c38c86' LIMIT 1 Date : 2025-05-31T13:33:36  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61823473-5639-4cee-b634-413c9f8c67ed' LIMIT 1 Date : 2025-05-31T13:33:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='945d6217-7e5f-4445-aaae-a96bc5c38c86' LIMIT 1 Date : 2025-05-31T13:33:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-31T13:33:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004274 post PendingInvicesDO 2 MED-141005064 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005064 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005064' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005064' OR OrderId='MED-141005064' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T14:32:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004275 post PendingInvicesDO 2 MED-141005065 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005065 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bb9751d-968f-4b6b-9c3e-d3a067a59a91' LIMIT 1 Date : 2025-05-31T14:37:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T14:37:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004276 post PendingInvicesDO 2 MED-141005066 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005066 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f4d74b0-8ee2-4dfd-9269-04562e0b2eb4' LIMIT 1 Date : 2025-05-31T16:42:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T16:42:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004277 post PendingInvicesDO 2 MED-141005036 post PendingInvicesDO 2 MED-141005067 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005036 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005067 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005036' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005036' OR OrderId='MED-141005036' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005067' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005067' OR OrderId='MED-141005067' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T17:02:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004278 post PendingInvicesDO 2 MED-141005068 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005068 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b5714359-0660-4ddb-8567-bb0d362c4874' LIMIT 1 Date : 2025-05-31T17:12:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-31T17:12:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004279 post PendingInvicesDO 2 MED-141004927 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004927 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004927' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004927' OR OrderId='MED-141004927' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T17:35:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004280 post PendingInvicesDO 2 MED-141005060 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005060 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005060' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005060' OR OrderId='MED-141005060' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T21:45:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004281 post PendingInvicesDO 2 MED-141004885 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004885 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004885' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004885' OR OrderId='MED-141004885' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T21:48:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004282 post PendingInvicesDO 2 MED-141005058 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005058 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005058' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005058' OR OrderId='MED-141005058' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-31T21:57:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004283 post PendingInvicesDO 2 MED-141005069 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005069 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc67c5a3-ba36-4823-9b5e-8235996fb122' LIMIT 1 Date : 2025-06-01T07:45:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T07:45:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004284 post PendingInvicesDO 2 MED-141005070 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005070 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41fe4bee-0d0e-4931-8d9c-f2e509d8a769' LIMIT 1 Date : 2025-06-01T08:04:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T08:04:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004285 post PendingInvicesDO 2 MED-141005073 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005073 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e0945c5-e07a-486a-b618-3b6d707e9f06' LIMIT 1 Date : 2025-06-01T10:22:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T10:22:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004286 post PendingInvicesDO 2 MED-141005020 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005020 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005020' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005020' OR OrderId='MED-141005020' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-01T11:32:16 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004287 post PendingInvicesDO 2 MED-141005075 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005075 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0dd45b8-7cf7-4254-ae9c-04fe2385c52b' LIMIT 1 Date : 2025-06-01T11:53:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T11:53:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004289 post PendingInvicesDO 2 MED-141005077 post PendingInvicesDO 2 MED-141005076 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004288 post PendingInvicesDO 2 MED-141005077 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005076 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005077 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed6e56b2-475a-47ff-a2d2-cb2785da5fd0' LIMIT 1 Date : 2025-06-01T12:36:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ee082b6-7300-4c07-99b3-37a702e28915' LIMIT 1 Date : 2025-06-01T12:36:32  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed6e56b2-475a-47ff-a2d2-cb2785da5fd0' LIMIT 1 Date : 2025-06-01T12:36:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ee082b6-7300-4c07-99b3-37a702e28915' LIMIT 1 Date : 2025-06-01T12:36:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-01T12:36:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004290 post PendingInvicesDO 2 MED-141005078 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005078 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bbf7a65f-1a75-4488-99be-6bc105efbb02' LIMIT 1 Date : 2025-06-01T13:54:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T13:54:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004291 post PendingInvicesDO 2 MED-141005079 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005079 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='05b78b88-b5c5-44fa-ad80-ddbd96776552' LIMIT 1 Date : 2025-06-01T14:43:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T14:43:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004292 post PendingInvicesDO 2 MED-141005080 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005080 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e870709d-d286-43de-8f71-ae8f2814dc0a' LIMIT 1 Date : 2025-06-01T14:57:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T14:57:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004293 post PendingInvicesDO 2 MED-141005081 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005081 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7269fb53-04ce-403f-affc-06d187df7e22' LIMIT 1 Date : 2025-06-01T15:32:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T15:32:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004294 post PendingInvicesDO 2 MED-141005082 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005082 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61321d1e-4a37-4579-9721-ce8254163803' LIMIT 1 Date : 2025-06-01T15:59:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T15:59:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004295 post PendingInvicesDO 2 MED-141005083 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005083 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd4ed742-80c0-41cb-b572-f71328912b3a' LIMIT 1 Date : 2025-06-01T16:35:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T16:35:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004296 post PendingInvicesDO 2 MED-141005084 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005084 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='afa52649-942a-44a4-89df-1b4372710d1a' LIMIT 1 Date : 2025-06-01T17:42:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-01T17:42:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004297 post PendingInvicesDO 2 MED-141005085 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005085 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8cd7d6cb-4123-40d6-bc41-c91b89740f4f' LIMIT 1 Date : 2025-06-02T07:28:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T07:28:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004298 post PendingInvicesDO 2 MED-141005087 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005087 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5f9c674-c7ae-4a33-97d3-de60ce05bb1e' LIMIT 1 Date : 2025-06-02T09:46:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T09:46:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004299 post PendingInvicesDO 2 MED-141005088 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005088 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f3e88d2-7898-44cb-b576-e4bdfc46eacf' LIMIT 1 Date : 2025-06-02T11:09:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T11:09:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004300 post PendingInvicesDO 2 MED-141005089 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005089 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b661d17b-5a13-4319-968e-366f4fae45e8' LIMIT 1 Date : 2025-06-02T11:22:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T11:22:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004301 post PendingInvicesDO 2 MED-141005090 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005090 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f45d35a8-2ffe-4527-a9e4-730c72cfb3eb' LIMIT 1 Date : 2025-06-02T11:52:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T11:52:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004302 post PendingInvicesDO 2 MED-141005091 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005091 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b394e9c8-1d56-4323-ace6-dd60df2e8d17' LIMIT 1 Date : 2025-06-02T12:31:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T12:31:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004303 post PendingInvicesDO 2 MED-141005092 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005092 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='836974a2-3218-4a4a-8483-898b137611d3' LIMIT 1 Date : 2025-06-02T12:40:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T12:40:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004304 post PendingInvicesDO 2 MED-141005095 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005095 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='adb3ac87-ed49-4387-835a-7faa6d530f75' LIMIT 1 Date : 2025-06-02T14:05:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T14:05:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004305 post PendingInvicesDO 2 MED-141005097 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005097 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f10f822-299e-40db-bb4d-4b368dddf68b' LIMIT 1 Date : 2025-06-02T16:05:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T16:05:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004306 post PendingInvicesDO 2 MED-141005098 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005098 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9623561-589c-4734-8aac-cf44ddf05d79' LIMIT 1 Date : 2025-06-03T07:23:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T07:23:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004307 post PendingInvicesDO 2 MED-141004947 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004947 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004947' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004947' OR OrderId='MED-141004947' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-03T09:56:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004308 post PendingInvicesDO 2 MED-141005104 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005104 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9cb7d682-2ddb-407c-9790-4e584a08e66a' LIMIT 1 Date : 2025-06-03T11:40:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T11:40:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004309 post PendingInvicesDO 2 MED-141005105 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005105 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b701e7e7-6520-4f4b-823d-37e14872c61e' LIMIT 1 Date : 2025-06-03T12:11:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T12:11:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004310 post PendingInvicesDO 2 MED-141005106 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005106 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6a98ec6-917e-4f3f-bb7b-fddfd1df8775' LIMIT 1 Date : 2025-06-03T13:20:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T13:20:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004311 post PendingInvicesDO 2 MED-141005107 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005107 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15379e5f-3b26-4f5b-988f-cf41eb3506b3' LIMIT 1 Date : 2025-06-03T13:45:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T13:45:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004312 post PendingInvicesDO 2 MED-141005108 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005108 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ceb4ee55-1870-4897-bfe2-b5c2dfea7301' LIMIT 1 Date : 2025-06-03T14:00:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T14:00:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004313 post PendingInvicesDO 2 MED-141005109 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005109 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c798c3a4-61a7-400e-8e83-a010173ea244' LIMIT 1 Date : 2025-06-03T14:16:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T14:16:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004314 post PendingInvicesDO 2 MED-141005110 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005110 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d366f9d-ccf4-4362-a430-2d8d93080cb4' LIMIT 1 Date : 2025-06-03T14:34:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T14:34:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004315 post PendingInvicesDO 2 MED-141005111 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005111 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb05f364-001e-412d-a262-ac63fb921dbd' LIMIT 1 Date : 2025-06-03T15:03:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T15:03:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004317 post PendingInvicesDO 2 MED-141005113 post PendingInvicesDO 2 MED-141005112 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004316 post PendingInvicesDO 2 MED-141005113 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005112 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005113 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18bc3949-961c-4e2b-ba86-24006121ab86' LIMIT 1 Date : 2025-06-03T15:32:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c3b4ea1-5f88-4de8-a251-27772ce79466' LIMIT 1 Date : 2025-06-03T15:32:17  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18bc3949-961c-4e2b-ba86-24006121ab86' LIMIT 1 Date : 2025-06-03T15:32:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c3b4ea1-5f88-4de8-a251-27772ce79466' LIMIT 1 Date : 2025-06-03T15:32:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-03T15:32:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004318 post PendingInvicesDO 2 MED-141005114 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005114 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='458fdf6a-d5ec-4427-87a2-b7c9aee2f4f7' LIMIT 1 Date : 2025-06-03T16:28:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T16:28:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004319 post PendingInvicesDO 2 MED-141005115 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005115 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ceed84e-0906-40b4-9b9f-244908fadd84' LIMIT 1 Date : 2025-06-03T16:44:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T16:44:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004320 post PendingInvicesDO 2 MED-141005116 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005116 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9014abc8-e9bb-4d59-bf6a-caca7c5980dd' LIMIT 1 Date : 2025-06-03T20:37:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T20:37:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004321 post PendingInvicesDO 2 MED-141005118 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005118 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005118' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005118' OR OrderId='MED-141005118' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-04T08:44:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004322 post PendingInvicesDO 2 MED-141005125 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005125 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa46be6c-a796-4d2f-a3d0-b19b7cd3fcad' LIMIT 1 Date : 2025-06-04T13:06:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T13:06:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004323 post PendingInvicesDO 2 MED-141005126 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005126 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c537b6a2-382e-4c04-b9d7-79cfc8b797d8' LIMIT 1 Date : 2025-06-04T13:34:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T13:34:22 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004324 post PendingInvicesDO 2 MED-141005129 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005129 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005129' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005129' OR OrderId='MED-141005129' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-04T16:08:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004325 post PendingInvicesDO 2 MED-141005016 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005016 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005016' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005016' OR OrderId='MED-141005016' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-04T16:13:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004326 post PendingInvicesDO 2 MED-141005131 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005131 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8924fff0-56fb-4416-9da5-b2b4648810d3' LIMIT 1 Date : 2025-06-04T16:34:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T16:34:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004327 post PendingInvicesDO 2 MED-141005132 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005132 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e41abfcd-600a-44f9-9778-e07b132f5362' LIMIT 1 Date : 2025-06-04T16:57:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T16:57:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004328 post PendingInvicesDO 2 MED-141005133 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005133 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7270912-31c4-4ab0-8cbe-e33c388e0cc7' LIMIT 1 Date : 2025-06-04T17:08:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T17:08:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004329 post PendingInvicesDO 2 MED-141005134 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005134 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b33c6328-c084-4333-a3b6-92393fcdf8d7' LIMIT 1 Date : 2025-06-05T07:13:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T07:13:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004330 post PendingInvicesDO 2 MED-141005135 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005135 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db1f29dd-0a3a-4e3c-8975-5685c361656f' LIMIT 1 Date : 2025-06-05T07:28:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T07:28:34 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004331 post PendingInvicesDO 2 MED-141005136 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005136 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2afc245-cd37-40fd-bb52-271eea13a2ae' LIMIT 1 Date : 2025-06-05T07:36:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T07:36:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004332 post PendingInvicesDO 2 MED-141005137 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005137 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c099f0dc-0af0-4e2d-96c0-9af8324ffe43' LIMIT 1 Date : 2025-06-05T07:57:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T07:57:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004333 post PendingInvicesDO 2 MED-141005139 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005139 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5456eb6-8d88-4790-9581-f7013c987207' LIMIT 1 Date : 2025-06-05T09:35:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T09:35:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004334 post PendingInvicesDO 2 MED-141005140 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005140 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21c7d914-b440-401c-a37f-f879c1285992' LIMIT 1 Date : 2025-06-05T10:00:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T10:00:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004335 post PendingInvicesDO 2 MED-141005141 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005141 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e95e7d08-619a-483e-9728-99ac8b201527' LIMIT 1 Date : 2025-06-05T10:15:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T10:15:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004336 post PendingInvicesDO 2 MED-141005142 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005142 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7204b33-2dba-4b4d-b182-cad681ca719d' LIMIT 1 Date : 2025-06-05T10:31:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T10:31:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004338 post PendingInvicesDO 2 MED-141005144 post PendingInvicesDO 2 MED-141005143 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004337 post PendingInvicesDO 2 MED-141005144 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005143 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005144 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005144' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005144' OR OrderId='MED-141005144' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005144' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005144' OR OrderId='MED-141005144' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T11:29:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004339 post PendingInvicesDO 2 MED-141005145 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005145 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1158a101-87f9-4e40-a129-f924de355b8e' LIMIT 1 Date : 2025-06-05T11:32:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T11:32:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004340 post PendingInvicesDO 2 MED-141005146 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005146 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3efed24e-a61a-492e-9035-ef0b6e0a41d5' LIMIT 1 Date : 2025-06-05T11:55:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T11:55:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004341 post PendingInvicesDO 2 MED-141005147 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005147 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4570a4f-68b7-4902-be89-6895993f27c2' LIMIT 1 Date : 2025-06-05T12:58:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T12:58:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004342 post PendingInvicesDO 2 MED-141005148 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005148 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22b2477f-8371-482f-a04d-b0ab282cf41e' LIMIT 1 Date : 2025-06-05T13:13:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T13:13:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004343 post PendingInvicesDO 2 MED-141005149 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005149 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ea84a9e-e3e2-4bbd-b3e2-5d467606b1c2' LIMIT 1 Date : 2025-06-05T13:20:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T13:20:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004344 post PendingInvicesDO 2 MED-141005150 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005150 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d82a9037-77b8-4ac8-9142-014bf6942f5b' LIMIT 1 Date : 2025-06-05T13:39:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T13:39:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004345 post PendingInvicesDO 2 MED-141004936 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004936' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004936' OR OrderId='MED-141004936' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-05T13:55:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004345 post PendingInvicesDO 2 MED-141004936 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004936' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004936' OR OrderId='MED-141004936' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-05T13:55:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004345 post PendingInvicesDO 2 MED-141005151 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005151 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8e6a4f3-dfdf-4c93-b115-40b36a088d0a' LIMIT 1 Date : 2025-06-05T13:57:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T13:57:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004346 post PendingInvicesDO 2 MED-141005152 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005152 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c6a585c-c43b-4eca-b2ee-dbaef81616f1' LIMIT 1 Date : 2025-06-05T14:14:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T14:14:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004347 post PendingInvicesDO 2 MED-141005154 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005154 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45a8098d-9746-445d-904d-f2befc0b244d' LIMIT 1 Date : 2025-06-05T14:38:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T14:38:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004348 post PendingInvicesDO 2 MED-141005155 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005155 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b332c477-139a-4ebd-b0cd-a41adffe963f' LIMIT 1 Date : 2025-06-05T14:53:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T14:53:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004349 post PendingInvicesDO 2 MED-141005156 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005156 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12e2156b-1161-47c3-86f4-c12772a73df5' LIMIT 1 Date : 2025-06-05T15:12:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T15:12:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004350 post PendingInvicesDO 2 MED-141005157 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005157 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48942159-014c-4031-8dd1-bbe985b2b5d0' LIMIT 1 Date : 2025-06-05T15:21:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T15:21:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004351 post PendingInvicesDO 2 MED-141005158 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005158 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='532e6d12-5e8a-4063-8430-35f74f1ad841' LIMIT 1 Date : 2025-06-05T15:46:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T15:46:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004352 post PendingInvicesDO 2 MED-141005159 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005159 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd7f2074-4c22-4cfa-8568-4bcc595710f3' LIMIT 1 Date : 2025-06-05T16:20:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T16:20:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004353 post PendingInvicesDO 2 MED-141005160 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005160 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e76d73a-8720-47b9-87e1-dda40ea5b62b' LIMIT 1 Date : 2025-06-05T16:36:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T16:36:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004354 post PendingInvicesDO 2 MED-141005086 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005086 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005086' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005086' OR OrderId='MED-141005086' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T16:49:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004355 post PendingInvicesDO 2 MED-141005063 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005063 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005063' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005063' OR OrderId='MED-141005063' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T16:59:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004356 post PendingInvicesDO 2 MED-141005124 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005124 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005124' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005124' OR OrderId='MED-141005124' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T21:39:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004358 post PendingInvicesDO 2 MED-141005164 post PendingInvicesDO 2 MED-141005163 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004357 post PendingInvicesDO 2 MED-141005164 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005163 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005164 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5222e0cd-1e99-4fd7-8f76-b7ff916423ff' LIMIT 1 Date : 2025-06-05T21:44:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c33535ff-d575-4801-8c6c-b370e87250ec' LIMIT 1 Date : 2025-06-05T21:44:05  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5222e0cd-1e99-4fd7-8f76-b7ff916423ff' LIMIT 1 Date : 2025-06-05T21:44:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c33535ff-d575-4801-8c6c-b370e87250ec' LIMIT 1 Date : 2025-06-05T21:44:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-05T21:44:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004359 post PendingInvicesDO 2 MED-141005165 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005165 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2384e5fa-a2b6-4705-8161-194b3ed808a7' LIMIT 1 Date : 2025-06-08T08:12:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T08:12:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004360 post PendingInvicesDO 2 MED-141005169 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005169 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b146fadb-f1a8-4dce-a6c5-153385576710' LIMIT 1 Date : 2025-06-08T10:42:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T10:42:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004362 post PendingInvicesDO 2 MED-141005171 post PendingInvicesDO 2 MED-141005170 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004361 post PendingInvicesDO 2 MED-141005171 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005170 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005171 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28629827-6330-4de8-b290-df7b079aa9f1' LIMIT 1 Date : 2025-06-08T10:55:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46738f95-a4c3-45ff-88d9-08b25546f2bd' LIMIT 1 Date : 2025-06-08T10:55:55  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28629827-6330-4de8-b290-df7b079aa9f1' LIMIT 1 Date : 2025-06-08T10:55:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46738f95-a4c3-45ff-88d9-08b25546f2bd' LIMIT 1 Date : 2025-06-08T10:55:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-08T10:55:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004363 post PendingInvicesDO 2 MED-141005172 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005172 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45b74948-6bee-4d69-b212-4378c4b94c0d' LIMIT 1 Date : 2025-06-08T11:36:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T11:36:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004364 post PendingInvicesDO 2 MED-141005173 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005173 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='acaba32d-22c4-42f2-8741-2cd6d6b6263d' LIMIT 1 Date : 2025-06-08T11:57:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T11:57:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004365 post PendingInvicesDO 2 MED-141005174 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005174 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e7862e9-1d04-4257-a26e-01a8507d4c8b' LIMIT 1 Date : 2025-06-08T12:25:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T12:25:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004366 post PendingInvicesDO 2 MED-141005094 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005094 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005094' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005094' OR OrderId='MED-141005094' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-08T12:42:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004367 post PendingInvicesDO 2 MED-141005175 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005175 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52bb8816-e78d-4698-8e2c-f2189ee5d2ff' LIMIT 1 Date : 2025-06-08T13:24:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T13:24:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004368 post PendingInvicesDO 2 MED-141005176 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005176 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e701e9d2-8edd-4a13-824e-f0fff69def61' LIMIT 1 Date : 2025-06-08T13:29:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-08T13:29:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004369 post PendingInvicesDO 2 MED-141005128 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005128 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005128' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005128' OR OrderId='MED-141005128' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-08T21:20:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004370 post PendingInvicesDO 2 MED-141005130 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005130 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005130' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005130' OR OrderId='MED-141005130' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-08T21:22:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004371 post PendingInvicesDO 2 MED-141005177 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005177 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005177' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005177' OR OrderId='MED-141005177' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-08T21:33:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004372 post PendingInvicesDO 2 MED-141004887 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004887 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004887' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004887' OR OrderId='MED-141004887' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-08T21:36:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004373 post PendingInvicesDO 2 MED-141005117 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005117 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005117' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005117' OR OrderId='MED-141005117' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-09T07:55:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004374 post PendingInvicesDO 2 MED-141005186 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005186 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c8bbc0c-3c8f-48b3-bbc2-6aac5170b091' LIMIT 1 Date : 2025-06-09T12:24:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T12:24:21 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004375 post PendingInvicesDO 2 MED-141005187 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005187 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a57985fa-97a2-4c59-890d-7495f12ce501' LIMIT 1 Date : 2025-06-09T13:05:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T13:05:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004376 post PendingInvicesDO 2 MED-141005188 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005188 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83732ee4-1afb-44c0-9240-8a9d80977767' LIMIT 1 Date : 2025-06-09T13:53:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T13:53:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004377 post PendingInvicesDO 2 MED-141005189 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005189 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5020075-370d-41f6-a83d-8fe22731a642' LIMIT 1 Date : 2025-06-09T14:34:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T14:34:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004378 post PendingInvicesDO 2 MED-141005190 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005190 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c86dae94-9f16-4135-be75-374f637a3977' LIMIT 1 Date : 2025-06-09T15:03:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-09T15:03:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004379 post PendingInvicesDO 2 MED-141005185 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005185 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005185' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005185' OR OrderId='MED-141005185' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-09T21:43:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004380 post PendingInvicesDO 2 MED-141005191 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005191 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ac098c2-2c65-4550-8234-a4a93d53b958' LIMIT 1 Date : 2025-06-10T08:00:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T08:00:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004382 post PendingInvicesDO 2 MED-141005193 post PendingInvicesDO 2 MED-141005192 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004381 post PendingInvicesDO 2 MED-141005193 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005192 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005193 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23ad5c76-33e7-472b-aa6f-6a9a18c1cade' LIMIT 1 Date : 2025-06-10T08:51:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff2ec7ba-f526-410d-b297-f5300a86b8a1' LIMIT 1 Date : 2025-06-10T08:51:47  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23ad5c76-33e7-472b-aa6f-6a9a18c1cade' LIMIT 1 Date : 2025-06-10T08:51:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff2ec7ba-f526-410d-b297-f5300a86b8a1' LIMIT 1 Date : 2025-06-10T08:51:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-10T08:51:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004383 post PendingInvicesDO 2 MED-141005194 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005194 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd2e94d3-88f5-4198-82c5-c8bae2830d7d' LIMIT 1 Date : 2025-06-10T09:46:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T09:46:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004384 post PendingInvicesDO 2 MED-141005197 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005197 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb745db0-8f61-450e-b22f-8219b663fb59' LIMIT 1 Date : 2025-06-10T13:22:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T13:22:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004385 post PendingInvicesDO 2 MED-141005198 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005198 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20978933-9ed2-4182-9912-a8dcdb1c3712' LIMIT 1 Date : 2025-06-10T13:33:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T13:33:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004386 post PendingInvicesDO 2 MED-141005199 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005199 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef8a990f-32b4-41e9-8502-90b18dd5636c' LIMIT 1 Date : 2025-06-10T13:40:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T13:40:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004387 post PendingInvicesDO 2 MED-141005200 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005200 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='baca0d8a-f201-4c2d-9525-2c55f55f968d' LIMIT 1 Date : 2025-06-10T13:42:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T13:42:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004388 post PendingInvicesDO 2 MED-141005201 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005201 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d322321-ba2e-4bba-bd38-f6230f2ee9f3' LIMIT 1 Date : 2025-06-10T13:56:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T13:56:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004389 post PendingInvicesDO 2 MED-141005202 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005202 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7331497e-3361-4276-9c50-0c2b95e9f439' LIMIT 1 Date : 2025-06-10T14:12:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T14:12:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004390 post PendingInvicesDO 2 MED-141005203 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005203 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e547924c-ed4a-46ad-9f34-45a7f98f3f99' LIMIT 1 Date : 2025-06-10T14:21:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T14:21:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004391 post PendingInvicesDO 2 MED-141005204 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005204 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4be46b93-6944-41f0-8425-135ceafa0c0e' LIMIT 1 Date : 2025-06-10T14:45:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T14:45:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004392 post PendingInvicesDO 2 MED-141005205 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005205 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2648b7d7-bb8c-41b9-a8f8-08086f1b6cc8' LIMIT 1 Date : 2025-06-10T15:18:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T15:18:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004393 post PendingInvicesDO 2 MED-141005206 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005206 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15f15672-28c7-4885-b0ea-0c91de3d724f' LIMIT 1 Date : 2025-06-10T16:01:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T16:01:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004394 post PendingInvicesDO 2 MED-141005207 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005207 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bbca286-cdb2-4883-ac27-04d05f01cd4e' LIMIT 1 Date : 2025-06-10T16:18:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T16:18:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004395 post PendingInvicesDO 2 MED-141005208 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005208 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e235bad-b70a-44bd-a823-638e6129b472' LIMIT 1 Date : 2025-06-10T16:45:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T16:45:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004396 post PendingInvicesDO 2 MED-141005209 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005209 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab16e305-1df9-459b-a95d-1dcf5fd4ce38' LIMIT 1 Date : 2025-06-10T17:03:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T17:03:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004397 post PendingInvicesDO 2 MED-141005210 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005210 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b64757dc-5b34-4192-9d67-d9d0660eaa8a' LIMIT 1 Date : 2025-06-10T17:22:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T17:22:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004398 post PendingInvicesDO 2 MED-141005211 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005211 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d3f8154-d505-4a6b-9c2f-5f69f2f93e3b' LIMIT 1 Date : 2025-06-10T18:34:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T18:34:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004399 post PendingInvicesDO 2 MED-141005212 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005212 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='575dee8a-0820-4a2c-99e0-6a5c8842306a' LIMIT 1 Date : 2025-06-11T07:24:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T07:24:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004400 post PendingInvicesDO 2 MED-141005220 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005220 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a1ddc04-6b1d-47e6-82f1-ba7e706bd5f6' LIMIT 1 Date : 2025-06-11T14:25:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T14:25:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004401 post PendingInvicesDO 2 MED-141005093 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005093 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005093' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005093' OR OrderId='MED-141005093' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T15:25:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004402 post PendingInvicesDO 2 MED-141005225 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005225 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b01c284a-6bb0-48bb-8606-549c3c13f677' LIMIT 1 Date : 2025-06-11T16:27:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T16:27:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004403 post PendingInvicesDO 2 MED-141005226 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005226 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b71ba76-125c-4869-acd2-3dda65493b63' LIMIT 1 Date : 2025-06-11T17:17:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T17:17:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004404 post PendingInvicesDO 2 MED-141005221 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005221 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005221' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005221' OR OrderId='MED-141005221' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T22:12:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004405 post PendingInvicesDO 2 MED-141005031 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005031 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005031' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005031' OR OrderId='MED-141005031' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T22:14:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004406 post PendingInvicesDO 2 MED-141005227 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005227 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb083b79-fd9a-4731-b31a-e85a052793dd' LIMIT 1 Date : 2025-06-12T08:11:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T08:11:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004407 post PendingInvicesDO 2 MED-141005228 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005228 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a038bdc-5c0f-42f7-a733-716f971428ac' LIMIT 1 Date : 2025-06-12T08:39:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T08:39:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004408 post PendingInvicesDO 2 MED-141005229 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005229 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3eced40d-7419-4b93-8d21-26a2dd22310e' LIMIT 1 Date : 2025-06-12T08:57:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T08:57:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004409 post PendingInvicesDO 2 MED-141005230 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005230 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='314a0180-965d-4651-af24-b75556d68d3a' LIMIT 1 Date : 2025-06-12T09:16:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T09:16:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004410 post PendingInvicesDO 2 MED-141005232 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005232 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1476d21-db54-4a6a-8525-372feccb1561' LIMIT 1 Date : 2025-06-12T11:10:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T11:10:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004411 post PendingInvicesDO 2 MED-141005233 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005233 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='270029c5-f247-4f08-8b84-9018e4351b5e' LIMIT 1 Date : 2025-06-12T11:18:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T11:18:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004412 post PendingInvicesDO 2 MED-141005236 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005236 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57aaf3cf-1e15-4142-b9ec-d3d18c13d61c' LIMIT 1 Date : 2025-06-12T13:22:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T13:22:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004413 post PendingInvicesDO 2 MED-141005237 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005237 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69910234-c9c0-4457-b839-28aab492a53c' LIMIT 1 Date : 2025-06-12T13:31:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T13:31:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004414 post PendingInvicesDO 2 MED-141005238 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005238 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c7f1009-e20e-4047-8334-10b16b5d5f7d' LIMIT 1 Date : 2025-06-12T14:23:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T14:23:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004415 post PendingInvicesDO 2 MED-141005239 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005239 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01a41224-8b57-4056-86e6-348288f5891f' LIMIT 1 Date : 2025-06-12T14:44:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T14:44:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004416 post PendingInvicesDO 2 MED-141005240 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005240 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='53dcd000-827b-4450-9674-c33bba82f786' LIMIT 1 Date : 2025-06-12T14:59:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T14:59:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004417 post PendingInvicesDO 2 MED-141005241 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005241 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f9cf3b6-162e-4adb-93e9-c96239314309' LIMIT 1 Date : 2025-06-12T15:21:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T15:21:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004418 post PendingInvicesDO 2 MED-141005242 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005242 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47f1ae9d-11fc-49d0-b3c1-a03b9b2fb5b9' LIMIT 1 Date : 2025-06-12T16:12:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T16:12:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004419 post PendingInvicesDO 2 MED-141005243 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005243 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7bd07d03-b249-4ec5-97e9-d1cfbbc8b17d' LIMIT 1 Date : 2025-06-12T16:13:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T16:13:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004420 post PendingInvicesDO 2 MED-141005044 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005044 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005044' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005044' OR OrderId='MED-141005044' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-12T16:13:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004421 post PendingInvicesDO 2 MED-141005153 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005153 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005153' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005153' OR OrderId='MED-141005153' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-12T19:05:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004422 post PendingInvicesDO 2 MED-141005248 post PendingInvicesDO 2 MED-141005247 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005247 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005248 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005248' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005248' OR OrderId='MED-141005248' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-12T21:49:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004423 post PendingInvicesDO 2 MED-141005249 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005249 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11f31b83-a347-4b5e-bb49-698fa359eb70' LIMIT 1 Date : 2025-06-13T14:02:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T14:02:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004424 post PendingInvicesDO 2 MED-141005251 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005251 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a724cb36-82f3-4c29-b5f6-28d4d155a263' LIMIT 1 Date : 2025-06-13T17:31:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T17:31:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004425 post PendingInvicesDO 2 MED-141005252 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005252 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1dd5696c-139b-4099-8bda-fa02dba77368' LIMIT 1 Date : 2025-06-13T17:46:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T17:46:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004426 post PendingInvicesDO 2 MED-141005253 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005253 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eee1137b-a2c5-4010-bee4-acac366f5768' LIMIT 1 Date : 2025-06-13T18:04:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T18:04:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004427 post PendingInvicesDO 2 MED-141005254 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005254 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5cb34b3d-72b3-4488-b971-1bceb91c15e7' LIMIT 1 Date : 2025-06-13T18:09:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T18:09:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004428 post PendingInvicesDO 2 MED-141005255 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005255 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67b0b417-d366-4889-8d1c-7a0e2d292295' LIMIT 1 Date : 2025-06-13T18:13:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T18:13:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004429 post PendingInvicesDO 2 MED-141005256 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005256 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20654bd7-57ed-4829-afd9-4267be0027ea' LIMIT 1 Date : 2025-06-13T18:30:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T18:30:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004430 post PendingInvicesDO 2 MED-141004936 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004936' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004936' OR OrderId='MED-141004936' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-13T18:52:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004430 post PendingInvicesDO 2 MED-141005258 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005258 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fdbb1c50-30f8-4937-9ef6-f44bd0c589a0' LIMIT 1 Date : 2025-06-13T20:13:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-13T20:13:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004431 post PendingInvicesDO 2 MED-141005259 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005259 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f410349-3f7b-4c63-964b-ea7d81ff2f07' LIMIT 1 Date : 2025-06-14T07:37:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T07:37:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004432 post PendingInvicesDO 2 MED-141005266 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005266 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ed128ec-fc4b-4d8b-bcc8-7e8937309e4b' LIMIT 1 Date : 2025-06-14T13:00:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T13:00:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004433 post PendingInvicesDO 2 MED-141005267 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005267 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ecdfc64-372a-4ea3-8e0d-cfd615908ab3' LIMIT 1 Date : 2025-06-14T13:16:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T13:16:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004434 post PendingInvicesDO 2 MED-141005268 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005268 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e91899f-443e-4e51-b8e2-e62798a3c775' LIMIT 1 Date : 2025-06-14T13:33:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T13:33:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004436 post PendingInvicesDO 2 MED-141005270 post PendingInvicesDO 2 MED-141005269 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004435 post PendingInvicesDO 2 MED-141005270 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005269 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005270 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3678a78d-d62c-48f4-ad40-bca6093ed287' LIMIT 1 Date : 2025-06-14T13:52:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f9b0260-4f5e-49e3-a2e6-798e4d02939e' LIMIT 1 Date : 2025-06-14T13:52:33  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3678a78d-d62c-48f4-ad40-bca6093ed287' LIMIT 1 Date : 2025-06-14T13:52:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f9b0260-4f5e-49e3-a2e6-798e4d02939e' LIMIT 1 Date : 2025-06-14T13:52:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-14T13:52:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004437 post PendingInvicesDO 2 MED-141005271 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005271 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='018ea6a5-7b62-439a-bdf8-7d1e444ce348' LIMIT 1 Date : 2025-06-14T14:02:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T14:02:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004438 post PendingInvicesDO 2 MED-141005273 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005273 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17138515-8408-4641-a73f-7bc73ff3c769' LIMIT 1 Date : 2025-06-14T16:01:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T16:01:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004439 post PendingInvicesDO 2 MED-141005274 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005274 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ac0b47b-6aa4-4921-952b-7d20e7a8ac15' LIMIT 1 Date : 2025-06-15T07:25:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T07:25:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004440 post PendingInvicesDO 2 MED-141005222 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005222 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005222' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005222' OR OrderId='MED-141005222' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-15T07:26:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004441 post PendingInvicesDO 2 MED-141005275 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005275 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee59410d-5167-42b6-8514-325a7fdba378' LIMIT 1 Date : 2025-06-15T08:14:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T08:14:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004442 post PendingInvicesDO 2 MED-141005280 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005280 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e90ca36e-38a4-4644-a084-4942e5123163' LIMIT 1 Date : 2025-06-15T12:12:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T12:12:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004443 post PendingInvicesDO 2 MED-141005281 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005281 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd47af35-853c-4df8-83d9-509044efec7a' LIMIT 1 Date : 2025-06-15T12:35:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T12:35:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004444 post PendingInvicesDO 2 MED-141005284 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005284 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7bfdb76f-64e3-4b39-8173-e4defd20004e' LIMIT 1 Date : 2025-06-15T14:48:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T14:48:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004446 post PendingInvicesDO 2 MED-141005286 post PendingInvicesDO 2 MED-141005285 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004445 post PendingInvicesDO 2 MED-141005286 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005285 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005286 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f52d5689-3860-439b-a4ec-e8b762211b30' LIMIT 1 Date : 2025-06-15T15:00:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6dbbee87-b76b-434b-a118-734ccd39402c' LIMIT 1 Date : 2025-06-15T15:00:06  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f52d5689-3860-439b-a4ec-e8b762211b30' LIMIT 1 Date : 2025-06-15T15:00:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6dbbee87-b76b-434b-a118-734ccd39402c' LIMIT 1 Date : 2025-06-15T15:00:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-15T15:00:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004447 post PendingInvicesDO 2 MED-141005287 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005287 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7989a76-e5ce-4229-8caa-283b7c0b35db' LIMIT 1 Date : 2025-06-15T15:39:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T15:39:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004448 post PendingInvicesDO 2 MED-141005288 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005288 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2a5e742-6b98-4822-b47f-74def0ca76dc' LIMIT 1 Date : 2025-06-15T16:02:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T16:02:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004449 post PendingInvicesDO 2 MED-141005100 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005100 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005100' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005100' OR OrderId='MED-141005100' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-15T17:12:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004450 post PendingInvicesDO 2 MED-141005289 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005289 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='628077b3-5460-492d-b2d4-8bb97e7a4ec2' LIMIT 1 Date : 2025-06-16T07:45:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T07:45:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004451 post PendingInvicesDO 2 MED-141005180 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005180 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005180' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005180' OR OrderId='MED-141005180' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-16T08:22:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004452 post PendingInvicesDO 2 MED-141005294 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005294 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6677f5b2-088d-477e-8d45-fa2fee5c82c6' LIMIT 1 Date : 2025-06-16T10:45:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T10:45:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004454 post PendingInvicesDO 2 MED-141005296 post PendingInvicesDO 2 MED-141005295 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004453 post PendingInvicesDO 2 MED-141005296 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005295 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005296 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b190697d-7acc-4337-a333-91ced89751a6' LIMIT 1 Date : 2025-06-16T11:19:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c542ceb7-9fb6-407a-9900-0e26bc54815a' LIMIT 1 Date : 2025-06-16T11:19:24  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b190697d-7acc-4337-a333-91ced89751a6' LIMIT 1 Date : 2025-06-16T11:19:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c542ceb7-9fb6-407a-9900-0e26bc54815a' LIMIT 1 Date : 2025-06-16T11:19:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-16T11:19:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004455 post PendingInvicesDO 2 MED-141005297 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005297 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98e54739-dc28-44d2-a46d-1cc673dcd19b' LIMIT 1 Date : 2025-06-16T12:13:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T12:13:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004456 post PendingInvicesDO 2 MED-141005298 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005298 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03a27756-670a-46c8-9a38-665ef7250bf9' LIMIT 1 Date : 2025-06-16T12:59:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T12:59:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004457 post PendingInvicesDO 2 MED-141005300 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005300 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8a182cd-ec27-4f03-9753-9987006f11e9' LIMIT 1 Date : 2025-06-16T13:54:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T13:54:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004458 post PendingInvicesDO 2 MED-141005302 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005302 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f713250-da9f-4206-9b15-37d0803b221f' LIMIT 1 Date : 2025-06-16T14:27:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T14:27:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004459 post PendingInvicesDO 2 MED-141005303 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005303 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90de00b3-b1f3-4709-92e6-f6e1b68db69d' LIMIT 1 Date : 2025-06-16T14:52:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T14:52:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004460 post PendingInvicesDO 2 MED-141005304 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005304 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79123142-2c43-44a1-9080-f91b7d68c9ce' LIMIT 1 Date : 2025-06-16T15:07:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T15:07:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004461 post PendingInvicesDO 2 MED-141005305 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005305 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3dca55c1-3ac9-4b14-8483-541aacdfd581' LIMIT 1 Date : 2025-06-16T15:27:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T15:27:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004462 post PendingInvicesDO 2 MED-141005306 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005306 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60a7c148-f19a-4a0f-a8cb-935ee9352406' LIMIT 1 Date : 2025-06-16T15:47:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T15:47:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004463 post PendingInvicesDO 2 MED-141005308 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005308 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90147034-2c7a-42e8-83f4-b4c195732294' LIMIT 1 Date : 2025-06-16T16:43:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T16:43:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004464 post PendingInvicesDO 2 MED-141005283 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005283 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005283' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005283' OR OrderId='MED-141005283' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-16T18:50:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004465 post PendingInvicesDO 2 MED-141005245 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005245 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005245' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005245' OR OrderId='MED-141005245' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-16T19:04:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004466 post PendingInvicesDO 2 MED-141005309 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005309 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005309' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005309' OR OrderId='MED-141005309' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T08:34:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004467 post PendingInvicesDO 2 MED-141005313 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005313 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf540f1f-ea34-4de3-8db7-c05507fcb97e' LIMIT 1 Date : 2025-06-17T10:58:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T10:58:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004469 post PendingInvicesDO 2 MED-141005315 post PendingInvicesDO 2 MED-141005314 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004468 post PendingInvicesDO 2 MED-141005315 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005314 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005315 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1339d599-12c3-453d-8271-72dc658cd8a5' LIMIT 1 Date : 2025-06-17T11:50:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec25602f-99be-4fd0-ba48-2b3a924310dd' LIMIT 1 Date : 2025-06-17T11:50:54  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1339d599-12c3-453d-8271-72dc658cd8a5' LIMIT 1 Date : 2025-06-17T11:50:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec25602f-99be-4fd0-ba48-2b3a924310dd' LIMIT 1 Date : 2025-06-17T11:50:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-17T11:50:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004470 post PendingInvicesDO 2 MED-141005317 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005317 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4523a36a-2de2-4f7d-8579-6f83dfe7343f' LIMIT 1 Date : 2025-06-17T12:15:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T12:15:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004471 post PendingInvicesDO 2 MED-141005318 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005318 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85cb759f-d6c7-49e4-bcbd-a3164ea0facd' LIMIT 1 Date : 2025-06-17T12:23:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T12:23:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004472 post PendingInvicesDO 2 MED-141005319 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005319 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9cb67eb9-5341-46a3-ad60-f0d184c28e1f' LIMIT 1 Date : 2025-06-17T12:54:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T12:54:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004473 post PendingInvicesDO 2 MED-141005320 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005320 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e60845c-5b5d-48df-a230-d094f718d298' LIMIT 1 Date : 2025-06-17T13:06:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T13:06:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004474 post PendingInvicesDO 2 MED-141005321 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005321 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b1367bc-dc14-4758-96f8-23457ca2390a' LIMIT 1 Date : 2025-06-17T13:17:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T13:17:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004475 post PendingInvicesDO 2 MED-141005322 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005322 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='637e1a24-b76f-4fa9-91da-becaf3f25b4e' LIMIT 1 Date : 2025-06-17T13:35:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T13:35:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004476 post PendingInvicesDO 2 MED-141005323 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005323 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33b043ee-8374-450c-b3dc-d26cba6e1ca9' LIMIT 1 Date : 2025-06-17T13:49:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T13:49:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004477 post PendingInvicesDO 2 MED-141005324 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005324 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='889716ef-a659-43ae-a3c4-f8995a938869' LIMIT 1 Date : 2025-06-17T14:04:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T14:04:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004478 post PendingInvicesDO 2 MED-141005325 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005325 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66c9a564-3494-4a99-b2bd-5b3795346904' LIMIT 1 Date : 2025-06-17T14:30:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T14:30:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004479 post PendingInvicesDO 2 MED-141005326 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005326 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa5e0430-a5f4-4b1b-92a4-a7e4a8e88588' LIMIT 1 Date : 2025-06-17T14:53:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T14:53:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004480 post PendingInvicesDO 2 MED-141005246 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005246 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005246' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005246' OR OrderId='MED-141005246' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T15:06:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004481 post PendingInvicesDO 2 MED-141005327 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005327 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58adfb61-4b45-448c-bfe0-1e476d1e7423' LIMIT 1 Date : 2025-06-17T15:08:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T15:08:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004482 post PendingInvicesDO 2 MED-141005328 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005328 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6cd34d0-6cc6-45da-a5b4-1ce6b0b2f963' LIMIT 1 Date : 2025-06-17T15:57:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T15:57:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004483 post PendingInvicesDO 2 MED-141005329 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005329 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62c48b76-74e8-47f3-ad10-f45fabd59d8d' LIMIT 1 Date : 2025-06-17T16:36:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T16:36:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004484 post PendingInvicesDO 2 MED-141005330 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005330 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67081018-bdd5-431f-a8b3-ca0666ce24e9' LIMIT 1 Date : 2025-06-17T17:55:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T17:55:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004485 post PendingInvicesDO 2 MED-141005331 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005331 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d38766d-a87b-4888-8f23-70b628c63825' LIMIT 1 Date : 2025-06-18T07:37:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T07:37:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004487 post PendingInvicesDO 2 MED-141005223 post PendingInvicesDO 2 MED-141005224 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004486 post PendingInvicesDO 2 MED-141005223 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005223 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005223' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005223' OR OrderId='MED-141005223' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005223' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005223' OR OrderId='MED-141005223' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-18T11:03:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004488 post PendingInvicesDO 2 MED-141005336 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005336 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac574d5b-b83f-45ec-9707-032fb2e3fb1e' LIMIT 1 Date : 2025-06-18T12:15:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T12:15:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004489 post PendingInvicesDO 2 MED-141005337 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005337 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f908d6c9-ba39-484e-9d63-06ea34e00d3f' LIMIT 1 Date : 2025-06-18T12:24:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T12:24:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004490 post PendingInvicesDO 2 MED-141005340 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005340 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0a0f82c-d5d2-41af-9be7-2b1be16b2b5d' LIMIT 1 Date : 2025-06-18T14:37:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T14:37:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004491 post PendingInvicesDO 2 MED-141005341 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005341 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85a8b713-88d1-4de4-9c82-e5568b718d88' LIMIT 1 Date : 2025-06-18T15:32:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T15:32:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004492 post PendingInvicesDO 2 MED-141005343 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005343 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c62acf3-8ed4-4e38-ba06-aa0c0286ac13' LIMIT 1 Date : 2025-06-18T17:10:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T17:10:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004493 post PendingInvicesDO 2 MED-141005344 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005344 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec35fde2-91b2-45a7-8856-27c6c8d5473a' LIMIT 1 Date : 2025-06-18T17:38:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T17:38:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004494 post PendingInvicesDO 2 MED-141005345 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005345 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ad5ecd9-ca33-4eca-bcbf-37023117ada4' LIMIT 1 Date : 2025-06-18T17:54:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T17:54:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004495 post PendingInvicesDO 2 MED-141005346 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005346 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f03b7e14-9854-4124-9bbe-bd0edfbbe0e5' LIMIT 1 Date : 2025-06-18T18:14:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T18:14:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004496 post PendingInvicesDO 2 MED-141005347 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005347 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccf088d0-277d-4c36-809d-4927ec6eff8c' LIMIT 1 Date : 2025-06-18T18:38:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T18:38:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004497 post PendingInvicesDO 2 MED-141005348 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005348 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58ba1c19-7702-45e7-ba00-4af8c8de5251' LIMIT 1 Date : 2025-06-18T19:01:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T19:01:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004498 post PendingInvicesDO 2 MED-141005349 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005349 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d3360fd-0533-4d39-aacc-6a3d1c0d8c7b' LIMIT 1 Date : 2025-06-18T19:46:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T19:46:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004499 post PendingInvicesDO 2 MED-141005250 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005250 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005250' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005250' OR OrderId='MED-141005250' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-18T20:09:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004500 post PendingInvicesDO 2 MED-141005350 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005350 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a9200e2-9ed3-4692-b1c2-a28a75b45d7a' LIMIT 1 Date : 2025-06-18T20:14:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T20:14:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004501 post PendingInvicesDO 2 MED-141005351 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005351 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='810e620b-ed47-4311-a74e-dfec01040c61' LIMIT 1 Date : 2025-06-18T20:28:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T20:28:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004502 post PendingInvicesDO 2 MED-141005352 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005352 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7153eec7-d125-471b-9877-cb53ca846b51' LIMIT 1 Date : 2025-06-18T20:47:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T20:47:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004503 post PendingInvicesDO 2 MED-141005353 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005353 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24a5d3d8-cfcf-441d-8191-4aec6d88e99a' LIMIT 1 Date : 2025-06-18T20:57:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T20:57:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004504 post PendingInvicesDO 2 MED-141005354 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005354 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0f16145-242f-4378-8bb9-b79ab5bb84a1' LIMIT 1 Date : 2025-06-19T09:14:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T09:14:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004505 post PendingInvicesDO 2 MED-141005355 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005355 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0fd3ce5-9f46-4160-aa34-182e44349c58' LIMIT 1 Date : 2025-06-19T09:38:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T09:38:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004506 post PendingInvicesDO 2 MED-141005356 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005356 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c0804c2-a1dd-4497-9d70-5d9bd2f4e331' LIMIT 1 Date : 2025-06-19T09:55:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T09:55:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004507 post PendingInvicesDO 2 MED-141005357 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005357 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51663f63-ac7f-437c-bff6-ad23f6a51c04' LIMIT 1 Date : 2025-06-19T10:17:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T10:17:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004508 post PendingInvicesDO 2 MED-141005358 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005358 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc6e220b-c568-433d-8bdc-72e956e67d67' LIMIT 1 Date : 2025-06-19T11:01:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T11:01:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004509 post PendingInvicesDO 2 MED-141005359 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005359 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d97c364d-6290-4c2c-9239-c6dc90a071e6' LIMIT 1 Date : 2025-06-19T11:35:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T11:35:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004510 post PendingInvicesDO 2 MED-141005360 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005360 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4d9f893-8932-4d3e-9feb-671c276da5b7' LIMIT 1 Date : 2025-06-19T11:47:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T11:47:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004511 post PendingInvicesDO 2 MED-141005361 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005361 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='225caf48-0095-4eab-83ac-e49d55449614' LIMIT 1 Date : 2025-06-19T11:54:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T11:54:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004512 post PendingInvicesDO 2 MED-141004936 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004936' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004936' OR OrderId='MED-141004936' 
 performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-06-19T12:12:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004512 post PendingInvicesDO 2 MED-141005362 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005362 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bcbbde7e-72c4-487c-8476-af7fd651cf76' LIMIT 1 Date : 2025-06-19T12:13:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T12:13:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004513 post PendingInvicesDO 2 MED-141005363 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005363 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd5da063-4b6b-4bd9-ad07-aaba202f2ae7' LIMIT 1 Date : 2025-06-19T12:36:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T12:36:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004514 post PendingInvicesDO 2 MED-141005364 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005364 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67908202-346d-48e6-9b15-4fc93ae4bb0c' LIMIT 1 Date : 2025-06-19T13:00:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T13:00:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004515 post PendingInvicesDO 2 MED-141005282 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005282 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005282' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005282' OR OrderId='MED-141005282' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-19T13:10:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004516 post PendingInvicesDO 2 MED-141005365 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005365 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eded3a3f-2a54-429b-994d-8ed92564eb8e' LIMIT 1 Date : 2025-06-19T14:19:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T14:19:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004517 post PendingInvicesDO 2 MED-141005366 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005366 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa9da859-d493-4624-8155-dbe7cf1452f2' LIMIT 1 Date : 2025-06-19T14:27:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T14:27:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004518 post PendingInvicesDO 2 MED-141005367 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005367 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24c0a39a-6634-4246-b92a-fc8d2b23b221' LIMIT 1 Date : 2025-06-19T14:43:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T14:43:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004519 post PendingInvicesDO 2 MED-141005368 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005368 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79b7aa13-0136-4718-b163-ddd754367a2b' LIMIT 1 Date : 2025-06-19T15:21:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T15:21:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004520 post PendingInvicesDO 2 MED-141005369 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005369 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e034bce-1ae9-482c-941d-8fb9a6bf5709' LIMIT 1 Date : 2025-06-19T17:14:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T17:14:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004521 post PendingInvicesDO 2 MED-141005370 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005370 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d56be2a-7b8d-4156-aa5a-6325d66ab786' LIMIT 1 Date : 2025-06-19T17:42:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T17:42:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004522 post PendingInvicesDO 2 MED-141005371 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005371 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f57b281d-24c7-45cf-a8be-fae353184511' LIMIT 1 Date : 2025-06-19T17:44:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T17:44:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004523 post PendingInvicesDO 2 MED-141005376 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005376 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f8aaec8-aa06-436f-af7a-087422ed6160' LIMIT 1 Date : 2025-06-21T12:20:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T12:20:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004524 post PendingInvicesDO 2 MED-141005377 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005377 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3493c90-3f93-431d-9f15-3def0eaa1e57' LIMIT 1 Date : 2025-06-21T12:36:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T12:36:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004526 post PendingInvicesDO 2 MED-141005379 post PendingInvicesDO 2 MED-141005378 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004525 post PendingInvicesDO 2 MED-141005379 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005378 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005379 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005379' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005379' OR OrderId='MED-141005379' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005379' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005379' OR OrderId='MED-141005379' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-21T13:43:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004527 post PendingInvicesDO 2 MED-141005380 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005380 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005380' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005380' OR OrderId='MED-141005380' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-21T14:11:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004528 post PendingInvicesDO 2 MED-141005381 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005381 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005381' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005381' OR OrderId='MED-141005381' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-21T15:08:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004530 post PendingInvicesDO 2 MED-141005383 post PendingInvicesDO 2 MED-141005382 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004529 post PendingInvicesDO 2 MED-141005383 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005382 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005383 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a57f5fb3-f965-4b3c-ad68-a287aaa288fb' LIMIT 1 Date : 2025-06-21T15:17:50  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8d96508-d367-480b-b670-27e129727620' LIMIT 1 Date : 2025-06-21T15:17:50  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a57f5fb3-f965-4b3c-ad68-a287aaa288fb' LIMIT 1 Date : 2025-06-21T15:17:50  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8d96508-d367-480b-b670-27e129727620' LIMIT 1 Date : 2025-06-21T15:17:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-21T15:17:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004531 post PendingInvicesDO 2 MED-141005384 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005384 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b26ffb2-cb7d-4574-860a-b6dfed0eda05' LIMIT 1 Date : 2025-06-21T16:24:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T16:24:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004532 post PendingInvicesDO 2 MED-141005385 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005385 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce3ac113-70b9-472c-b777-01d6711cd58f' LIMIT 1 Date : 2025-06-21T17:39:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T17:39:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004533 post PendingInvicesDO 2 MED-141005386 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005386 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cebc9d65-4fea-4e07-ac44-d9738ef3d694' LIMIT 1 Date : 2025-06-21T20:36:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T20:36:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004534 post PendingInvicesDO 2 MED-141005393 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005393 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93c3191a-8598-429c-bdf8-cc0fd53d59a3' LIMIT 1 Date : 2025-06-22T14:12:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T14:12:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004535 post PendingInvicesDO 2 MED-141005394 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005394 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01247db1-24e8-4320-b0e9-494ea9aecfe5' LIMIT 1 Date : 2025-06-22T14:41:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T14:41:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004536 post PendingInvicesDO 2 MED-141005395 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005395 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0aa04519-daa2-411c-a546-e9a78f5826ee' LIMIT 1 Date : 2025-06-22T15:03:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T15:03:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004537 post PendingInvicesDO 2 MED-141005396 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005396 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1bb91733-46d5-4888-8c54-3bb2b8801785' LIMIT 1 Date : 2025-06-22T15:28:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T15:28:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004538 post PendingInvicesDO 2 MED-141005397 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005397 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5caee28c-4e08-4479-a663-657551b9c5d2' LIMIT 1 Date : 2025-06-22T16:08:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T16:08:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004539 post PendingInvicesDO 2 MED-141005398 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005398 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9afd14bb-2b6c-42ae-8079-33e382f1ec40' LIMIT 1 Date : 2025-06-22T21:08:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T21:08:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004540 post PendingInvicesDO 2 MED-141005399 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005399 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26029dcc-dffa-4db8-af93-4e53b58660a9' LIMIT 1 Date : 2025-06-23T07:42:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T07:42:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004542 post PendingInvicesDO 2 MED-141005291 post PendingInvicesDO 2 MED-141005290 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004541 post PendingInvicesDO 2 MED-141005291 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005290 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005291 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005291' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005291' OR OrderId='MED-141005291' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005291' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005291' OR OrderId='MED-141005291' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-23T08:22:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004543 post PendingInvicesDO 2 MED-141005407 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005407 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12eb3029-dd6a-4a98-b449-360d0499937e' LIMIT 1 Date : 2025-06-23T14:32:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T14:32:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004544 post PendingInvicesDO 2 MED-141005408 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005408 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='365416f5-585b-4afe-9e13-cd99352a285d' LIMIT 1 Date : 2025-06-23T14:40:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T14:40:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004545 post PendingInvicesDO 2 MED-141005409 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005409 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1936580a-17f3-4d8a-9bc0-2c11e7e8ef35' LIMIT 1 Date : 2025-06-23T15:12:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T15:12:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004546 post PendingInvicesDO 2 MED-141005410 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005410 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='482fb674-bf58-4964-869f-da0fb36e69af' LIMIT 1 Date : 2025-06-23T15:14:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T15:14:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004548 post PendingInvicesDO 2 MED-141005412 post PendingInvicesDO 2 MED-141005411 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004547 post PendingInvicesDO 2 MED-141005412 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005411 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005412 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb382d99-448a-4612-9b8a-f1981aa588a9' LIMIT 1 Date : 2025-06-23T15:37:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccfd4a37-8721-4e09-9d54-904d9592fbc0' LIMIT 1 Date : 2025-06-23T15:37:55  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb382d99-448a-4612-9b8a-f1981aa588a9' LIMIT 1 Date : 2025-06-23T15:37:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccfd4a37-8721-4e09-9d54-904d9592fbc0' LIMIT 1 Date : 2025-06-23T15:37:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-23T15:37:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004549 post PendingInvicesDO 2 MED-141005413 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005413 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4bb0291e-db83-4050-a3d0-83548640091f' LIMIT 1 Date : 2025-06-23T16:01:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T16:01:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004550 post PendingInvicesDO 2 MED-141005414 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005414 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3991cfd7-7736-4fab-a0d4-1e84df2f166c' LIMIT 1 Date : 2025-06-23T16:17:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T16:17:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004551 post PendingInvicesDO 2 MED-141005415 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005415 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c37fc83-ac30-4dc1-97e8-d21b24520810' LIMIT 1 Date : 2025-06-23T16:33:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T16:33:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004552 post PendingInvicesDO 2 MED-141005416 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005416 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5d5b40f-bdf0-431d-a430-fcd471f54743' LIMIT 1 Date : 2025-06-23T16:58:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T16:58:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004553 post PendingInvicesDO 2 MED-141005417 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005417 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='530d1e95-26aa-481a-a8dc-bd26ad8d07ac' LIMIT 1 Date : 2025-06-23T17:14:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T17:14:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004554 post PendingInvicesDO 2 MED-141005338 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005338 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005338' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005338' OR OrderId='MED-141005338' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-23T17:20:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004555 post PendingInvicesDO 2 MED-141005418 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005418 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6da0cf09-d5df-4245-bac9-fdd828c2e431' LIMIT 1 Date : 2025-06-23T18:29:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T18:29:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004556 post PendingInvicesDO 2 MED-141005419 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005419 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34d6c730-0514-4acb-bc0b-d073c2218e8c' LIMIT 1 Date : 2025-06-24T07:58:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T07:58:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004557 post PendingInvicesDO 2 MED-141005422 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005422 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='caaacecf-c50c-47fd-bb77-19675a191694' LIMIT 1 Date : 2025-06-24T10:12:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T10:12:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004558 post PendingInvicesDO 2 MED-141005423 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005423 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4e92fe1-c572-4f0c-bf19-dd310f35564d' LIMIT 1 Date : 2025-06-24T11:03:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T11:03:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004559 post PendingInvicesDO 2 MED-141005424 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005424 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005424' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005424' OR OrderId='MED-141005424' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T12:00:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004560 post PendingInvicesDO 2 MED-141005425 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005425 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac09d5b4-6c78-4d28-97fc-2a332fb5a941' LIMIT 1 Date : 2025-06-24T12:15:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T12:15:05 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004561 post PendingInvicesDO 2 MED-141005426 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005426 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa1e37d0-51aa-4f1e-9374-b57e2ec5831f' LIMIT 1 Date : 2025-06-24T12:23:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T12:23:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004562 post PendingInvicesDO 2 MED-141005427 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005427 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bae23b12-290b-4b50-9540-0e42dba6ebb0' LIMIT 1 Date : 2025-06-24T12:56:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T12:56:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004563 post PendingInvicesDO 2 MED-141005428 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005428 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc3cff62-d835-4b0f-a0eb-2bf7688149d4' LIMIT 1 Date : 2025-06-24T13:09:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T13:09:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004564 post PendingInvicesDO 2 MED-141005429 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005429 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52996ab0-1888-4bc3-84ca-c6570cd1671f' LIMIT 1 Date : 2025-06-24T13:22:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T13:22:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004565 post PendingInvicesDO 2 MED-141005316 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005316 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005316' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005316' OR OrderId='MED-141005316' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T13:37:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004566 post PendingInvicesDO 2 MED-141005431 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005431 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34e8a3e5-7f38-41a2-9ed9-d94a25f0f3ce' LIMIT 1 Date : 2025-06-24T13:53:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T13:53:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004567 post PendingInvicesDO 2 MED-141005432 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005432 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0342036-ad59-4d6f-b0ad-5b7e41614146' LIMIT 1 Date : 2025-06-24T13:55:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T13:55:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004568 post PendingInvicesDO 2 MED-141005433 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005433 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51aa0db7-3582-49b6-a1c7-21a9812c7e98' LIMIT 1 Date : 2025-06-24T15:08:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T15:08:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004569 post PendingInvicesDO 2 MED-141005434 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005434 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41632712-1c76-443e-9ba2-b32d57d973a7' LIMIT 1 Date : 2025-06-24T15:19:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T15:19:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004570 post PendingInvicesDO 2 MED-141005435 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005435 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e436fdfd-bfcd-433a-8d62-badda261fd4c' LIMIT 1 Date : 2025-06-24T18:08:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T18:08:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004571 post PendingInvicesDO 2 MED-141005436 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005436 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='161fd8b3-753a-4af9-9484-59a20b277ec3' LIMIT 1 Date : 2025-06-24T21:35:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T21:35:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004572 post PendingInvicesDO 2 MED-141005437 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005437 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb47cb91-0e84-42a6-96a1-ddd3137d51b0' LIMIT 1 Date : 2025-06-24T21:36:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T21:36:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004573 post PendingInvicesDO 2 MED-141005442 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005442 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a20a127a-8f77-43d8-9879-12bbba51563e' LIMIT 1 Date : 2025-06-25T11:53:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T11:53:53 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004574 post PendingInvicesDO 2 MED-141005444 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005444 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2b1068d-dd80-44c4-af13-ee1926c78a2d' LIMIT 1 Date : 2025-06-25T12:40:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T12:40:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004575 post PendingInvicesDO 2 MED-141005445 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005445 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70937e26-db98-4737-a9ee-0b8b321262c2' LIMIT 1 Date : 2025-06-25T13:08:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T13:08:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004576 post PendingInvicesDO 2 MED-141005448 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005448 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ceb0b2b3-c33f-4631-8a89-57e843cfff02' LIMIT 1 Date : 2025-06-25T15:04:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T15:04:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004577 post PendingInvicesDO 2 MED-141005335 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005335 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005335' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005335' OR OrderId='MED-141005335' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-25T16:31:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004578 post PendingInvicesDO 2 MED-141005452 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005452 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='175c3e22-b825-4c15-9aa1-4bb3a930222b' LIMIT 1 Date : 2025-06-25T17:37:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T17:37:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004579 post PendingInvicesDO 2 MED-141005453 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005453 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='05a4f64d-2877-472c-a2c9-a18195b46a03' LIMIT 1 Date : 2025-06-26T07:12:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T07:12:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004580 post PendingInvicesDO 2 MED-141005459 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005459 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69044c7d-d7a3-47d8-b987-dabcd841191d' LIMIT 1 Date : 2025-06-26T13:36:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T13:36:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004581 post PendingInvicesDO 2 MED-141005460 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005460 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9eb67ba-774e-4a12-ab7a-7afbdda007ec' LIMIT 1 Date : 2025-06-26T13:55:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T13:55:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004582 post PendingInvicesDO 2 MED-141005461 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005461 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b5521b2-5416-49d2-8a8b-760d04876672' LIMIT 1 Date : 2025-06-26T14:18:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T14:18:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004583 post PendingInvicesDO 2 MED-141005462 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005462 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac2f2b76-0a7f-41fa-aadb-5a5efead647c' LIMIT 1 Date : 2025-06-26T14:38:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T14:38:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004584 post PendingInvicesDO 2 MED-141005463 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005463 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2c37f95-006f-4cef-8f98-8b28ea84b1c0' LIMIT 1 Date : 2025-06-26T15:08:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T15:08:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004585 post PendingInvicesDO 2 MED-141005464 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005464 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca91ecef-f23c-4535-aa38-37b2d203b4c6' LIMIT 1 Date : 2025-06-26T15:50:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T15:50:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004586 post PendingInvicesDO 2 MED-141005465 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005465 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4be04550-d455-420b-9b21-49565ca39335' LIMIT 1 Date : 2025-06-26T18:18:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T18:18:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004587 post PendingInvicesDO 2 MED-141005466 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005466 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3fcc5f0b-6435-49cc-9297-90567f121eed' LIMIT 1 Date : 2025-06-26T18:27:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-26T18:27:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004588 post PendingInvicesDO 2 MED-141005471 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005471 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1fb1d03-dce7-4740-8632-8077384f2575' LIMIT 1 Date : 2025-06-28T12:34:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T12:34:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004590 post PendingInvicesDO 2 MED-141005391 post PendingInvicesDO 2 MED-141005392 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004589 post PendingInvicesDO 2 MED-141005391 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005391 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005391' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005391' OR OrderId='MED-141005391' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005391' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005391' OR OrderId='MED-141005391' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-28T13:22:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004591 post PendingInvicesDO 2 MED-141005473 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005473 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22cad5c0-bc9d-48fc-a493-f7be7e37d28b' LIMIT 1 Date : 2025-06-28T14:00:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T14:00:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004592 post PendingInvicesDO 2 MED-141005474 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005474 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86173afa-a700-425d-8ac7-c38ce3a4dac5' LIMIT 1 Date : 2025-06-28T14:32:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T14:32:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004593 post PendingInvicesDO 2 MED-141005475 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005475 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22381ad0-2983-4857-8afe-ca406f77ad25' LIMIT 1 Date : 2025-06-28T14:57:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T14:57:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004594 post PendingInvicesDO 2 MED-141005477 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005477 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cdd1b7b8-6718-4517-abe1-de335adc2232' LIMIT 1 Date : 2025-06-28T15:48:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T15:48:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004595 post PendingInvicesDO 2 MED-141005301 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005301 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005301' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005301' OR OrderId='MED-141005301' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-28T16:46:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004596 post PendingInvicesDO 2 MED-141005479 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005479 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b353387-8729-48e4-b6bf-a171e4d224e5' LIMIT 1 Date : 2025-06-28T16:53:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T16:53:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004597 post PendingInvicesDO 2 MED-141005179 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005179 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005179' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005179' OR OrderId='MED-141005179' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-28T21:10:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004598 post PendingInvicesDO 2 MED-141005482 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005482 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5beb60e-6d83-45f4-b150-4c93d43e49f3' LIMIT 1 Date : 2025-06-29T07:29:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T07:29:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004599 post PendingInvicesDO 2 MED-141005483 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005483 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='508dc8ff-6cfc-452e-aac5-9889aeec31f3' LIMIT 1 Date : 2025-06-29T08:34:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T08:34:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004600 post PendingInvicesDO 2 MED-141005484 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005484 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61d64b70-59dd-44d8-b462-7890cd2ee11c' LIMIT 1 Date : 2025-06-29T08:54:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T08:54:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004601 post PendingInvicesDO 2 MED-141005485 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005485 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63141c72-fbf4-43df-a5b8-cbed25cb2130' LIMIT 1 Date : 2025-06-29T09:38:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T09:38:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004602 post PendingInvicesDO 2 MED-141005299 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005299 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005299' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005299' OR OrderId='MED-141005299' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T09:50:38 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004603 post PendingInvicesDO 2 MED-141005491 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005491 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5cb1653e-f2ed-4ba7-b192-3386814081c1' LIMIT 1 Date : 2025-06-29T13:24:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T13:24:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004605 post PendingInvicesDO 2 MED-141005493 post PendingInvicesDO 2 MED-141005492 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004604 post PendingInvicesDO 2 MED-141005493 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005492 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005493 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad9a58c1-6847-4605-8faf-bcf99e0bf3c8' LIMIT 1 Date : 2025-06-29T13:47:16  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72eafbd6-41e7-4651-91de-57f64a68c4ce' LIMIT 1 Date : 2025-06-29T13:47:16  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad9a58c1-6847-4605-8faf-bcf99e0bf3c8' LIMIT 1 Date : 2025-06-29T13:47:16  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72eafbd6-41e7-4651-91de-57f64a68c4ce' LIMIT 1 Date : 2025-06-29T13:47:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-29T13:47:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004607 post PendingInvicesDO 2 MED-141005495 post PendingInvicesDO 2 MED-141005494 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004606 post PendingInvicesDO 2 MED-141005495 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005494 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005495 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005495' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005495' OR OrderId='MED-141005495' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005495' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005495' OR OrderId='MED-141005495' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T14:35:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004608 post PendingInvicesDO 2 MED-141005490 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005490 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005490' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005490' OR OrderId='MED-141005490' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-29T14:37:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004610 post PendingInvicesDO 2 MED-141005497 post PendingInvicesDO 2 MED-141005496 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004609 post PendingInvicesDO 2 MED-141005497 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005496 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005497 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b237bd48-a621-40a5-ae93-6ca8e213d711' LIMIT 1 Date : 2025-06-29T14:51:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0bb5341-0e70-412b-bc2c-7d4207530527' LIMIT 1 Date : 2025-06-29T14:51:09  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b237bd48-a621-40a5-ae93-6ca8e213d711' LIMIT 1 Date : 2025-06-29T14:51:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0bb5341-0e70-412b-bc2c-7d4207530527' LIMIT 1 Date : 2025-06-29T14:51:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-29T14:51:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004611 post PendingInvicesDO 2 MED-141005498 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005498 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='691e97f9-ef77-4b62-92a7-dff2683a2e95' LIMIT 1 Date : 2025-06-29T15:25:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T15:25:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004612 post PendingInvicesDO 2 MED-141005499 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005499 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='395b260f-5172-4ab5-b537-bb126098c71b' LIMIT 1 Date : 2025-06-29T16:23:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T16:23:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004613 post PendingInvicesDO 2 MED-141005500 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005500 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02bf6b80-f121-4e64-a002-d11066a7a957' LIMIT 1 Date : 2025-06-29T16:53:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T16:53:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004614 post PendingInvicesDO 2 MED-141005400 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005400 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005400' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005400' OR OrderId='MED-141005400' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-30T07:46:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004615 post PendingInvicesDO 2 MED-141005502 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005502 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa9fa64d-f18d-4d87-9fa0-b11d7e82cc4d' LIMIT 1 Date : 2025-06-30T08:25:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T08:25:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004616 post PendingInvicesDO 2 MED-141005503 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005503 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f2e0a77-f725-42dc-a12f-a9911e0e93a4' LIMIT 1 Date : 2025-06-30T08:49:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T08:49:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004617 post PendingInvicesDO 2 MED-141005504 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005504 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a99010f7-a205-4124-b221-8d98c2decf28' LIMIT 1 Date : 2025-06-30T09:13:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T09:13:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004618 post PendingInvicesDO 2 MED-141005509 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005509 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9e808b5-6b1e-4389-aa04-d66703f56111' LIMIT 1 Date : 2025-06-30T14:50:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T14:50:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004619 post PendingInvicesDO 2 MED-141005510 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005510 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e5dc1c6-3556-4a06-8be4-780f63fdb6b4' LIMIT 1 Date : 2025-06-30T15:19:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T15:19:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004620 post PendingInvicesDO 2 MED-141005511 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005511 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f960d053-807e-461a-ab9f-ea871c5105c0' LIMIT 1 Date : 2025-06-30T15:42:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T15:42:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004621 post PendingInvicesDO 2 MED-141005512 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005512 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c2b2990-b700-493f-9e56-e51b13c76e46' LIMIT 1 Date : 2025-06-30T16:13:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T16:13:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004622 post PendingInvicesDO 2 MED-141005513 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005513 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='54d5925f-45ae-48d3-b157-965192f85396' LIMIT 1 Date : 2025-06-30T17:15:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T17:15:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004623 post PendingInvicesDO 2 MED-141005451 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005451 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005451' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005451' OR OrderId='MED-141005451' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-01T06:47:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004624 post PendingInvicesDO 2 MED-141005516 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005516 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef6f4539-db49-44b9-9f00-9c6ac4ade8aa' LIMIT 1 Date : 2025-07-01T07:50:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T07:50:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004625 post PendingInvicesDO 2 MED-141005518 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005518 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a2319be-5c5c-4724-85b1-eaccfb741c05' LIMIT 1 Date : 2025-07-01T09:05:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T09:05:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004626 post PendingInvicesDO 2 MED-141005519 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005519 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b408aa8-25ff-4c2f-8cf1-e53386a3a87b' LIMIT 1 Date : 2025-07-01T09:48:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T09:48:13 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004627 post PendingInvicesDO 2 MED-141005520 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005520 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f6af0e1-5681-440b-a279-9232e7829413' LIMIT 1 Date : 2025-07-01T10:14:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T10:14:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004628 post PendingInvicesDO 2 MED-141005521 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005521 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fa2ce26-9a7e-4f34-9c76-cf6346ecf734' LIMIT 1 Date : 2025-07-01T10:52:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T10:52:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004629 post PendingInvicesDO 2 MED-141005430 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005430 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005430' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005430' OR OrderId='MED-141005430' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-01T10:52:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004630 post PendingInvicesDO 2 MED-141005523 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005523 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35823862-6a77-450d-94f5-40a257e0c4db' LIMIT 1 Date : 2025-07-01T11:15:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T11:15:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004631 post PendingInvicesDO 2 MED-141005524 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005524 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df7ab54b-d030-4510-a7ae-45ea712c54e5' LIMIT 1 Date : 2025-07-01T11:35:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T11:35:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004632 post PendingInvicesDO 2 MED-141005525 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005525 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b36569cb-b4a5-4180-9376-5d79519882f9' LIMIT 1 Date : 2025-07-01T11:47:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T11:47:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004633 post PendingInvicesDO 2 MED-141005526 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005526 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4766399a-2ba2-44c9-82a6-87640fe67858' LIMIT 1 Date : 2025-07-01T12:00:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T12:00:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004634 post PendingInvicesDO 2 MED-141005527 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005527 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78c563f4-59d4-44ab-be43-c722e2a4e7f9' LIMIT 1 Date : 2025-07-01T12:20:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T12:20:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004635 post PendingInvicesDO 2 MED-141005528 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005528 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbe1745e-7cad-4bae-82b8-6cb142bcb49f' LIMIT 1 Date : 2025-07-01T12:30:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T12:30:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004636 post PendingInvicesDO 2 MED-141005529 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005529 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00820111-03dd-4967-ae41-80e747204675' LIMIT 1 Date : 2025-07-01T12:38:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T12:38:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004637 post PendingInvicesDO 2 MED-141005530 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005530 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dace51f2-f72a-44f8-82da-a4fc905688ff' LIMIT 1 Date : 2025-07-01T13:19:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T13:19:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004638 post PendingInvicesDO 2 MED-141005532 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005532 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86840b50-e1ed-43d1-99fa-ca27db01f15c' LIMIT 1 Date : 2025-07-01T15:13:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T15:13:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004639 post PendingInvicesDO 2 MED-141005537 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005537 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1450d1c-5ebf-4f8e-b356-57e8672deb19' LIMIT 1 Date : 2025-07-02T11:12:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T11:12:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004640 post PendingInvicesDO 2 MED-141005538 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005538 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='988355dd-31c0-4ae3-a5e5-cfad5b6d83d7' LIMIT 1 Date : 2025-07-02T12:14:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T12:14:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004641 post PendingInvicesDO 2 MED-141005339 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005339 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005339' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005339' OR OrderId='MED-141005339' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-02T12:38:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004642 post PendingInvicesDO 2 MED-141005540 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005540 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db2abd0c-23d5-404c-9d9b-08f41967606d' LIMIT 1 Date : 2025-07-02T13:29:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T13:29:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004643 post PendingInvicesDO 2 MED-141005541 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005541 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='627b2abe-76a6-40ca-a80c-fa4f62c7d552' LIMIT 1 Date : 2025-07-02T14:28:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T14:28:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004644 post PendingInvicesDO 2 MED-141005542 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005542 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81e87403-0a3e-4da2-aa94-716b374d4d9b' LIMIT 1 Date : 2025-07-02T14:41:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T14:41:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004645 post PendingInvicesDO 2 MED-141005543 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005543 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='205147eb-5296-46fc-bfc2-8639d5f55617' LIMIT 1 Date : 2025-07-02T14:57:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T14:57:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004646 post PendingInvicesDO 2 MED-141005544 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005544 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad3b09c6-7abb-49a5-b803-1d6518d05d8c' LIMIT 1 Date : 2025-07-02T15:24:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T15:24:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004647 post PendingInvicesDO 2 MED-141005517 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005517 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005517' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005517' OR OrderId='MED-141005517' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-02T15:38:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004648 post PendingInvicesDO 2 MED-141005545 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005545 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96968511-8430-4c39-8109-1d7226b94f3d' LIMIT 1 Date : 2025-07-02T16:07:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T16:07:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004650 post PendingInvicesDO 2 MED-141005547 post PendingInvicesDO 2 MED-141005546 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004649 post PendingInvicesDO 2 MED-141005547 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005546 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005547 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2da31b02-f203-4351-99c1-df07e7f196bb' LIMIT 1 Date : 2025-07-03T08:29:08  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='913aafd6-d0d4-45d6-85e1-7b253636fc9a' LIMIT 1 Date : 2025-07-03T08:29:08  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2da31b02-f203-4351-99c1-df07e7f196bb' LIMIT 1 Date : 2025-07-03T08:29:08  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='913aafd6-d0d4-45d6-85e1-7b253636fc9a' LIMIT 1 Date : 2025-07-03T08:29:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-03T08:29:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004651 post PendingInvicesDO 2 MED-141005548 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005548 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8cbd556-7d04-4d64-9539-6d102809ffe4' LIMIT 1 Date : 2025-07-03T10:06:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T10:06:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004652 post PendingInvicesDO 2 MED-141005549 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005549 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3f035c6-4ac7-40a6-8a28-95fcd6b5db04' LIMIT 1 Date : 2025-07-03T10:10:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T10:10:14 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004653 post PendingInvicesDO 2 MED-141005550 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005550 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b91e534-44de-4754-8d83-bee81f8c4984' LIMIT 1 Date : 2025-07-03T10:20:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T10:20:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004654 post PendingInvicesDO 2 MED-141005551 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005551 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a51b280-1f04-4cdd-9965-59f16024fb9f' LIMIT 1 Date : 2025-07-03T10:31:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T10:31:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004655 post PendingInvicesDO 2 MED-141005552 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005552 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='076a2d26-2e35-42cc-9fa4-e4da4e3d8fdb' LIMIT 1 Date : 2025-07-03T11:03:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T11:03:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004656 post PendingInvicesDO 2 MED-141005553 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005553 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee2547c6-675d-49de-8b0d-9c44c9237f6c' LIMIT 1 Date : 2025-07-03T11:20:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T11:20:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004657 post PendingInvicesDO 2 MED-141005554 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005554 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='447756f9-b58d-485d-abd7-2ee603581e5c' LIMIT 1 Date : 2025-07-03T12:15:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T12:15:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004658 post PendingInvicesDO 2 MED-141005555 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005555 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005555' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005555' OR OrderId='MED-141005555' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-03T14:23:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004659 post PendingInvicesDO 2 MED-141005556 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005556 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41619e78-ead1-462f-8cbd-1936e26d7cf4' LIMIT 1 Date : 2025-07-03T14:37:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T14:37:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004660 post PendingInvicesDO 2 MED-141005557 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005557 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a371a81-2c12-4b5a-8fa3-98f7038f22e5' LIMIT 1 Date : 2025-07-03T15:06:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T15:06:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004661 post PendingInvicesDO 2 MED-141005559 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005559 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f924c66-f80d-4763-96fb-0d454b93e703' LIMIT 1 Date : 2025-07-03T16:59:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T16:59:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004662 post PendingInvicesDO 2 MED-141005560 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005560 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ebea435b-33fa-4d80-9288-30bf41d79807' LIMIT 1 Date : 2025-07-05T07:33:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T07:33:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004663 post PendingInvicesDO 2 MED-141005564 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005564 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0af5d446-aba9-47c2-a87f-8e7e864ede12' LIMIT 1 Date : 2025-07-05T12:04:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T12:04:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004664 post PendingInvicesDO 2 MED-141005565 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005565 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8520d315-4bd1-4add-bf1c-8514a5af88e2' LIMIT 1 Date : 2025-07-05T13:06:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T13:06:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004665 post PendingInvicesDO 2 MED-141005566 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005566 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='878f0107-0045-43bb-bea0-1b68aeb40543' LIMIT 1 Date : 2025-07-05T13:39:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T13:39:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004666 post PendingInvicesDO 2 MED-141005567 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005567 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d92b0a07-ae02-4af7-885d-df90082fb149' LIMIT 1 Date : 2025-07-05T14:10:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T14:10:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004667 post PendingInvicesDO 2 MED-141005568 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005568 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27178db8-9aac-418d-a761-a694bd44ebdf' LIMIT 1 Date : 2025-07-05T14:32:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T14:32:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004668 post PendingInvicesDO 2 MED-141005569 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005569 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5a52574-af69-48b6-8124-76134f43a1a8' LIMIT 1 Date : 2025-07-05T14:40:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T14:40:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004669 post PendingInvicesDO 2 MED-141005570 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005570 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ba056e7-403f-4c49-af3f-0e0d29d33545' LIMIT 1 Date : 2025-07-05T15:02:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T15:02:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004670 post PendingInvicesDO 2 MED-141005571 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005571 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41eeee05-9f61-44f4-8de6-89a784757c19' LIMIT 1 Date : 2025-07-05T15:29:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T15:29:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004671 post PendingInvicesDO 2 MED-141005572 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005572 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='612186b7-1338-4a16-9f16-1ff282a14524' LIMIT 1 Date : 2025-07-05T17:12:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T17:12:28 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004672 post PendingInvicesDO 2 MED-141005577 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005577 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a72143a-522f-47ee-9184-bc565bfd98e0' LIMIT 1 Date : 2025-07-06T11:46:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T11:46:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004673 post PendingInvicesDO 2 MED-141005580 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005580 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='501b4b91-bdc3-4205-adf3-ca9c287bca43' LIMIT 1 Date : 2025-07-06T14:23:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T14:23:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004674 post PendingInvicesDO 2 MED-141005581 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005581 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07dc9673-7eef-4691-a801-e65d842aeefa' LIMIT 1 Date : 2025-07-06T14:51:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T14:51:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004675 post PendingInvicesDO 2 MED-141005582 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005582 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2f55ae6-7c8b-4ecb-9ce6-7eb3a17e37e5' LIMIT 1 Date : 2025-07-06T15:14:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T15:14:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004676 post PendingInvicesDO 2 MED-141005583 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005583 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5be18f8-59a3-4048-9f05-c257d13f01b3' LIMIT 1 Date : 2025-07-06T15:42:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T15:42:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004677 post PendingInvicesDO 2 MED-141005584 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005584 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='edf44119-5893-42db-b5ec-084d791c7d8b' LIMIT 1 Date : 2025-07-06T16:16:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T16:16:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004678 post PendingInvicesDO 2 MED-141005443 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005443 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005443' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005443' OR OrderId='MED-141005443' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-06T19:43:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004679 post PendingInvicesDO 2 MED-141005585 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005585 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87be0b04-9c67-4c27-8d53-094f2062268c' LIMIT 1 Date : 2025-07-07T07:26:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T07:26:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004680 post PendingInvicesDO 2 MED-141005501 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005501 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005501' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005501' OR OrderId='MED-141005501' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-07T07:46:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004681 post PendingInvicesDO 2 MED-141005589 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005589 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82bc4197-30bf-4dcc-a3c6-0808a485cf95' LIMIT 1 Date : 2025-07-07T11:44:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T11:45:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004682 post PendingInvicesDO 2 MED-141005590 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005590 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a59f64f8-6e8c-47b3-9a3a-6c0937306541' LIMIT 1 Date : 2025-07-07T12:03:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T12:03:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004683 post PendingInvicesDO 2 MED-141005591 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005591 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7093e2d-9f62-46ff-b5dc-f16c11148d43' LIMIT 1 Date : 2025-07-07T12:17:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T12:17:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004684 post PendingInvicesDO 2 MED-141005592 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005592 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a449161-a166-4bd0-911e-d96d3286a1b1' LIMIT 1 Date : 2025-07-07T12:41:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T12:41:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004685 post PendingInvicesDO 2 MED-141005593 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005593 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc1c0671-0986-4fc9-b04d-07a17622bd3b' LIMIT 1 Date : 2025-07-07T12:56:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T12:56:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004686 post PendingInvicesDO 2 MED-141005594 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005594 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='40a24668-26d7-498b-9156-e2a7fbcd1d25' LIMIT 1 Date : 2025-07-07T13:12:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T13:12:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004687 post PendingInvicesDO 2 MED-141005595 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005595 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd46f4c3-f91b-4321-befd-f921ba1f8c47' LIMIT 1 Date : 2025-07-07T13:24:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T13:24:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004688 post PendingInvicesDO 2 MED-141005596 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005596 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d194d003-a5c2-4573-8787-7469122d24e3' LIMIT 1 Date : 2025-07-07T13:43:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T13:43:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004689 post PendingInvicesDO 2 MED-141005597 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005597 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='80725501-7289-4b7f-a0b1-ae65526d9de6' LIMIT 1 Date : 2025-07-07T14:21:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T14:21:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004690 post PendingInvicesDO 2 MED-141005598 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005598 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f46ac52d-07f7-4249-8853-958ea2aab877' LIMIT 1 Date : 2025-07-07T14:35:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T14:35:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004691 post PendingInvicesDO 2 MED-141005599 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005599 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1551068a-8714-4fc0-8ed3-9cde9a5222d8' LIMIT 1 Date : 2025-07-07T15:05:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T15:05:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004692 post PendingInvicesDO 2 MED-141005600 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005600 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26d58d7e-828b-4215-a475-8a25a485481a' LIMIT 1 Date : 2025-07-07T16:19:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T16:19:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004693 post PendingInvicesDO 2 MED-141005472 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005472 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005472' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005472' OR OrderId='MED-141005472' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-07T21:21:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004694 post PendingInvicesDO 2 MED-141005522 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005522 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005522' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005522' OR OrderId='MED-141005522' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-08T12:33:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004695 post PendingInvicesDO 2 MED-141005607 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005607 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3a89c61-7e2b-49a6-93f3-e23ca46e3ed1' LIMIT 1 Date : 2025-07-08T13:02:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T13:02:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004696 post PendingInvicesDO 2 MED-141005608 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005608 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04ed763d-46b3-4c4b-a4ef-117f362d0c01' LIMIT 1 Date : 2025-07-08T13:19:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T13:19:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004697 post PendingInvicesDO 2 MED-141005609 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005609 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c8fa5e5-4502-409f-a427-11e91a92d261' LIMIT 1 Date : 2025-07-08T13:30:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T13:30:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004699 post PendingInvicesDO 2 MED-141005611 post PendingInvicesDO 2 MED-141005610 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004698 post PendingInvicesDO 2 MED-141005611 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005610 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005611 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49412e8c-182e-42b0-ab71-d56ffe885c7f' LIMIT 1 Date : 2025-07-08T13:49:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7bdfd625-0d34-4076-a921-684c43f81ddf' LIMIT 1 Date : 2025-07-08T13:49:36  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49412e8c-182e-42b0-ab71-d56ffe885c7f' LIMIT 1 Date : 2025-07-08T13:49:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7bdfd625-0d34-4076-a921-684c43f81ddf' LIMIT 1 Date : 2025-07-08T13:49:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-08T13:49:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004700 post PendingInvicesDO 2 MED-141005612 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005612 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e1ed425d-a300-4d9f-ad0f-dd271cb06e43' LIMIT 1 Date : 2025-07-08T14:07:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T14:07:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004701 post PendingInvicesDO 2 MED-141005613 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005613 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='265e81bc-4da8-4d46-a62b-65333ca2715f' LIMIT 1 Date : 2025-07-08T14:29:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T14:29:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004702 post PendingInvicesDO 2 MED-141005614 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005614 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9979dc18-a9df-47c3-bdf7-b529553559e4' LIMIT 1 Date : 2025-07-08T14:30:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T14:30:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004703 post PendingInvicesDO 2 MED-141005615 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005615 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de08c7d4-39f5-4148-91b4-fdfc6da68311' LIMIT 1 Date : 2025-07-08T15:20:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T15:20:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004705 post PendingInvicesDO 2 MED-141005578 post PendingInvicesDO 2 MED-141005579 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004704 post PendingInvicesDO 2 MED-141005578 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005578 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005578' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005578' OR OrderId='MED-141005578' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005578' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005578' OR OrderId='MED-141005578' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-08T19:47:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004706 post PendingInvicesDO 2 MED-141005617 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005617 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba50ceeb-a3ad-4efe-b086-9437f9c4f9b2' LIMIT 1 Date : 2025-07-08T20:25:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T20:25:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004707 post PendingInvicesDO 2 MED-141005618 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005618 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='156e60c6-00de-48ac-890f-467aa6f13452' LIMIT 1 Date : 2025-07-09T07:42:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T07:42:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004708 post PendingInvicesDO 2 MED-141005307 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005307 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005307' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005307' OR OrderId='MED-141005307' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-09T10:05:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004709 post PendingInvicesDO 2 MED-141005622 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005622 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09d02c23-9024-4299-a7bf-0f63a44bf5fa' LIMIT 1 Date : 2025-07-09T11:17:51   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-144004710 post PendingInvicesDO 2 MED-141005625 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005625 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005625' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005625' OR OrderId='MED-141005625' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-09T13:59:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004711 post PendingInvicesDO 2 MED-141005626 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005626 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a3e58a4-b1a1-41ca-b186-c96bfa671d8a' LIMIT 1 Date : 2025-07-09T14:18:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T14:18:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004712 post PendingInvicesDO 2 MED-141005486 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005486 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005486' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005486' OR OrderId='MED-141005486' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-09T15:32:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004713 post PendingInvicesDO 2 MED-141005629 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005629 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a583adac-cd00-4ceb-b841-7dcab2275730' LIMIT 1 Date : 2025-07-09T16:50:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T16:50:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004714 post PendingInvicesDO 2 MED-141005630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23ddf577-0963-4aa6-b0ae-f68fbe35beb3' LIMIT 1 Date : 2025-07-09T17:01:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T17:01:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004715 post PendingInvicesDO 2 MED-141005631 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005631 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='428f9b96-58bb-4e13-bf8c-c030f300efce' LIMIT 1 Date : 2025-07-09T21:35:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-09T21:35:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004716 post PendingInvicesDO 2 MED-141005627 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005627 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005627' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005627' OR OrderId='MED-141005627' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-09T21:41:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004717 post PendingInvicesDO 2 MED-141005638 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005638 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2683005e-14c1-411d-bbdf-e522902bb0c1' LIMIT 1 Date : 2025-07-10T12:55:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T12:55:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004718 post PendingInvicesDO 2 MED-141005639 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005639 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f43591bd-1c7b-4ac7-907e-14a128e79029' LIMIT 1 Date : 2025-07-10T13:20:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T13:20:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004719 post PendingInvicesDO 2 MED-141005640 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005640 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04281335-a7d7-4bf5-9f7f-ab21b7ca1453' LIMIT 1 Date : 2025-07-10T15:12:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T15:12:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004720 post PendingInvicesDO 2 MED-141005641 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005641 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9fea0e7-95c8-4bda-85c3-899f92a9fce0' LIMIT 1 Date : 2025-07-10T15:31:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T15:31:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004721 post PendingInvicesDO 2 MED-141005642 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005642 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98928c2a-d999-4687-be2b-9f628175f4c4' LIMIT 1 Date : 2025-07-10T15:50:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T15:50:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004722 post PendingInvicesDO 2 MED-141005478 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005478 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005478' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005478' OR OrderId='MED-141005478' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-10T22:23:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004723 post PendingInvicesDO 2 MED-141005644 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005644 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85a36c8a-3444-4012-8e18-bcd206b98a71' LIMIT 1 Date : 2025-07-10T22:54:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T22:54:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004724 post PendingInvicesDO 2 MED-141005645 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005645 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca5a69ee-587f-4e71-a05d-e9aa8598142e' LIMIT 1 Date : 2025-07-10T23:36:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T23:36:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004725 post PendingInvicesDO 2 MED-141005646 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005646 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bad2758-8952-4912-85fa-9e5b0deb4d8c' LIMIT 1 Date : 2025-07-11T16:42:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-11T16:42:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004726 post PendingInvicesDO 2 MED-141005647 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005647 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a52075d-ffe3-48b8-ae5b-98d561b37cc0' LIMIT 1 Date : 2025-07-11T18:32:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-11T18:32:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004727 post PendingInvicesDO 2 MED-141005539 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005539 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005539' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005539' OR OrderId='MED-141005539' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-11T19:02:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004728 post PendingInvicesDO 2 MED-141005648 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005648 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b480bbc-6720-4cfb-9eb7-af35bb1b7554' LIMIT 1 Date : 2025-07-12T07:39:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T07:39:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004729 post PendingInvicesDO 2 MED-141005650 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005650 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='654769f5-1a01-4d2f-a178-d27dffd2cc58' LIMIT 1 Date : 2025-07-12T09:46:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T09:46:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004730 post PendingInvicesDO 2 MED-141005655 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005655 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5cf579e1-4f7a-4c5b-8bad-c57c7a2612af' LIMIT 1 Date : 2025-07-12T12:33:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T12:33:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004731 post PendingInvicesDO 2 MED-141005656 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005656 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='539a6f27-5a17-4851-a002-60245856da6e' LIMIT 1 Date : 2025-07-12T14:00:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T14:00:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004733 post PendingInvicesDO 2 MED-141005658 post PendingInvicesDO 2 MED-141005657 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004732 post PendingInvicesDO 2 MED-141005658 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005657 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005658 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14bad607-bce9-4596-ac95-d718ca2ec4f7' LIMIT 1 Date : 2025-07-12T14:36:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75d9819e-f8ed-4131-b593-92e9ec4fd9b4' LIMIT 1 Date : 2025-07-12T14:36:34  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14bad607-bce9-4596-ac95-d718ca2ec4f7' LIMIT 1 Date : 2025-07-12T14:36:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75d9819e-f8ed-4131-b593-92e9ec4fd9b4' LIMIT 1 Date : 2025-07-12T14:36:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-12T14:36:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004734 post PendingInvicesDO 2 MED-141005659 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005659 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ddb53cf-cfac-4ff3-80f1-77d7693ac0f1' LIMIT 1 Date : 2025-07-12T15:14:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T15:14:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004735 post PendingInvicesDO 2 MED-141005660 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005660 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3fd8751f-6f64-48cc-932d-3cbfa3a84500' LIMIT 1 Date : 2025-07-12T15:54:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T15:54:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004736 post PendingInvicesDO 2 MED-141005661 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005661 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e0501a5-2b9f-494c-be32-5abf762399cc' LIMIT 1 Date : 2025-07-12T16:36:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T16:36:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004737 post PendingInvicesDO 2 MED-141005662 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005662 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b0fef4e-3df1-447d-9552-8b6d479933f0' LIMIT 1 Date : 2025-07-12T17:28:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T17:28:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004738 post PendingInvicesDO 2 MED-141005664 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005664 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1532585-dde2-4df5-a77e-32144285c537' LIMIT 1 Date : 2025-07-13T09:32:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T09:32:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004739 post PendingInvicesDO 2 MED-141005667 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005667 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29c6fc30-a64b-4f8d-83ed-9f2ea0d3197c' LIMIT 1 Date : 2025-07-13T11:48:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T11:48:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004740 post PendingInvicesDO 2 MED-141005668 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005668 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f4da8d8-3f0a-4183-b5b5-927c9a5f1552' LIMIT 1 Date : 2025-07-13T12:09:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T12:09:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004741 post PendingInvicesDO 2 MED-141005669 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005669 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='194efaff-e1dc-4d26-a64e-ef0b83ad6713' LIMIT 1 Date : 2025-07-13T12:22:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T12:22:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004742 post PendingInvicesDO 2 MED-141005670 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005670 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d91ec86a-2fc4-479d-ae52-283e1cc0b9b5' LIMIT 1 Date : 2025-07-13T12:40:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T12:40:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004743 post PendingInvicesDO 2 MED-141005671 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005671 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='806dffcf-2dfd-41f8-b365-55796ccbbe3e' LIMIT 1 Date : 2025-07-13T13:14:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T13:14:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004744 post PendingInvicesDO 2 MED-141005675 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005675 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8435206-c8e6-4749-8b30-f8d0c2a59561' LIMIT 1 Date : 2025-07-13T16:17:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T16:17:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004745 post PendingInvicesDO 2 MED-141005676 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005676 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='528f9c02-0763-4ad6-941c-19c90b2c9250' LIMIT 1 Date : 2025-07-13T16:57:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T16:57:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004746 post PendingInvicesDO 2 MED-141005677 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005677 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01d3bce0-2b3e-4129-8858-10d4c2e3ccd6' LIMIT 1 Date : 2025-07-13T17:33:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T17:33:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004747 post PendingInvicesDO 2 MED-141005672 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005672 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005672' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005672' OR OrderId='MED-141005672' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-13T17:53:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004748 post PendingInvicesDO 2 MED-141005586 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005586 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005586' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005586' OR OrderId='MED-141005586' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-14T07:37:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004749 post PendingInvicesDO 2 MED-141005680 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005680 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0883742c-f39d-47bb-ac2c-b6a08528c37b' LIMIT 1 Date : 2025-07-14T10:22:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T10:22:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004750 post PendingInvicesDO 2 MED-141005681 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005681 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af93e0c4-6060-4aed-9e4c-891669412a95' LIMIT 1 Date : 2025-07-14T10:40:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T10:40:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004751 post PendingInvicesDO 2 MED-141005682 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005682 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='defa6904-94f3-4643-b17e-7f079e816783' LIMIT 1 Date : 2025-07-14T10:50:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T10:50:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004752 post PendingInvicesDO 2 MED-141005683 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005683 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b1b2dc9-b7c2-4071-9c01-8c0fdb650489' LIMIT 1 Date : 2025-07-14T11:00:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T11:00:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004753 post PendingInvicesDO 2 MED-141005684 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005684 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13f0941b-8253-4d19-bc9a-47da23243aa7' LIMIT 1 Date : 2025-07-14T11:10:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T11:10:22 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004754 post PendingInvicesDO 2 MED-141005685 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005685 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b043b09-6619-4477-97f5-fe90df3c741b' LIMIT 1 Date : 2025-07-14T11:31:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T11:31:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004755 post PendingInvicesDO 2 MED-141005686 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005686 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2ec4947-8e95-42aa-8be5-682f0e371d99' LIMIT 1 Date : 2025-07-14T11:49:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T11:49:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004756 post PendingInvicesDO 2 MED-141005687 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005687 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e2703a1-fd06-4b1d-bbec-ac52a75100be' LIMIT 1 Date : 2025-07-14T12:12:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T12:12:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004757 post PendingInvicesDO 2 MED-141005688 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005688 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c5b84b3-ffb1-480b-88d8-d2852dcc37a7' LIMIT 1 Date : 2025-07-14T13:06:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T13:06:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004758 post PendingInvicesDO 2 MED-141005689 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005689 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca743cc5-57d6-4861-9591-471012c56008' LIMIT 1 Date : 2025-07-14T13:24:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T13:24:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004759 post PendingInvicesDO 2 MED-141005690 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005690 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9758f70-f6a4-494c-bb3d-d8b90b432184' LIMIT 1 Date : 2025-07-14T14:29:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T14:29:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004760 post PendingInvicesDO 2 MED-141005691 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005691 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005691' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005691' OR OrderId='MED-141005691' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-14T17:37:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004761 post PendingInvicesDO 2 MED-141005692 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005692 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cedf6917-1c78-468c-8349-77fbcfacc317' LIMIT 1 Date : 2025-07-15T07:46:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T07:46:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004762 post PendingInvicesDO 2 MED-141005696 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005696 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3721b691-5041-408d-9aa4-fe767f22b85e' LIMIT 1 Date : 2025-07-15T10:37:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T10:37:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004763 post PendingInvicesDO 2 MED-141005606 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005606 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005606' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005606' OR OrderId='MED-141005606' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-15T11:14:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004764 post PendingInvicesDO 2 MED-141005698 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005698 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1cddffa5-cd1e-4302-8e04-553e8e01406d' LIMIT 1 Date : 2025-07-15T11:31:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T11:31:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004765 post PendingInvicesDO 2 MED-141005699 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005699 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='288265c5-e935-4788-a431-6758d32aefb1' LIMIT 1 Date : 2025-07-15T11:50:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T11:50:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004766 post PendingInvicesDO 2 MED-141005700 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005700 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f399c987-ab73-4bca-a695-bdc6dbbe779d' LIMIT 1 Date : 2025-07-15T11:57:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T11:57:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004767 post PendingInvicesDO 2 MED-141005701 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005701 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3038cf41-e02f-4cf8-9810-0762fcc390ff' LIMIT 1 Date : 2025-07-15T12:09:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T12:09:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004768 post PendingInvicesDO 2 MED-141005702 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005702 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09e9e11e-595b-429c-be1d-ed7fd477eab9' LIMIT 1 Date : 2025-07-15T12:17:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T12:17:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004769 post PendingInvicesDO 2 MED-141005703 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005703 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='200bf85a-1f0e-4144-bf2c-4923dbbcda9c' LIMIT 1 Date : 2025-07-15T12:23:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T12:23:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004770 post PendingInvicesDO 2 MED-141005704 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005704 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07145f6e-9669-40d6-a84c-c993397fc935' LIMIT 1 Date : 2025-07-15T12:38:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T12:38:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004771 post PendingInvicesDO 2 MED-141005705 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005705 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa66d93e-5ccf-4d8f-b116-50b95f127b13' LIMIT 1 Date : 2025-07-15T13:13:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T13:13:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004772 post PendingInvicesDO 2 MED-141005706 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005706 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ee50eee-4fe4-4a07-8839-662d2a4fe224' LIMIT 1 Date : 2025-07-15T13:36:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T13:37:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004773 post PendingInvicesDO 2 MED-141005707 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005707 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7196e76c-9ec0-4a83-8fce-24dd1dc69410' LIMIT 1 Date : 2025-07-15T13:57:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T13:57:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004774 post PendingInvicesDO 2 MED-141005628 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005628 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005628' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005628' OR OrderId='MED-141005628' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-15T15:14:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004775 post PendingInvicesDO 2 MED-141005709 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005709 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f96ced4d-2e61-47ad-bc77-edf51dc059c2' LIMIT 1 Date : 2025-07-15T16:37:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T16:37:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004776 post PendingInvicesDO 2 MED-141005710 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005710 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f148af6b-ca0f-485e-a4ec-8503e71aa75a' LIMIT 1 Date : 2025-07-15T16:44:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-15T16:44:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004777 post PendingInvicesDO 2 MED-141005711 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005711 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a384a2a9-9bd4-4418-9f61-8602f6ae6fe9' LIMIT 1 Date : 2025-07-16T07:19:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T07:19:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004778 post PendingInvicesDO 2 MED-141005713 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005713 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04aefd93-e0fa-41a0-9726-373275dc0728' LIMIT 1 Date : 2025-07-16T08:55:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T08:55:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004779 post PendingInvicesDO 2 MED-141005717 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005717 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a406c1e4-1edf-4630-84b6-3da79a45b066' LIMIT 1 Date : 2025-07-16T12:04:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T12:04:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004780 post PendingInvicesDO 2 MED-141005718 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005718 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c9c3e34-90b3-4de5-ab78-b3c692435a2a' LIMIT 1 Date : 2025-07-16T14:54:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T14:54:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004781 post PendingInvicesDO 2 MED-141005719 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005719 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd05a258-abba-47dd-a635-9dd32dc573e1' LIMIT 1 Date : 2025-07-16T15:14:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T15:14:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004782 post PendingInvicesDO 2 MED-141005720 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005720 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9234a121-f2f9-4234-b8e6-53929c968d7f' LIMIT 1 Date : 2025-07-16T15:39:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T15:39:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004783 post PendingInvicesDO 2 MED-141005721 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005721 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='255b4fe9-b3a8-470c-bb88-e0875b6b2bb4' LIMIT 1 Date : 2025-07-16T16:34:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T16:34:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004784 post PendingInvicesDO 2 MED-141005726 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005726 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c56c940-a7e0-4cc3-9166-73992e6ecf8d' LIMIT 1 Date : 2025-07-17T11:17:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T11:17:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004785 post PendingInvicesDO 2 MED-141005727 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005727 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b0d1c76-e240-4255-841e-39eb48d6158d' LIMIT 1 Date : 2025-07-17T11:45:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T11:45:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004786 post PendingInvicesDO 2 MED-141005728 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005728 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79f949ab-a45a-4b28-9e3a-eaeced708897' LIMIT 1 Date : 2025-07-17T21:12:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T21:12:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004787 post PendingInvicesDO 2 MED-141005729 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005729 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4bb0a237-c0de-4260-b2ad-23f4a5baee10' LIMIT 1 Date : 2025-07-17T21:28:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T21:28:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004788 post PendingInvicesDO 2 MED-141005730 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005730 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='211ffd87-d399-4e62-9387-62071960d4aa' LIMIT 1 Date : 2025-07-17T22:01:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T22:01:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004789 post PendingInvicesDO 2 MED-141005731 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005731 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0e96258-0c95-4a5a-a40b-062a18ae691e' LIMIT 1 Date : 2025-07-17T22:45:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T22:45:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004790 post PendingInvicesDO 2 MED-141005732 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005732 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92e7dd0e-58b8-4748-b5e5-4f79cf608e7e' LIMIT 1 Date : 2025-07-17T23:10:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T23:10:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004791 post PendingInvicesDO 2 MED-141005733 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005733 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9ca3e64-41f8-44af-bb29-2c9d551d9392' LIMIT 1 Date : 2025-07-19T07:37:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T07:37:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004792 post PendingInvicesDO 2 MED-141005738 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005738 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a908f59-6998-4362-9d22-ce3d8797759a' LIMIT 1 Date : 2025-07-19T12:25:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T12:25:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004793 post PendingInvicesDO 2 MED-141005739 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005739 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56f89bbd-a3be-4e9e-a0d2-65f581c36a6b' LIMIT 1 Date : 2025-07-19T12:37:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T12:37:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004794 post PendingInvicesDO 2 MED-141005740 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005740 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83fcc7dc-c8f2-4d71-9af2-400dd8fe8f49' LIMIT 1 Date : 2025-07-19T12:49:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T12:49:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004796 post PendingInvicesDO 2 MED-141005742 post PendingInvicesDO 2 MED-141005741 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004795 post PendingInvicesDO 2 MED-141005742 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005741 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005742 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f93dca9-b47b-49af-9e5b-e6b1964eb165' LIMIT 1 Date : 2025-07-19T13:13:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='003aa70e-9315-4c31-ae02-5f735a37a5ff' LIMIT 1 Date : 2025-07-19T13:13:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f93dca9-b47b-49af-9e5b-e6b1964eb165' LIMIT 1 Date : 2025-07-19T13:13:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='003aa70e-9315-4c31-ae02-5f735a37a5ff' LIMIT 1 Date : 2025-07-19T13:13:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-19T13:13:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004797 post PendingInvicesDO 2 MED-141005745 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005745 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc6e8287-d87f-4bcc-99cb-c517a8b79b4f' LIMIT 1 Date : 2025-07-19T16:04:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T16:04:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004799 post PendingInvicesDO 2 MED-141005673 post PendingInvicesDO 2 MED-141005674 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004798 post PendingInvicesDO 2 MED-141005673 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005673 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005673' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005673' OR OrderId='MED-141005673' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005673' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005673' OR OrderId='MED-141005673' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-19T20:31:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004801 post PendingInvicesDO 2 MED-141005743 post PendingInvicesDO 2 MED-141005744 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004800 post PendingInvicesDO 2 MED-141005743 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005743 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005743' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005743' OR OrderId='MED-141005743' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005743' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005743' OR OrderId='MED-141005743' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-19T20:37:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004802 post PendingInvicesDO 2 MED-141005750 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005750 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ab2072f-85c0-4ab1-87e4-86b5e556e55d' LIMIT 1 Date : 2025-07-20T13:21:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T13:21:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004803 post PendingInvicesDO 2 MED-141005751 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005751 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='061e450e-f00d-4c87-9135-129c92abe260' LIMIT 1 Date : 2025-07-20T13:33:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T13:33:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004804 post PendingInvicesDO 2 MED-141005753 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005753 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9eb6487-968d-4835-a65e-10415e72de2c' LIMIT 1 Date : 2025-07-20T15:03:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T15:03:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004805 post PendingInvicesDO 2 MED-141005754 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005754 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e31e0b76-2542-4020-b154-c82581698b6c' LIMIT 1 Date : 2025-07-20T15:56:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T15:56:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004806 post PendingInvicesDO 2 MED-141005755 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005755 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c28860e7-0492-4ff3-80ba-0c235acf3eb6' LIMIT 1 Date : 2025-07-20T16:56:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T16:56:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004807 post PendingInvicesDO 2 MED-141005756 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005756 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4b6b614-5d97-4339-9123-abd75a1af31d' LIMIT 1 Date : 2025-07-20T18:29:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-20T18:29:51 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004808 post PendingInvicesDO 2 MED-141005678 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005678 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005678' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005678' OR OrderId='MED-141005678' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-21T07:30:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004809 post PendingInvicesDO 2 MED-141005760 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005760 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4eabf57e-4fa2-4e75-8fda-f753ba33bc29' LIMIT 1 Date : 2025-07-21T11:00:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T11:00:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004810 post PendingInvicesDO 2 MED-141005761 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005761 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c5cc710-a80d-42ff-8c73-1ba9809dd2bc' LIMIT 1 Date : 2025-07-21T11:24:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T11:24:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004811 post PendingInvicesDO 2 MED-141005762 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005762 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b57de8d0-0190-4d01-ac80-e7d54c78d063' LIMIT 1 Date : 2025-07-21T11:54:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T11:54:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004812 post PendingInvicesDO 2 MED-141005763 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005763 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13c6d516-2488-4d5d-8d7e-602e4f6a9d13' LIMIT 1 Date : 2025-07-21T12:11:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T12:11:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004813 post PendingInvicesDO 2 MED-141005764 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005764 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43fa7841-22ee-4af7-b97d-23f2fccdb977' LIMIT 1 Date : 2025-07-21T12:58:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T12:58:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004814 post PendingInvicesDO 2 MED-141005765 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005765 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7ebf356-0871-469f-8996-2d56c83d0040' LIMIT 1 Date : 2025-07-21T13:14:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T13:14:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004815 post PendingInvicesDO 2 MED-141005766 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005766 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f271921-7454-44ac-b4f5-e5356ad21d04' LIMIT 1 Date : 2025-07-21T13:26:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T13:26:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004816 post PendingInvicesDO 2 MED-141005767 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005767 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='597d3397-f908-4fdf-84e4-503ef9549133' LIMIT 1 Date : 2025-07-21T13:47:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T13:47:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004817 post PendingInvicesDO 2 MED-141005768 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005768 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a67b997b-2344-4c24-9900-5a4087b698c2' LIMIT 1 Date : 2025-07-21T14:10:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T14:10:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004818 post PendingInvicesDO 2 MED-141005769 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005769 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e80ebfd-0a4e-4f08-b554-c83f1597d395' LIMIT 1 Date : 2025-07-21T15:01:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T15:01:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004819 post PendingInvicesDO 2 MED-141005770 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005770 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f7b7ad5-15b8-42b3-a585-db6aebb5efe4' LIMIT 1 Date : 2025-07-21T15:36:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T15:36:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004820 post PendingInvicesDO 2 MED-141005708 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005708 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005708' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005708' OR OrderId='MED-141005708' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-21T15:59:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004821 post PendingInvicesDO 2 MED-141005772 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005772 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9682e2f9-daac-410d-a174-f39713abe0ba' LIMIT 1 Date : 2025-07-21T16:06:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T16:06:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004822 post PendingInvicesDO 2 MED-141005773 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005773 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db5c77d7-0945-4581-a10a-92af39236d29' LIMIT 1 Date : 2025-07-21T17:30:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T17:30:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004823 post PendingInvicesDO 2 MED-141005774 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005774 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7cc67a7-f451-4b2b-a069-5c8f93a028a6' LIMIT 1 Date : 2025-07-21T17:42:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T17:42:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004824 post PendingInvicesDO 2 MED-141005634 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005634 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005634' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005634' OR OrderId='MED-141005634' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-21T20:33:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004826 post PendingInvicesDO 2 MED-141005776 post PendingInvicesDO 2 MED-141005775 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004825 post PendingInvicesDO 2 MED-141005776 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005775 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005776 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1fb6770-8298-49f2-992e-f948c5ae454c' LIMIT 1 Date : 2025-07-21T20:37:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc46b0f4-07c1-4434-af3c-7afa73eb1bd7' LIMIT 1 Date : 2025-07-21T20:37:46  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1fb6770-8298-49f2-992e-f948c5ae454c' LIMIT 1 Date : 2025-07-21T20:37:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc46b0f4-07c1-4434-af3c-7afa73eb1bd7' LIMIT 1 Date : 2025-07-21T20:37:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-21T20:37:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004827 post PendingInvicesDO 2 MED-141005777 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005777 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a25e500a-b565-475d-a38c-585f7bce4cab' LIMIT 1 Date : 2025-07-22T07:47:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T07:47:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004828 post PendingInvicesDO 2 MED-141005778 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005778 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e14763fe-c2d7-4382-96ac-26e9e30bd8ab' LIMIT 1 Date : 2025-07-22T08:42:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T08:42:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004829 post PendingInvicesDO 2 MED-141005779 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005779 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd3c456a-24c9-4f1d-ab52-07a9a358558d' LIMIT 1 Date : 2025-07-22T09:25:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T09:25:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004830 post PendingInvicesDO 2 MED-141005781 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005781 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45b6364b-cf77-4f7a-b4f6-3d7f8f945542' LIMIT 1 Date : 2025-07-22T11:10:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T11:10:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004831 post PendingInvicesDO 2 MED-141005782 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005782 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b14d2c4a-7eb7-4602-8904-b957494c7a73' LIMIT 1 Date : 2025-07-22T12:23:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T12:23:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004832 post PendingInvicesDO 2 MED-141005783 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005783 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b8d9f8c-c880-4e9f-bff1-125ae4c31f89' LIMIT 1 Date : 2025-07-22T12:37:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T12:37:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004833 post PendingInvicesDO 2 MED-141005784 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005784 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b81bc2df-a876-4898-ab87-fd3cad239af6' LIMIT 1 Date : 2025-07-22T13:09:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T13:09:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004834 post PendingInvicesDO 2 MED-141005785 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005785 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='011801e3-4c6c-40bb-a63f-50efec0ca119' LIMIT 1 Date : 2025-07-22T13:26:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T13:26:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004835 post PendingInvicesDO 2 MED-141005786 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005786 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b379bb64-ebd6-4a83-88af-333b07a40683' LIMIT 1 Date : 2025-07-22T13:37:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T13:37:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004836 post PendingInvicesDO 2 MED-141005787 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005787 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16d96ec0-20b9-4d0a-87e4-3ba4a1631333' LIMIT 1 Date : 2025-07-22T13:48:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T13:48:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004837 post PendingInvicesDO 2 MED-141005789 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005789 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='acd6d2ab-8636-4835-b7b5-d178e77efb5d' LIMIT 1 Date : 2025-07-22T17:12:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T17:12:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004838 post PendingInvicesDO 2 MED-141005790 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005790 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='943661d9-3a0c-434b-b699-2be657a6911b' LIMIT 1 Date : 2025-07-23T07:30:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T07:30:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004839 post PendingInvicesDO 2 MED-141005793 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005793 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37f7ac90-a5c3-401a-b22b-a05b8e8de02f' LIMIT 1 Date : 2025-07-23T09:33:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T09:33:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004840 post PendingInvicesDO 2 MED-141005715 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005715 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005715' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005715' OR OrderId='MED-141005715' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-23T10:35:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004841 post PendingInvicesDO 2 MED-141005795 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005795 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e957b2f6-c05e-4787-b4a4-76e9bd6656c0' LIMIT 1 Date : 2025-07-23T11:21:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T11:21:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004842 post PendingInvicesDO 2 MED-141005716 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005716 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005716' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005716' OR OrderId='MED-141005716' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-23T12:11:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004843 post PendingInvicesDO 2 MED-141005797 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005797 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d6c5451-4c83-4f32-9cd0-b68278d75f69' LIMIT 1 Date : 2025-07-23T12:15:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T12:15:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004844 post PendingInvicesDO 2 MED-141005800 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005800 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4896049-5045-4a06-a7be-afb4b93bcbcf' LIMIT 1 Date : 2025-07-23T14:16:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T14:16:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004845 post PendingInvicesDO 2 MED-141005801 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005801 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='740c9985-f9a0-49d7-82bc-e68ec1a68e2e' LIMIT 1 Date : 2025-07-23T14:28:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T14:28:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004846 post PendingInvicesDO 2 MED-141005803 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005803 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccab0fdc-2585-4375-b676-797a3b5cbfef' LIMIT 1 Date : 2025-07-24T08:15:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T08:15:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004847 post PendingInvicesDO 2 MED-141005806 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005806 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dfd6e5e8-336a-4e78-8d05-6d1c26d3193a' LIMIT 1 Date : 2025-07-24T10:47:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T10:47:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004848 post PendingInvicesDO 2 MED-141005808 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005808 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9808e036-7b82-464f-ab26-04c61c0ac0d6' LIMIT 1 Date : 2025-07-24T12:03:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T12:03:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004849 post PendingInvicesDO 2 MED-141005810 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005810 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd8d24be-2adb-48d3-8971-c50bc9f7626e' LIMIT 1 Date : 2025-07-24T13:23:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T13:23:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004850 post PendingInvicesDO 2 MED-141005811 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005811 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31c6fbae-c6e4-43d2-9a29-0647afbc34c6' LIMIT 1 Date : 2025-07-24T13:44:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T13:44:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004851 post PendingInvicesDO 2 MED-141005812 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005812 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f2dfdec-a114-4c16-adf9-ab62c069dd98' LIMIT 1 Date : 2025-07-24T14:13:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T14:13:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004852 post PendingInvicesDO 2 MED-141005813 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005813 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87186c6c-5761-4a09-a803-ba3eca370897' LIMIT 1 Date : 2025-07-24T14:29:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T14:29:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004853 post PendingInvicesDO 2 MED-141005814 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005814 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed198c57-504d-4438-8750-5921a976d795' LIMIT 1 Date : 2025-07-24T16:08:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T16:08:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004854 post PendingInvicesDO 2 MED-141005815 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005815 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae710edc-ebfd-43fd-8446-f83fb6b51104' LIMIT 1 Date : 2025-07-24T16:51:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T16:51:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004855 post PendingInvicesDO 2 MED-141005816 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005816 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='185cc88c-ffdd-4328-9a53-d1dc68ffd643' LIMIT 1 Date : 2025-07-26T07:43:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T07:43:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004856 post PendingInvicesDO 2 MED-141005822 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005822 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a846b2a8-251b-4972-96cb-bf8e0d92dd2c' LIMIT 1 Date : 2025-07-26T12:29:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T12:29:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004857 post PendingInvicesDO 2 MED-141005823 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005823 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='671c0aed-b39e-41f9-94d1-1648f8ccfcfe' LIMIT 1 Date : 2025-07-26T12:45:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T12:45:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004858 post PendingInvicesDO 2 MED-141003686 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141003686 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141003686' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141003686' OR OrderId='MED-141003686' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-26T13:13:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004859 post PendingInvicesDO 2 MED-141005161 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005161 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005161' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005161' OR OrderId='MED-141005161' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-26T13:14:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004860 post PendingInvicesDO 2 MED-141005824 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005824 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='40a340bb-c565-4963-bb30-fca7ce8c49b7' LIMIT 1 Date : 2025-07-26T13:26:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T13:26:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004861 post PendingInvicesDO 2 MED-141005825 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005825 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cda4549b-59b7-4084-8086-61acdac655ff' LIMIT 1 Date : 2025-07-26T14:30:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T14:30:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004862 post PendingInvicesDO 2 MED-141005643 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005643 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005643' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005643' OR OrderId='MED-141005643' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-26T14:53:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004863 post PendingInvicesDO 2 MED-141005827 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005827 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e98f6de-aa21-4aca-83d6-6b3d99d011f5' LIMIT 1 Date : 2025-07-26T15:16:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T15:16:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004864 post PendingInvicesDO 2 MED-141005828 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005828 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd6d040d-2792-4c03-8a07-c726167fefdb' LIMIT 1 Date : 2025-07-26T15:29:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T15:29:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004865 post PendingInvicesDO 2 MED-141005829 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005829 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8944a5eb-4eea-4116-90d3-e9d01c552117' LIMIT 1 Date : 2025-07-26T15:52:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T15:52:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004866 post PendingInvicesDO 2 MED-141005835 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005835 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42624c6b-0fd6-4568-812c-de6207882b38' LIMIT 1 Date : 2025-07-27T10:45:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T10:45:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004867 post PendingInvicesDO 2 MED-141005771 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005771 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005771' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005771' OR OrderId='MED-141005771' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-27T11:01:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004868 post PendingInvicesDO 2 MED-141005838 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005838 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37a78722-c6d3-47e1-bcac-25cac42c13b0' LIMIT 1 Date : 2025-07-27T12:29:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T12:29:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004869 post PendingInvicesDO 2 MED-141005839 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005839 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='324431ca-5431-46d9-861c-b788f02391cc' LIMIT 1 Date : 2025-07-27T12:50:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T12:50:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004870 post PendingInvicesDO 2 MED-141005840 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005840 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a521b19-94e1-4dc3-85d7-78905ec7e6a3' LIMIT 1 Date : 2025-07-27T13:06:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T13:06:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004871 post PendingInvicesDO 2 MED-141005841 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005841 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2cc35e12-74c2-4711-929c-3aef7d3a746b' LIMIT 1 Date : 2025-07-27T13:28:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T13:28:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004872 post PendingInvicesDO 2 MED-141005842 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005842 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee1a23f4-9794-4b12-80b4-3b4859897cd0' LIMIT 1 Date : 2025-07-27T13:53:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T13:53:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004873 post PendingInvicesDO 2 MED-141005843 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005843 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='720af021-6031-49f5-876b-4f66ca045d0d' LIMIT 1 Date : 2025-07-27T15:57:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T15:57:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004874 post PendingInvicesDO 2 MED-141005844 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005844 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aba02039-3156-4a87-9626-19aedc8b79df' LIMIT 1 Date : 2025-07-27T16:25:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T16:25:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004875 post PendingInvicesDO 2 MED-141005845 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005845 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a163efc-d2ea-42bf-a931-f4100123c366' LIMIT 1 Date : 2025-07-27T16:37:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T16:37:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004876 post PendingInvicesDO 2 MED-141005846 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005846 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0be5fa53-b992-477a-b89a-3cbd937c5f63' LIMIT 1 Date : 2025-07-27T16:42:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T16:42:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004877 post PendingInvicesDO 2 MED-141005847 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005847 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6fce5e3-f8bc-485f-849f-497f357b12e7' LIMIT 1 Date : 2025-07-27T17:35:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T17:35:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004878 post PendingInvicesDO 2 MED-141005848 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005848 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a5238e9-88fa-400f-8007-2847d533d712' LIMIT 1 Date : 2025-07-27T17:37:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T17:37:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004879 post PendingInvicesDO 2 MED-141005849 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005849 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f425118-495c-4588-b1b2-e2adc45a1bc6' LIMIT 1 Date : 2025-07-27T18:52:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T18:52:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004880 post PendingInvicesDO 2 MED-141005757 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005757 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005757' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005757' OR OrderId='MED-141005757' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-28T08:05:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004881 post PendingInvicesDO 2 MED-141005853 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005853 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aca064e2-bb8b-4231-8a11-37ca39de4fa9' LIMIT 1 Date : 2025-07-28T11:46:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T11:46:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004882 post PendingInvicesDO 2 MED-141005752 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005752 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005752' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005752' OR OrderId='MED-141005752' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-28T13:17:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004883 post PendingInvicesDO 2 MED-141005855 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005855 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='36d32246-3f08-4f0e-80cc-42a8e874ab24' LIMIT 1 Date : 2025-07-28T14:11:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T14:11:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004885 post PendingInvicesDO 2 MED-141005857 post PendingInvicesDO 2 MED-141005856 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004884 post PendingInvicesDO 2 MED-141005857 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005856 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005857 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f909ab9c-aaee-45e3-919d-cb15f0eb5748' LIMIT 1 Date : 2025-07-28T14:15:21  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc348dd6-f42b-4017-9fe1-a28817217d3f' LIMIT 1 Date : 2025-07-28T14:15:21  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f909ab9c-aaee-45e3-919d-cb15f0eb5748' LIMIT 1 Date : 2025-07-28T14:15:21  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc348dd6-f42b-4017-9fe1-a28817217d3f' LIMIT 1 Date : 2025-07-28T14:15:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-28T14:15:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004886 post PendingInvicesDO 2 MED-141005858 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005858 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71dd6962-7391-45f4-aaed-75fd4be5600f' LIMIT 1 Date : 2025-07-28T14:51:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T14:51:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004888 post PendingInvicesDO 2 MED-141005860 post PendingInvicesDO 2 MED-141005859 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004887 post PendingInvicesDO 2 MED-141005860 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005859 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005860 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49ec0a15-43eb-411c-8ba1-c7b6b43a5dde' LIMIT 1 Date : 2025-07-28T14:52:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fe71ca9-7f4e-4993-80dc-7a37df58052a' LIMIT 1 Date : 2025-07-28T14:52:24  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49ec0a15-43eb-411c-8ba1-c7b6b43a5dde' LIMIT 1 Date : 2025-07-28T14:52:24  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fe71ca9-7f4e-4993-80dc-7a37df58052a' LIMIT 1 Date : 2025-07-28T14:52:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-28T14:52:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004889 post PendingInvicesDO 2 MED-141005861 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005861 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab84e023-8fd6-4ca3-b111-aad23d93ac84' LIMIT 1 Date : 2025-07-28T15:05:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T15:05:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004890 post PendingInvicesDO 2 MED-141005862 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005862 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='208dde3b-ea62-4ff0-b717-bba5f6b00291' LIMIT 1 Date : 2025-07-28T15:34:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T15:34:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004891 post PendingInvicesDO 2 MED-141005863 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005863 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87545bd6-55ca-48ea-922e-d6fb86c3f9a8' LIMIT 1 Date : 2025-07-28T16:03:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T16:03:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004892 post PendingInvicesDO 2 MED-141005864 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005864 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6cd7e99-7209-40f4-847e-d6210f1b5361' LIMIT 1 Date : 2025-07-28T16:13:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T16:13:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004893 post PendingInvicesDO 2 MED-141005865 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005865 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c8f5cce-a971-4833-8c4f-3e64d1388368' LIMIT 1 Date : 2025-07-28T16:55:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-28T16:55:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004894 post PendingInvicesDO 2 MED-141005866 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005866 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96bff8c0-3179-4a25-aecb-55ccd531ef8d' LIMIT 1 Date : 2025-07-29T07:42:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T07:42:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004895 post PendingInvicesDO 2 MED-141005868 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005868 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f700a938-77a3-4c73-807a-efbd0dffb75e' LIMIT 1 Date : 2025-07-29T09:52:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T09:52:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004896 post PendingInvicesDO 2 MED-141005869 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005869 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee4dc98b-e617-4d3c-9e68-6dd5f2a4f208' LIMIT 1 Date : 2025-07-29T10:06:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T10:06:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004897 post PendingInvicesDO 2 MED-141005870 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005870 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0bdbba4c-1385-40f9-b318-09276df6a1fa' LIMIT 1 Date : 2025-07-29T10:21:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T10:21:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004899 post PendingInvicesDO 2 MED-141005873 post PendingInvicesDO 2 MED-141005872 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004898 post PendingInvicesDO 2 MED-141005873 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005872 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005873 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ace9bad-6762-43c9-a6a7-41de717c7e75' LIMIT 1 Date : 2025-07-29T12:23:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d998887-1151-4167-8e46-f688df4b7edb' LIMIT 1 Date : 2025-07-29T12:23:59  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ace9bad-6762-43c9-a6a7-41de717c7e75' LIMIT 1 Date : 2025-07-29T12:23:59  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d998887-1151-4167-8e46-f688df4b7edb' LIMIT 1 Date : 2025-07-29T12:23:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-29T12:23:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004900 post PendingInvicesDO 2 MED-141005874 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005874 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d37388c3-1c1c-4ac9-a207-bfd19f57f44d' LIMIT 1 Date : 2025-07-29T12:27:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T12:27:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004901 post PendingInvicesDO 2 MED-141005697 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005697 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005697' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005697' OR OrderId='MED-141005697' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-29T12:39:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004902 post PendingInvicesDO 2 MED-141005875 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005875 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e2e4f01-d93f-4189-8493-069c29215665' LIMIT 1 Date : 2025-07-29T12:40:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T12:40:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004903 post PendingInvicesDO 2 MED-141005877 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005877 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b50a328-f904-415e-9832-7f36cb5356cf' LIMIT 1 Date : 2025-07-29T12:54:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T12:54:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004904 post PendingInvicesDO 2 MED-141005515 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005515 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005515' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005515' OR OrderId='MED-141005515' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-29T13:03:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004905 post PendingInvicesDO 2 MED-141005879 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005879 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='454e6384-1a95-47fa-866a-40d0efda0f55' LIMIT 1 Date : 2025-07-29T13:17:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T13:17:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004906 post PendingInvicesDO 2 MED-141005880 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005880 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1edbc761-d719-4a98-91d5-3627a16667ee' LIMIT 1 Date : 2025-07-29T13:31:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T13:31:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004907 post PendingInvicesDO 2 MED-141005881 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005881 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb577a27-1f70-4bfe-9012-956fa4a57a23' LIMIT 1 Date : 2025-07-29T13:54:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T13:54:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004908 post PendingInvicesDO 2 MED-141005882 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005882 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab451296-0591-473a-bb93-6d2f52512eb4' LIMIT 1 Date : 2025-07-29T14:36:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-29T14:36:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004909 post PendingInvicesDO 2 MED-141005802 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005802 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005802' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005802' OR OrderId='MED-141005802' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T06:51:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004910 post PendingInvicesDO 2 MED-141005878 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005878 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005878' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005878' OR OrderId='MED-141005878' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T06:51:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004911 post PendingInvicesDO 2 MED-141004956 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004956 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004956' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004956' OR OrderId='MED-141004956' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T06:52:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004912 post PendingInvicesDO 2 MED-141005514 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005514 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005514' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005514' OR OrderId='MED-141005514' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T06:53:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004913 post PendingInvicesDO 2 MED-141005886 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005886 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff7a75ad-c652-4d84-8da8-fb5eba8a1819' LIMIT 1 Date : 2025-07-30T12:09:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T12:09:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004914 post PendingInvicesDO 2 MED-141005794 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005794 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005794' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005794' OR OrderId='MED-141005794' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-30T12:25:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004915 post PendingInvicesDO 2 MED-141005887 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005887 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48a8f51c-f3d2-441c-88b4-46704e27ae1d' LIMIT 1 Date : 2025-07-30T12:47:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T12:47:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004916 post PendingInvicesDO 2 MED-141005888 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005888 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9722b580-5b88-4a59-aed0-f91df2168037' LIMIT 1 Date : 2025-07-30T13:18:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T13:18:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004917 post PendingInvicesDO 2 MED-141005889 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005889 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9476533e-06e5-4be5-9dd6-6726a50a4847' LIMIT 1 Date : 2025-07-30T14:05:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T14:05:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004918 post PendingInvicesDO 2 MED-141005890 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005890 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b13251f4-04b3-4843-a06e-6278942a117d' LIMIT 1 Date : 2025-07-30T14:30:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T14:30:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004920 post PendingInvicesDO 2 MED-141005892 post PendingInvicesDO 2 MED-141005891 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004919 post PendingInvicesDO 2 MED-141005892 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005891 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005892 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='539ae4d4-1d3c-4d82-999b-0203947fe749' LIMIT 1 Date : 2025-07-30T14:43:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77c0708c-1fa6-4de0-935a-0ca841986f12' LIMIT 1 Date : 2025-07-30T14:43:37  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='539ae4d4-1d3c-4d82-999b-0203947fe749' LIMIT 1 Date : 2025-07-30T14:43:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77c0708c-1fa6-4de0-935a-0ca841986f12' LIMIT 1 Date : 2025-07-30T14:43:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-30T14:43:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004921 post PendingInvicesDO 2 MED-141005893 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005893 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='99ed78af-ad90-4aae-9c52-2ef9e26384de' LIMIT 1 Date : 2025-07-30T16:12:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T16:12:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004922 post PendingInvicesDO 2 MED-141005894 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005894 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bca7ac3-01ae-4de1-9919-445de16b8a11' LIMIT 1 Date : 2025-07-30T16:35:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T16:35:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004923 post PendingInvicesDO 2 MED-141005895 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005895 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6440093-2541-48e8-acbb-6f6dc7b3a171' LIMIT 1 Date : 2025-07-30T17:01:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T17:01:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004924 post PendingInvicesDO 2 MED-141005896 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005896 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61283051-413b-4e54-8646-b72f9fda8495' LIMIT 1 Date : 2025-07-30T17:06:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-30T17:06:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004925 post PendingInvicesDO 2 MED-141005901 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005901 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43bfb8f6-ceb8-4151-adf9-d51c518007c3' LIMIT 1 Date : 2025-07-31T10:13:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T10:13:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004927 post PendingInvicesDO 2 MED-141005903 post PendingInvicesDO 2 MED-141005902 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004926 post PendingInvicesDO 2 MED-141005903 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005902 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005903 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64e1fe06-dd71-4fa0-b0e2-5e7019903f4b' LIMIT 1 Date : 2025-07-31T10:24:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec586aa5-b9b2-4c34-a5ba-61e96a31ef16' LIMIT 1 Date : 2025-07-31T10:24:10  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64e1fe06-dd71-4fa0-b0e2-5e7019903f4b' LIMIT 1 Date : 2025-07-31T10:24:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec586aa5-b9b2-4c34-a5ba-61e96a31ef16' LIMIT 1 Date : 2025-07-31T10:24:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-31T10:24:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004928 post PendingInvicesDO 2 MED-141005906 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005906 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd917777-52cb-4255-87cd-099eb7552170' LIMIT 1 Date : 2025-07-31T12:52:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T12:52:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004929 post PendingInvicesDO 2 MED-141005907 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005907 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c9336fd-6bf8-40c6-a5a8-8ab104483cc1' LIMIT 1 Date : 2025-07-31T13:44:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T13:44:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004930 post PendingInvicesDO 2 MED-141005909 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005909 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b617487-6dfe-4f0a-a66f-2552d5e640a5' LIMIT 1 Date : 2025-07-31T14:28:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T14:28:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004931 post PendingInvicesDO 2 MED-141005788 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005788 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005788' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005788' OR OrderId='MED-141005788' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T14:30:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004932 post PendingInvicesDO 2 MED-141005910 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005910 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c538b7aa-2ff1-4799-bfab-06d63f6bec1c' LIMIT 1 Date : 2025-07-31T14:53:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T14:53:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004933 post PendingInvicesDO 2 MED-141005911 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005911 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43fac3fb-5869-4784-a6c7-8fe48be79864' LIMIT 1 Date : 2025-07-31T15:16:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T15:16:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004934 post PendingInvicesDO 2 MED-141004994 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141004994 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141004994' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141004994' OR OrderId='MED-141004994' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T15:49:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004935 post PendingInvicesDO 2 MED-141005914 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005914 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1169adb5-4406-4fab-98ed-452baa6b79b4' LIMIT 1 Date : 2025-07-31T16:27:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-31T16:27:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004936 post PendingInvicesDO 2 MED-141005915 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005915 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005915' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005915' OR OrderId='MED-141005915' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-31T17:09:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004937 post PendingInvicesDO 2 MED-141005916 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005916 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bac44a40-b892-4e2b-91fd-68be5d2465d5' LIMIT 1 Date : 2025-08-02T07:57:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T07:57:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004938 post PendingInvicesDO 2 MED-141005921 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005921 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='489dc8a5-ed13-43cb-8018-5ec1222bb489' LIMIT 1 Date : 2025-08-02T12:01:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T12:01:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004939 post PendingInvicesDO 2 MED-141005922 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005922 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42c2a950-0d5e-44e7-be92-1ee52a4d7db7' LIMIT 1 Date : 2025-08-02T12:29:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T12:29:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004940 post PendingInvicesDO 2 MED-141005923 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005923 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de826c14-f981-404d-818e-80572d07e1cd' LIMIT 1 Date : 2025-08-02T12:48:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T12:48:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004941 post PendingInvicesDO 2 MED-141005925 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005925 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='590d8421-5b12-49a3-88e1-c9470972cd53' LIMIT 1 Date : 2025-08-02T13:11:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T13:11:59 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004942 post PendingInvicesDO 2 MED-141005926 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005926 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ddd17a1-7bdb-45dd-b4e6-8b94453cdc54' LIMIT 1 Date : 2025-08-02T13:24:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T13:24:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004943 post PendingInvicesDO 2 MED-141005927 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005927 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='447498a7-b0cc-4ecd-92b4-a7cd0148aff4' LIMIT 1 Date : 2025-08-02T13:29:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T13:29:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004945 post PendingInvicesDO 2 MED-141005929 post PendingInvicesDO 2 MED-141005928 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004944 post PendingInvicesDO 2 MED-141005929 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005928 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005929 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35610757-03bb-42c3-8f62-6b929f01f1cc' LIMIT 1 Date : 2025-08-02T14:51:53  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02d3d3f6-a212-48af-b1d5-677d7415e462' LIMIT 1 Date : 2025-08-02T14:51:53  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35610757-03bb-42c3-8f62-6b929f01f1cc' LIMIT 1 Date : 2025-08-02T14:51:53  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02d3d3f6-a212-48af-b1d5-677d7415e462' LIMIT 1 Date : 2025-08-02T14:51:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-02T14:51:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004946 post PendingInvicesDO 2 MED-141005931 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005931 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='723483d1-faa3-4303-9245-9d72f20bc23f' LIMIT 1 Date : 2025-08-02T15:55:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T15:55:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004947 post PendingInvicesDO 2 MED-141005932 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005932 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70c2f710-316b-4cdd-9b6c-bf70843eb2d2' LIMIT 1 Date : 2025-08-02T16:14:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T16:14:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004948 post PendingInvicesDO 2 MED-141005933 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005933 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='05e5d90c-c5f8-4320-92de-1955d4b9e094' LIMIT 1 Date : 2025-08-02T16:30:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T16:30:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004949 post PendingInvicesDO 2 MED-141005934 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005934 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ba6e287-1660-4f13-ba91-9ba33e5acccd' LIMIT 1 Date : 2025-08-02T17:18:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T17:18:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004950 post PendingInvicesDO 2 MED-141005836 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005836 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005836' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005836' OR OrderId='MED-141005836' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-02T17:44:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004951 post PendingInvicesDO 2 MED-141005936 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005936 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b7ee11d-1be9-434c-98d9-90a3d7d84673' LIMIT 1 Date : 2025-08-02T18:41:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-02T18:42:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004952 post PendingInvicesDO 2 MED-141005937 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005937 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e0510c9-6459-41b1-8272-9d0b0481aaec' LIMIT 1 Date : 2025-08-03T07:59:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T07:59:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004953 post PendingInvicesDO 2 MED-141005940 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005940 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='645d4b24-c80b-4dde-85d3-aba2a4244851' LIMIT 1 Date : 2025-08-03T10:44:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T10:44:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004954 post PendingInvicesDO 2 MED-141005941 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005941 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b22f338-8fba-4b3d-8908-b1a328a14cd0' LIMIT 1 Date : 2025-08-03T10:47:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T10:47:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004955 post PendingInvicesDO 2 MED-141005942 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005942 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4be774a-aec8-40a4-9652-ca473f7e68e5' LIMIT 1 Date : 2025-08-03T11:22:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T11:22:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004956 post PendingInvicesDO 2 MED-141005854 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005854 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005854' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005854' OR OrderId='MED-141005854' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-03T13:16:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004957 post PendingInvicesDO 2 MED-141005945 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005945 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6b0ca17-2ee9-4fd5-a462-e387e08eb08a' LIMIT 1 Date : 2025-08-03T14:05:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T14:05:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004958 post PendingInvicesDO 2 MED-141005946 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005946 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06ee80a9-47af-453f-a68c-729162eff2d4' LIMIT 1 Date : 2025-08-03T14:11:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T14:11:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004959 post PendingInvicesDO 2 MED-141005947 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005947 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c32b01d7-e33c-4f74-af25-0a09901b2c7f' LIMIT 1 Date : 2025-08-03T14:32:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T14:32:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004960 post PendingInvicesDO 2 MED-141005948 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005948 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4aadeaf0-8687-4743-afb8-a6551618fa16' LIMIT 1 Date : 2025-08-03T14:56:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T14:56:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004961 post PendingInvicesDO 2 MED-141005949 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005949 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ed242a1-ef11-47a0-92d4-4b38d6794053' LIMIT 1 Date : 2025-08-03T15:27:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T15:27:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004962 post PendingInvicesDO 2 MED-141005950 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005950 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4ee9e87-e88e-44f7-a329-6207b9989894' LIMIT 1 Date : 2025-08-03T15:36:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T15:36:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004963 post PendingInvicesDO 2 MED-141005951 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005951 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da79af45-0e1f-4ac6-a8c5-b71c5dc983fe' LIMIT 1 Date : 2025-08-03T16:08:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T16:08:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004964 post PendingInvicesDO 2 MED-141005952 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005952 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac88f2eb-aed4-4996-bea3-e769ec541998' LIMIT 1 Date : 2025-08-03T16:52:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-03T16:52:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004965 post PendingInvicesDO 2 MED-141005930 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005930 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005930' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005930' OR OrderId='MED-141005930' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-03T18:09:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004966 post PendingInvicesDO 2 MED-141005850 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005850 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005850' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005850' OR OrderId='MED-141005850' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-04T07:45:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004967 post PendingInvicesDO 2 MED-141005955 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005955 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e39ea1bf-8e87-4015-9fbb-c27cf676154b' LIMIT 1 Date : 2025-08-04T09:15:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T09:15:25 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144004968 post PendingInvicesDO 2 MED-141005958 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005958 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='841f205a-04f4-4ed4-990e-05642e124dcf' LIMIT 1 Date : 2025-08-04T11:20:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T11:20:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004969 post PendingInvicesDO 2 MED-141005959 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005959 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2eb341f4-7ca1-402b-a2e3-304b87b89f13' LIMIT 1 Date : 2025-08-04T11:42:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T11:42:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004970 post PendingInvicesDO 2 MED-141005960 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005960 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f08c812-5319-4c4a-a9af-d3e40f76d3f6' LIMIT 1 Date : 2025-08-04T11:57:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T11:57:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004971 post PendingInvicesDO 2 MED-141005961 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005961 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1cc2557b-6be5-49e0-bc66-8b8f57372c90' LIMIT 1 Date : 2025-08-04T12:24:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T12:24:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004972 post PendingInvicesDO 2 MED-141005962 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005962 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cfbab367-500e-44fb-8144-ec7f773dbe79' LIMIT 1 Date : 2025-08-04T12:37:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T12:37:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004973 post PendingInvicesDO 2 MED-141005963 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005963 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af9e1057-eef5-4e7b-aaa6-83121aaa792e' LIMIT 1 Date : 2025-08-04T12:57:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T12:57:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004974 post PendingInvicesDO 2 MED-141005964 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005964 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8cbb7db-99a1-48c3-9f10-126579572fd8' LIMIT 1 Date : 2025-08-04T13:28:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T13:28:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004975 post PendingInvicesDO 2 MED-141005965 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005965 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef584015-3432-4d6a-b7c5-ff9a53f2bbf7' LIMIT 1 Date : 2025-08-04T15:09:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T15:09:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004976 post PendingInvicesDO 2 MED-141005966 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005966 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae23ea9f-e12c-46e7-a29a-8d9dd9529881' LIMIT 1 Date : 2025-08-04T15:41:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T15:41:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004977 post PendingInvicesDO 2 MED-141005967 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005967 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3add9659-3373-4fd0-98d3-db6e0a248ea4' LIMIT 1 Date : 2025-08-04T16:26:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-04T16:26:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004978 post PendingInvicesDO 2 MED-141005968 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005968 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57d16c6c-1175-4672-a742-700dfd6a8a53' LIMIT 1 Date : 2025-08-05T07:52:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T07:52:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004979 post PendingInvicesDO 2 MED-141005826 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005826 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005826' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005826' OR OrderId='MED-141005826' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-05T10:35:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004980 post PendingInvicesDO 2 MED-141005972 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005972 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c94905e9-bb3b-42db-a121-455a3f294689' LIMIT 1 Date : 2025-08-05T11:01:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T11:01:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004981 post PendingInvicesDO 2 MED-141005973 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005973 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9910710d-65c7-4ca6-9bc0-96e7a63a15b0' LIMIT 1 Date : 2025-08-05T11:36:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T11:36:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004982 post PendingInvicesDO 2 MED-141005974 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005974 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='998f8eed-59c7-4b49-b303-d4d03e735e4b' LIMIT 1 Date : 2025-08-05T11:49:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T11:49:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004984 post PendingInvicesDO 2 MED-141005976 post PendingInvicesDO 2 MED-141005975 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144004983 post PendingInvicesDO 2 MED-141005976 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141005975 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005976 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0fb49c20-12b9-440b-9a5c-c1e7e8e6a775' LIMIT 1 Date : 2025-08-05T12:12:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c637252b-394f-48f2-a8de-fe06d684fb39' LIMIT 1 Date : 2025-08-05T12:12:23  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0fb49c20-12b9-440b-9a5c-c1e7e8e6a775' LIMIT 1 Date : 2025-08-05T12:12:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c637252b-394f-48f2-a8de-fe06d684fb39' LIMIT 1 Date : 2025-08-05T12:12:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-05T12:12:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004985 post PendingInvicesDO 2 MED-141005977 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005977 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fb6a1a5-7050-429e-bee9-f7816e559ee7' LIMIT 1 Date : 2025-08-05T12:28:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T12:28:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004986 post PendingInvicesDO 2 MED-141005876 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005876 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005876' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005876' OR OrderId='MED-141005876' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-05T12:43:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004987 post PendingInvicesDO 2 MED-141005978 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005978 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a52f48b-9441-4e1a-aa53-f8930cde6e7f' LIMIT 1 Date : 2025-08-05T12:44:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T12:44:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004988 post PendingInvicesDO 2 MED-141005981 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005981 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0654029f-6f7b-4f82-91ae-4257c6b2fcf7' LIMIT 1 Date : 2025-08-05T13:10:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T13:10:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004989 post PendingInvicesDO 2 MED-141005982 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005982 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bb64884-6862-40d2-962e-87d9bd77da9c' LIMIT 1 Date : 2025-08-05T13:19:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T13:19:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004990 post PendingInvicesDO 2 MED-141005983 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005983 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c8020b2-bbc3-4073-8dfb-9990ac5c186c' LIMIT 1 Date : 2025-08-05T13:32:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T13:32:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004991 post PendingInvicesDO 2 MED-141005984 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005984 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8e5d005-05e1-404b-9295-9c3f0704b72d' LIMIT 1 Date : 2025-08-05T13:46:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T13:46:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004992 post PendingInvicesDO 2 MED-141005985 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005985 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c6c16b4-927c-436c-a32c-04d97d83e722' LIMIT 1 Date : 2025-08-05T14:18:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T14:18:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004993 post PendingInvicesDO 2 MED-141005986 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005986 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69f7ccc9-f924-44dd-b8f2-d7d4a0829c57' LIMIT 1 Date : 2025-08-05T14:56:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T14:56:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004994 post PendingInvicesDO 2 MED-141005987 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005987 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e185e889-717f-45d4-a242-1f68948769c8' LIMIT 1 Date : 2025-08-05T15:22:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T15:22:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004995 post PendingInvicesDO 2 MED-141005988 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005988 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e863b32c-c326-4b55-8ff0-c554023f6bf6' LIMIT 1 Date : 2025-08-05T16:24:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-05T16:24:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004996 post PendingInvicesDO 2 MED-141005990 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005990 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84b671d2-3d26-47fb-a4b3-c68dd03cf908' LIMIT 1 Date : 2025-08-06T09:15:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T09:15:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004997 post PendingInvicesDO 2 MED-141005908 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005908 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005908' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005908' OR OrderId='MED-141005908' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-06T12:49:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004998 post PendingInvicesDO 2 MED-141005796 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005796 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005796' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005796' OR OrderId='MED-141005796' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-06T13:37:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144004999 post PendingInvicesDO 2 MED-141005998 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005998 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='541e319e-b374-42bb-bea7-220ea29802e9' LIMIT 1 Date : 2025-08-06T15:02:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T15:02:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005000 post PendingInvicesDO 2 MED-141005999 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005999 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3c15acc-d3d4-4822-861f-0cf947d6c8c3' LIMIT 1 Date : 2025-08-06T15:19:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T15:19:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005001 post PendingInvicesDO 2 MED-141006000 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006000 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e8e9b4a-9a5a-4c65-9a67-7d9ebb3cebec' LIMIT 1 Date : 2025-08-06T15:34:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T15:34:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005002 post PendingInvicesDO 2 MED-141006001 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006001 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04687ba4-5fa4-4bc6-9ff5-2781352f0434' LIMIT 1 Date : 2025-08-06T15:38:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T15:38:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005003 post PendingInvicesDO 2 MED-141006002 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006002 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='290576a1-a896-47a1-b1f4-b39f7d7595b7' LIMIT 1 Date : 2025-08-06T15:55:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-06T15:55:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005004 post PendingInvicesDO 2 MED-141006005 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006005 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a43475c-18f5-413a-9a81-ba2596d73ca3' LIMIT 1 Date : 2025-08-07T09:03:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T09:03:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005005 post PendingInvicesDO 2 MED-141006006 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006006 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5476978a-d8e8-4d2a-8002-868ad7f58f68' LIMIT 1 Date : 2025-08-07T09:26:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T09:26:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005006 post PendingInvicesDO 2 MED-141006009 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006009 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d22f4d1-504a-4798-ba43-5a7a174d8450' LIMIT 1 Date : 2025-08-07T11:38:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T11:38:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005007 post PendingInvicesDO 2 MED-141006010 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006010 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a35ad6f4-a792-4994-9010-35b20fda44ac' LIMIT 1 Date : 2025-08-07T13:13:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T13:13:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005009 post PendingInvicesDO 2 MED-141006012 post PendingInvicesDO 2 MED-141006011 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005008 post PendingInvicesDO 2 MED-141006012 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006011 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006012 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006012' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006012' OR OrderId='MED-141006012' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006012' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006012' OR OrderId='MED-141006012' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-07T14:47:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005010 post PendingInvicesDO 2 MED-141006013 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006013 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5df6fb8d-d9ac-4b83-85a4-bd6526dafe4b' LIMIT 1 Date : 2025-08-07T15:53:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T15:53:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005011 post PendingInvicesDO 2 MED-141006014 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006014 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ef607a1-d73c-4ff9-85a9-2753dd65430e' LIMIT 1 Date : 2025-08-07T16:44:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-07T16:44:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005012 post PendingInvicesDO 2 MED-141006015 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006015 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61fd968c-d1be-4f7b-8f69-c87b361c6415' LIMIT 1 Date : 2025-08-09T07:58:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T07:58:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005013 post PendingInvicesDO 2 MED-141006019 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006019 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cfd7b49e-7292-4be1-b632-9b5a06ca0d72' LIMIT 1 Date : 2025-08-09T10:50:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T10:50:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005014 post PendingInvicesDO 2 MED-141006020 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006020 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='716cea89-0f7b-4d17-b1b8-a37d01623ba3' LIMIT 1 Date : 2025-08-09T10:51:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T10:51:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005015 post PendingInvicesDO 2 MED-141006021 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006021 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da3bca63-1923-476d-9a84-e33e737cff01' LIMIT 1 Date : 2025-08-09T11:12:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T11:12:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005016 post PendingInvicesDO 2 MED-141006022 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006022 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49838726-230b-49da-9adb-094736cdacc8' LIMIT 1 Date : 2025-08-09T11:41:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T11:41:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005017 post PendingInvicesDO 2 MED-141006023 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006023 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60122b8d-c5eb-4983-8c63-c7d59ea7737a' LIMIT 1 Date : 2025-08-09T12:00:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T12:00:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005018 post PendingInvicesDO 2 MED-141006024 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006024 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006024' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006024' OR OrderId='MED-141006024' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-09T12:49:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005019 post PendingInvicesDO 2 MED-141006025 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006025 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1983c5d5-d8df-4021-ad0c-a8b97f5e2bf4' LIMIT 1 Date : 2025-08-09T12:50:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T12:50:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005021 post PendingInvicesDO 2 MED-141006027 post PendingInvicesDO 2 MED-141006026 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005020 post PendingInvicesDO 2 MED-141006027 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006026 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006027 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3b652b3-664a-4677-ad40-7ee4b5726376' LIMIT 1 Date : 2025-08-09T13:09:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f213f1c-3ad9-45a6-a18c-7d734881f189' LIMIT 1 Date : 2025-08-09T13:09:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3b652b3-664a-4677-ad40-7ee4b5726376' LIMIT 1 Date : 2025-08-09T13:09:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f213f1c-3ad9-45a6-a18c-7d734881f189' LIMIT 1 Date : 2025-08-09T13:09:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-09T13:09:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005022 post PendingInvicesDO 2 MED-141006028 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006028 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1155d8fe-ed14-418f-b2dd-95252d1d6bb8' LIMIT 1 Date : 2025-08-09T15:00:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T15:00:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005023 post PendingInvicesDO 2 MED-141006029 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006029 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12410ccd-3306-4dba-ad6c-ae6997e565f9' LIMIT 1 Date : 2025-08-09T16:04:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T16:04:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005024 post PendingInvicesDO 2 MED-141006030 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006030 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83680c29-9da2-4c9e-adf1-8939f01b6e65' LIMIT 1 Date : 2025-08-09T17:07:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-09T17:07:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005025 post PendingInvicesDO 2 MED-141005935 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005935 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005935' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005935' OR OrderId='MED-141005935' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-09T17:37:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005026 post PendingInvicesDO 2 MED-141006032 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006032 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae0a7534-dccf-4409-9e88-d3fb0bb5249d' LIMIT 1 Date : 2025-08-10T07:47:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T07:47:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005027 post PendingInvicesDO 2 MED-141006033 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006033 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='571d313b-b5bd-4937-9ef2-01e7662122de' LIMIT 1 Date : 2025-08-10T08:43:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T08:43:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005028 post PendingInvicesDO 2 MED-141006035 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006035 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12066d74-6094-4530-9349-5de2410fcf3e' LIMIT 1 Date : 2025-08-10T13:15:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T13:15:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005030 post PendingInvicesDO 2 MED-141005943 post PendingInvicesDO 2 MED-141005944 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005029 post PendingInvicesDO 2 MED-141005943 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005943 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005943' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005943' OR OrderId='MED-141005943' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005943' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005943' OR OrderId='MED-141005943' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T13:42:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005031 post PendingInvicesDO 2 MED-141006037 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006037 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db23068b-c6c5-4f46-a0f8-81e0ad657340' LIMIT 1 Date : 2025-08-10T14:19:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T14:19:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005032 post PendingInvicesDO 2 MED-141006038 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006038 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70b17716-ffaa-409c-b0ad-c9fe4c311ff4' LIMIT 1 Date : 2025-08-10T14:28:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T14:28:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005033 post PendingInvicesDO 2 MED-141006039 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006039 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b531f58-30df-4fe8-8886-3f81b12b7bc6' LIMIT 1 Date : 2025-08-10T14:59:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T14:59:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005034 post PendingInvicesDO 2 MED-141006040 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006040 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6a19445-dd02-4198-9b14-437ebc1a4631' LIMIT 1 Date : 2025-08-10T15:22:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T15:22:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005035 post PendingInvicesDO 2 MED-141006041 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006041 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4aa58307-e0f6-40db-a78f-ed56948f3d84' LIMIT 1 Date : 2025-08-10T16:26:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T16:26:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005036 post PendingInvicesDO 2 MED-141006043 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006043 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6332a728-dd6a-4603-9d3f-cdb0260c40a1' LIMIT 1 Date : 2025-08-10T17:36:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-10T17:36:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005037 post PendingInvicesDO 2 MED-141005924 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005924 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005924' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005924' OR OrderId='MED-141005924' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T20:50:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005038 post PendingInvicesDO 2 MED-141005971 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005971 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005971' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005971' OR OrderId='MED-141005971' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T21:19:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005039 post PendingInvicesDO 2 MED-141005979 post PendingInvicesDO 2 MED-141005980 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005979 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005980 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005979' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005979' OR OrderId='MED-141005979' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005980' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005980' OR OrderId='MED-141005980' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-10T21:19:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005040 post PendingInvicesDO 2 MED-141005953 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005953 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005953' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005953' OR OrderId='MED-141005953' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-11T07:58:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005041 post PendingInvicesDO 2 MED-141006047 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006047 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cab90306-7220-4859-a0e2-9932857cd5bf' LIMIT 1 Date : 2025-08-11T10:40:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T10:40:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005042 post PendingInvicesDO 2 MED-141006052 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006052 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf309a1f-2497-423f-9cc5-1f8ff962a18f' LIMIT 1 Date : 2025-08-11T12:01:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T12:01:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005043 post PendingInvicesDO 2 MED-141006053 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006053 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8346d90c-e17d-4e37-be90-d4c9d04eab65' LIMIT 1 Date : 2025-08-11T12:08:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T12:08:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005044 post PendingInvicesDO 2 MED-141006055 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006055 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a332db73-2f53-4edd-81b4-ea716a80650a' LIMIT 1 Date : 2025-08-11T12:26:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T12:26:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005045 post PendingInvicesDO 2 MED-141006057 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006057 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4d4c460-e425-4f5c-a4a6-50c7f2f25eef' LIMIT 1 Date : 2025-08-11T12:33:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T12:33:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005046 post PendingInvicesDO 2 MED-141006060 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006060 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='326cc3f8-9e65-41c0-b3da-b01470482761' LIMIT 1 Date : 2025-08-11T13:21:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T13:21:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005047 post PendingInvicesDO 2 MED-141006061 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006061 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95ba7760-3c24-49e9-9532-9aa6e90bc668' LIMIT 1 Date : 2025-08-11T13:38:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T13:38:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005048 post PendingInvicesDO 2 MED-141006058 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006058 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006058' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006058' OR OrderId='MED-141006058' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-11T17:30:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005049 post PendingInvicesDO 2 MED-141006065 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006065 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7936983d-6315-428b-bc22-96e7f5dbd395' LIMIT 1 Date : 2025-08-11T17:51:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-11T17:51:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005050 post PendingInvicesDO 2 MED-141006066 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006066 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f78b77da-2a6f-494a-8c24-3b4fbecdae31' LIMIT 1 Date : 2025-08-12T08:04:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T08:04:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005051 post PendingInvicesDO 2 MED-141006067 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006067 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58b5eda0-8b9b-449b-9858-c858cd80150a' LIMIT 1 Date : 2025-08-12T08:51:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T08:51:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005052 post PendingInvicesDO 2 MED-141006068 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006068 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b405cf29-eb84-4273-823e-1c7e9dbc3ec3' LIMIT 1 Date : 2025-08-12T09:12:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T09:12:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005053 post PendingInvicesDO 2 MED-141006069 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006069 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ccb4856-3d3d-44e1-9e7d-7669e2c3716f' LIMIT 1 Date : 2025-08-12T09:31:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T09:31:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005054 post PendingInvicesDO 2 MED-141006070 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006070 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e30d9083-0f8d-4cd1-b869-6aed2cb524e6' LIMIT 1 Date : 2025-08-12T09:47:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T09:47:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005055 post PendingInvicesDO 2 MED-141006071 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006071 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='627dd94f-1d1b-48d8-b96e-dc5a9f877d76' LIMIT 1 Date : 2025-08-12T10:13:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T10:13:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005056 post PendingInvicesDO 2 MED-141006072 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006072 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a4cc7bb-bf5d-45f0-a883-28c57efa33c2' LIMIT 1 Date : 2025-08-12T10:32:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T10:32:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005057 post PendingInvicesDO 2 MED-141006073 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006073 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5b07687-1688-459e-806e-264b66c2102e' LIMIT 1 Date : 2025-08-12T10:58:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T10:58:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005058 post PendingInvicesDO 2 MED-141006074 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006074 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59a687a5-7fb3-482f-8cb2-95ce351d75c5' LIMIT 1 Date : 2025-08-12T11:44:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T11:44:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005059 post PendingInvicesDO 2 MED-141006075 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006075 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf137434-6196-4891-aa27-6e8f74704edc' LIMIT 1 Date : 2025-08-12T12:09:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T12:09:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005060 post PendingInvicesDO 2 MED-141006078 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006078 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e302a063-7c9d-4b7d-92f0-31c8adebeea1' LIMIT 1 Date : 2025-08-12T13:12:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T13:12:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005061 post PendingInvicesDO 2 MED-141006079 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006079 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2476b405-4d74-490a-8313-51d1ecc3c7e3' LIMIT 1 Date : 2025-08-12T13:41:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T13:41:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005062 post PendingInvicesDO 2 MED-141006080 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006080 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48ee81b5-452c-4942-868a-0538c090e1f5' LIMIT 1 Date : 2025-08-12T14:50:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T14:50:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005063 post PendingInvicesDO 2 MED-141006081 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006081 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a868529-d89a-4c63-9cd3-ecfae71eb563' LIMIT 1 Date : 2025-08-12T15:09:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T15:09:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005064 post PendingInvicesDO 2 MED-141006082 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006082 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c250c19f-04ac-41c0-a815-fd1b83451d71' LIMIT 1 Date : 2025-08-12T15:23:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-12T15:23:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005065 post PendingInvicesDO 2 MED-141006083 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006083 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0c1c6a9-4a4f-4d48-a714-218d8bd4aa53' LIMIT 1 Date : 2025-08-13T07:35:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T07:35:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005066 post PendingInvicesDO 2 MED-141006086 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006086 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='182b5003-4e6d-4576-be8b-1d6ddead1273' LIMIT 1 Date : 2025-08-13T10:22:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T10:22:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005067 post PendingInvicesDO 2 MED-141006087 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006087 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48ec9430-c6a7-4e11-87d3-3d7031c33792' LIMIT 1 Date : 2025-08-13T11:05:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T11:05:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005068 post PendingInvicesDO 2 MED-141005995 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005995 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005995' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005995' OR OrderId='MED-141005995' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-13T11:47:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005069 post PendingInvicesDO 2 MED-141006088 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006088 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0fa37c0-4589-44e3-8ec0-4805fef9daa0' LIMIT 1 Date : 2025-08-13T12:07:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T12:07:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005070 post PendingInvicesDO 2 MED-141005997 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005997 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005997' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005997' OR OrderId='MED-141005997' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-13T12:34:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005071 post PendingInvicesDO 2 MED-141006089 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006089 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e773360d-e241-458a-8fce-0d134193a437' LIMIT 1 Date : 2025-08-13T12:46:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T12:46:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005072 post PendingInvicesDO 2 MED-141006090 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006090 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5455c6c5-673d-4751-a60f-604d39501701' LIMIT 1 Date : 2025-08-13T13:41:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T13:41:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005073 post PendingInvicesDO 2 MED-141006091 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006091 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ade80ae1-a560-427e-a608-8e4ab8e49437' LIMIT 1 Date : 2025-08-13T15:10:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T15:10:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005074 post PendingInvicesDO 2 MED-141006092 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006092 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1fc84be9-6f92-4675-b6df-faca02fa2912' LIMIT 1 Date : 2025-08-13T15:41:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T15:41:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005076 post PendingInvicesDO 2 MED-141006094 post PendingInvicesDO 2 MED-141006093 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005075 post PendingInvicesDO 2 MED-141006094 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006093 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006094 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e06797c7-21e2-41a0-8b52-51eadcccf08f' LIMIT 1 Date : 2025-08-13T17:00:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3eeb3964-e816-4ab9-869d-779a54447de0' LIMIT 1 Date : 2025-08-13T17:00:49  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e06797c7-21e2-41a0-8b52-51eadcccf08f' LIMIT 1 Date : 2025-08-13T17:00:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3eeb3964-e816-4ab9-869d-779a54447de0' LIMIT 1 Date : 2025-08-13T17:00:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-13T17:00:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005077 post PendingInvicesDO 2 MED-141006095 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006095 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd85be87-313d-4964-8a08-efbec6cd92f0' LIMIT 1 Date : 2025-08-13T18:10:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-13T18:10:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005079 post PendingInvicesDO 2 MED-141006077 post PendingInvicesDO 2 MED-141006076 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005078 post PendingInvicesDO 2 MED-141006077 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006076 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006077 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006077' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006077' OR OrderId='MED-141006077' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006077' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006077' OR OrderId='MED-141006077' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-13T18:56:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005080 post PendingInvicesDO 2 MED-141005996 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005996 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005996' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005996' OR OrderId='MED-141005996' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-13T18:57:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005081 post PendingInvicesDO 2 MED-141006054 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006054 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006054' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006054' OR OrderId='MED-141006054' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-13T18:58:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005082 post PendingInvicesDO 2 MED-141006097 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006097 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc2e8f92-ebd2-4560-b226-4f40976bf29f' LIMIT 1 Date : 2025-08-14T09:09:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T09:09:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005083 post PendingInvicesDO 2 MED-141006101 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006101 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb04bf8d-0232-40d1-9daa-36a370cf36ea' LIMIT 1 Date : 2025-08-14T14:01:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T14:01:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005084 post PendingInvicesDO 2 MED-141006103 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006103 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a017bc35-d970-49d4-9f48-77d9a04d2b85' LIMIT 1 Date : 2025-08-14T15:20:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T15:20:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005085 post PendingInvicesDO 2 MED-141006104 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006104 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e029aff-e179-4555-af69-2775231e0608' LIMIT 1 Date : 2025-08-14T15:37:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-14T15:37:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005086 post PendingInvicesDO 2 MED-141006031 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006031 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006031' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006031' OR OrderId='MED-141006031' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-14T15:50:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005087 post PendingInvicesDO 2 MED-141006042 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006042 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006042' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006042' OR OrderId='MED-141006042' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-14T16:10:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005088 post PendingInvicesDO 2 MED-141006114 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006114 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4baa573-e931-463b-87c8-1d3e7319f699' LIMIT 1 Date : 2025-08-16T12:25:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T12:25:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005089 post PendingInvicesDO 2 MED-141006116 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006116 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0586b6b3-020f-46da-a0e0-243ef40bbe70' LIMIT 1 Date : 2025-08-16T13:36:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T13:36:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005091 post PendingInvicesDO 2 MED-141006118 post PendingInvicesDO 2 MED-141006117 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005090 post PendingInvicesDO 2 MED-141006118 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006117 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006118 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='143923cb-d213-42fc-a1b3-f706a2c28298' LIMIT 1 Date : 2025-08-16T14:36:51  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b50f014-654f-4547-8747-f740943932d8' LIMIT 1 Date : 2025-08-16T14:36:51  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='143923cb-d213-42fc-a1b3-f706a2c28298' LIMIT 1 Date : 2025-08-16T14:36:51  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b50f014-654f-4547-8747-f740943932d8' LIMIT 1 Date : 2025-08-16T14:36:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-16T14:36:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005092 post PendingInvicesDO 2 MED-141006119 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006119 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92f932a9-029c-4faa-8d91-057ae64bcf23' LIMIT 1 Date : 2025-08-16T15:17:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T15:17:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005093 post PendingInvicesDO 2 MED-141006121 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006121 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85ce157d-ac59-4d37-90fd-7cf24828ca33' LIMIT 1 Date : 2025-08-16T16:07:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-16T16:07:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005094 post PendingInvicesDO 2 MED-141006059 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006059 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006059' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006059' OR OrderId='MED-141006059' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-16T17:46:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005095 post PendingInvicesDO 2 MED-141006124 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006124 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47a88eba-d8b3-4573-9e73-18eb8837232b' LIMIT 1 Date : 2025-08-17T07:41:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T07:41:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005096 post PendingInvicesDO 2 MED-141006129 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006129 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba16b598-06e3-416e-821b-d455af8c5277' LIMIT 1 Date : 2025-08-17T12:40:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T12:40:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005097 post PendingInvicesDO 2 MED-141006036 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006036 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006036' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006036' OR OrderId='MED-141006036' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-17T13:39:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005098 post PendingInvicesDO 2 MED-141006132 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006132 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c60b349-6a71-4a99-9a27-a98611352c46' LIMIT 1 Date : 2025-08-17T14:23:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T14:23:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005099 post PendingInvicesDO 2 MED-141006133 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006133 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8f996c5-bd56-4d35-83a8-f5ab00fab77c' LIMIT 1 Date : 2025-08-17T14:36:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T14:36:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005100 post PendingInvicesDO 2 MED-141006134 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006134 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab79077d-5abe-4729-8d28-fc6b40f32011' LIMIT 1 Date : 2025-08-17T15:07:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T15:07:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005101 post PendingInvicesDO 2 MED-141006135 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006135 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6e6b51a-db57-4e16-a850-473a396b5cfd' LIMIT 1 Date : 2025-08-17T15:15:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T15:15:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005102 post PendingInvicesDO 2 MED-141006136 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006136 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e5a2f19-3910-4ddf-8e19-f2c9d5d70458' LIMIT 1 Date : 2025-08-17T15:52:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T15:52:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005103 post PendingInvicesDO 2 MED-141006137 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006137 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0beca55f-0e25-40bf-8af9-813316c1a9c4' LIMIT 1 Date : 2025-08-17T16:33:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T16:33:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005104 post PendingInvicesDO 2 MED-141006138 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006138 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e19ca0e0-bed8-4e2a-b7d1-01a50fd6fbac' LIMIT 1 Date : 2025-08-17T16:55:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-17T16:55:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005105 post PendingInvicesDO 2 MED-141006044 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006044 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006044' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006044' OR OrderId='MED-141006044' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-18T07:49:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005106 post PendingInvicesDO 2 MED-141006141 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006141 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e296fd7e-1d9c-4953-b85c-7d6a331ebe38' LIMIT 1 Date : 2025-08-18T10:10:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T10:10:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005107 post PendingInvicesDO 2 MED-141006142 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006142 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d9fc88e-2c37-4fde-91b2-973dee52f949' LIMIT 1 Date : 2025-08-18T10:37:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T10:37:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005108 post PendingInvicesDO 2 MED-141006143 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006143 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='326c82cb-7eca-43b2-b255-5c7aa94e4583' LIMIT 1 Date : 2025-08-18T11:17:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T11:17:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005109 post PendingInvicesDO 2 MED-141006144 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006144 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='444aa3b8-1b35-4132-a0dc-9888f66d0dad' LIMIT 1 Date : 2025-08-18T11:37:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T11:37:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005110 post PendingInvicesDO 2 MED-141006145 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006145 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7521a544-111e-481e-a655-ced4b2e058c4' LIMIT 1 Date : 2025-08-18T11:49:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T11:49:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005111 post PendingInvicesDO 2 MED-141006146 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006146 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00b52e8a-27b3-4581-a688-426e2a5ad5ca' LIMIT 1 Date : 2025-08-18T12:23:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T12:23:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005112 post PendingInvicesDO 2 MED-141006147 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006147 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='05379c68-1f1e-4012-b5dd-44786eaae16a' LIMIT 1 Date : 2025-08-18T12:59:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T12:59:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005113 post PendingInvicesDO 2 MED-141006148 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006148 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ab06e6d-e880-4aca-bf52-52a6cb38187d' LIMIT 1 Date : 2025-08-18T13:29:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T13:29:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005114 post PendingInvicesDO 2 MED-141006149 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006149 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='acd642c4-ceaf-455a-82a3-316d9e86aad1' LIMIT 1 Date : 2025-08-18T14:55:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T14:55:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005115 post PendingInvicesDO 2 MED-141006150 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006150 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e0924ca-5040-4926-bceb-0aa4ce24d820' LIMIT 1 Date : 2025-08-18T15:16:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T15:16:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005116 post PendingInvicesDO 2 MED-141006151 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006151 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='feb8005a-f3e3-4195-814d-f70476e59fd1' LIMIT 1 Date : 2025-08-18T15:53:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T15:53:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005117 post PendingInvicesDO 2 MED-141006152 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006152 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32292aff-9ffd-49e9-b2d7-e93bdce90d91' LIMIT 1 Date : 2025-08-18T16:07:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T16:07:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005118 post PendingInvicesDO 2 MED-141006153 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006153 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ecb7a24-0a3e-4753-bf38-93f75d6489c8' LIMIT 1 Date : 2025-08-18T16:54:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-18T16:54:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005119 post PendingInvicesDO 2 MED-141006156 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006156 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46713cd6-6164-4c76-975e-97ee37b4d5ab' LIMIT 1 Date : 2025-08-19T09:11:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T09:11:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005120 post PendingInvicesDO 2 MED-141006158 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006158 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94876fda-9849-45b6-ab09-a49fa80fe076' LIMIT 1 Date : 2025-08-19T10:16:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T10:16:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005121 post PendingInvicesDO 2 MED-141006159 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006159 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a979f9a-ed0b-45a0-bb69-1552f453c4ea' LIMIT 1 Date : 2025-08-19T11:56:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T11:56:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005123 post PendingInvicesDO 2 MED-141006161 post PendingInvicesDO 2 MED-141006160 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005122 post PendingInvicesDO 2 MED-141006161 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006160 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006161 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26edb485-4d29-4fb6-bc2b-95bc7725d397' LIMIT 1 Date : 2025-08-19T12:15:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a79e95c-fa40-48e1-a2c3-20f3c63dcd61' LIMIT 1 Date : 2025-08-19T12:15:45  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26edb485-4d29-4fb6-bc2b-95bc7725d397' LIMIT 1 Date : 2025-08-19T12:15:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a79e95c-fa40-48e1-a2c3-20f3c63dcd61' LIMIT 1 Date : 2025-08-19T12:15:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-19T12:15:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005124 post PendingInvicesDO 2 MED-141006162 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006162 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5435b2bb-f93a-44e4-aab0-b7d98bbbdc4f' LIMIT 1 Date : 2025-08-19T12:18:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T12:18:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005125 post PendingInvicesDO 2 MED-141006163 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006163 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92b81b29-9790-4459-bb0e-5582952a3792' LIMIT 1 Date : 2025-08-19T12:32:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T12:32:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005126 post PendingInvicesDO 2 MED-141006164 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006164 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='096c3adc-feb6-4bbf-8082-ca17e0acfe25' LIMIT 1 Date : 2025-08-19T12:50:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T12:50:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005128 post PendingInvicesDO 2 MED-141006165 post PendingInvicesDO 2 MED-141006166 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005127 post PendingInvicesDO 2 MED-141006165 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006165 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006165' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006165' OR OrderId='MED-141006165' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006165' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006165' OR OrderId='MED-141006165' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-19T13:21:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005129 post PendingInvicesDO 2 MED-141006168 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006168 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3079a7d7-3b82-432d-b1a4-a4dc624c7fc6' LIMIT 1 Date : 2025-08-19T13:47:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T13:47:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005130 post PendingInvicesDO 2 MED-141006169 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006169 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d9ccf4a-d557-4d9e-93a2-2ee4d3eff4b4' LIMIT 1 Date : 2025-08-19T14:09:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T14:09:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005131 post PendingInvicesDO 2 MED-141006171 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006171 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f6ac302-b226-444b-9f8a-f9057bade39c' LIMIT 1 Date : 2025-08-19T15:52:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T15:52:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005132 post PendingInvicesDO 2 MED-141006120 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006120 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006120' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006120' OR OrderId='MED-141006120' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-19T16:17:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005133 post PendingInvicesDO 2 MED-141006173 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006173 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb3ad630-7429-43f4-9ae4-f0c1bdd671ba' LIMIT 1 Date : 2025-08-19T16:47:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T16:47:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005134 post PendingInvicesDO 2 MED-141006174 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006174 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77495a68-6b3c-4fb0-97a5-38e84a0325cb' LIMIT 1 Date : 2025-08-19T17:21:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-19T17:21:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005135 post PendingInvicesDO 2 MED-141006154 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006154 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006154' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006154' OR OrderId='MED-141006154' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-19T21:00:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005136 post PendingInvicesDO 2 MED-141006180 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006180 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c8e64f8-a351-44c7-80f7-58f691071a0f' LIMIT 1 Date : 2025-08-20T13:30:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T13:30:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005137 post PendingInvicesDO 2 MED-141006181 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006181 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='723e95fb-67ac-4ff6-bc03-fa84648a07a7' LIMIT 1 Date : 2025-08-20T14:19:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-20T14:19:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005138 post PendingInvicesDO 2 MED-141006056 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006056 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006056' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006056' OR OrderId='MED-141006056' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-20T18:28:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005139 post PendingInvicesDO 2 MED-141006106 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006106 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006106' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006106' OR OrderId='MED-141006106' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-20T18:30:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005140 post PendingInvicesDO 2 MED-141006184 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006184 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='981ca388-d141-4ab0-93ba-30293ddf6b1f' LIMIT 1 Date : 2025-08-21T07:51:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T07:51:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005142 post PendingInvicesDO 2 MED-141005912 post PendingInvicesDO 2 MED-141005913 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005141 post PendingInvicesDO 2 MED-141005912 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141005912 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005912' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005912' OR OrderId='MED-141005912' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141005912' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141005912' OR OrderId='MED-141005912' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-21T10:12:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005143 post PendingInvicesDO 2 MED-141006188 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006188 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1015de4-9826-44f0-b979-ac305e9004d0' LIMIT 1 Date : 2025-08-21T10:59:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T10:59:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005144 post PendingInvicesDO 2 MED-141006189 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006189 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86409040-15a4-4a66-9e60-c7cfa4c2c6c5' LIMIT 1 Date : 2025-08-21T11:21:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T11:22:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005145 post PendingInvicesDO 2 MED-141006190 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006190 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1901d28-cfe5-4253-b9fd-494f47839d15' LIMIT 1 Date : 2025-08-21T11:37:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T11:37:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005147 post PendingInvicesDO 2 MED-141006193 post PendingInvicesDO 2 MED-141006192 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005146 post PendingInvicesDO 2 MED-141006193 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006192 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006193 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6469ce36-9ebc-4af6-a718-8c6df68346f5' LIMIT 1 Date : 2025-08-21T13:07:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='efce2598-64d8-496f-bd2c-7da2151588e5' LIMIT 1 Date : 2025-08-21T13:07:47  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6469ce36-9ebc-4af6-a718-8c6df68346f5' LIMIT 1 Date : 2025-08-21T13:07:47  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='efce2598-64d8-496f-bd2c-7da2151588e5' LIMIT 1 Date : 2025-08-21T13:07:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-21T13:07:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005148 post PendingInvicesDO 2 MED-141006194 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006194 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c10d12e-812d-4b12-ba39-c479cb93903e' LIMIT 1 Date : 2025-08-21T13:08:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T13:08:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005149 post PendingInvicesDO 2 MED-141006195 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006195 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8917e951-23ad-4f38-9a74-b351f173f7dd' LIMIT 1 Date : 2025-08-21T13:31:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T13:31:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005150 post PendingInvicesDO 2 MED-141006196 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006196 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06342c4a-27f6-4a8f-919a-b0e789939308' LIMIT 1 Date : 2025-08-21T14:09:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T14:09:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005151 post PendingInvicesDO 2 MED-141006197 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006197 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4efe4237-0e0a-4fe1-9ff8-4ca9041b1557' LIMIT 1 Date : 2025-08-21T15:19:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T15:19:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005152 post PendingInvicesDO 2 MED-141006062 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006062 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006062' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006062' OR OrderId='MED-141006062' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-21T15:33:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005153 post PendingInvicesDO 2 MED-141006198 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006198 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='013d2474-e167-4ea0-8b12-f6843d3b5a15' LIMIT 1 Date : 2025-08-21T15:46:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T15:46:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005154 post PendingInvicesDO 2 MED-141006199 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006199 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c2e2ced6-8d30-42a4-be08-5c139b3b0126' LIMIT 1 Date : 2025-08-21T16:11:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-21T16:11:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005155 post PendingInvicesDO 2 MED-141006203 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006203 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52e4eef9-59e2-4c48-b712-dd71a8f7f0b5' LIMIT 1 Date : 2025-08-23T10:16:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T10:16:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005156 post PendingInvicesDO 2 MED-141006208 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006208 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='378b8b05-0143-4d9a-a6a0-50ddc1ed8db6' LIMIT 1 Date : 2025-08-23T14:25:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T14:25:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005158 post PendingInvicesDO 2 MED-141006210 post PendingInvicesDO 2 MED-141006209 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005157 post PendingInvicesDO 2 MED-141006210 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006209 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006210 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3551072b-b4d7-4534-8e3d-0e63a2d6f085' LIMIT 1 Date : 2025-08-23T14:31:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='216d093f-33b8-46b4-a29d-75d15a1b2e91' LIMIT 1 Date : 2025-08-23T14:31:46  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3551072b-b4d7-4534-8e3d-0e63a2d6f085' LIMIT 1 Date : 2025-08-23T14:31:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='216d093f-33b8-46b4-a29d-75d15a1b2e91' LIMIT 1 Date : 2025-08-23T14:31:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-23T14:31:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005159 post PendingInvicesDO 2 MED-141006211 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006211 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc8b78d6-39ac-4a58-b263-259a67084959' LIMIT 1 Date : 2025-08-23T15:00:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T15:00:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005160 post PendingInvicesDO 2 MED-141006213 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006213 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='337e88b8-4fd2-48cf-b696-d8cedbba4522' LIMIT 1 Date : 2025-08-23T15:47:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T15:47:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005161 post PendingInvicesDO 2 MED-141006214 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006214 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f515703c-319c-422b-b3dc-255f63a3a56b' LIMIT 1 Date : 2025-08-23T16:33:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-23T16:33:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005162 post PendingInvicesDO 2 MED-141006105 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006105 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006105' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006105' OR OrderId='MED-141006105' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-24T09:57:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005163 post PendingInvicesDO 2 MED-141006218 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006218 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e3ed875-a4c7-431c-9df5-6e60d531d73d' LIMIT 1 Date : 2025-08-24T10:44:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T10:44:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005165 post PendingInvicesDO 2 MED-141006220 post PendingInvicesDO 2 MED-141006219 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005164 post PendingInvicesDO 2 MED-141006220 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006219 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006220 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eef96da2-6be5-4cb0-a065-c6e6e1a596a6' LIMIT 1 Date : 2025-08-24T10:56:51  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='024b50c2-dfca-4ac1-a13c-b7ccb42f7384' LIMIT 1 Date : 2025-08-24T10:56:51  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eef96da2-6be5-4cb0-a065-c6e6e1a596a6' LIMIT 1 Date : 2025-08-24T10:56:51  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='024b50c2-dfca-4ac1-a13c-b7ccb42f7384' LIMIT 1 Date : 2025-08-24T10:56:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-24T10:56:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005166 post PendingInvicesDO 2 MED-141006221 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006221 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8698835-abb4-42c5-b71c-7cb7f9cdf8fb' LIMIT 1 Date : 2025-08-24T10:57:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T10:57:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005168 post PendingInvicesDO 2 MED-141006130 post PendingInvicesDO 2 MED-141006131 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005167 post PendingInvicesDO 2 MED-141006130 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006130 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006130' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006130' OR OrderId='MED-141006130' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006130' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006130' OR OrderId='MED-141006130' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-24T13:08:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005169 post PendingInvicesDO 2 MED-141006225 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006225 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ed30943-af9e-4dec-b7ab-4625fddd2dc2' LIMIT 1 Date : 2025-08-24T14:01:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T14:01:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005170 post PendingInvicesDO 2 MED-141006226 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006226 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='409c353d-480e-4784-b597-d237f9c01dcc' LIMIT 1 Date : 2025-08-24T14:16:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T14:16:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005171 post PendingInvicesDO 2 MED-141006227 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006227 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1fb5c28a-7960-4cc3-b862-0fff8364b3ad' LIMIT 1 Date : 2025-08-24T14:52:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T14:52:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005172 post PendingInvicesDO 2 MED-141006228 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006228 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d86c1a4-540f-42cb-a313-27f43eff1a8c' LIMIT 1 Date : 2025-08-24T15:02:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T15:02:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005173 post PendingInvicesDO 2 MED-141006229 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006229 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0133d6dd-4f09-45a1-bf8c-6fdaa5e8e74c' LIMIT 1 Date : 2025-08-24T17:05:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-24T17:05:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005174 post PendingInvicesDO 2 MED-141006139 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006139 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006139' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006139' OR OrderId='MED-141006139' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-25T07:54:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005175 post PendingInvicesDO 2 MED-141006234 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006234 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3afd12b1-bd37-4288-9cc9-1b40424e9454' LIMIT 1 Date : 2025-08-25T11:01:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T11:01:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005176 post PendingInvicesDO 2 MED-141006235 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006235 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='537c615f-82dc-4220-8e07-df00f3941df8' LIMIT 1 Date : 2025-08-25T11:13:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T11:13:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005177 post PendingInvicesDO 2 MED-141006236 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006236 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2aebba73-a38b-4e05-a8b8-ff819d2c20a9' LIMIT 1 Date : 2025-08-25T11:34:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T11:34:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005178 post PendingInvicesDO 2 MED-141006237 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006237 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd7324f8-f057-4834-a850-5e41e1792f7c' LIMIT 1 Date : 2025-08-25T11:45:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T11:45:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005179 post PendingInvicesDO 2 MED-141006238 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006238 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='495bb52d-878d-4ffc-b904-4bb054c10171' LIMIT 1 Date : 2025-08-25T11:49:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T11:49:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005180 post PendingInvicesDO 2 MED-141006239 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006239 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='038ff9e2-17a9-4e16-9517-00af07b99d66' LIMIT 1 Date : 2025-08-25T12:09:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T12:09:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005181 post PendingInvicesDO 2 MED-141006240 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006240 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56070453-786c-4711-8b46-fa011b8a9caf' LIMIT 1 Date : 2025-08-25T12:39:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T12:39:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005182 post PendingInvicesDO 2 MED-141006155 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006155 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006155' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006155' OR OrderId='MED-141006155' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-25T12:57:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005183 post PendingInvicesDO 2 MED-141006241 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006241 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0e28868-9f79-4ca6-a7af-b18ffff06ff8' LIMIT 1 Date : 2025-08-25T12:58:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T12:58:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005184 post PendingInvicesDO 2 MED-141006242 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006242 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e55649f-b26e-443e-8923-a26ef7b5e689' LIMIT 1 Date : 2025-08-25T13:06:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T13:06:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005185 post PendingInvicesDO 2 MED-141006243 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006243 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='80ce6f56-331f-44dc-9e1b-08df22210f36' LIMIT 1 Date : 2025-08-25T13:24:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T13:24:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005186 post PendingInvicesDO 2 MED-141006245 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006245 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82b278bd-272d-48dd-a999-a33322bab654' LIMIT 1 Date : 2025-08-25T16:05:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-25T16:05:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005187 post PendingInvicesDO 2 MED-141006247 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006247 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ca4ff3f-4517-4dad-9926-01c4cab823d5' LIMIT 1 Date : 2025-08-26T08:41:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T08:41:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005188 post PendingInvicesDO 2 MED-141006248 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006248 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e10af00-6a2f-4659-938c-328738c81ef6' LIMIT 1 Date : 2025-08-26T08:51:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T08:51:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005189 post PendingInvicesDO 2 MED-141006249 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006249 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e10af00-6a2f-4659-938c-328738c81ef6' LIMIT 1 Date : 2025-08-26T08:53:50 MED-141006248  performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-08-26T08:53:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005189 post PendingInvicesDO 2 MED-141006249 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006249 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='710038a2-35c7-4180-a4af-7d9a959e6cb1' LIMIT 1 Date : 2025-08-26T09:23:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T09:23:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005191 post PendingInvicesDO 2 MED-141006252 post PendingInvicesDO 2 MED-141006251 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005190 post PendingInvicesDO 2 MED-141006252 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006251 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006252 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fca043d-072c-4b1b-9dc4-5a90b10e6d55' LIMIT 1 Date : 2025-08-26T10:29:14  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5aecba16-5c13-48a6-8700-dc88af296a15' LIMIT 1 Date : 2025-08-26T10:29:14  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8fca043d-072c-4b1b-9dc4-5a90b10e6d55' LIMIT 1 Date : 2025-08-26T10:29:14  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5aecba16-5c13-48a6-8700-dc88af296a15' LIMIT 1 Date : 2025-08-26T10:29:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-26T10:29:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005193 post PendingInvicesDO 2 MED-141006254 post PendingInvicesDO 2 MED-141006253 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005192 post PendingInvicesDO 2 MED-141006254 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006253 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006254 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22e1e05e-202b-437d-9ec2-7175f938a028' LIMIT 1 Date : 2025-08-26T12:05:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='780226cc-7a81-4964-b6b2-482a25dad91c' LIMIT 1 Date : 2025-08-26T12:05:09  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22e1e05e-202b-437d-9ec2-7175f938a028' LIMIT 1 Date : 2025-08-26T12:05:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='780226cc-7a81-4964-b6b2-482a25dad91c' LIMIT 1 Date : 2025-08-26T12:05:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-26T12:05:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005194 post PendingInvicesDO 2 MED-141006255 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006255 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ecbede37-8786-4bea-81cb-ab8e2160a149' LIMIT 1 Date : 2025-08-26T12:14:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T12:14:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005195 post PendingInvicesDO 2 MED-141006256 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006256 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3bd59dfb-42a0-4125-ba71-65ee9ed69cfd' LIMIT 1 Date : 2025-08-26T12:34:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T12:34:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005196 post PendingInvicesDO 2 MED-141006257 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006257 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1263dff-1956-40eb-a814-c24971d0b69e' LIMIT 1 Date : 2025-08-26T12:37:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T12:37:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005197 post PendingInvicesDO 2 MED-141006258 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006258 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0514acb1-cbfd-4375-95cd-e07e5759a753' LIMIT 1 Date : 2025-08-26T12:54:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T12:54:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005198 post PendingInvicesDO 2 MED-141006259 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006259 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5cc914ff-a7df-499f-9d98-8c33743051c7' LIMIT 1 Date : 2025-08-26T13:09:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T13:09:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005199 post PendingInvicesDO 2 MED-141006260 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006260 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16b99f25-ad42-475f-be73-7a6070e44d0d' LIMIT 1 Date : 2025-08-26T13:26:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T13:26:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005200 post PendingInvicesDO 2 MED-141006261 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006261 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='330175c9-8e80-4212-b539-788dd4772327' LIMIT 1 Date : 2025-08-26T13:29:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T13:29:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005201 post PendingInvicesDO 2 MED-141006262 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006262 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0b57c67-02bc-4a5f-8b23-dca297007655' LIMIT 1 Date : 2025-08-26T13:37:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T13:37:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005202 post PendingInvicesDO 2 MED-141006263 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006263 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6269ff18-a286-48ce-9a4e-46b1f895970e' LIMIT 1 Date : 2025-08-26T13:53:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T13:53:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005203 post PendingInvicesDO 2 MED-141006264 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006264 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca24b62a-107f-437d-97cf-a31c65b15123' LIMIT 1 Date : 2025-08-26T14:08:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T14:08:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005204 post PendingInvicesDO 2 MED-141006267 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006267 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3fff6e5b-4fdf-4716-8f0d-dc72853baf3b' LIMIT 1 Date : 2025-08-26T16:26:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-26T16:26:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005205 post PendingInvicesDO 2 MED-141006207 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006207 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006207' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006207' OR OrderId='MED-141006207' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-26T19:38:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005206 post PendingInvicesDO 2 MED-141006244 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006244 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006244' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006244' OR OrderId='MED-141006244' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-26T19:39:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005207 post PendingInvicesDO 2 MED-141006271 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006271 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c97636d4-65b8-4e1c-97a6-edae57afb4cd' LIMIT 1 Date : 2025-08-27T10:37:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T10:37:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005208 post PendingInvicesDO 2 MED-141006273 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006273 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='badc0b36-7d42-4b42-b567-f68e95452821' LIMIT 1 Date : 2025-08-27T13:44:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T13:44:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005209 post PendingInvicesDO 2 MED-141006274 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006274 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a3c76d1-886c-47b0-b3f4-413636df4beb' LIMIT 1 Date : 2025-08-27T14:09:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T14:09:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005210 post PendingInvicesDO 2 MED-141006102 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006102 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006102' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006102' OR OrderId='MED-141006102' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-27T14:47:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005212 post PendingInvicesDO 2 MED-141006278 post PendingInvicesDO 2 MED-141006277 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005211 post PendingInvicesDO 2 MED-141006278 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006277 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006278 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a0fecca-0fc0-4643-8d55-259bc0273c16' LIMIT 1 Date : 2025-08-27T15:40:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b70737a-072d-4fbe-8a4e-4b92beed69c5' LIMIT 1 Date : 2025-08-27T15:40:42  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a0fecca-0fc0-4643-8d55-259bc0273c16' LIMIT 1 Date : 2025-08-27T15:40:42  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b70737a-072d-4fbe-8a4e-4b92beed69c5' LIMIT 1 Date : 2025-08-27T15:40:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-27T15:40:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005213 post PendingInvicesDO 2 MED-141006183 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006183 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006183' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006183' OR OrderId='MED-141006183' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-27T15:51:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005214 post PendingInvicesDO 2 MED-141006280 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006280 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bcdc523a-11fc-4d3e-8c0b-34e08b458f76' LIMIT 1 Date : 2025-08-27T17:32:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T17:32:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005215 post PendingInvicesDO 2 MED-141006281 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006281 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e15316c4-3156-42cd-91fc-93caac792648' LIMIT 1 Date : 2025-08-27T18:21:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T18:21:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005216 post PendingInvicesDO 2 MED-141006282 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006282 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72b3eefb-7ee3-4b80-bd00-8104bf4ba4ec' LIMIT 1 Date : 2025-08-27T18:21:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T18:21:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005217 post PendingInvicesDO 2 MED-141006283 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006283 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='786c460b-fbe9-4de1-961f-542ad24280c6' LIMIT 1 Date : 2025-08-27T19:11:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-27T19:11:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005218 post PendingInvicesDO 2 MED-141006172 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006172 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006172' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006172' OR OrderId='MED-141006172' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-27T19:29:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005219 post PendingInvicesDO 2 MED-141006284 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006284 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='396bac62-4997-4407-a767-181870c11916' LIMIT 1 Date : 2025-08-28T07:55:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T07:55:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005220 post PendingInvicesDO 2 MED-141006287 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006287 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1281cc0d-7e70-4410-ba66-1aa828406cc4' LIMIT 1 Date : 2025-08-28T10:43:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T10:43:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005221 post PendingInvicesDO 2 MED-141006289 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006289 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f80bf7fb-8e64-4e95-9c1b-9a535025e3ad' LIMIT 1 Date : 2025-08-28T12:47:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T12:47:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005222 post PendingInvicesDO 2 MED-141006290 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006290 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf18632e-9e36-45f8-b65e-5074fea9d14c' LIMIT 1 Date : 2025-08-28T13:30:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T13:30:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005223 post PendingInvicesDO 2 MED-141006291 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006291 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50ad7958-32e8-4d7d-9266-fd84098248a9' LIMIT 1 Date : 2025-08-28T13:44:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T13:44:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005224 post PendingInvicesDO 2 MED-141006293 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006293 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='300b736b-5192-4666-a448-b3ac0f317f1c' LIMIT 1 Date : 2025-08-28T14:01:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T14:01:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005226 post PendingInvicesDO 2 MED-141006295 post PendingInvicesDO 2 MED-141006294 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005225 post PendingInvicesDO 2 MED-141006295 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006294 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006295 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='307caba8-5ada-4e29-9e8c-383bbaeb92e7' LIMIT 1 Date : 2025-08-28T14:39:58  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f98a2e4-82ee-42c5-9e66-bb8aee661528' LIMIT 1 Date : 2025-08-28T14:39:58  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='307caba8-5ada-4e29-9e8c-383bbaeb92e7' LIMIT 1 Date : 2025-08-28T14:39:58  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f98a2e4-82ee-42c5-9e66-bb8aee661528' LIMIT 1 Date : 2025-08-28T14:39:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-28T14:39:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005227 post PendingInvicesDO 2 MED-141006296 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006296 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0098a65-dbae-4807-8355-dd597fceb548' LIMIT 1 Date : 2025-08-28T15:50:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-28T15:50:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005229 post PendingInvicesDO 2 MED-141006275 post PendingInvicesDO 2 MED-141006276 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005228 post PendingInvicesDO 2 MED-141006275 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006275 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006275' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006275' OR OrderId='MED-141006275' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006275' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006275' OR OrderId='MED-141006275' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-28T18:28:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005230 post PendingInvicesDO 2 MED-141006297 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006297 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6aef7fa7-f3f2-4a42-899a-0a30640d8868' LIMIT 1 Date : 2025-08-29T13:49:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-29T13:49:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005231 post PendingInvicesDO 2 MED-141006216 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006216 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006216' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006216' OR OrderId='MED-141006216' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-29T14:39:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005232 post PendingInvicesDO 2 MED-141006301 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006301 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e0234a5-853b-4200-a3e5-04a89aa9d385' LIMIT 1 Date : 2025-08-30T08:45:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T08:45:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005233 post PendingInvicesDO 2 MED-141006305 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006305 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8620d06c-33c8-42d2-a15f-1f1897cc2b4e' LIMIT 1 Date : 2025-08-30T12:29:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T12:29:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005234 post PendingInvicesDO 2 MED-141006306 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006306 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ce2d685-9519-4747-b21d-05fc5c0e6e9a' LIMIT 1 Date : 2025-08-30T12:46:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T12:46:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005235 post PendingInvicesDO 2 MED-141006307 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006307 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c42726d7-4ba1-4318-bb40-8fb70fb5a54d' LIMIT 1 Date : 2025-08-30T12:56:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T12:56:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005236 post PendingInvicesDO 2 MED-141006308 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006308 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7df2acb9-d7e9-4725-96c0-fe5a08d96a6e' LIMIT 1 Date : 2025-08-30T13:37:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T13:37:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005238 post PendingInvicesDO 2 MED-141006310 post PendingInvicesDO 2 MED-141006309 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005237 post PendingInvicesDO 2 MED-141006310 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006309 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006310 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e016493e-c956-4ddd-9cd9-50893b004900' LIMIT 1 Date : 2025-08-30T13:42:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a629387-dbc1-425c-b642-5655e53150a7' LIMIT 1 Date : 2025-08-30T13:42:54  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e016493e-c956-4ddd-9cd9-50893b004900' LIMIT 1 Date : 2025-08-30T13:42:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a629387-dbc1-425c-b642-5655e53150a7' LIMIT 1 Date : 2025-08-30T13:42:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-08-30T13:42:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005239 post PendingInvicesDO 2 MED-141006311 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006311 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b844cc64-1003-4534-93c3-14d7959683b3' LIMIT 1 Date : 2025-08-30T14:34:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T14:34:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005240 post PendingInvicesDO 2 MED-141006096 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006096 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006096' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006096' OR OrderId='MED-141006096' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T14:44:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005241 post PendingInvicesDO 2 MED-141006312 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006312 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='974cf487-35d3-411e-ab52-85abcda87672' LIMIT 1 Date : 2025-08-30T15:52:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-30T15:52:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005242 post PendingInvicesDO 2 MED-141006250 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006250 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006250' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006250' OR OrderId='MED-141006250' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-30T17:59:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005243 post PendingInvicesDO 2 MED-141006314 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006314 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d1cf98c-15bb-4ecd-a32c-8ac48204f11f' LIMIT 1 Date : 2025-08-31T07:44:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T07:44:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005244 post PendingInvicesDO 2 MED-141006315 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006315 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de837801-0b1e-4339-b770-61775a358da4' LIMIT 1 Date : 2025-08-31T08:40:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T08:40:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005245 post PendingInvicesDO 2 MED-141006318 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006318 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7217972a-1d4c-46ae-911d-ec9d87a87a04' LIMIT 1 Date : 2025-08-31T12:06:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T12:06:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005247 post PendingInvicesDO 2 MED-141006223 post PendingInvicesDO 2 MED-141006224 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005246 post PendingInvicesDO 2 MED-141006223 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006223 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006223' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006223' OR OrderId='MED-141006223' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006223' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006223' OR OrderId='MED-141006223' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-08-31T13:25:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005248 post PendingInvicesDO 2 MED-141006320 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006320 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a1f291d-9de6-4e58-8367-8a8b720b158c' LIMIT 1 Date : 2025-08-31T14:11:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T14:11:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005249 post PendingInvicesDO 2 MED-141006321 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006321 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16c4e675-56d6-4d88-899d-bc97a1e0f6c8' LIMIT 1 Date : 2025-08-31T14:26:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T14:26:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005250 post PendingInvicesDO 2 MED-141006322 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006322 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f835578-e9d1-4e26-8b52-3d501a9e4cb8' LIMIT 1 Date : 2025-08-31T14:48:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T14:48:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005251 post PendingInvicesDO 2 MED-141006323 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006323 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d22d5fd6-07ed-4cb8-9dba-886506b95440' LIMIT 1 Date : 2025-08-31T14:51:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T14:51:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005252 post PendingInvicesDO 2 MED-141006324 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006324 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d9a60dd-1ae1-424b-84fc-525b493b2ace' LIMIT 1 Date : 2025-08-31T14:59:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T14:59:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005253 post PendingInvicesDO 2 MED-141006325 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006325 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94217be6-868f-4c4f-8602-a2cd5ba78403' LIMIT 1 Date : 2025-08-31T15:32:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T15:32:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005254 post PendingInvicesDO 2 MED-141006326 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006326 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bee6e0ef-659c-49e1-8fc7-f2a9fdedf350' LIMIT 1 Date : 2025-08-31T16:07:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T16:07:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005255 post PendingInvicesDO 2 MED-141006327 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006327 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0938d36-919d-4304-8c7f-71df11ef703d' LIMIT 1 Date : 2025-08-31T17:00:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T17:00:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005256 post PendingInvicesDO 2 MED-141006328 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006328 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d886140d-b168-4566-ac67-09b1f7c0930c' LIMIT 1 Date : 2025-08-31T17:38:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-08-31T17:38:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005257 post PendingInvicesDO 2 MED-141006329 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006329 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f587043-a1ad-40e5-b8d4-c2a058df4364' LIMIT 1 Date : 2025-09-01T07:39:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T07:39:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005258 post PendingInvicesDO 2 MED-141006332 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006332 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4d7b843-80e7-46b5-ab7f-6f7ae76f2d0d' LIMIT 1 Date : 2025-09-01T10:11:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T10:11:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005259 post PendingInvicesDO 2 MED-141006333 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006333 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33f49fbc-4a34-46b9-826a-a975c387ceb4' LIMIT 1 Date : 2025-09-01T10:28:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T10:28:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005260 post PendingInvicesDO 2 MED-141006334 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006334 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac218644-37bc-4378-900c-d3d91bfb2f0e' LIMIT 1 Date : 2025-09-01T10:42:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T10:42:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005261 post PendingInvicesDO 2 MED-141006335 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006335 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='090da2f4-f584-4d3c-9c69-458e7b0854d7' LIMIT 1 Date : 2025-09-01T11:00:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T11:00:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005263 post PendingInvicesDO 2 MED-141006336 post PendingInvicesDO 2 MED-141006337 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005262 post PendingInvicesDO 2 MED-141006336 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006336 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006336' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006336' OR OrderId='MED-141006336' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006336' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006336' OR OrderId='MED-141006336' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-01T11:31:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005264 post PendingInvicesDO 2 MED-141006338 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006338 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8423e7b5-86ca-48e6-92fe-17e3ddac36a8' LIMIT 1 Date : 2025-09-01T11:44:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T11:44:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005265 post PendingInvicesDO 2 MED-141006339 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006339 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c52ba112-28c5-4580-85f1-96819259efbd' LIMIT 1 Date : 2025-09-01T12:19:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T12:19:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005266 post PendingInvicesDO 2 MED-141006340 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006340 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1647eb97-d7ec-4bc8-a2d2-fa8bea4fefbf' LIMIT 1 Date : 2025-09-01T12:38:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T12:38:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005267 post PendingInvicesDO 2 MED-141006341 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006341 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='769bf2c8-81f9-4ee9-8995-fb94d6fcac9c' LIMIT 1 Date : 2025-09-01T13:02:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T13:02:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005268 post PendingInvicesDO 2 MED-141006342 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006342 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='616ed67f-3cb6-48dc-ac35-5067608a6a87' LIMIT 1 Date : 2025-09-01T14:01:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T14:01:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005269 post PendingInvicesDO 2 MED-141006343 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006343 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d32c42e0-5f10-46ec-b4d5-2ae4d4c6d7c6' LIMIT 1 Date : 2025-09-01T14:02:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T14:02:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005270 post PendingInvicesDO 2 MED-141006344 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006344 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23e0bca6-f859-4900-a3e9-1d5c6f54dd59' LIMIT 1 Date : 2025-09-01T14:20:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T14:20:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005271 post PendingInvicesDO 2 MED-141006345 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006345 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad8de288-0d34-481d-a4c4-d2a76fce13c5' LIMIT 1 Date : 2025-09-01T16:35:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T16:35:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005272 post PendingInvicesDO 2 MED-141006346 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006346 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d6ed253-0094-4a31-a5ea-f7a89b3be740' LIMIT 1 Date : 2025-09-01T17:20:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T17:20:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005273 post PendingInvicesDO 2 MED-141006347 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006347 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f57f320-bf74-41c5-8387-a54b3c474ef9' LIMIT 1 Date : 2025-09-01T17:51:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-01T17:51:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005274 post PendingInvicesDO 2 MED-141006246 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006246 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006246' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006246' OR OrderId='MED-141006246' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-01T19:05:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005275 post PendingInvicesDO 2 MED-141006182 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006182 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006182' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006182' OR OrderId='MED-141006182' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-01T19:06:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005276 post PendingInvicesDO 2 MED-141006350 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006350 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb696a3f-9696-4cad-bb62-ef56627ff054' LIMIT 1 Date : 2025-09-02T10:11:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T10:11:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005277 post PendingInvicesDO 2 MED-141006352 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006352 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e18ad7b5-a0ea-4352-af63-76c504aa573f' LIMIT 1 Date : 2025-09-02T11:51:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T11:51:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005278 post PendingInvicesDO 2 MED-141006167 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006167 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006167' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006167' OR OrderId='MED-141006167' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-02T12:57:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005279 post PendingInvicesDO 2 MED-141006353 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006353 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='932cd477-b2fd-4bc8-9d5f-1e4c947a2148' LIMIT 1 Date : 2025-09-02T12:59:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T12:59:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005280 post PendingInvicesDO 2 MED-141006354 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006354 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9e65d73-e511-482f-8391-2a6c9bd95561' LIMIT 1 Date : 2025-09-02T13:12:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T13:12:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005281 post PendingInvicesDO 2 MED-141006355 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006355 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dab0a85b-9286-475c-8af1-f2a5711c70c2' LIMIT 1 Date : 2025-09-02T13:25:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T13:25:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005282 post PendingInvicesDO 2 MED-141006356 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006356 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11f6ca32-a6ef-4f8a-8e51-2e8d4b4f6dce' LIMIT 1 Date : 2025-09-02T13:36:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T13:36:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005283 post PendingInvicesDO 2 MED-141006357 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006357 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52ce0039-1ea5-4330-96f8-bafe7923e170' LIMIT 1 Date : 2025-09-02T13:46:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T13:46:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005284 post PendingInvicesDO 2 MED-141006358 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006358 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4771228-725f-4f8f-b0c1-2d2a833bfad3' LIMIT 1 Date : 2025-09-02T15:41:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T15:41:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005285 post PendingInvicesDO 2 MED-141006360 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006360 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f720a04-f9ed-4d14-acbc-ea847da938bb' LIMIT 1 Date : 2025-09-02T16:26:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-02T16:26:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005286 post PendingInvicesDO 2 MED-141006230 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006230 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006230' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006230' OR OrderId='MED-141006230' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-03T07:57:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005287 post PendingInvicesDO 2 MED-141006363 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006363 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='899385b5-6445-4ca7-b670-40a74fdd9cce' LIMIT 1 Date : 2025-09-03T08:46:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T08:46:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005288 post PendingInvicesDO 2 MED-141006364 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006364 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d23f0893-04ce-44f5-b0a3-55dac916549f' LIMIT 1 Date : 2025-09-03T09:16:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T09:16:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005289 post PendingInvicesDO 2 MED-141006367 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006367 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9a8dcf3-e917-4c46-8707-d71fa78e96b9' LIMIT 1 Date : 2025-09-03T12:14:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T12:14:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005290 post PendingInvicesDO 2 MED-141006368 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006368 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f769772-81da-467c-8dc4-bf7ca1e69051' LIMIT 1 Date : 2025-09-03T12:19:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T12:19:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005292 post PendingInvicesDO 2 MED-141006369 post PendingInvicesDO 2 MED-141006370 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005291 post PendingInvicesDO 2 MED-141006369 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006369 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006369' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006369' OR OrderId='MED-141006369' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006369' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006369' OR OrderId='MED-141006369' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-03T12:45:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005293 post PendingInvicesDO 2 MED-141006279 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006279 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006279' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006279' OR OrderId='MED-141006279' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-03T13:09:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005294 post PendingInvicesDO 2 MED-141006372 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006372 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6d96d43-b1e9-48a4-8e40-40cdeceb3e45' LIMIT 1 Date : 2025-09-03T14:17:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T14:17:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005295 post PendingInvicesDO 2 MED-141006373 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006373 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41257190-a9f1-49fd-9770-355b9561da32' LIMIT 1 Date : 2025-09-03T15:24:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T15:24:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005296 post PendingInvicesDO 2 MED-141006374 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006374 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29cd079a-760b-4d8f-82f1-31356728f9ff' LIMIT 1 Date : 2025-09-03T15:50:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-03T15:50:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005297 post PendingInvicesDO 2 MED-141006212 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006212 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006212' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006212' OR OrderId='MED-141006212' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-03T16:32:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005298 post PendingInvicesDO 2 MED-141006371 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006371 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006371' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006371' OR OrderId='MED-141006371' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-03T17:11:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005299 post PendingInvicesDO 2 MED-141006366 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006366 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006366' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006366' OR OrderId='MED-141006366' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-03T17:38:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005300 post PendingInvicesDO 2 MED-141006377 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006377 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c02118f-3fb7-4a66-833b-4acd4aefa69f' LIMIT 1 Date : 2025-09-04T09:24:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T09:24:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005301 post PendingInvicesDO 2 MED-141006380 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006380 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ec27e24-e1c6-4218-8195-f0ade111c5f2' LIMIT 1 Date : 2025-09-04T10:55:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T10:55:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005302 post PendingInvicesDO 2 MED-141006382 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006382 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02c3eaa1-e24b-4d70-880d-e403646bf19a' LIMIT 1 Date : 2025-09-04T13:25:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T13:25:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005303 post PendingInvicesDO 2 MED-141006383 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006383 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dcbe5862-fd6a-4cf7-8e5b-0b29d01d7003' LIMIT 1 Date : 2025-09-04T14:33:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T14:33:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005304 post PendingInvicesDO 2 MED-141006384 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006384 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d3787d8-142e-46ea-b28a-dda6f7463d4e' LIMIT 1 Date : 2025-09-04T15:59:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-04T15:59:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005305 post PendingInvicesDO 2 MED-141006292 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006292 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006292' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006292' OR OrderId='MED-141006292' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-04T17:25:51 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144005306 post PendingInvicesDO 2 MED-141006359 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006359 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006359' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006359' OR OrderId='MED-141006359' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-04T17:31:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005307 post PendingInvicesDO 2 MED-141006319 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006319 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006319' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006319' OR OrderId='MED-141006319' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-05T15:58:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005308 post PendingInvicesDO 2 MED-141006387 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006387 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d13e03cc-dfb8-4486-94c7-ebcb44ec8145' LIMIT 1 Date : 2025-09-06T10:37:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T10:37:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005309 post PendingInvicesDO 2 MED-141006390 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006390 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='135f87d3-be2a-48d0-b5bb-e2a9fb607782' LIMIT 1 Date : 2025-09-06T13:26:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T13:26:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005311 post PendingInvicesDO 2 MED-141006392 post PendingInvicesDO 2 MED-141006391 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005310 post PendingInvicesDO 2 MED-141006392 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006391 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006392 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='073a7330-20a5-4967-8cd5-6c981787084d' LIMIT 1 Date : 2025-09-06T13:32:12  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb80515e-21dc-43e3-a522-c28837b65d8f' LIMIT 1 Date : 2025-09-06T13:32:12  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='073a7330-20a5-4967-8cd5-6c981787084d' LIMIT 1 Date : 2025-09-06T13:32:12  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb80515e-21dc-43e3-a522-c28837b65d8f' LIMIT 1 Date : 2025-09-06T13:32:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-06T13:32:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005312 post PendingInvicesDO 2 MED-141006393 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006393 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2111705-2825-4b4b-b873-68feae712461' LIMIT 1 Date : 2025-09-06T14:11:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T14:11:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005313 post PendingInvicesDO 2 MED-141006396 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006396 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f91b88c3-b5c2-4465-b37b-74316d25af08' LIMIT 1 Date : 2025-09-06T15:56:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T15:56:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005314 post PendingInvicesDO 2 MED-141006397 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006397 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea5e061f-1f0d-47f9-ab61-678b25bef465' LIMIT 1 Date : 2025-09-06T16:04:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:04:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005315 post PendingInvicesDO 2 MED-141006398 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006398 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49a585da-f459-4ce4-9d02-086185b99688' LIMIT 1 Date : 2025-09-06T16:26:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:26:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005316 post PendingInvicesDO 2 MED-141006399 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006399 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e798c887-691c-424e-a206-7d1c5c08b1cf' LIMIT 1 Date : 2025-09-06T16:42:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T16:42:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005317 post PendingInvicesDO 2 MED-141006400 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006400 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69bb1774-4756-496a-aed7-bd1ff3efa476' LIMIT 1 Date : 2025-09-06T17:42:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T17:42:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005318 post PendingInvicesDO 2 MED-141006401 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006401 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51a825ff-90f6-4b7f-ab07-5770946ac030' LIMIT 1 Date : 2025-09-06T17:56:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T17:56:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005319 post PendingInvicesDO 2 MED-141006402 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006402 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63b10212-7d9c-4a90-846f-d25e176f01cf' LIMIT 1 Date : 2025-09-06T18:07:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T18:07:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005320 post PendingInvicesDO 2 MED-141006403 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006403 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6f4d565-251f-4e0d-a3fa-c824c37faa0e' LIMIT 1 Date : 2025-09-06T18:14:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T18:14:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005321 post PendingInvicesDO 2 MED-141006404 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006404 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='619b35f6-7ec7-45d4-8252-a3a312c02085' LIMIT 1 Date : 2025-09-06T18:53:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-06T18:53:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005322 post PendingInvicesDO 2 MED-141006407 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006407 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75e02676-c1b5-4aaa-80f9-a0dea35fdd45' LIMIT 1 Date : 2025-09-07T10:10:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T10:10:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005323 post PendingInvicesDO 2 MED-141006410 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006410 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79981193-7069-4019-a0b1-566dd075de7d' LIMIT 1 Date : 2025-09-07T11:21:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T11:21:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005324 post PendingInvicesDO 2 MED-141006411 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006411 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c412b79-9f87-4bda-afd8-02c0e698aad9' LIMIT 1 Date : 2025-09-07T11:44:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T11:44:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005325 post PendingInvicesDO 2 MED-141006412 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006412 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='972068a7-331e-4461-a312-bd4d595410de' LIMIT 1 Date : 2025-09-07T12:35:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T12:35:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005326 post PendingInvicesDO 2 MED-141006413 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006413 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac3c707f-b793-4b54-8a2c-85112dd9cd11' LIMIT 1 Date : 2025-09-07T13:37:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T13:37:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005327 post PendingInvicesDO 2 MED-141006414 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006414 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='acb186bc-3429-4ed2-ac74-c6117c819d98' LIMIT 1 Date : 2025-09-07T13:46:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T13:46:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005328 post PendingInvicesDO 2 MED-141006415 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006415 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78327732-1bd6-4137-98f6-cce1d2ccf64a' LIMIT 1 Date : 2025-09-07T14:18:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T14:18:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005329 post PendingInvicesDO 2 MED-141006299 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006299 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006299' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006299' OR OrderId='MED-141006299' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-07T16:12:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005330 post PendingInvicesDO 2 MED-141006418 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006418 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5531dcf-0f7c-4ed4-9c6a-547981730602' LIMIT 1 Date : 2025-09-07T16:29:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-07T16:29:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005331 post PendingInvicesDO 2 MED-141006298 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006298 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006298' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006298' OR OrderId='MED-141006298' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-07T18:00:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005333 post PendingInvicesDO 2 MED-141006420 post PendingInvicesDO 2 MED-141006419 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005332 post PendingInvicesDO 2 MED-141006420 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006419 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006420 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a866eac-ffbd-449c-9752-094e641bbc41' LIMIT 1 Date : 2025-09-08T07:55:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27cfc1fa-88fb-4181-8a6a-78c7672352b2' LIMIT 1 Date : 2025-09-08T07:55:17  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a866eac-ffbd-449c-9752-094e641bbc41' LIMIT 1 Date : 2025-09-08T07:55:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27cfc1fa-88fb-4181-8a6a-78c7672352b2' LIMIT 1 Date : 2025-09-08T07:55:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-08T07:55:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005334 post PendingInvicesDO 2 MED-141006422 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006422 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f09765f0-ed1c-4e68-9fce-061423415e2b' LIMIT 1 Date : 2025-09-08T10:18:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T10:18:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005335 post PendingInvicesDO 2 MED-141006423 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006423 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d91d100-7ea8-40e3-9578-0c3620712d35' LIMIT 1 Date : 2025-09-08T10:25:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T10:25:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005336 post PendingInvicesDO 2 MED-141006424 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006424 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c03b326d-9637-4352-b5b1-24d679833b4b' LIMIT 1 Date : 2025-09-08T10:47:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T10:47:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005337 post PendingInvicesDO 2 MED-141006425 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006425 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c3d6bb6-0fd9-4962-95b5-c1a69680aa25' LIMIT 1 Date : 2025-09-08T10:59:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T10:59:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005338 post PendingInvicesDO 2 MED-141006426 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006426 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0dee2ad6-1ae7-48f1-817d-9cf847ec927f' LIMIT 1 Date : 2025-09-08T11:15:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T11:15:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005339 post PendingInvicesDO 2 MED-141006427 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006427 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32e156af-f0b0-4c79-8ee5-c0431bd71638' LIMIT 1 Date : 2025-09-08T11:47:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T11:47:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005340 post PendingInvicesDO 2 MED-141006428 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006428 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='54aea80f-f1af-4a49-9895-213b7a5ba417' LIMIT 1 Date : 2025-09-08T11:58:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T11:58:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005341 post PendingInvicesDO 2 MED-141006429 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006429 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cee9d0d5-17a9-4ce4-9f80-9fe415419542' LIMIT 1 Date : 2025-09-08T12:21:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-08T12:21:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005343 post PendingInvicesDO 2 MED-141006362 post PendingInvicesDO 2 MED-141006361 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005342 post PendingInvicesDO 2 MED-141006362 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006361 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006362 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006362' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006362' OR OrderId='MED-141006362' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006362' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006362' OR OrderId='MED-141006362' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-09T07:51:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005344 post PendingInvicesDO 2 MED-141006349 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006349 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006349' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006349' OR OrderId='MED-141006349' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-09T08:27:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005345 post PendingInvicesDO 2 MED-141006433 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006433 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a117089-965a-4f13-9c05-e1a762c1aa6e' LIMIT 1 Date : 2025-09-09T09:20:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T09:20:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005346 post PendingInvicesDO 2 MED-141006434 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006434 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5eb08caa-b434-455a-9ee5-7f422112dfcc' LIMIT 1 Date : 2025-09-09T10:26:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T10:26:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005347 post PendingInvicesDO 2 MED-141006435 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006435 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e70e073-ab5b-4150-88d2-26e52134165c' LIMIT 1 Date : 2025-09-09T10:48:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T10:48:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005348 post PendingInvicesDO 2 MED-141006436 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006436 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5455096-2e0d-4499-8cd5-1093081f70b6' LIMIT 1 Date : 2025-09-09T10:57:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T10:57:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005349 post PendingInvicesDO 2 MED-141006437 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006437 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e0ba5a4-c60a-4f28-b555-6192f2b69b96' LIMIT 1 Date : 2025-09-09T11:11:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T11:11:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005350 post PendingInvicesDO 2 MED-141006438 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006438 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a493fa2-0233-4b90-83a2-54022d9ca0f7' LIMIT 1 Date : 2025-09-09T11:18:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T11:18:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005351 post PendingInvicesDO 2 MED-141006439 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006439 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3aaad984-9ba3-4217-ae2b-6b9716f6ef86' LIMIT 1 Date : 2025-09-09T11:28:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T11:28:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005353 post PendingInvicesDO 2 MED-141006441 post PendingInvicesDO 2 MED-141006440 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005352 post PendingInvicesDO 2 MED-141006441 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006440 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006441 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='102b4404-0cd0-4454-bb6f-bf48a64653cf' LIMIT 1 Date : 2025-09-09T12:06:27  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3deebc92-f85f-4055-8e22-4f54b4939fa9' LIMIT 1 Date : 2025-09-09T12:06:27  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='102b4404-0cd0-4454-bb6f-bf48a64653cf' LIMIT 1 Date : 2025-09-09T12:06:27  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3deebc92-f85f-4055-8e22-4f54b4939fa9' LIMIT 1 Date : 2025-09-09T12:06:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-09T12:06:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005354 post PendingInvicesDO 2 MED-141006442 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006442 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4ad1bf4-941c-48ec-872a-b263432f4912' LIMIT 1 Date : 2025-09-09T12:33:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T12:33:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005355 post PendingInvicesDO 2 MED-141006443 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006443 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4eaa6c9-93ba-477e-9fcb-bd8bd9615f28' LIMIT 1 Date : 2025-09-09T13:35:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T13:35:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005356 post PendingInvicesDO 2 MED-141006445 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006445 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e24c6e48-396b-492b-b023-7b2f038d20c3' LIMIT 1 Date : 2025-09-09T14:07:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T14:07:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005357 post PendingInvicesDO 2 MED-141006446 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006446 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aedca464-a900-458a-ab2f-0af8c2808044' LIMIT 1 Date : 2025-09-09T15:19:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-09T15:19:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005358 post PendingInvicesDO 2 MED-141006452 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006452 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da93a741-bfa6-4264-a075-dcebf29606cd' LIMIT 1 Date : 2025-09-10T12:53:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T12:53:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005359 post PendingInvicesDO 2 MED-141006453 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006453 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43577f60-5509-45ad-9db8-89f98ee5d3de' LIMIT 1 Date : 2025-09-10T13:03:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-10T13:03:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005360 post PendingInvicesDO 2 MED-141006454 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006454 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006454' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006454' OR OrderId='MED-141006454' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-10T14:24:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005361 post PendingInvicesDO 2 MED-141006408 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006408 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006408' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006408' OR OrderId='MED-141006408' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-10T14:28:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005362 post PendingInvicesDO 2 MED-141006460 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006460 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4fff6c0-9df5-4d2f-9ce8-f0fedf0f40eb' LIMIT 1 Date : 2025-09-11T11:42:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T11:42:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005363 post PendingInvicesDO 2 MED-141006461 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006461 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69519d66-c87f-4b4d-b1f6-fdedffdd5b5a' LIMIT 1 Date : 2025-09-11T12:39:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-11T12:39:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005364 post PendingInvicesDO 2 MED-141006459 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006459 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006459' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006459' OR OrderId='MED-141006459' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-11T16:41:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005365 post PendingInvicesDO 2 MED-141006463 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006463 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e3b0077-b5ce-4e7c-8088-f3d297f2fbf7' LIMIT 1 Date : 2025-09-13T08:58:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T08:58:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005366 post PendingInvicesDO 2 MED-141006465 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006465 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='943796b8-aff4-46b0-b5ed-49f7e21b692d' LIMIT 1 Date : 2025-09-13T10:24:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T10:24:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005367 post PendingInvicesDO 2 MED-141006468 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006468 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f2f25aa-317f-4c69-9e18-92423e1f942b' LIMIT 1 Date : 2025-09-13T11:45:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T11:45:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005368 post PendingInvicesDO 2 MED-141006469 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006469 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='277f693f-14df-48a5-ad8c-ca21515d782b' LIMIT 1 Date : 2025-09-13T12:33:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T12:33:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005369 post PendingInvicesDO 2 MED-141006470 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006470 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e789c74-dade-468d-9950-ee911541a462' LIMIT 1 Date : 2025-09-13T13:24:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T13:24:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005371 post PendingInvicesDO 2 MED-141006472 post PendingInvicesDO 2 MED-141006471 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005370 post PendingInvicesDO 2 MED-141006472 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006471 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006472 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3352775a-ea18-404b-9770-95e187b1c882' LIMIT 1 Date : 2025-09-13T13:32:27  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6896eff0-3872-45d0-b5db-dbceebb8d5d2' LIMIT 1 Date : 2025-09-13T13:32:27  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3352775a-ea18-404b-9770-95e187b1c882' LIMIT 1 Date : 2025-09-13T13:32:27  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6896eff0-3872-45d0-b5db-dbceebb8d5d2' LIMIT 1 Date : 2025-09-13T13:32:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-13T13:32:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005372 post PendingInvicesDO 2 MED-141006473 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006473 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='432a3d39-44f9-4a06-8957-864b9cdb98fa' LIMIT 1 Date : 2025-09-13T14:37:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T14:37:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005373 post PendingInvicesDO 2 MED-141006474 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006474 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8a5c095-ee8b-4283-b80b-388745d5975b' LIMIT 1 Date : 2025-09-13T14:46:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T14:46:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005374 post PendingInvicesDO 2 MED-141006476 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006476 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d09ebe66-277f-4709-b077-96f72ab2e31e' LIMIT 1 Date : 2025-09-13T15:13:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T15:13:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005375 post PendingInvicesDO 2 MED-141006477 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006477 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8f957fd-c047-414e-8094-80c7ac08931d' LIMIT 1 Date : 2025-09-13T15:49:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-13T15:49:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005376 post PendingInvicesDO 2 MED-141006481 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006481 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7980aaa-4c4b-48bc-992a-7b740789840c' LIMIT 1 Date : 2025-09-14T11:04:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T11:04:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005377 post PendingInvicesDO 2 MED-141006482 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006482 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d6ef287-cb50-47c8-809f-99a2261ca76a' LIMIT 1 Date : 2025-09-14T11:27:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T11:27:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005378 post PendingInvicesDO 2 MED-141006483 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006483 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31b1a917-6285-4f36-8bd4-32c48cfa4b5e' LIMIT 1 Date : 2025-09-14T12:38:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T12:38:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005379 post PendingInvicesDO 2 MED-141006416 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006416 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006416' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006416' OR OrderId='MED-141006416' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-14T14:02:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005380 post PendingInvicesDO 2 MED-141006486 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006486 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='943bb092-f609-4c9b-b2c5-f07cd93422dc' LIMIT 1 Date : 2025-09-14T14:46:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T14:46:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005381 post PendingInvicesDO 2 MED-141006487 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006487 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d360201-fe07-4a4a-bf63-8eee3a3b793f' LIMIT 1 Date : 2025-09-14T15:22:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T15:22:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005382 post PendingInvicesDO 2 MED-141006488 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006488 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='507218e7-7553-437b-8e9c-6fb374475845' LIMIT 1 Date : 2025-09-14T15:25:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T15:25:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005383 post PendingInvicesDO 2 MED-141006489 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006489 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd236d9a-fad6-4e6e-96fc-68d9677167fc' LIMIT 1 Date : 2025-09-14T17:26:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-14T17:26:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005384 post PendingInvicesDO 2 MED-141006432 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006432 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006432' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006432' OR OrderId='MED-141006432' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-14T19:23:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005385 post PendingInvicesDO 2 MED-141006490 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006490 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b182bc95-5ef4-4bf7-b19b-8fb97b4cdf17' LIMIT 1 Date : 2025-09-15T07:58:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T07:58:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005386 post PendingInvicesDO 2 MED-141006492 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006492 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84dadcef-d018-4437-94cc-dea1c0aef429' LIMIT 1 Date : 2025-09-15T10:18:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T10:18:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005387 post PendingInvicesDO 2 MED-141006493 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006493 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77a9836f-1ce4-46b7-acb5-687e9505d85b' LIMIT 1 Date : 2025-09-15T10:38:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T10:38:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005388 post PendingInvicesDO 2 MED-141006494 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006494 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52d0769a-705f-48d9-817c-ca74f67762cd' LIMIT 1 Date : 2025-09-15T11:01:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T11:01:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005389 post PendingInvicesDO 2 MED-141006495 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006495 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4b2d492-1fe6-4198-9d55-525ebdbc791f' LIMIT 1 Date : 2025-09-15T11:09:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T11:09:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005390 post PendingInvicesDO 2 MED-141006496 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006496 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11c5451f-b42d-492d-91d8-848364e69c2b' LIMIT 1 Date : 2025-09-15T11:21:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T11:21:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005392 post PendingInvicesDO 2 MED-141006498 post PendingInvicesDO 2 MED-141006497 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005391 post PendingInvicesDO 2 MED-141006498 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006497 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006498 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e5eef95-9b61-415f-b3a0-492bd93e4ef3' LIMIT 1 Date : 2025-09-15T11:34:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ce89304-66f2-43ec-b205-bcf4b63adbb9' LIMIT 1 Date : 2025-09-15T11:34:28  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e5eef95-9b61-415f-b3a0-492bd93e4ef3' LIMIT 1 Date : 2025-09-15T11:34:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ce89304-66f2-43ec-b205-bcf4b63adbb9' LIMIT 1 Date : 2025-09-15T11:34:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-15T11:34:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005393 post PendingInvicesDO 2 MED-141006499 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006499 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab649bd9-43b7-4c1a-9915-c2a9abcde97f' LIMIT 1 Date : 2025-09-15T11:49:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T11:49:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005394 post PendingInvicesDO 2 MED-141006500 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006500 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9ac1389-c88e-4c3c-957a-24d87e80c87d' LIMIT 1 Date : 2025-09-15T12:11:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T12:11:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005395 post PendingInvicesDO 2 MED-141006501 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006501 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4fe3966-474e-47f8-8c98-c0d60b462f57' LIMIT 1 Date : 2025-09-15T12:26:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T12:26:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005396 post PendingInvicesDO 2 MED-141006502 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006502 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2678dace-4c88-46fd-95bf-d82a0294f478' LIMIT 1 Date : 2025-09-15T13:50:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T13:50:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005397 post PendingInvicesDO 2 MED-141006503 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006503 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57e8a09f-7484-4fb2-a9f8-8b66ef09527d' LIMIT 1 Date : 2025-09-15T14:39:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-15T14:39:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005398 post PendingInvicesDO 2 MED-141006431 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006431 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006431' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006431' OR OrderId='MED-141006431' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-16T07:49:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005399 post PendingInvicesDO 2 MED-141006509 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006509 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0db532df-2a00-495a-a723-9fe555d2e9a1' LIMIT 1 Date : 2025-09-16T11:39:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T11:39:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005400 post PendingInvicesDO 2 MED-141006510 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006510 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e19faad-36c5-4e0e-8be9-3222bc1385d6' LIMIT 1 Date : 2025-09-16T12:21:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T12:21:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005401 post PendingInvicesDO 2 MED-141006511 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006511 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b8f9df1-c16e-408c-9b7d-90f9415ae07c' LIMIT 1 Date : 2025-09-16T12:25:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T12:25:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005402 post PendingInvicesDO 2 MED-141006512 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006512 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='978582b6-5e5b-405c-bb71-05ac67421593' LIMIT 1 Date : 2025-09-16T12:36:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T12:36:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005404 post PendingInvicesDO 2 MED-141006514 post PendingInvicesDO 2 MED-141006513 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005403 post PendingInvicesDO 2 MED-141006514 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006513 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006514 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='880aac52-fe50-4a85-97e2-5be180b2f3bb' LIMIT 1 Date : 2025-09-16T12:53:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15fce19b-0175-43d4-a1ff-428bb42ecff2' LIMIT 1 Date : 2025-09-16T12:53:03  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='880aac52-fe50-4a85-97e2-5be180b2f3bb' LIMIT 1 Date : 2025-09-16T12:53:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15fce19b-0175-43d4-a1ff-428bb42ecff2' LIMIT 1 Date : 2025-09-16T12:53:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-16T12:53:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005405 post PendingInvicesDO 2 MED-141006515 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006515 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdfc90b3-4b27-4ce5-92e5-5f01d4aa02ff' LIMIT 1 Date : 2025-09-16T12:59:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T12:59:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005406 post PendingInvicesDO 2 MED-141006516 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006516 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='328f3fbd-f446-4449-93bb-bb133ed3fb45' LIMIT 1 Date : 2025-09-16T13:05:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T13:05:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005407 post PendingInvicesDO 2 MED-141006517 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006517 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6e1d87e-964e-43b3-8bf7-1fc8c1af79dd' LIMIT 1 Date : 2025-09-16T13:07:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T13:07:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005408 post PendingInvicesDO 2 MED-141006518 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006518 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5ab0ac1-372b-45e7-b6b6-7e860c70dd8e' LIMIT 1 Date : 2025-09-16T13:17:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T13:17:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005409 post PendingInvicesDO 2 MED-141006519 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006519 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea755260-3cc8-42fa-9d3e-6f19abd2e882' LIMIT 1 Date : 2025-09-16T13:28:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T13:28:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005410 post PendingInvicesDO 2 MED-141006520 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006520 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='660a824d-1dc2-4bc4-91d7-76d590c2de5e' LIMIT 1 Date : 2025-09-16T14:05:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T14:05:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005411 post PendingInvicesDO 2 MED-141006521 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006521 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12958787-0aae-4f63-9f01-95495b0ba250' LIMIT 1 Date : 2025-09-16T16:33:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T16:33:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005412 post PendingInvicesDO 2 MED-141006522 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006522 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b7b3c5b-c36a-48f5-8ab6-0ea96db8e21f' LIMIT 1 Date : 2025-09-16T17:09:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T17:09:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005413 post PendingInvicesDO 2 MED-141006523 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006523 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e52339ac-e5e9-464b-aba2-a500dae3494f' LIMIT 1 Date : 2025-09-16T17:24:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-16T17:24:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005414 post PendingInvicesDO 2 MED-141006348 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006348 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006348' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006348' OR OrderId='MED-141006348' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-16T18:14:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005415 post PendingInvicesDO 2 MED-141006444 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006444 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006444' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006444' OR OrderId='MED-141006444' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-16T18:15:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005416 post PendingInvicesDO 2 MED-141006524 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006524 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c5c7435-625a-4290-9ec1-c40cb5f4b0a9' LIMIT 1 Date : 2025-09-17T07:33:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T07:33:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005417 post PendingInvicesDO 2 MED-141006525 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006525 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3b52a3f-ce58-4216-9e44-5350f97ae28f' LIMIT 1 Date : 2025-09-17T07:55:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T07:55:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005418 post PendingInvicesDO 2 MED-141006451 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006451 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006451' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006451' OR OrderId='MED-141006451' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-17T12:30:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005419 post PendingInvicesDO 2 MED-141006451 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006451' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006451' OR OrderId='MED-141006451' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-17T12:30:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005420 post PendingInvicesDO 2 MED-141006187 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006187 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006187' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006187' OR OrderId='MED-141006187' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-17T13:10:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005421 post PendingInvicesDO 2 MED-141006187 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006187' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006187' OR OrderId='MED-141006187' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-17T13:12:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005422 post PendingInvicesDO 2 MED-141006531 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006531 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d8c1f84-6c22-4c86-b2ad-03c61cec66a0' LIMIT 1 Date : 2025-09-17T13:23:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T13:23:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005423 post PendingInvicesDO 2 MED-141006532 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006532 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f33ddcd-0e8d-4003-bfc9-0b695c46058c' LIMIT 1 Date : 2025-09-17T13:30:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-17T13:30:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005425 post PendingInvicesDO 2 MED-141006485 post PendingInvicesDO 2 MED-141006484 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005424 post PendingInvicesDO 2 MED-141006485 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006484 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006485 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006485' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006485' OR OrderId='MED-141006485' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006485' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006485' OR OrderId='MED-141006485' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-17T14:01:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005426 post PendingInvicesDO 2 MED-141006534 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006534 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006534' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006534' OR OrderId='MED-141006534' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-17T16:56:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005427 post PendingInvicesDO 2 MED-141006535 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006535 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006535' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006535' OR OrderId='MED-141006535' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-18T08:41:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005428 post PendingInvicesDO 2 MED-141006536 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006536 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08946858-4a64-42ae-9c6d-9cde4a0a7ad0' LIMIT 1 Date : 2025-09-18T09:19:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T09:19:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005429 post PendingInvicesDO 2 MED-141006537 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006537 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='472ec0de-e29f-45f6-9c76-6231bc569628' LIMIT 1 Date : 2025-09-18T09:40:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T09:40:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005430 post PendingInvicesDO 2 MED-141006538 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006538 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3bdfbdb6-5e72-4c62-8999-fbf67be863ca' LIMIT 1 Date : 2025-09-18T10:11:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T10:11:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005431 post PendingInvicesDO 2 MED-141006526 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006526 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006526' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006526' OR OrderId='MED-141006526' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-18T11:11:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005432 post PendingInvicesDO 2 MED-141006541 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006541 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47bb6a6c-c329-4e14-894f-0bcbe8942d09' LIMIT 1 Date : 2025-09-18T14:09:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T14:09:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005433 post PendingInvicesDO 2 MED-141006542 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006542 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e59dea99-e155-4e2e-8dc4-204a7e34460d' LIMIT 1 Date : 2025-09-18T14:31:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-18T14:31:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005434 post PendingInvicesDO 2 MED-141006543 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006543 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98eb8156-2822-4734-a317-5b89adddbeff' LIMIT 1 Date : 2025-09-19T14:56:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-19T14:56:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005435 post PendingInvicesDO 2 MED-141006544 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006544 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='215ce943-c12b-455e-a565-2c55d042eb65' LIMIT 1 Date : 2025-09-19T15:47:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-19T15:47:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005436 post PendingInvicesDO 2 MED-141006475 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006475 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006475' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006475' OR OrderId='MED-141006475' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-19T15:48:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005437 post PendingInvicesDO 2 MED-141006417 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006417 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006417' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006417' OR OrderId='MED-141006417' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-19T16:58:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005438 post PendingInvicesDO 2 MED-141006549 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006549 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00ec761e-7f7e-4777-80f1-20774032e92d' LIMIT 1 Date : 2025-09-20T11:17:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T11:17:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005439 post PendingInvicesDO 2 MED-141006550 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006550 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='880ff822-9677-4fab-aeb8-b6d0d1fce316' LIMIT 1 Date : 2025-09-20T11:44:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T11:44:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005440 post PendingInvicesDO 2 MED-141006551 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006551 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de8cefda-65b3-407f-ac9e-ceb2d3691a2a' LIMIT 1 Date : 2025-09-20T11:59:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T11:59:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005441 post PendingInvicesDO 2 MED-141006552 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006552 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='532b1a1b-e697-460b-ae34-9dd9fbad9c94' LIMIT 1 Date : 2025-09-20T12:17:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T12:17:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005442 post PendingInvicesDO 2 MED-141006553 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006553 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='415474b4-8a4b-489f-899f-d73005b66838' LIMIT 1 Date : 2025-09-20T13:03:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T13:03:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005443 post PendingInvicesDO 2 MED-141006554 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006554 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29b95d09-bdcf-41cf-b2a4-397c01462231' LIMIT 1 Date : 2025-09-20T13:32:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-20T13:32:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005444 post PendingInvicesDO 2 MED-141006530 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006530 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006530' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006530' OR OrderId='MED-141006530' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-20T16:38:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005445 post PendingInvicesDO 2 MED-141006533 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006533 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006533' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006533' OR OrderId='MED-141006533' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-20T16:38:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005446 post PendingInvicesDO 2 MED-141006375 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006375 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006375' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006375' OR OrderId='MED-141006375' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-21T07:40:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005447 post PendingInvicesDO 2 MED-141006558 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006558 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8968796e-0da7-4834-be5c-fda434481c0a' LIMIT 1 Date : 2025-09-21T09:49:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T09:49:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005448 post PendingInvicesDO 2 MED-141006559 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006559 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0cc42ac0-1022-49b4-a8bf-ffe6c3bc7917' LIMIT 1 Date : 2025-09-21T09:53:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T09:53:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005449 post PendingInvicesDO 2 MED-141006560 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006560 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bff86d2d-ca7d-4492-8ceb-ffc38b5da1ff' LIMIT 1 Date : 2025-09-21T10:13:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T10:13:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005450 post PendingInvicesDO 2 MED-141006562 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006562 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3d3ea86-3e13-4b29-b616-0950c36df264' LIMIT 1 Date : 2025-09-21T11:16:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T11:16:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005451 post PendingInvicesDO 2 MED-141006563 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006563 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='830350ba-bb3e-4d05-a69a-c50effe357f5' LIMIT 1 Date : 2025-09-21T11:32:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T11:32:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005452 post PendingInvicesDO 2 MED-141006565 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006565 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='962306c1-2181-41a0-a533-0a67d1ec4d8c' LIMIT 1 Date : 2025-09-21T13:24:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T13:24:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005453 post PendingInvicesDO 2 MED-141006566 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006566 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d9113fa-8c4d-4c73-97ee-1ad12504f939' LIMIT 1 Date : 2025-09-21T13:50:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T13:50:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005454 post PendingInvicesDO 2 MED-141006567 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006567 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='775eab08-52d1-4239-993c-141f1c93a92c' LIMIT 1 Date : 2025-09-21T13:57:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T13:57:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005456 post PendingInvicesDO 2 MED-141006568 post PendingInvicesDO 2 MED-141006569 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005455 post PendingInvicesDO 2 MED-141006568 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006568 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006568' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006568' OR OrderId='MED-141006568' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006568' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006568' OR OrderId='MED-141006568' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-21T15:14:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005457 post PendingInvicesDO 2 MED-141006571 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006571 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d6bfc5d-1f9a-4843-af1f-7114635a449a' LIMIT 1 Date : 2025-09-21T15:28:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T15:28:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005458 post PendingInvicesDO 2 MED-141006572 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006572 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a17727ff-ab11-4603-96a9-40d0afbfd9b2' LIMIT 1 Date : 2025-09-21T16:37:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T16:37:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005459 post PendingInvicesDO 2 MED-141006572 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006572 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a17727ff-ab11-4603-96a9-40d0afbfd9b2' LIMIT 1 Date : 2025-09-21T16:50:28 MED-141006572  performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-09-21T16:50:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005459 post PendingInvicesDO 2 MED-141006573 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006573 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a17727ff-ab11-4603-96a9-40d0afbfd9b2' LIMIT 1 Date : 2025-09-21T16:50:56 MED-141006572  performInsertPayment totalCNVal 0.0 duplicate happened  performInsertPayment duplicate 2025-09-21T16:50:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005459 post PendingInvicesDO 2 MED-141006573 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006573 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6cbbfd19-c1e4-4f4f-9628-a7f98b3104b9' LIMIT 1 Date : 2025-09-21T17:09:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-21T17:09:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005460 post PendingInvicesDO 2 MED-141006570 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006570 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006570' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006570' OR OrderId='MED-141006570' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-21T17:16:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005461 post PendingInvicesDO 2 MED-141006574 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006574 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb9e76f9-2402-4969-8727-0ca7fb083526' LIMIT 1 Date : 2025-09-22T07:32:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T07:32:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005462 post PendingInvicesDO 2 MED-141006577 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006577 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4874c4ee-3045-4684-b434-f442540ee620' LIMIT 1 Date : 2025-09-22T09:52:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T09:52:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005463 post PendingInvicesDO 2 MED-141006579 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006579 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a192c203-21a1-48d1-ac20-608ceafb4a21' LIMIT 1 Date : 2025-09-22T10:22:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T10:22:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005464 post PendingInvicesDO 2 MED-141006580 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006580 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39642b8c-b8c9-48a2-928d-c6c0e91417af' LIMIT 1 Date : 2025-09-22T10:46:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T10:46:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005465 post PendingInvicesDO 2 MED-141006581 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006581 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='895118af-777c-4eb8-8b6b-31f0df32799e' LIMIT 1 Date : 2025-09-22T11:00:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T11:00:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005466 post PendingInvicesDO 2 MED-141006582 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006582 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44adf5f1-6067-4bbd-911e-42fec955fb83' LIMIT 1 Date : 2025-09-22T11:06:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T11:06:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005467 post PendingInvicesDO 2 MED-141006583 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006583 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38c94c08-554c-4e07-bd07-4e5f39685f23' LIMIT 1 Date : 2025-09-22T11:07:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T11:07:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005468 post PendingInvicesDO 2 MED-141006584 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006584 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4591677c-e1b6-460a-95c4-fc14cce13898' LIMIT 1 Date : 2025-09-22T11:13:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T11:13:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005469 post PendingInvicesDO 2 MED-141006585 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006585 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81e23cf0-1a2b-44db-8ec7-dd5d5911bf09' LIMIT 1 Date : 2025-09-22T11:32:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T11:32:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005470 post PendingInvicesDO 2 MED-141006586 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006586 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1be8c6da-15c8-47bd-89d7-e6a1aba1fc3d' LIMIT 1 Date : 2025-09-22T11:51:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T11:51:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005472 post PendingInvicesDO 2 MED-141006588 post PendingInvicesDO 2 MED-141006587 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005471 post PendingInvicesDO 2 MED-141006588 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006587 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006588 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e923484e-5eb2-422a-a2a9-3c32997ebc5e' LIMIT 1 Date : 2025-09-22T12:05:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='318cb6b0-ef37-4635-a7e2-bc379a60b428' LIMIT 1 Date : 2025-09-22T12:05:45  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e923484e-5eb2-422a-a2a9-3c32997ebc5e' LIMIT 1 Date : 2025-09-22T12:05:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='318cb6b0-ef37-4635-a7e2-bc379a60b428' LIMIT 1 Date : 2025-09-22T12:05:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-22T12:05:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005473 post PendingInvicesDO 2 MED-141006589 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006589 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='efd3f83b-0a8d-4647-8148-aaf63e2add3d' LIMIT 1 Date : 2025-09-22T12:33:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T12:33:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005474 post PendingInvicesDO 2 MED-141006590 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006590 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07686f94-315f-4f80-b516-47e5b93eb8ca' LIMIT 1 Date : 2025-09-22T12:54:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T12:54:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005475 post PendingInvicesDO 2 MED-141006591 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006591 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f057781-12b0-485d-a3a1-cc4c9db862f6' LIMIT 1 Date : 2025-09-22T13:16:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T13:16:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005476 post PendingInvicesDO 2 MED-141006592 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006592 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50e5ddb7-51ae-4372-8361-1fe86ac6037e' LIMIT 1 Date : 2025-09-22T13:49:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T13:49:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005477 post PendingInvicesDO 2 MED-141006593 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006593 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7a600f9-26df-4e0d-b77a-7dd07c1cbf2a' LIMIT 1 Date : 2025-09-22T14:11:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T14:11:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005478 post PendingInvicesDO 2 MED-141006594 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006594 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='276663a5-8797-4cec-b5ca-c7ce9b897cb7' LIMIT 1 Date : 2025-09-22T15:35:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-22T15:35:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005479 post PendingInvicesDO 2 MED-141006504 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006504 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006504' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006504' OR OrderId='MED-141006504' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-23T08:02:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005481 post PendingInvicesDO 2 MED-141006599 post PendingInvicesDO 2 MED-141006598 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005480 post PendingInvicesDO 2 MED-141006599 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006598 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006599 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84b34eab-a837-49b6-98ee-528cea7b8624' LIMIT 1 Date : 2025-09-23T10:50:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8d13522-63de-4037-8837-0ec98430a7c7' LIMIT 1 Date : 2025-09-23T10:50:44  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84b34eab-a837-49b6-98ee-528cea7b8624' LIMIT 1 Date : 2025-09-23T10:50:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8d13522-63de-4037-8837-0ec98430a7c7' LIMIT 1 Date : 2025-09-23T10:50:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-23T10:50:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005482 post PendingInvicesDO 2 MED-141006600 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006600 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='233fe133-da01-47ad-a795-1ba89927f6ba' LIMIT 1 Date : 2025-09-23T11:05:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T11:05:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005483 post PendingInvicesDO 2 MED-141006601 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006601 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce03d362-f6b7-4939-afe8-55666c4782ca' LIMIT 1 Date : 2025-09-23T11:15:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T11:15:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005484 post PendingInvicesDO 2 MED-141006602 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006602 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc42a81d-d430-4e6d-989e-0f0a2048d01d' LIMIT 1 Date : 2025-09-23T11:22:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T11:22:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005485 post PendingInvicesDO 2 MED-141006603 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006603 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91a156f9-1b1b-44fa-8aa3-827be15b9d55' LIMIT 1 Date : 2025-09-23T11:30:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T11:30:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005486 post PendingInvicesDO 2 MED-141006604 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006604 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e53d97e0-37c2-45e4-b2a4-2753ad7d8c72' LIMIT 1 Date : 2025-09-23T11:32:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T11:32:13 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144005487 post PendingInvicesDO 2 MED-141006605 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006605 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2de9dade-94f1-4ddb-a880-1beddc4bfe94' LIMIT 1 Date : 2025-09-23T11:34:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T11:34:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005488 post PendingInvicesDO 2 MED-141006606 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006606 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1425814-78c7-4762-91d2-813df907607f' LIMIT 1 Date : 2025-09-23T11:40:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T11:40:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005489 post PendingInvicesDO 2 MED-141006607 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006607 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='effae4bc-a58f-4ab2-9f20-be9c51b1f8c9' LIMIT 1 Date : 2025-09-23T12:13:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T12:13:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005490 post PendingInvicesDO 2 MED-141006608 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006608 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa852af6-5ad9-488f-83bb-1c21fcf9aa84' LIMIT 1 Date : 2025-09-23T12:26:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T12:26:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005491 post PendingInvicesDO 2 MED-141006609 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006609 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc1e21a3-1cf6-4e92-9dae-408c32473eb5' LIMIT 1 Date : 2025-09-23T13:30:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T13:30:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005492 post PendingInvicesDO 2 MED-141006610 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006610 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9ce3c5b-cf10-4291-89f1-5accdb4ef37c' LIMIT 1 Date : 2025-09-23T14:12:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T14:12:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005493 post PendingInvicesDO 2 MED-141006611 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006611 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd0e5426-bd35-4d0c-b2c8-2cdf15fd670d' LIMIT 1 Date : 2025-09-23T16:01:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-23T16:01:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005494 post PendingInvicesDO 2 MED-141006576 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006576 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006576' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006576' OR OrderId='MED-141006576' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-23T16:31:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005495 post PendingInvicesDO 2 MED-141006578 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006578 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006578' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006578' OR OrderId='MED-141006578' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-23T16:32:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005496 post PendingInvicesDO 2 MED-141006612 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006612 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e354546b-fb1a-41e0-98a2-48a376cd8df8' LIMIT 1 Date : 2025-09-24T08:11:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T08:11:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005497 post PendingInvicesDO 2 MED-141006564 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006564 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006564' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006564' OR OrderId='MED-141006564' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-24T08:12:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005498 post PendingInvicesDO 2 MED-141006596 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006596 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006596' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006596' OR OrderId='MED-141006596' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-24T08:12:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005499 post PendingInvicesDO 2 MED-141006614 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006614 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0ccf88d-90ee-4b17-8b6f-34b9de1e2ca4' LIMIT 1 Date : 2025-09-24T09:52:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T09:52:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005500 post PendingInvicesDO 2 MED-141006615 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006615 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4cac3edd-cc69-458c-a0c0-a0a7ce1b281f' LIMIT 1 Date : 2025-09-24T09:53:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T09:53:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005501 post PendingInvicesDO 2 MED-141006616 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006616 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='379a8e09-90d8-42a8-9744-9464e28c7712' LIMIT 1 Date : 2025-09-24T10:01:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T10:01:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005502 post PendingInvicesDO 2 MED-141006617 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006617 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f50d42d9-1ceb-46c2-8e58-3c7db426607a' LIMIT 1 Date : 2025-09-24T10:42:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T10:42:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005503 post PendingInvicesDO 2 MED-141006619 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006619 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a80297cb-9474-4e56-bbfa-619753b27543' LIMIT 1 Date : 2025-09-24T11:38:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T11:38:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005504 post PendingInvicesDO 2 MED-141006620 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006620 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87307eec-071f-41a6-be34-fe6070c50fe1' LIMIT 1 Date : 2025-09-24T12:12:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T12:12:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005505 post PendingInvicesDO 2 MED-141006621 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006621 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='edf0b6be-1141-43f6-836d-69ea6e962c4f' LIMIT 1 Date : 2025-09-24T12:17:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T12:17:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005506 post PendingInvicesDO 2 MED-141006622 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006622 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d0e6de4-1116-466c-b8a2-9e2d83efdc71' LIMIT 1 Date : 2025-09-24T12:25:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T12:25:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005507 post PendingInvicesDO 2 MED-141006625 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006625 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f217444-7182-4bf0-88d1-e6c1c2db4636' LIMIT 1 Date : 2025-09-24T14:43:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T14:43:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005508 post PendingInvicesDO 2 MED-141006626 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006626 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79321e00-4e5c-4076-ae20-1e028e636e8b' LIMIT 1 Date : 2025-09-24T14:50:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T14:50:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005509 post PendingInvicesDO 2 MED-141006627 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006627 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e235aa94-2b6c-4eed-86ec-e947990f3a1c' LIMIT 1 Date : 2025-09-24T14:57:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T14:57:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005510 post PendingInvicesDO 2 MED-141006555 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006555 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006555' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006555' OR OrderId='MED-141006555' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-24T15:14:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005511 post PendingInvicesDO 2 MED-141006629 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006629 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed5788f7-5d7b-4478-95ad-fe4b25060d20' LIMIT 1 Date : 2025-09-24T15:30:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T15:30:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005512 post PendingInvicesDO 2 MED-141006630 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006630 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e12c92c1-b3b3-47ea-9f22-072daff59c42' LIMIT 1 Date : 2025-09-24T16:00:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T16:00:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005513 post PendingInvicesDO 2 MED-141006631 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006631 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b649cda-4668-42bf-bab0-afecb2c41bb0' LIMIT 1 Date : 2025-09-24T16:53:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-24T16:53:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005514 post PendingInvicesDO 2 MED-141006634 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006634 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11e97f6b-dfd5-44e8-bd94-329e901ffa06' LIMIT 1 Date : 2025-09-25T10:00:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T10:00:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005515 post PendingInvicesDO 2 MED-141006640 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006640 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='062f90e0-3a49-484d-afd8-090c4f021e78' LIMIT 1 Date : 2025-09-25T12:37:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T12:37:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005516 post PendingInvicesDO 2 MED-141006641 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006641 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fcb74abf-646f-41ae-8255-9e6894cf972a' LIMIT 1 Date : 2025-09-25T13:17:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T13:17:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005517 post PendingInvicesDO 2 MED-141006642 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006642 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='063bf4c9-7722-4695-9663-67630a9d5b52' LIMIT 1 Date : 2025-09-25T14:26:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T14:26:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005518 post PendingInvicesDO 2 MED-141006644 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006644 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9eee5ac-1007-49b7-a5aa-6d002e46db43' LIMIT 1 Date : 2025-09-25T16:24:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-25T16:24:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005519 post PendingInvicesDO 2 MED-141006645 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006645 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='240928ed-dd5c-44d2-b222-2100a55b701e' LIMIT 1 Date : 2025-09-27T07:51:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T07:51:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005520 post PendingInvicesDO 2 MED-141006633 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006633 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006633' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006633' OR OrderId='MED-141006633' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-27T08:29:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005521 post PendingInvicesDO 2 MED-141006648 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006648 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38f97f9a-13e2-4ff0-b615-34f6e3e48e20' LIMIT 1 Date : 2025-09-27T10:20:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T10:20:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005522 post PendingInvicesDO 2 MED-141006649 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006649 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1259b2c6-00fd-4182-9c06-4e3f52a9976f' LIMIT 1 Date : 2025-09-27T10:28:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T10:28:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005523 post PendingInvicesDO 2 MED-141006650 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006650 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91a6997d-a6d9-4dcc-ba63-af75a39bc6fe' LIMIT 1 Date : 2025-09-27T10:34:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T10:34:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005524 post PendingInvicesDO 2 MED-141006652 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006652 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ce927c4-0b57-470b-9f94-7ab3ad0a9b42' LIMIT 1 Date : 2025-09-27T12:06:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T12:06:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005525 post PendingInvicesDO 2 MED-141006653 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006653 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5bcaf874-6250-4c6b-914e-6382dc790838' LIMIT 1 Date : 2025-09-27T12:39:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T12:39:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005526 post PendingInvicesDO 2 MED-141006654 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006654 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8118660d-2299-4241-86fa-d33f3cb08727' LIMIT 1 Date : 2025-09-27T13:37:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T13:37:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005527 post PendingInvicesDO 2 MED-141006655 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006655 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59866442-f92b-43c2-a1d9-5f603d619532' LIMIT 1 Date : 2025-09-27T14:11:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T14:11:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005528 post PendingInvicesDO 2 MED-141006656 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006656 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6f52f94-c6ba-4dd8-89c2-a6b802e98c7c' LIMIT 1 Date : 2025-09-27T14:21:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T14:21:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005529 post PendingInvicesDO 2 MED-141006657 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006657 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38ff910d-8360-44b4-a627-8e1e67566576' LIMIT 1 Date : 2025-09-27T14:45:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T14:45:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005530 post PendingInvicesDO 2 MED-141006658 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006658 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72774c7a-f1bf-47e7-84f8-0824178e06ee' LIMIT 1 Date : 2025-09-27T15:07:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T15:07:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005531 post PendingInvicesDO 2 MED-141006659 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006659 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e1377b1-6ded-450d-9afa-80fe5ed8e144' LIMIT 1 Date : 2025-09-27T15:17:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T15:17:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005532 post PendingInvicesDO 2 MED-141006660 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006660 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac4475f5-0908-40e0-8ebf-bd8f1c51b92c' LIMIT 1 Date : 2025-09-27T15:29:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T15:29:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005533 post PendingInvicesDO 2 MED-141006661 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006661 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dad5090a-29d1-402a-a20b-d231be4393e5' LIMIT 1 Date : 2025-09-27T15:58:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-27T15:58:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005534 post PendingInvicesDO 2 MED-141006664 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006664 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='054b9bda-383c-425d-9af3-edd87a042c75' LIMIT 1 Date : 2025-09-28T11:10:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T11:10:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005535 post PendingInvicesDO 2 MED-141006665 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006665 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='973cb2b2-51ce-4f3b-ba4d-93cc46815c45' LIMIT 1 Date : 2025-09-28T11:20:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T11:20:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005536 post PendingInvicesDO 2 MED-141006666 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006666 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a94b8393-f7e1-481b-b762-1c519b4d6090' LIMIT 1 Date : 2025-09-28T11:25:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T11:25:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005537 post PendingInvicesDO 2 MED-141006667 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006667 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c65fdd80-b054-494b-b3db-37e6b26692da' LIMIT 1 Date : 2025-09-28T12:01:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T12:01:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005538 post PendingInvicesDO 2 MED-141006668 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006668 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bbc86173-0f80-443c-b609-d8e89dacaefe' LIMIT 1 Date : 2025-09-28T13:26:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T13:26:18 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144005539 post PendingInvicesDO 2 MED-141006669 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006669 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b96f4dd5-d8d3-49d5-aa15-dfd04949f3a8' LIMIT 1 Date : 2025-09-28T13:49:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T13:49:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005540 post PendingInvicesDO 2 MED-141006670 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006670 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba9ad7d2-6da7-48ab-b2f2-0d956f2b9478' LIMIT 1 Date : 2025-09-28T13:58:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T13:58:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005541 post PendingInvicesDO 2 MED-141006672 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006672 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16feb264-11a7-49bb-89f8-ee53d1557008' LIMIT 1 Date : 2025-09-28T15:52:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T15:52:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005542 post PendingInvicesDO 2 MED-141006673 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006673 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8749e8af-b8d2-464b-9547-f0dae7bda897' LIMIT 1 Date : 2025-09-28T16:30:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-28T16:30:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005543 post PendingInvicesDO 2 MED-141006674 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006674 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a0b1136-0f06-4323-858f-9481f4fde691' LIMIT 1 Date : 2025-09-29T07:34:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T07:34:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005544 post PendingInvicesDO 2 MED-141006676 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006676 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7152f2a-62e7-42a1-a081-9845202a9430' LIMIT 1 Date : 2025-09-29T09:18:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T09:18:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005545 post PendingInvicesDO 2 MED-141006677 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006677 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57ba698d-77b5-47c8-8df7-3d5ef86223f9' LIMIT 1 Date : 2025-09-29T09:25:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T09:25:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005546 post PendingInvicesDO 2 MED-141006678 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006678 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67c45d2f-77b4-4609-8de3-b146faa33799' LIMIT 1 Date : 2025-09-29T09:28:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T09:28:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005547 post PendingInvicesDO 2 MED-141006679 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006679 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='910a4e8e-8745-4fe4-8edf-231cf1d6d711' LIMIT 1 Date : 2025-09-29T09:53:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T09:53:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005548 post PendingInvicesDO 2 MED-141006680 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006680 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d09e98a4-c25b-4f26-b230-2a5b5786eb83' LIMIT 1 Date : 2025-09-29T10:17:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T10:17:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005549 post PendingInvicesDO 2 MED-141006681 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006681 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a10011e-d815-47a5-807b-ae991989d258' LIMIT 1 Date : 2025-09-29T10:53:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T10:53:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005550 post PendingInvicesDO 2 MED-141006683 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006683 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81350028-3056-447f-9af2-52b793a294e9' LIMIT 1 Date : 2025-09-29T11:58:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T11:58:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005551 post PendingInvicesDO 2 MED-141006684 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006684 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3352f697-85a0-41e8-bb15-f4262d6817d6' LIMIT 1 Date : 2025-09-29T12:24:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T12:24:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005552 post PendingInvicesDO 2 MED-141006685 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006685 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af8bff94-261c-467c-b00a-a10cb07124dc' LIMIT 1 Date : 2025-09-29T12:55:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T12:55:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005553 post PendingInvicesDO 2 MED-141006686 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006686 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf0dc23c-bf11-4b75-9b30-361b29073351' LIMIT 1 Date : 2025-09-29T14:31:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T14:31:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005554 post PendingInvicesDO 2 MED-141006624 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006624 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006624' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006624' OR OrderId='MED-141006624' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-29T15:33:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005555 post PendingInvicesDO 2 MED-141006687 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006687 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5c6f00ee-7430-450f-86a6-f92ca1d58f70' LIMIT 1 Date : 2025-09-29T16:50:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-29T16:50:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005556 post PendingInvicesDO 2 MED-141006545 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006545 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006545' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006545' OR OrderId='MED-141006545' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T06:54:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005557 post PendingInvicesDO 2 MED-141006595 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006595 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006595' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006595' OR OrderId='MED-141006595' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T08:10:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005558 post PendingInvicesDO 2 MED-141006688 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006688 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc207f18-6b96-431f-8596-b1f31e35442c' LIMIT 1 Date : 2025-09-30T08:12:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T08:12:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005559 post PendingInvicesDO 2 MED-141006689 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006689 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e493071-ab3a-4a28-8597-e9dce784a75e' LIMIT 1 Date : 2025-09-30T08:25:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T08:25:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005560 post PendingInvicesDO 2 MED-141006695 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006695 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63c5fdbd-822b-4568-bbfa-5e1c13204794' LIMIT 1 Date : 2025-09-30T11:33:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T11:33:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005561 post PendingInvicesDO 2 MED-141006696 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006696 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0452ce74-2056-46fd-8f6c-e7a059aff4a4' LIMIT 1 Date : 2025-09-30T11:55:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T11:55:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005562 post PendingInvicesDO 2 MED-141006697 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006697 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b02279d2-9001-4f19-a5f5-9a6b0fb26e14' LIMIT 1 Date : 2025-09-30T12:06:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T12:06:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005563 post PendingInvicesDO 2 MED-141006698 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006698 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab0722f4-ad13-4f28-bb38-d368f1773f07' LIMIT 1 Date : 2025-09-30T12:14:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T12:14:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005564 post PendingInvicesDO 2 MED-141006699 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006699 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1fc2825-5c69-49ae-9881-73bc1c6bb2ed' LIMIT 1 Date : 2025-09-30T12:16:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T12:16:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005565 post PendingInvicesDO 2 MED-141006700 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006700 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c59c6cb-3415-4360-b896-80285a168d38' LIMIT 1 Date : 2025-09-30T12:17:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T12:17:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005566 post PendingInvicesDO 2 MED-141006701 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006701 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88671139-cf2d-46f2-806f-8940d0ae4bb6' LIMIT 1 Date : 2025-09-30T12:36:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T12:36:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005567 post PendingInvicesDO 2 MED-141006702 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006702 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e259ff72-b484-42ee-8cf2-c59f54fb55c2' LIMIT 1 Date : 2025-09-30T12:49:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T12:49:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005568 post PendingInvicesDO 2 MED-141006703 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006703 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28d99962-7dcf-4494-ad98-9c23f9b6924b' LIMIT 1 Date : 2025-09-30T13:08:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T13:08:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005569 post PendingInvicesDO 2 MED-141006623 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006623 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006623' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006623' OR OrderId='MED-141006623' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T13:48:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005570 post PendingInvicesDO 2 MED-141006704 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006704 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef6881ff-76fb-4e62-a30e-88316a29f941' LIMIT 1 Date : 2025-09-30T14:17:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T14:17:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005571 post PendingInvicesDO 2 MED-141006705 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006705 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='459c3274-3267-4fe7-9e8b-04567973d28c' LIMIT 1 Date : 2025-09-30T14:33:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T14:33:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005572 post PendingInvicesDO 2 MED-141006706 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006706 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='693cb7d2-85d4-4c80-8520-9ce113eddf70' LIMIT 1 Date : 2025-09-30T14:53:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T14:53:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005574 post PendingInvicesDO 2 MED-141006708 post PendingInvicesDO 2 MED-141006707 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005573 post PendingInvicesDO 2 MED-141006708 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006707 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006708 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc212aa1-c051-434b-bb68-ffe9d9215c04' LIMIT 1 Date : 2025-09-30T15:44:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5405ff1-afa8-482f-8321-e773f6ca2f28' LIMIT 1 Date : 2025-09-30T15:44:55  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc212aa1-c051-434b-bb68-ffe9d9215c04' LIMIT 1 Date : 2025-09-30T15:44:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5405ff1-afa8-482f-8321-e773f6ca2f28' LIMIT 1 Date : 2025-09-30T15:44:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-09-30T15:44:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005575 post PendingInvicesDO 2 MED-141006709 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006709 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e051d9c-f515-4a21-8922-4e18b283d3c4' LIMIT 1 Date : 2025-09-30T15:46:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T15:46:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005576 post PendingInvicesDO 2 MED-141006710 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006710 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4ec1b96-f208-49fb-b531-d2fc190813f3' LIMIT 1 Date : 2025-09-30T15:57:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-09-30T15:57:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005577 post PendingInvicesDO 2 MED-141006628 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006628 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006628' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006628' OR OrderId='MED-141006628' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-09-30T16:27:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005578 post PendingInvicesDO 2 MED-141006715 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006715 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06b36b33-d719-44df-a3ce-ffe4e3ced6b6' LIMIT 1 Date : 2025-10-01T12:32:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T12:32:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005579 post PendingInvicesDO 2 MED-141006716 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006716 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5df2742-5045-4846-8372-32dfe079d2f8' LIMIT 1 Date : 2025-10-01T12:47:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T12:47:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005580 post PendingInvicesDO 2 MED-141006719 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006719 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6e44e7d-0469-40ac-acce-f322a902c410' LIMIT 1 Date : 2025-10-01T15:27:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T15:27:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005581 post PendingInvicesDO 2 MED-141006720 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006720 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2a68b59-2097-43e1-ab00-f1e26511eb21' LIMIT 1 Date : 2025-10-01T15:47:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T15:47:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005582 post PendingInvicesDO 2 MED-141006721 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006721 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b313aa0c-d170-4c2a-9bb8-2a6c96c6433b' LIMIT 1 Date : 2025-10-01T17:41:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-01T17:41:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005583 post PendingInvicesDO 2 MED-141006717 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006717 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006717' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006717' OR OrderId='MED-141006717' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-01T18:23:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005585 post PendingInvicesDO 2 MED-141006725 post PendingInvicesDO 2 MED-141006724 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005584 post PendingInvicesDO 2 MED-141006725 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006724 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006725 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='293b86e9-6531-471b-9ba7-76e926aa8b30' LIMIT 1 Date : 2025-10-02T08:38:26  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d161e4c-9897-4d9c-a49d-1a0db3dca411' LIMIT 1 Date : 2025-10-02T08:38:26  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='293b86e9-6531-471b-9ba7-76e926aa8b30' LIMIT 1 Date : 2025-10-02T08:38:26  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d161e4c-9897-4d9c-a49d-1a0db3dca411' LIMIT 1 Date : 2025-10-02T08:38:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-02T08:38:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005586 post PendingInvicesDO 2 MED-141006729 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006729 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6691b801-59e9-407a-a13a-375f4fb21bbb' LIMIT 1 Date : 2025-10-02T12:26:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T12:26:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005587 post PendingInvicesDO 2 MED-141006730 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006730 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3650ece7-9c1f-4da1-9a23-3bd4b9a62871' LIMIT 1 Date : 2025-10-02T12:49:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T12:49:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005588 post PendingInvicesDO 2 MED-141006731 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006731 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='125d8375-5f4a-48d6-b377-59bb6afae9c3' LIMIT 1 Date : 2025-10-02T13:14:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T13:14:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005589 post PendingInvicesDO 2 MED-141006732 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006732 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae376579-e428-460b-9355-27293abcab90' LIMIT 1 Date : 2025-10-02T13:36:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T13:36:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005590 post PendingInvicesDO 2 MED-141006733 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006733 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03d9201d-4d19-4699-a01c-e6583dbfecb7' LIMIT 1 Date : 2025-10-02T14:35:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T14:35:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005591 post PendingInvicesDO 2 MED-141006734 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006734 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3dd80a5-20a5-4b26-92c3-62194f34a4aa' LIMIT 1 Date : 2025-10-02T14:44:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T14:44:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005592 post PendingInvicesDO 2 MED-141006735 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006735 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c3bb55a-0471-4e93-b191-e590347b25bf' LIMIT 1 Date : 2025-10-02T14:45:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T14:45:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005593 post PendingInvicesDO 2 MED-141006736 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006736 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df95f3fb-cd65-4b37-97a6-ab9eab828b7a' LIMIT 1 Date : 2025-10-02T16:24:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T16:24:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005594 post PendingInvicesDO 2 MED-141006737 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006737 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17d44fa9-1aea-4f34-8ea6-c3d6e75d822b' LIMIT 1 Date : 2025-10-02T16:26:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T16:26:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005595 post PendingInvicesDO 2 MED-141006738 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006738 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='714c9aeb-fe75-44a0-b197-31fee6493eca' LIMIT 1 Date : 2025-10-02T16:31:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-02T16:31:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005596 post PendingInvicesDO 2 MED-141006728 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006728 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006728' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006728' OR OrderId='MED-141006728' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-04T07:56:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005597 post PendingInvicesDO 2 MED-141006741 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006741 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ddfaf1a7-8d3f-47c0-aac4-06c3cf93064e' LIMIT 1 Date : 2025-10-04T09:28:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T09:28:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005599 post PendingInvicesDO 2 MED-141006743 post PendingInvicesDO 2 MED-141006742 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005598 post PendingInvicesDO 2 MED-141006743 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006742 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006743 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86a5c6ee-10a2-4111-91e8-67ae505a9ac4' LIMIT 1 Date : 2025-10-04T09:35:50  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f20d8e0-b8a6-4a66-bb7c-1ee68aa0c2a7' LIMIT 1 Date : 2025-10-04T09:35:50  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86a5c6ee-10a2-4111-91e8-67ae505a9ac4' LIMIT 1 Date : 2025-10-04T09:35:50  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f20d8e0-b8a6-4a66-bb7c-1ee68aa0c2a7' LIMIT 1 Date : 2025-10-04T09:35:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-04T09:35:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005600 post PendingInvicesDO 2 MED-141006746 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006746 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b45e88b-9880-4c05-a133-336bbf1a2a4b' LIMIT 1 Date : 2025-10-04T11:38:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T11:38:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005601 post PendingInvicesDO 2 MED-141006747 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006747 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf497927-86f2-4ef9-88bf-9ac18047d702' LIMIT 1 Date : 2025-10-04T12:01:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T12:01:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005602 post PendingInvicesDO 2 MED-141006748 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006748 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34078160-0dfd-4f40-b041-cccbd5056d29' LIMIT 1 Date : 2025-10-04T12:29:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T12:29:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005603 post PendingInvicesDO 2 MED-141006749 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006749 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc9cc0ae-0ba1-4dca-b925-c2aef630acea' LIMIT 1 Date : 2025-10-04T13:24:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T13:24:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005604 post PendingInvicesDO 2 MED-141006750 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006750 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='40a02077-eee6-42ab-9b16-51b6169ed01c' LIMIT 1 Date : 2025-10-04T14:19:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T14:19:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005605 post PendingInvicesDO 2 MED-141006751 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006751 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c10e4754-2fee-4708-bb67-7b7832df8935' LIMIT 1 Date : 2025-10-04T14:32:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T14:32:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005606 post PendingInvicesDO 2 MED-141006752 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006752 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5781b2e7-385a-49ce-b257-4de3fe0ed1ba' LIMIT 1 Date : 2025-10-04T14:43:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T14:43:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005607 post PendingInvicesDO 2 MED-141006753 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006753 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e71f146-0914-4628-8027-adb89516b656' LIMIT 1 Date : 2025-10-04T16:21:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T16:21:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005608 post PendingInvicesDO 2 MED-141006754 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006754 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2261f586-c7bf-436f-8d2a-8cd0e4b8e561' LIMIT 1 Date : 2025-10-04T16:23:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-04T16:23:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005609 post PendingInvicesDO 2 MED-141006755 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006755 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0047db80-2350-4d83-b972-08ca30f46cb5' LIMIT 1 Date : 2025-10-05T07:54:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T07:54:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005610 post PendingInvicesDO 2 MED-141006757 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006757 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bcabf6fa-cae5-4521-bfd0-36a3c4caff90' LIMIT 1 Date : 2025-10-05T09:41:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T09:41:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005611 post PendingInvicesDO 2 MED-141006760 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006760 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a70b971-896a-401b-bdde-9e95a2d5ffb3' LIMIT 1 Date : 2025-10-05T12:07:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T12:07:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005612 post PendingInvicesDO 2 MED-141006761 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006761 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0807f49d-4ade-458a-bb7d-cb36093d1e8f' LIMIT 1 Date : 2025-10-05T13:04:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T13:04:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005613 post PendingInvicesDO 2 MED-141006762 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006762 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad14b777-bf57-4697-8b20-797c96d7f27f' LIMIT 1 Date : 2025-10-05T14:23:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T14:23:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005614 post PendingInvicesDO 2 MED-141006763 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006763 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56d931dd-1689-487f-b780-eded1ddfffb9' LIMIT 1 Date : 2025-10-05T14:58:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T14:58:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005615 post PendingInvicesDO 2 MED-141006764 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006764 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08518c64-a9b1-40d8-b51a-d4151de19cd4' LIMIT 1 Date : 2025-10-05T15:15:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T15:15:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005616 post PendingInvicesDO 2 MED-141006671 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006671 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006671' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006671' OR OrderId='MED-141006671' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-05T15:22:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005617 post PendingInvicesDO 2 MED-141006766 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006766 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2865ace-1b91-45b7-917e-87bcff499450' LIMIT 1 Date : 2025-10-05T16:31:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T16:31:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005618 post PendingInvicesDO 2 MED-141006767 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006767 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6f7484e-cbad-4d55-b2e7-399048806c63' LIMIT 1 Date : 2025-10-05T16:35:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T16:35:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005619 post PendingInvicesDO 2 MED-141006768 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006768 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56b50360-a955-4e01-9d41-f72c48216b78' LIMIT 1 Date : 2025-10-05T16:52:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T16:52:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005620 post PendingInvicesDO 2 MED-141006769 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006769 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='298e06c8-5f9a-44ed-9759-6caca201792d' LIMIT 1 Date : 2025-10-05T17:48:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T17:48:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005621 post PendingInvicesDO 2 MED-141006770 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006770 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd520bb2-beda-49b1-9cbb-79799e1ef38f' LIMIT 1 Date : 2025-10-05T18:04:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T18:04:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005622 post PendingInvicesDO 2 MED-141006771 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006771 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f93d2ae-86df-483c-b10d-e468e604c5bd' LIMIT 1 Date : 2025-10-05T18:30:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-05T18:30:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005623 post PendingInvicesDO 2 MED-141006772 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006772 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='56ce86df-6d6e-475b-9b5a-05e08a511bc9' LIMIT 1 Date : 2025-10-06T08:13:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T08:13:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005624 post PendingInvicesDO 2 MED-141006773 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006773 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1448aa2-457e-4fd7-b52f-665fb4a66492' LIMIT 1 Date : 2025-10-06T09:07:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T09:07:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005625 post PendingInvicesDO 2 MED-141006774 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006774 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd47e020-28c3-41a9-87ee-83a0dd5dcd58' LIMIT 1 Date : 2025-10-06T09:17:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T09:17:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005626 post PendingInvicesDO 2 MED-141006775 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006775 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07ba8cc2-dc36-449c-9faa-1ee54db4c5ef' LIMIT 1 Date : 2025-10-06T09:20:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T09:20:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005627 post PendingInvicesDO 2 MED-141006777 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006777 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce939b4e-7c09-4565-a365-0941ff897ec0' LIMIT 1 Date : 2025-10-06T11:12:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T11:12:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005628 post PendingInvicesDO 2 MED-141006780 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006780 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ff894826-1f7d-4a89-a29e-822aa689b55f' LIMIT 1 Date : 2025-10-06T14:04:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T14:04:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005629 post PendingInvicesDO 2 MED-141006781 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006781 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2931b292-4bb1-41e1-a94f-62c53bfe0ea3' LIMIT 1 Date : 2025-10-06T14:25:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T14:25:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005630 post PendingInvicesDO 2 MED-141006782 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006782 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b5a1458-9827-4bec-871b-2836585f1496' LIMIT 1 Date : 2025-10-06T14:34:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T14:34:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005631 post PendingInvicesDO 2 MED-141006783 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006783 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='004b53a8-738f-4a3a-9bd7-768700a167bf' LIMIT 1 Date : 2025-10-06T14:45:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-06T14:45:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005632 post PendingInvicesDO 2 MED-141006784 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006784 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c39d2c5b-0448-4aa1-b229-763daba9a844' LIMIT 1 Date : 2025-10-07T08:22:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T08:22:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005633 post PendingInvicesDO 2 MED-141006786 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006786 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006786' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006786' OR OrderId='MED-141006786' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-07T09:31:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005634 post PendingInvicesDO 2 MED-141006787 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006787 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6bc1e9d-e721-434a-9e0d-735bc2513ea0' LIMIT 1 Date : 2025-10-07T09:46:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T09:46:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005635 post PendingInvicesDO 2 MED-141006791 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006791 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6997961-1ad8-4a7e-b562-073109c03422' LIMIT 1 Date : 2025-10-07T13:49:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T13:49:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005636 post PendingInvicesDO 2 MED-141006792 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006792 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd6ece97-9b16-4b0d-b956-21ac81db79cc' LIMIT 1 Date : 2025-10-07T14:03:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T14:03:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005637 post PendingInvicesDO 2 MED-141006793 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006793 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f22976a-eb22-40f8-9a8f-e8a14b99d206' LIMIT 1 Date : 2025-10-07T14:10:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T14:10:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005638 post PendingInvicesDO 2 MED-141006794 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006794 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec7fe68f-c4b8-499a-94e5-559668b8e20f' LIMIT 1 Date : 2025-10-07T14:25:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T14:25:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005639 post PendingInvicesDO 2 MED-141006795 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006795 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93a8b1d7-9710-47eb-a4de-0cf360a73c6e' LIMIT 1 Date : 2025-10-07T14:32:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T14:32:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005640 post PendingInvicesDO 2 MED-141006796 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006796 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce8bdec8-1a2a-4839-8510-dec79c515c47' LIMIT 1 Date : 2025-10-07T14:34:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T14:34:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005641 post PendingInvicesDO 2 MED-141006797 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006797 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b98a02ed-570e-4f11-8045-e423fa5497fc' LIMIT 1 Date : 2025-10-07T15:25:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-07T15:25:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005642 post PendingInvicesDO 2 MED-141006714 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006714 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006714' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006714' OR OrderId='MED-141006714' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-07T16:23:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005643 post PendingInvicesDO 2 MED-141006804 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006804 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3bee5d7f-ba02-4321-8911-bd1ca4f26b89' LIMIT 1 Date : 2025-10-08T11:31:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T11:31:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005644 post PendingInvicesDO 2 MED-141006805 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006805 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='312b73f7-c776-44f1-be7e-794b7f49567c' LIMIT 1 Date : 2025-10-08T11:56:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T11:56:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005645 post PendingInvicesDO 2 MED-141006806 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006806 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db047cc7-d31e-4544-8592-ff1a4bc645c9' LIMIT 1 Date : 2025-10-08T12:06:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T12:06:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005646 post PendingInvicesDO 2 MED-141006809 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006809 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='174c3991-e6b1-4b5d-90a8-1d62404a35a0' LIMIT 1 Date : 2025-10-08T13:46:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-08T13:46:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005647 post PendingInvicesDO 2 MED-141006765 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006765 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006765' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006765' OR OrderId='MED-141006765' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-08T14:47:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005649 post PendingInvicesDO 2 MED-141006808 post PendingInvicesDO 2 MED-141006807 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005648 post PendingInvicesDO 2 MED-141006808 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006807 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006808 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006808' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006808' OR OrderId='MED-141006808' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006808' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006808' OR OrderId='MED-141006808' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-08T15:32:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005650 post PendingInvicesDO 2 MED-141006810 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006810 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006810' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006810' OR OrderId='MED-141006810' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-08T16:08:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005651 post PendingInvicesDO 2 MED-141006811 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006811 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006811' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006811' OR OrderId='MED-141006811' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-08T17:03:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005652 post PendingInvicesDO 2 MED-141006812 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006812 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006812' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006812' OR OrderId='MED-141006812' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-09T07:51:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005653 post PendingInvicesDO 2 MED-141006816 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006816 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a29f874-c43d-4c98-8fc7-011fad1248d8' LIMIT 1 Date : 2025-10-09T11:08:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T11:08:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005654 post PendingInvicesDO 2 MED-141006817 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006817 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='371b604c-05c7-4ed3-9bd9-aca1fbb8a480' LIMIT 1 Date : 2025-10-09T11:26:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T11:26:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005655 post PendingInvicesDO 2 MED-141006818 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006818 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34b371d6-1d91-49e7-80d8-a74290c81e98' LIMIT 1 Date : 2025-10-09T11:46:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T11:46:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005656 post PendingInvicesDO 2 MED-141006820 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006820 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a5cfbe8c-7254-416f-a641-09c4cee787f5' LIMIT 1 Date : 2025-10-09T12:27:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T12:27:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005657 post PendingInvicesDO 2 MED-141006821 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006821 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78920d40-d379-4512-a387-9ace248ce97b' LIMIT 1 Date : 2025-10-09T12:48:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T12:48:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005658 post PendingInvicesDO 2 MED-141006822 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006822 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91081441-9e04-4911-8c5d-a56a3e2c3f7a' LIMIT 1 Date : 2025-10-09T13:09:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T13:09:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005659 post PendingInvicesDO 2 MED-141006824 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006824 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1e026c1-1fce-4021-9f7d-845168717bac' LIMIT 1 Date : 2025-10-09T15:30:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-09T15:30:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005660 post PendingInvicesDO 2 MED-141006829 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006829 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5c77941-a56d-427c-8040-07163f2b4bfa' LIMIT 1 Date : 2025-10-12T11:59:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T11:59:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005661 post PendingInvicesDO 2 MED-141006830 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006830 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb2f961f-d161-4dbc-8d1b-244e9659a2de' LIMIT 1 Date : 2025-10-12T12:25:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T12:25:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005662 post PendingInvicesDO 2 MED-141006831 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006831 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf4caf81-3901-45e1-8977-664837ac1630' LIMIT 1 Date : 2025-10-12T12:44:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T12:44:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005663 post PendingInvicesDO 2 MED-141006832 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006832 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a780986f-8fb2-42c8-a1ad-fcaeda0539ad' LIMIT 1 Date : 2025-10-12T13:43:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T13:43:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005664 post PendingInvicesDO 2 MED-141006833 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006833 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fbd100a0-f838-4200-bdc8-49c2494192dd' LIMIT 1 Date : 2025-10-12T14:11:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T14:11:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005665 post PendingInvicesDO 2 MED-141006835 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006835 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17e7f08a-ad86-43ae-a01d-98618a21aacf' LIMIT 1 Date : 2025-10-12T17:02:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T17:02:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005666 post PendingInvicesDO 2 MED-141006823 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006823 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006823' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006823' OR OrderId='MED-141006823' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-12T17:08:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005667 post PendingInvicesDO 2 MED-141006727 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006727 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006727' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006727' OR OrderId='MED-141006727' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-12T17:08:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005668 post PendingInvicesDO 2 MED-141006836 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006836 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f0800c2-b696-44c4-bc19-3d7586de0be5' LIMIT 1 Date : 2025-10-12T17:26:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-12T17:26:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005669 post PendingInvicesDO 2 MED-141006838 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006838 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e88e3d16-354f-4153-9ddb-4baeab81fed8' LIMIT 1 Date : 2025-10-13T09:22:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T09:22:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005670 post PendingInvicesDO 2 MED-141006841 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006841 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2f54204-4559-4eb0-a592-5b192a0bee65' LIMIT 1 Date : 2025-10-13T10:48:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T10:48:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005671 post PendingInvicesDO 2 MED-141006842 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006842 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='afb3259c-357b-4a8e-b5f6-fddc9a0b5cac' LIMIT 1 Date : 2025-10-13T10:55:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T10:55:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005672 post PendingInvicesDO 2 MED-141006843 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006843 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24e94aca-bdbf-4da4-ad8a-5ef26654a55e' LIMIT 1 Date : 2025-10-13T11:21:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T11:21:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005673 post PendingInvicesDO 2 MED-141006844 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006844 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e28ef50f-05f9-4f10-abac-acb23783aaeb' LIMIT 1 Date : 2025-10-13T11:48:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T11:48:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005674 post PendingInvicesDO 2 MED-141006845 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006845 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d148db6b-31b1-45b2-bab5-d1c34a1081d5' LIMIT 1 Date : 2025-10-13T12:02:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T12:02:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005675 post PendingInvicesDO 2 MED-141006846 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006846 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ea0a072-ff00-4c4a-8441-922d83a01527' LIMIT 1 Date : 2025-10-13T12:19:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T12:19:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005676 post PendingInvicesDO 2 MED-141006848 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006848 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55d1d1c4-5d8d-4403-97b4-1bfafe47dc75' LIMIT 1 Date : 2025-10-13T13:16:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T13:16:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005677 post PendingInvicesDO 2 MED-141006849 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006849 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5bad419f-4368-4fdd-9f1c-cb625a6a0dc1' LIMIT 1 Date : 2025-10-13T13:35:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T13:35:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005678 post PendingInvicesDO 2 MED-141006850 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006850 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e804e557-3779-4109-b4b4-7a0474e74fae' LIMIT 1 Date : 2025-10-13T14:06:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T14:06:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005679 post PendingInvicesDO 2 MED-141006851 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006851 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b6b4323-032a-47b6-9741-a0034edfc23a' LIMIT 1 Date : 2025-10-13T15:00:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-13T15:00:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005680 post PendingInvicesDO 2 MED-141006852 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006852 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1bb213dc-8f06-4b6e-9a94-5ea4c42a0702' LIMIT 1 Date : 2025-10-14T08:16:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T08:16:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005682 post PendingInvicesDO 2 MED-141006855 post PendingInvicesDO 2 MED-141006854 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005681 post PendingInvicesDO 2 MED-141006855 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006854 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006855 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6b703ef-8275-465f-8b94-eb2c06d92bfa' LIMIT 1 Date : 2025-10-14T10:53:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f94c92c6-66dc-4bae-b504-92382fd05fb0' LIMIT 1 Date : 2025-10-14T10:53:45  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6b703ef-8275-465f-8b94-eb2c06d92bfa' LIMIT 1 Date : 2025-10-14T10:53:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f94c92c6-66dc-4bae-b504-92382fd05fb0' LIMIT 1 Date : 2025-10-14T10:53:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-14T10:53:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005683 post PendingInvicesDO 2 MED-141006856 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006856 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4229b97-b1d1-4f2c-8039-84bae7ab5fb2' LIMIT 1 Date : 2025-10-14T11:20:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T11:20:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005684 post PendingInvicesDO 2 MED-141006857 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006857 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b98253e-8e29-4793-8b8f-6f551906e0e1' LIMIT 1 Date : 2025-10-14T11:33:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T11:33:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005685 post PendingInvicesDO 2 MED-141006858 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006858 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68c58128-cfc1-4dc9-8f9c-056d62adc086' LIMIT 1 Date : 2025-10-14T11:42:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T11:42:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005686 post PendingInvicesDO 2 MED-141006859 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006859 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aaacdcef-30fb-433e-b2d7-330f2f7c92e6' LIMIT 1 Date : 2025-10-14T11:50:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T11:50:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005687 post PendingInvicesDO 2 MED-141006860 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006860 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bcb4af5-d404-4fb6-8dd1-37b4a5bac563' LIMIT 1 Date : 2025-10-14T11:52:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T11:52:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005688 post PendingInvicesDO 2 MED-141006861 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006861 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31c16ca4-65b8-45df-9e9d-b1c0c5667431' LIMIT 1 Date : 2025-10-14T12:01:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T12:01:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005689 post PendingInvicesDO 2 MED-141006862 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006862 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31a467c1-8009-4b3e-846f-e162e5dfc11c' LIMIT 1 Date : 2025-10-14T12:11:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T12:11:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005690 post PendingInvicesDO 2 MED-141006863 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006863 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c89a37c3-ae43-46d0-b957-86854c390abe' LIMIT 1 Date : 2025-10-14T12:53:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T12:53:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005691 post PendingInvicesDO 2 MED-141006864 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006864 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c021d63b-dd77-47bb-b7c9-afea9f8295e4' LIMIT 1 Date : 2025-10-14T13:15:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T13:15:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005692 post PendingInvicesDO 2 MED-141006865 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006865 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e6a477c-d976-4836-8a55-266bb96aaecd' LIMIT 1 Date : 2025-10-14T13:33:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T13:33:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005693 post PendingInvicesDO 2 MED-141006866 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006866 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07934aea-4924-4f35-a01b-89ab4eeb0c72' LIMIT 1 Date : 2025-10-14T14:07:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T14:07:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005694 post PendingInvicesDO 2 MED-141006867 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006867 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='019cebaa-2f48-4790-b6f4-bf7f8629538d' LIMIT 1 Date : 2025-10-14T14:28:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T14:28:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005695 post PendingInvicesDO 2 MED-141006868 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006868 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9a59381-dc1d-4056-a86a-e116d06204e7' LIMIT 1 Date : 2025-10-14T15:57:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T15:57:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005696 post PendingInvicesDO 2 MED-141006869 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006869 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ca2db8a-27aa-4236-9d11-d87549390941' LIMIT 1 Date : 2025-10-14T16:04:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-14T16:04:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005697 post PendingInvicesDO 2 MED-141006872 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006872 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8472877c-e307-4478-ab24-ad6fb02797ba' LIMIT 1 Date : 2025-10-15T11:36:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T11:36:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005698 post PendingInvicesDO 2 MED-141006874 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006874 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db1ff669-4b94-488e-9cfb-460631a96390' LIMIT 1 Date : 2025-10-15T12:35:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T12:35:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005699 post PendingInvicesDO 2 MED-141006875 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006875 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f91c8aaa-96e7-48fd-b3ec-c221c3c06948' LIMIT 1 Date : 2025-10-15T12:43:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T12:43:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005700 post PendingInvicesDO 2 MED-141006876 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006876 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2d13725-8637-446a-86a8-00608aa60dd7' LIMIT 1 Date : 2025-10-15T13:11:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T13:11:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005701 post PendingInvicesDO 2 MED-141006877 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006877 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42ef0447-e3a9-45f0-bc39-6b243fc4cb3b' LIMIT 1 Date : 2025-10-15T13:38:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T13:38:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005702 post PendingInvicesDO 2 MED-141006879 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006879 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b87f9c73-957a-4bdc-9db5-31602414c654' LIMIT 1 Date : 2025-10-15T15:03:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-15T15:03:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005703 post PendingInvicesDO 2 MED-141006853 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006853 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006853' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006853' OR OrderId='MED-141006853' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-15T17:02:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005704 post PendingInvicesDO 2 MED-141006819 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006819 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006819' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006819' OR OrderId='MED-141006819' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-15T17:02:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005705 post PendingInvicesDO 2 MED-141006880 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006880 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d71199b-fa53-42ba-b487-da620b2a5cea' LIMIT 1 Date : 2025-10-16T08:45:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T08:45:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005706 post PendingInvicesDO 2 MED-141006881 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006881 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ebf2db57-91d5-473e-82f8-ac666b6f4db9' LIMIT 1 Date : 2025-10-16T10:37:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T10:37:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005707 post PendingInvicesDO 2 MED-141006882 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006882 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e5ad793-88c1-45fd-b743-596ce055d732' LIMIT 1 Date : 2025-10-16T10:48:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T10:48:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005708 post PendingInvicesDO 2 MED-141006883 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006883 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3e3971d-5261-405b-b34c-9bcfb32dd220' LIMIT 1 Date : 2025-10-16T10:56:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T10:56:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005709 post PendingInvicesDO 2 MED-141006884 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006884 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc05739b-3878-45c9-81fa-c29b0067cf6e' LIMIT 1 Date : 2025-10-16T11:41:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T11:41:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005710 post PendingInvicesDO 2 MED-141006887 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006887 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96e92959-ad77-41ea-9d9c-ac959accd0e3' LIMIT 1 Date : 2025-10-16T14:10:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T14:10:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005711 post PendingInvicesDO 2 MED-141006722 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006722 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006722' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006722' OR OrderId='MED-141006722' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-16T14:32:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005712 post PendingInvicesDO 2 MED-141006889 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006889 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='361ec17a-eed5-415c-ab3c-38cf19be3352' LIMIT 1 Date : 2025-10-16T16:01:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T16:01:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005713 post PendingInvicesDO 2 MED-141006878 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006878 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006878' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006878' OR OrderId='MED-141006878' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-16T16:29:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005714 post PendingInvicesDO 2 MED-141006890 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006890 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fd14a80-ddd8-48da-8155-4644c44aa1f6' LIMIT 1 Date : 2025-10-16T16:43:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-16T16:43:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005715 post PendingInvicesDO 2 MED-141006894 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006894 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ee3edcb-8f37-4601-ae11-b73068daa701' LIMIT 1 Date : 2025-10-18T11:29:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T11:29:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005716 post PendingInvicesDO 2 MED-141006895 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006895 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='519b3000-0612-43c5-8027-002d2f4c8cc7' LIMIT 1 Date : 2025-10-18T11:52:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T11:52:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005718 post PendingInvicesDO 2 MED-141006897 post PendingInvicesDO 2 MED-141006896 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005717 post PendingInvicesDO 2 MED-141006897 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006896 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006897 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bb93ba8-53ea-4beb-a60c-8af2195c399c' LIMIT 1 Date : 2025-10-18T12:51:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f58927b2-1596-48eb-929e-1614bcf467a7' LIMIT 1 Date : 2025-10-18T12:51:49  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bb93ba8-53ea-4beb-a60c-8af2195c399c' LIMIT 1 Date : 2025-10-18T12:51:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f58927b2-1596-48eb-929e-1614bcf467a7' LIMIT 1 Date : 2025-10-18T12:51:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-18T12:51:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005719 post PendingInvicesDO 2 MED-141006899 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006899 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='656ca4db-a96a-46a9-8dc7-9b81048e16d7' LIMIT 1 Date : 2025-10-18T14:17:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T14:17:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005720 post PendingInvicesDO 2 MED-141006900 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006900 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='76d51b90-1a12-4b95-9d39-d3ac67f63257' LIMIT 1 Date : 2025-10-18T14:35:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T14:35:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005721 post PendingInvicesDO 2 MED-141006901 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006901 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0b75c56-2fa2-451d-a746-549f4a30e599' LIMIT 1 Date : 2025-10-18T15:00:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T15:00:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005722 post PendingInvicesDO 2 MED-141006902 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006902 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15f5d2de-f784-40b5-b621-3aec42254849' LIMIT 1 Date : 2025-10-18T15:38:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-18T15:38:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005723 post PendingInvicesDO 2 MED-141006903 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006903 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='436dd0ca-80f9-44ac-a438-648337fbbe29' LIMIT 1 Date : 2025-10-19T07:52:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T07:52:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005724 post PendingInvicesDO 2 MED-141006905 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006905 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b89b3f32-97ee-4fcb-8743-4774966c8447' LIMIT 1 Date : 2025-10-19T09:53:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T09:53:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005725 post PendingInvicesDO 2 MED-141006906 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006906 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2fc32d5-6251-4f11-a7cc-7e52278e8152' LIMIT 1 Date : 2025-10-19T09:56:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T09:56:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005726 post PendingInvicesDO 2 MED-141006909 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006909 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c353c4be-28ff-46de-9b76-a3c526fad516' LIMIT 1 Date : 2025-10-19T11:09:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T11:09:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005727 post PendingInvicesDO 2 MED-141006910 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006910 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1dc6f488-592c-46a7-8965-de2124659a0b' LIMIT 1 Date : 2025-10-19T11:58:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T11:58:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005728 post PendingInvicesDO 2 MED-141006911 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006911 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d78421fc-b0b1-49f3-bd88-ba7a78a173f1' LIMIT 1 Date : 2025-10-19T12:29:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T12:29:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005729 post PendingInvicesDO 2 MED-141006912 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006912 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d164ae68-d14a-45bd-b0f0-e97412293ccf' LIMIT 1 Date : 2025-10-19T12:37:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T12:37:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005730 post PendingInvicesDO 2 MED-141006913 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006913 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84f5c917-7253-4c63-93dc-86b3e1781dab' LIMIT 1 Date : 2025-10-19T13:50:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T13:50:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005731 post PendingInvicesDO 2 MED-141006914 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006914 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16c40480-4311-4bd6-81ff-cac8d5f6aa30' LIMIT 1 Date : 2025-10-19T13:51:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T13:51:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005732 post PendingInvicesDO 2 MED-141006915 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006915 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35051089-9de0-422f-8971-4e4bb0ebc033' LIMIT 1 Date : 2025-10-19T14:03:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T14:03:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005733 post PendingInvicesDO 2 MED-141006916 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006916 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17252bcc-760b-4d2d-9a6f-542b812dca21' LIMIT 1 Date : 2025-10-19T14:05:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T14:05:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005734 post PendingInvicesDO 2 MED-141006917 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006917 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b33e1b16-7974-4fe9-ab94-2b5434ca1dc0' LIMIT 1 Date : 2025-10-19T15:17:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T15:17:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005735 post PendingInvicesDO 2 MED-141006918 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006918 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5aa8ae5e-f7cd-4f30-ad78-80ce41c51250' LIMIT 1 Date : 2025-10-19T15:27:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T15:27:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005736 post PendingInvicesDO 2 MED-141006919 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006919 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='429bc623-3e18-49c1-baec-7e5ad1f58219' LIMIT 1 Date : 2025-10-19T15:47:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-19T15:47:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005737 post PendingInvicesDO 2 MED-141006898 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006898 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006898' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006898' OR OrderId='MED-141006898' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-19T17:10:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005738 post PendingInvicesDO 2 MED-141006920 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006920 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e4ba009-6c22-4f39-b005-9d30d194c94a' LIMIT 1 Date : 2025-10-20T07:44:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T07:44:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005739 post PendingInvicesDO 2 MED-141006923 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006923 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3fa7b0f-3d88-4265-a20b-0112a21183fe' LIMIT 1 Date : 2025-10-20T09:26:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T09:26:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005740 post PendingInvicesDO 2 MED-141006924 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006924 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a63cad4-4bb1-445a-a2db-662cde6a4ed1' LIMIT 1 Date : 2025-10-20T09:43:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T09:43:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005741 post PendingInvicesDO 2 MED-141006925 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006925 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43f0da35-c6db-4dac-9b2d-49130e0445e8' LIMIT 1 Date : 2025-10-20T09:54:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T09:54:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005742 post PendingInvicesDO 2 MED-141006926 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006926 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62655ee3-e6b0-42d8-8579-a65e6f2b0e55' LIMIT 1 Date : 2025-10-20T10:05:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T10:05:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005743 post PendingInvicesDO 2 MED-141006927 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006927 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ed9aa5d-3bcc-4b87-a316-3cf1f65a9c0c' LIMIT 1 Date : 2025-10-20T10:17:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T10:17:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005744 post PendingInvicesDO 2 MED-141006928 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006928 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='21a574e6-41de-4d32-b36d-7bf6602a16fa' LIMIT 1 Date : 2025-10-20T10:50:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T10:50:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005746 post PendingInvicesDO 2 MED-141006930 post PendingInvicesDO 2 MED-141006929 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005745 post PendingInvicesDO 2 MED-141006930 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006929 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006930 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03801955-e6b6-42ed-aeb6-b74a13fc35bf' LIMIT 1 Date : 2025-10-20T11:02:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da4989fd-7f76-4e25-bf93-747f316cb832' LIMIT 1 Date : 2025-10-20T11:02:34  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03801955-e6b6-42ed-aeb6-b74a13fc35bf' LIMIT 1 Date : 2025-10-20T11:02:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da4989fd-7f76-4e25-bf93-747f316cb832' LIMIT 1 Date : 2025-10-20T11:02:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-20T11:02:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005747 post PendingInvicesDO 2 MED-141006931 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006931 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='65c0e605-267c-442b-8b58-268825c4a4c8' LIMIT 1 Date : 2025-10-20T11:28:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T11:28:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005748 post PendingInvicesDO 2 MED-141006932 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006932 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b2e66f1-4700-4920-ba79-37d4a0af7588' LIMIT 1 Date : 2025-10-20T11:56:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T11:56:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005749 post PendingInvicesDO 2 MED-141006933 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006933 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1fd5109-0bca-41a6-aeef-28492064140f' LIMIT 1 Date : 2025-10-20T13:00:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T13:00:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005750 post PendingInvicesDO 2 MED-141006934 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006934 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6dee451-e06e-45c7-b456-da5739347b2d' LIMIT 1 Date : 2025-10-20T13:17:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-20T13:17:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005752 post PendingInvicesDO 2 MED-141006885 post PendingInvicesDO 2 MED-141006886 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005751 post PendingInvicesDO 2 MED-141006885 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006885 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006885' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006885' OR OrderId='MED-141006885' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006885' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006885' OR OrderId='MED-141006885' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-20T13:35:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005753 post PendingInvicesDO 2 MED-141006936 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006936 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32eb35db-506c-41ba-9111-a3ea5db30c96' LIMIT 1 Date : 2025-10-21T07:46:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T07:46:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005755 post PendingInvicesDO 2 MED-141006938 post PendingInvicesDO 2 MED-141006937 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005754 post PendingInvicesDO 2 MED-141006938 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006937 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006938 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='adb74482-311c-4ff9-a75d-4c85aca00744' LIMIT 1 Date : 2025-10-21T08:20:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2574dcde-bccc-40b2-b66e-de12d9073a10' LIMIT 1 Date : 2025-10-21T08:20:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='adb74482-311c-4ff9-a75d-4c85aca00744' LIMIT 1 Date : 2025-10-21T08:20:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2574dcde-bccc-40b2-b66e-de12d9073a10' LIMIT 1 Date : 2025-10-21T08:20:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-21T08:20:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005756 post PendingInvicesDO 2 MED-141006940 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006940 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c64903d6-cb85-4c4a-8ab5-9ff2e4780bfe' LIMIT 1 Date : 2025-10-21T11:00:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T11:00:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005757 post PendingInvicesDO 2 MED-141006941 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006941 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='207d6586-816d-4d5e-b761-82dcfc1f623d' LIMIT 1 Date : 2025-10-21T11:04:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T11:04:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005758 post PendingInvicesDO 2 MED-141006942 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006942 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d86f8fa-f723-4dc8-9979-d9295befcb04' LIMIT 1 Date : 2025-10-21T11:20:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T11:20:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005759 post PendingInvicesDO 2 MED-141006943 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006943 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c5456ed-e034-4860-ba35-d94418d22bfb' LIMIT 1 Date : 2025-10-21T11:23:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T11:23:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005760 post PendingInvicesDO 2 MED-141006944 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006944 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa8d313f-3b3c-4af8-8818-3adf464823d7' LIMIT 1 Date : 2025-10-21T11:27:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T11:27:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005761 post PendingInvicesDO 2 MED-141006945 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006945 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eedc64ce-8127-4b65-bec7-a28bfb29b24a' LIMIT 1 Date : 2025-10-21T11:33:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T11:33:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005762 post PendingInvicesDO 2 MED-141006946 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006946 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7d7a1396-5e7a-4d14-aa91-871a208a4d40' LIMIT 1 Date : 2025-10-21T11:42:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T11:42:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005763 post PendingInvicesDO 2 MED-141006947 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006947 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9dfafe75-fa10-4134-98fb-863071c17b0d' LIMIT 1 Date : 2025-10-21T11:50:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T11:50:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005764 post PendingInvicesDO 2 MED-141006948 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006948 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c98c3bd-2aee-41fb-aa62-b89ca9aac0f2' LIMIT 1 Date : 2025-10-21T11:54:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T11:54:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005765 post PendingInvicesDO 2 MED-141006949 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006949 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb3cfbc1-dfa3-4239-b271-9f1c64f85ca5' LIMIT 1 Date : 2025-10-21T12:06:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T12:06:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005766 post PendingInvicesDO 2 MED-141006950 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006950 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8cdd6fac-3c85-432f-abbd-48c069984958' LIMIT 1 Date : 2025-10-21T13:49:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T13:49:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005767 post PendingInvicesDO 2 MED-141006951 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006951 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42407987-d341-428f-8760-3eea1bb8f2c3' LIMIT 1 Date : 2025-10-21T14:12:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T14:12:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005768 post PendingInvicesDO 2 MED-141006952 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006952 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c07707b-ba58-4d5f-9d1b-a553dec08ddb' LIMIT 1 Date : 2025-10-21T14:48:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T14:48:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005769 post PendingInvicesDO 2 MED-141006953 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006953 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04362653-dac6-4cd4-a285-4201bddcc28c' LIMIT 1 Date : 2025-10-21T14:57:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-21T14:57:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005770 post PendingInvicesDO 2 MED-141006954 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006954 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32f60929-5989-49f4-a9b3-8f5497900b7e' LIMIT 1 Date : 2025-10-22T07:33:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T07:33:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005771 post PendingInvicesDO 2 MED-141006957 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006957 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c960216c-0388-4cbb-a5e8-1972df18085b' LIMIT 1 Date : 2025-10-22T09:54:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T09:54:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005772 post PendingInvicesDO 2 MED-141006958 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006958 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9a58213-1255-482f-a540-acad838f89ed' LIMIT 1 Date : 2025-10-22T10:37:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T10:37:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005773 post PendingInvicesDO 2 MED-141006959 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006959 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb8f903a-23b9-4939-9b40-5d10677e0940' LIMIT 1 Date : 2025-10-22T11:15:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T11:15:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005774 post PendingInvicesDO 2 MED-141006960 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006960 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6108d193-e047-496c-9b0d-dd430701e7ef' LIMIT 1 Date : 2025-10-22T11:40:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T11:40:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005775 post PendingInvicesDO 2 MED-141006961 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006961 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='834e46fb-eb9f-4f3f-b170-1ba7ded279a8' LIMIT 1 Date : 2025-10-22T11:57:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T11:57:43 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144005776 post PendingInvicesDO 2 MED-141006962 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006962 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e211758-143e-4a42-9cd1-c141862e7dc3' LIMIT 1 Date : 2025-10-22T12:22:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T12:22:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005777 post PendingInvicesDO 2 MED-141006888 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006888 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006888' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006888' OR OrderId='MED-141006888' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-22T14:10:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005778 post PendingInvicesDO 2 MED-141006963 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006963 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa66c629-eada-4670-99c7-46fea9a52f7a' LIMIT 1 Date : 2025-10-22T15:24:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-22T15:24:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005779 post PendingInvicesDO 2 MED-141006847 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006847 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006847' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006847' OR OrderId='MED-141006847' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-10-22T16:25:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005780 post PendingInvicesDO 2 MED-141006968 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006968 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02846c62-399f-4418-8708-65329a1fc92f' LIMIT 1 Date : 2025-10-23T12:40:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T12:40:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005781 post PendingInvicesDO 2 MED-141006969 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006969 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c3eb573-2b87-4621-a8f9-12e848ac8205' LIMIT 1 Date : 2025-10-23T13:26:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T13:26:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005782 post PendingInvicesDO 2 MED-141006970 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006970 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee5453b9-3a00-467e-9419-864a6b8e41ea' LIMIT 1 Date : 2025-10-23T14:07:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T14:07:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005783 post PendingInvicesDO 2 MED-141006971 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006971 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5c8b6b5-7de3-43b0-bd53-0f29fec7c36b' LIMIT 1 Date : 2025-10-23T14:23:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-23T14:23:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005784 post PendingInvicesDO 2 MED-141006977 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006977 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6d8d512-1e7c-4097-a3c9-8c214ae935d1' LIMIT 1 Date : 2025-10-25T12:47:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T12:47:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005785 post PendingInvicesDO 2 MED-141006978 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006978 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93c5a20b-72d0-4adc-bf0e-4f7e501cb56b' LIMIT 1 Date : 2025-10-25T13:33:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T13:33:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005786 post PendingInvicesDO 2 MED-141006979 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006979 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9428aa84-5ae2-4180-a5c2-d2c50a4f5684' LIMIT 1 Date : 2025-10-25T13:54:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T13:54:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005787 post PendingInvicesDO 2 MED-141006980 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006980 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59a88053-e173-4c15-8060-238e96232b2c' LIMIT 1 Date : 2025-10-25T14:08:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T14:08:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005788 post PendingInvicesDO 2 MED-141006981 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006981 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6519c5a9-f035-4ca8-b6aa-6b0b0bf752b7' LIMIT 1 Date : 2025-10-25T14:30:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T14:30:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005789 post PendingInvicesDO 2 MED-141006982 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006982 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3645a69-bf3c-4918-a91b-8c805f7fca75' LIMIT 1 Date : 2025-10-25T15:19:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T15:19:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005790 post PendingInvicesDO 2 MED-141006983 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006983 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8ac641a-2ae6-4bac-ac87-7af49b4008b7' LIMIT 1 Date : 2025-10-25T16:20:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-25T16:20:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005792 post PendingInvicesDO 2 MED-141006989 post PendingInvicesDO 2 MED-141006988 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005791 post PendingInvicesDO 2 MED-141006989 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006988 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006989 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1527f4c2-eed1-4218-86b7-1efece6fa124' LIMIT 1 Date : 2025-10-26T11:24:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='694f56e8-44fc-49d9-8112-595abfa179da' LIMIT 1 Date : 2025-10-26T11:24:46  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1527f4c2-eed1-4218-86b7-1efece6fa124' LIMIT 1 Date : 2025-10-26T11:24:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='694f56e8-44fc-49d9-8112-595abfa179da' LIMIT 1 Date : 2025-10-26T11:24:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-26T11:24:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005793 post PendingInvicesDO 2 MED-141006990 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006990 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52ac476f-c3cb-464e-a3ce-32c47d06a4ae' LIMIT 1 Date : 2025-10-26T12:13:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T12:13:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005795 post PendingInvicesDO 2 MED-141006992 post PendingInvicesDO 2 MED-141006991 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005794 post PendingInvicesDO 2 MED-141006992 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141006991 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006992 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9aa657f5-8d2a-4467-be5e-7a7aa6a640be' LIMIT 1 Date : 2025-10-26T13:26:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ee96532-6001-4a40-b81e-2bf6fe774f9d' LIMIT 1 Date : 2025-10-26T13:26:55  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9aa657f5-8d2a-4467-be5e-7a7aa6a640be' LIMIT 1 Date : 2025-10-26T13:26:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ee96532-6001-4a40-b81e-2bf6fe774f9d' LIMIT 1 Date : 2025-10-26T13:26:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-26T13:26:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005796 post PendingInvicesDO 2 MED-141006993 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006993 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e2540393-b58c-4b8d-aefe-f237efbd602a' LIMIT 1 Date : 2025-10-26T15:19:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T15:19:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005797 post PendingInvicesDO 2 MED-141006994 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006994 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7070efa-9df3-4833-af7f-0b51f8e37d81' LIMIT 1 Date : 2025-10-26T16:42:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-26T16:42:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005798 post PendingInvicesDO 2 MED-141006996 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006996 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6bd7d77-5d3a-430c-aab0-5c549b78f742' LIMIT 1 Date : 2025-10-27T08:21:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T08:21:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005799 post PendingInvicesDO 2 MED-141007000 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007000 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='513ad124-b89d-4b73-84cb-25b052a03d1c' LIMIT 1 Date : 2025-10-27T10:37:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T10:37:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005800 post PendingInvicesDO 2 MED-141007002 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007002 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='091b17c2-856a-4336-9c2e-90a45f3ba586' LIMIT 1 Date : 2025-10-27T12:01:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T12:01:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005801 post PendingInvicesDO 2 MED-141007003 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007003 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4180ecd5-4c4b-4fe5-ad20-94f35c883bf2' LIMIT 1 Date : 2025-10-27T12:06:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T12:06:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005802 post PendingInvicesDO 2 MED-141007004 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007004 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3cad5d11-9e5b-4469-a40d-10e68ed7e9e2' LIMIT 1 Date : 2025-10-27T12:23:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T12:23:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005803 post PendingInvicesDO 2 MED-141007005 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007005 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ce19167-881d-4e85-bca3-ea565618a432' LIMIT 1 Date : 2025-10-27T12:35:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T12:35:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005804 post PendingInvicesDO 2 MED-141007006 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007006 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1d02cea-ed29-47e7-843c-f288572b0200' LIMIT 1 Date : 2025-10-27T13:05:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T13:05:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005805 post PendingInvicesDO 2 MED-141007007 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007007 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a59f524-0da1-49a0-abe0-1cf1c8345eac' LIMIT 1 Date : 2025-10-27T13:27:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T13:27:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005806 post PendingInvicesDO 2 MED-141007008 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007008 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='956ad28a-8bee-46c8-bfda-b25d9a007dcd' LIMIT 1 Date : 2025-10-27T14:31:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T14:31:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005807 post PendingInvicesDO 2 MED-141007009 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007009 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c0b72b9-e50a-47ea-896f-535f009de615' LIMIT 1 Date : 2025-10-27T14:57:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T14:57:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005808 post PendingInvicesDO 2 MED-141007010 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007010 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0d79213-05a0-4b78-b326-4a9cfc2a7899' LIMIT 1 Date : 2025-10-27T15:32:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-27T15:32:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005809 post PendingInvicesDO 2 MED-141007011 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007011 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62312e6c-9e4e-41e3-bfa0-c1356c4fca91' LIMIT 1 Date : 2025-10-28T09:38:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T09:38:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005810 post PendingInvicesDO 2 MED-141007014 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007014 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1005921f-a4f4-4834-9cef-1ce985da9272' LIMIT 1 Date : 2025-10-28T13:32:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T13:32:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005811 post PendingInvicesDO 2 MED-141007015 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007015 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f75e05b-5873-4f9b-a836-431a7414060b' LIMIT 1 Date : 2025-10-28T13:43:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T13:43:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005812 post PendingInvicesDO 2 MED-141007016 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007016 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f1c6144-e947-4b47-a482-f1ff4f7271cd' LIMIT 1 Date : 2025-10-28T14:25:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T14:25:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005813 post PendingInvicesDO 2 MED-141007017 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007017 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5b6bf93-f7cb-4404-9442-63283cc2ba46' LIMIT 1 Date : 2025-10-28T15:00:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T15:00:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005814 post PendingInvicesDO 2 MED-141007018 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007018 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='676427cd-6676-428f-8cdd-60a2db4640b4' LIMIT 1 Date : 2025-10-28T16:17:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-28T16:17:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005815 post PendingInvicesDO 2 MED-141007019 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007019 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22970d81-4dd4-45b7-b57e-f4dcde793fbe' LIMIT 1 Date : 2025-10-29T08:02:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T08:02:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005816 post PendingInvicesDO 2 MED-141007020 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007020 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6193f7ce-a21f-4dd8-b2c9-f40d7f416393' LIMIT 1 Date : 2025-10-29T08:37:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T08:37:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005817 post PendingInvicesDO 2 MED-141007022 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007022 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='898400f0-347c-4056-8744-f92c622ed65b' LIMIT 1 Date : 2025-10-29T10:10:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T10:10:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005818 post PendingInvicesDO 2 MED-141007024 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007024 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c42b22e1-ecf6-4ba5-9818-3fb5e1181529' LIMIT 1 Date : 2025-10-29T11:50:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T11:50:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005820 post PendingInvicesDO 2 MED-141007026 post PendingInvicesDO 2 MED-141007025 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005819 post PendingInvicesDO 2 MED-141007026 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007025 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007026 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef9eb28e-0c98-48e9-8601-9c8f15eb9dae' LIMIT 1 Date : 2025-10-29T12:44:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9955f61-5aee-40fd-97e2-81ae8496374c' LIMIT 1 Date : 2025-10-29T12:44:33  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef9eb28e-0c98-48e9-8601-9c8f15eb9dae' LIMIT 1 Date : 2025-10-29T12:44:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9955f61-5aee-40fd-97e2-81ae8496374c' LIMIT 1 Date : 2025-10-29T12:44:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-10-29T12:44:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005821 post PendingInvicesDO 2 MED-141007027 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007027 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b50596c-5e10-4bdc-984f-ed7afe55498b' LIMIT 1 Date : 2025-10-29T13:46:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T13:46:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005822 post PendingInvicesDO 2 MED-141007028 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007028 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13a09634-8ba4-41ec-a9ae-1862dd6a7ed4' LIMIT 1 Date : 2025-10-29T15:24:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-29T15:24:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005823 post PendingInvicesDO 2 MED-141007029 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007029 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e1440d49-aa50-405f-9ef2-21ec99636951' LIMIT 1 Date : 2025-10-30T08:04:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T08:04:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005824 post PendingInvicesDO 2 MED-141007031 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007031 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='785f2625-220e-4852-8893-7299de646ca5' LIMIT 1 Date : 2025-10-30T10:20:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T10:20:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005825 post PendingInvicesDO 2 MED-141007034 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007034 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='762c4f33-ca33-49d7-8f9b-4ad268888a27' LIMIT 1 Date : 2025-10-30T12:40:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T12:40:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005826 post PendingInvicesDO 2 MED-141007036 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007036 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e021944-0292-408e-b7a7-83ecbecba694' LIMIT 1 Date : 2025-10-30T14:22:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T14:22:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005827 post PendingInvicesDO 2 MED-141007037 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007037 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aef8db29-8910-413a-bda3-ec356475e180' LIMIT 1 Date : 2025-10-30T14:40:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T14:40:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005828 post PendingInvicesDO 2 MED-141007038 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007038 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='217ea6a4-3f36-4ae3-9fd6-fe415433e51e' LIMIT 1 Date : 2025-10-30T15:15:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T15:15:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005829 post PendingInvicesDO 2 MED-141007039 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007039 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee3f1f8a-92ea-4820-a671-d8530716b06d' LIMIT 1 Date : 2025-10-30T15:25:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T15:25:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005830 post PendingInvicesDO 2 MED-141007040 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007040 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77f8f48b-3478-4937-b1ba-5b920b529c84' LIMIT 1 Date : 2025-10-30T16:55:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-10-30T16:55:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005831 post PendingInvicesDO 2 MED-141007042 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007042 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbfbffe8-f684-4346-bade-3639eb1a891d' LIMIT 1 Date : 2025-11-01T09:41:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T09:41:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005832 post PendingInvicesDO 2 MED-141007043 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007043 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='482dfcc3-afc9-4668-b9dd-faaf8a027b74' LIMIT 1 Date : 2025-11-01T09:55:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T09:55:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005834 post PendingInvicesDO 2 MED-141007045 post PendingInvicesDO 2 MED-141007044 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005833 post PendingInvicesDO 2 MED-141007045 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007044 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007045 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='257d246b-d0e5-4a2d-9c42-1b844adae1ee' LIMIT 1 Date : 2025-11-01T10:12:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='737e1f05-928c-4a74-bbc1-70ea719b9348' LIMIT 1 Date : 2025-11-01T10:12:33  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='257d246b-d0e5-4a2d-9c42-1b844adae1ee' LIMIT 1 Date : 2025-11-01T10:12:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='737e1f05-928c-4a74-bbc1-70ea719b9348' LIMIT 1 Date : 2025-11-01T10:12:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-01T10:12:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005835 post PendingInvicesDO 2 MED-141007046 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007046 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eac3ae91-e95f-4490-b309-8272b2df60ad' LIMIT 1 Date : 2025-11-01T11:08:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T11:08:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005836 post PendingInvicesDO 2 MED-141007047 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007047 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da98278e-2e56-45ac-803c-441425b6c3e1' LIMIT 1 Date : 2025-11-01T11:23:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T11:23:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005837 post PendingInvicesDO 2 MED-141007048 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007048 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='713cd611-189a-4ef6-add7-bb81875229b5' LIMIT 1 Date : 2025-11-01T12:18:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T12:18:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005838 post PendingInvicesDO 2 MED-141007049 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007049 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26a5ac7b-ea7c-476a-a3fe-9c67a66d73fb' LIMIT 1 Date : 2025-11-01T13:18:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T13:18:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005839 post PendingInvicesDO 2 MED-141007050 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007050 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0af33b70-64d8-46aa-9555-907ef388941a' LIMIT 1 Date : 2025-11-01T14:12:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T14:12:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005840 post PendingInvicesDO 2 MED-141007051 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007051 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17a350ca-ec7f-4be9-ad8d-29c78e2b9924' LIMIT 1 Date : 2025-11-01T14:41:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T14:41:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005841 post PendingInvicesDO 2 MED-141007052 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007052 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3915bb9-3c0e-4a74-aad2-b6b89e26c6bd' LIMIT 1 Date : 2025-11-01T15:04:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T15:04:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005842 post PendingInvicesDO 2 MED-141007053 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007053 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='618e6862-fa06-413a-98e9-a2c3f24a9c8f' LIMIT 1 Date : 2025-11-01T15:51:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T15:51:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005843 post PendingInvicesDO 2 MED-141007054 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007054 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86cd110f-6c6b-4d5c-839c-37624de9dae1' LIMIT 1 Date : 2025-11-01T20:39:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-01T20:39:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005844 post PendingInvicesDO 2 MED-141006972 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141006972 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141006972' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141006972' OR OrderId='MED-141006972' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-01T20:44:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005845 post PendingInvicesDO 2 MED-141007059 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007059 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aae54500-b255-4702-bd2f-034bab4b3d82' LIMIT 1 Date : 2025-11-02T12:20:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T12:20:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005846 post PendingInvicesDO 2 MED-141007060 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007060 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18dc006c-3c54-4cee-863d-ca114659d841' LIMIT 1 Date : 2025-11-02T12:50:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T12:50:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005847 post PendingInvicesDO 2 MED-141007061 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007061 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c5a9fbb-7d5c-492c-b7f6-d915e9898232' LIMIT 1 Date : 2025-11-02T13:33:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T13:33:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005848 post PendingInvicesDO 2 MED-141007062 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007062 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b6e20b0-55ba-4ef5-b855-12591feb09a5' LIMIT 1 Date : 2025-11-02T13:56:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T13:56:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005849 post PendingInvicesDO 2 MED-141007063 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007063 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a2c1dff-ee01-45f9-8338-b444094e486a' LIMIT 1 Date : 2025-11-02T14:19:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T14:19:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005850 post PendingInvicesDO 2 MED-141007065 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007065 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cde69d35-8c51-4bf8-995e-14f927cb61bb' LIMIT 1 Date : 2025-11-02T15:34:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T15:34:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005851 post PendingInvicesDO 2 MED-141007066 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007066 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47d8a918-9c15-4e48-a2c9-c6c91d0436c0' LIMIT 1 Date : 2025-11-02T16:35:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-02T16:35:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005852 post PendingInvicesDO 2 MED-141007068 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007068 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2304e0aa-d1c3-4df6-8be8-0789348ce5fd' LIMIT 1 Date : 2025-11-03T10:11:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T10:11:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005853 post PendingInvicesDO 2 MED-141007069 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007069 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='833e12fb-8c06-4b7c-9032-f32da71412de' LIMIT 1 Date : 2025-11-03T10:40:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T10:40:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005854 post PendingInvicesDO 2 MED-141007070 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007070 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66322bef-e902-4f2d-b3ec-3726902b8f1b' LIMIT 1 Date : 2025-11-03T10:44:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T10:44:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005855 post PendingInvicesDO 2 MED-141007071 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007071 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='829525a5-bea7-4c67-bfad-ff045d6d77cb' LIMIT 1 Date : 2025-11-03T10:52:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T10:52:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005856 post PendingInvicesDO 2 MED-141007072 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007072 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9f935c4-6e8e-490c-ae6f-17ddcbf1b6ab' LIMIT 1 Date : 2025-11-03T11:02:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T11:02:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005857 post PendingInvicesDO 2 MED-141007073 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007073 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7c0dc98-040d-4bae-ad40-b1519fd3d51a' LIMIT 1 Date : 2025-11-03T11:17:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T11:17:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005858 post PendingInvicesDO 2 MED-141007074 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007074 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8dc20f9c-19a3-47c4-afd8-71b828c34daa' LIMIT 1 Date : 2025-11-03T13:21:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T13:21:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005859 post PendingInvicesDO 2 MED-141007077 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007077 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c09bee89-4ec8-472f-b58d-bb914678d5af' LIMIT 1 Date : 2025-11-03T15:42:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T15:42:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005860 post PendingInvicesDO 2 MED-141007078 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007078 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d09c0c42-09c5-41cd-8a80-eeb79c726cd0' LIMIT 1 Date : 2025-11-03T16:34:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T16:34:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005861 post PendingInvicesDO 2 MED-141007079 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007079 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ede015b-b906-4c05-ac5d-441d6cc510f2' LIMIT 1 Date : 2025-11-03T17:08:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-03T17:08:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005862 post PendingInvicesDO 2 MED-141007081 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007081 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d771a0fb-1005-4e3f-8e45-e13d7197d553' LIMIT 1 Date : 2025-11-04T10:13:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T10:13:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005864 post PendingInvicesDO 2 MED-141007083 post PendingInvicesDO 2 MED-141007082 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005863 post PendingInvicesDO 2 MED-141007083 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007082 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007083 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='823ffd2d-21b2-479f-b044-1cb7a2a2dbf9' LIMIT 1 Date : 2025-11-04T11:08:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b2b96bb-f481-475d-a07a-fc409bdf5c09' LIMIT 1 Date : 2025-11-04T11:08:39  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='823ffd2d-21b2-479f-b044-1cb7a2a2dbf9' LIMIT 1 Date : 2025-11-04T11:08:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b2b96bb-f481-475d-a07a-fc409bdf5c09' LIMIT 1 Date : 2025-11-04T11:08:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-04T11:08:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005866 post PendingInvicesDO 2 MED-141007085 post PendingInvicesDO 2 MED-141007084 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005865 post PendingInvicesDO 2 MED-141007085 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007084 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007085 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3c992c5-6423-4ca4-992d-6e1b37ca8997' LIMIT 1 Date : 2025-11-04T11:10:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1117ddc-8f88-4d14-987a-70ab63428a5d' LIMIT 1 Date : 2025-11-04T11:10:52  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3c992c5-6423-4ca4-992d-6e1b37ca8997' LIMIT 1 Date : 2025-11-04T11:10:52  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1117ddc-8f88-4d14-987a-70ab63428a5d' LIMIT 1 Date : 2025-11-04T11:10:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-04T11:10:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005868 post PendingInvicesDO 2 MED-141007087 post PendingInvicesDO 2 MED-141007086 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005867 post PendingInvicesDO 2 MED-141007087 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007086 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007087 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='758f075e-f760-4827-a0db-596c39a82982' LIMIT 1 Date : 2025-11-04T11:40:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f798197-da9b-48ea-b9e5-27ac767b064d' LIMIT 1 Date : 2025-11-04T11:40:44  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='758f075e-f760-4827-a0db-596c39a82982' LIMIT 1 Date : 2025-11-04T11:40:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f798197-da9b-48ea-b9e5-27ac767b064d' LIMIT 1 Date : 2025-11-04T11:40:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-04T11:40:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005869 post PendingInvicesDO 2 MED-141007088 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007088 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27a5e4df-78ba-4c06-9e34-762559be7f1e' LIMIT 1 Date : 2025-11-04T11:49:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T11:49:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005870 post PendingInvicesDO 2 MED-141007089 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007089 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bded7f25-b71d-487b-94be-3731efb3e507' LIMIT 1 Date : 2025-11-04T12:10:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T12:10:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005871 post PendingInvicesDO 2 MED-141007090 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007090 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84613306-7518-411d-8c49-7ee1962ec562' LIMIT 1 Date : 2025-11-04T12:41:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T12:41:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005872 post PendingInvicesDO 2 MED-141007091 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007091 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c4c012a-5791-430f-8db4-27ce442cf195' LIMIT 1 Date : 2025-11-04T13:04:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T13:04:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005873 post PendingInvicesDO 2 MED-141007092 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007092 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='954f2fef-e0be-4f2b-ab5d-14396448c0cc' LIMIT 1 Date : 2025-11-04T14:00:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-04T14:00:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005875 post PendingInvicesDO 2 MED-141007094 post PendingInvicesDO 2 MED-141007093 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005874 post PendingInvicesDO 2 MED-141007094 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007093 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007094 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e18aa349-1a37-4a98-9bef-6a05fda4fa82' LIMIT 1 Date : 2025-11-04T14:02:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fc05f1e-0103-415f-b0e4-40169132a8b5' LIMIT 1 Date : 2025-11-04T14:02:43  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e18aa349-1a37-4a98-9bef-6a05fda4fa82' LIMIT 1 Date : 2025-11-04T14:02:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fc05f1e-0103-415f-b0e4-40169132a8b5' LIMIT 1 Date : 2025-11-04T14:02:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-04T14:02:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005876 post PendingInvicesDO 2 MED-141007097 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007097 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b810c88-f8b8-4602-96a3-cea6ca930f32' LIMIT 1 Date : 2025-11-05T10:31:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T10:31:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005877 post PendingInvicesDO 2 MED-141007098 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007098 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d143b712-2ba0-4a4b-8f12-016d27ed60da' LIMIT 1 Date : 2025-11-05T10:54:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T10:54:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005878 post PendingInvicesDO 2 MED-141007101 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007101 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11d64e1d-1d3e-46c1-aaf6-122062d3ba55' LIMIT 1 Date : 2025-11-05T12:54:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T12:54:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005879 post PendingInvicesDO 2 MED-141007102 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007102 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de18943d-d576-43a6-99ed-febc95c6f3e2' LIMIT 1 Date : 2025-11-05T13:16:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T13:16:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005881 post PendingInvicesDO 2 MED-141007104 post PendingInvicesDO 2 MED-141007103 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005880 post PendingInvicesDO 2 MED-141007104 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007103 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007104 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b1ce87e-c4ed-4647-9c02-ee286e6c4d18' LIMIT 1 Date : 2025-11-05T14:05:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d73f5f42-50ce-461b-a0ce-0370f0fb9604' LIMIT 1 Date : 2025-11-05T14:05:43  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b1ce87e-c4ed-4647-9c02-ee286e6c4d18' LIMIT 1 Date : 2025-11-05T14:05:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d73f5f42-50ce-461b-a0ce-0370f0fb9604' LIMIT 1 Date : 2025-11-05T14:05:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-05T14:05:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005882 post PendingInvicesDO 2 MED-141007105 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007105 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffe6b281-4f7c-44fe-bec3-77622c2bfe9d' LIMIT 1 Date : 2025-11-05T15:08:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T15:08:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005883 post PendingInvicesDO 2 MED-141007106 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007106 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ab619dd-bc11-46fd-a4dc-8754ad9e6be0' LIMIT 1 Date : 2025-11-05T15:22:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T15:22:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005884 post PendingInvicesDO 2 MED-141007107 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007107 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52673159-c1a5-472a-b0dd-98f60b931cf3' LIMIT 1 Date : 2025-11-05T15:44:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-05T15:44:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005885 post PendingInvicesDO 2 MED-141007108 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007108 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64a14708-3881-4d58-88ed-f2f2e667d61e' LIMIT 1 Date : 2025-11-06T08:19:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T08:19:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005886 post PendingInvicesDO 2 MED-141007109 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007109 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52bff73f-46e4-45e8-a6b5-cfb67db08f95' LIMIT 1 Date : 2025-11-06T08:44:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T08:44:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005887 post PendingInvicesDO 2 MED-141007110 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007110 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3579d70c-dcc7-4a06-ab87-e213a2e6696b' LIMIT 1 Date : 2025-11-06T08:45:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T08:45:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005888 post PendingInvicesDO 2 MED-141007112 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007112 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='385207a4-78df-4336-ac37-f2595d359a84' LIMIT 1 Date : 2025-11-06T10:24:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T10:24:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005889 post PendingInvicesDO 2 MED-141007113 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007113 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d176828-dac1-4668-a5d9-9890bc998310' LIMIT 1 Date : 2025-11-06T10:41:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T10:41:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005890 post PendingInvicesDO 2 MED-141007114 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007114 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1ec8042-108e-41f4-ac5c-f32414d08d40' LIMIT 1 Date : 2025-11-06T11:03:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T11:03:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005891 post PendingInvicesDO 2 MED-141007115 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007115 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a462f05-354a-4743-9642-ac74eee858bb' LIMIT 1 Date : 2025-11-06T11:29:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T11:29:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005892 post PendingInvicesDO 2 MED-141007116 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007116 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da383e7c-e653-4693-9f6b-70ec20160b1c' LIMIT 1 Date : 2025-11-06T12:07:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T12:07:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005893 post PendingInvicesDO 2 MED-141007117 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007117 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f876af0-8166-4d0d-b64a-e5baed9900bd' LIMIT 1 Date : 2025-11-06T12:26:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T12:26:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005894 post PendingInvicesDO 2 MED-141007118 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007118 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='efb8ebfb-ad6a-433b-aad8-7c0c06d50a19' LIMIT 1 Date : 2025-11-06T12:37:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T12:37:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005895 post PendingInvicesDO 2 MED-141007120 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007120 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='76f143a7-a630-436e-9823-6faf2f21f242' LIMIT 1 Date : 2025-11-06T14:49:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-06T14:49:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005896 post PendingInvicesDO 2 MED-141007121 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007121 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3ec9c23-e224-4e1e-89b5-2e0d8e59fbde' LIMIT 1 Date : 2025-11-07T14:51:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-07T14:51:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005897 post PendingInvicesDO 2 MED-141007122 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007122 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07734c22-b724-47a0-b956-6d3c257ee82a' LIMIT 1 Date : 2025-11-07T15:09:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-07T15:09:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005898 post PendingInvicesDO 2 MED-141007123 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007123 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='703a3de8-05ab-406a-ab96-16a174ebf452' LIMIT 1 Date : 2025-11-07T16:23:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-07T16:23:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005899 post PendingInvicesDO 2 MED-141007124 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007124 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af6724a1-9f85-470d-ac6e-8ac18faa926d' LIMIT 1 Date : 2025-11-08T08:03:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T08:03:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005900 post PendingInvicesDO 2 MED-141007129 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007129 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b31dc5a2-f35f-4434-8dd4-276981df988d' LIMIT 1 Date : 2025-11-08T12:58:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T12:58:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005901 post PendingInvicesDO 2 MED-141007130 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007130 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66598fb1-a206-4c29-a0b3-6fdff280e47c' LIMIT 1 Date : 2025-11-08T13:35:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T13:35:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005902 post PendingInvicesDO 2 MED-141007132 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007132 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7794ed38-6a76-4106-aca2-c342ffe2246e' LIMIT 1 Date : 2025-11-08T15:08:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T15:08:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005903 post PendingInvicesDO 2 MED-141007133 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007133 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1c35fc5-0810-4f72-98d4-862958b59db3' LIMIT 1 Date : 2025-11-08T15:50:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T15:50:16 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144005904 post PendingInvicesDO 2 MED-141007134 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007134 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60d43658-689e-46bb-84aa-bf796829f937' LIMIT 1 Date : 2025-11-08T16:04:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T16:04:02 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144005905 post PendingInvicesDO 2 MED-141007135 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007135 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd129109-01b8-4268-956d-83910fb9be0c' LIMIT 1 Date : 2025-11-08T16:22:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-08T16:22:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005906 post PendingInvicesDO 2 MED-141007138 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007138 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41b2600f-b5cf-46bd-855a-19fcec6e7230' LIMIT 1 Date : 2025-11-09T09:17:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T09:17:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005907 post PendingInvicesDO 2 MED-141007139 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007139 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='300bd60c-4487-4630-97c2-72777d72ea20' LIMIT 1 Date : 2025-11-09T09:46:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T09:46:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005908 post PendingInvicesDO 2 MED-141007141 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007141 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84e547bb-9f5f-4518-ad82-edad0fdc36cc' LIMIT 1 Date : 2025-11-09T11:13:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T11:13:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005910 post PendingInvicesDO 2 MED-141007143 post PendingInvicesDO 2 MED-141007142 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005909 post PendingInvicesDO 2 MED-141007143 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007142 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007143 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c0f585f-0ec2-441a-85dc-541320fcd2c8' LIMIT 1 Date : 2025-11-09T12:29:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24d8e24a-a339-49ff-aced-dde050669926' LIMIT 1 Date : 2025-11-09T12:29:37  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c0f585f-0ec2-441a-85dc-541320fcd2c8' LIMIT 1 Date : 2025-11-09T12:29:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='24d8e24a-a339-49ff-aced-dde050669926' LIMIT 1 Date : 2025-11-09T12:29:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-09T12:29:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005911 post PendingInvicesDO 2 MED-141007144 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007144 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='285cf9ab-5bd6-4835-9c0f-143f66ce858a' LIMIT 1 Date : 2025-11-09T13:16:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T13:16:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005912 post PendingInvicesDO 2 MED-141007145 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007145 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d987658d-3311-4af2-8c5f-3fad2bf8a49a' LIMIT 1 Date : 2025-11-09T13:41:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T13:41:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005913 post PendingInvicesDO 2 MED-141007146 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007146 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ba34fc7-592a-4cae-bcb6-701544253202' LIMIT 1 Date : 2025-11-09T13:51:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T13:51:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005914 post PendingInvicesDO 2 MED-141007147 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007147 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df123712-292c-448b-a837-9ed83c48e9cb' LIMIT 1 Date : 2025-11-09T14:08:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-09T14:08:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005916 post PendingInvicesDO 2 MED-141007149 post PendingInvicesDO 2 MED-141007148 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005915 post PendingInvicesDO 2 MED-141007149 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007148 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007149 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67979a61-d673-4995-8312-5b9ebc6fe510' LIMIT 1 Date : 2025-11-09T15:13:53  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e08475a0-d185-4ae9-b410-e05cc09b7147' LIMIT 1 Date : 2025-11-09T15:13:53  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67979a61-d673-4995-8312-5b9ebc6fe510' LIMIT 1 Date : 2025-11-09T15:13:53  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e08475a0-d185-4ae9-b410-e05cc09b7147' LIMIT 1 Date : 2025-11-09T15:13:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-09T15:13:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005918 post PendingInvicesDO 2 MED-141007151 post PendingInvicesDO 2 MED-141007150 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005917 post PendingInvicesDO 2 MED-141007151 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007150 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007151 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7fa56cbf-0217-42a8-ade7-bc8a04847f2b' LIMIT 1 Date : 2025-11-09T15:59:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42e52e80-2a6b-4534-a624-b492e58b05be' LIMIT 1 Date : 2025-11-09T15:59:33  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7fa56cbf-0217-42a8-ade7-bc8a04847f2b' LIMIT 1 Date : 2025-11-09T15:59:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42e52e80-2a6b-4534-a624-b492e58b05be' LIMIT 1 Date : 2025-11-09T15:59:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-09T15:59:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005919 post PendingInvicesDO 2 MED-141007152 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007152 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='365f647b-90f1-456e-844f-d16131868012' LIMIT 1 Date : 2025-11-10T08:16:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T08:16:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005920 post PendingInvicesDO 2 MED-141007155 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007155 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ae1a2f5-271a-450c-9e62-e609618f583e' LIMIT 1 Date : 2025-11-10T09:53:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T09:53:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005921 post PendingInvicesDO 2 MED-141007156 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007156 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c7f2952-45e1-44e9-a574-78c80a970b1f' LIMIT 1 Date : 2025-11-10T10:02:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T10:02:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005922 post PendingInvicesDO 2 MED-141007157 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007157 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02a84a1d-fea3-421d-9c86-400615b9fe06' LIMIT 1 Date : 2025-11-10T11:01:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T11:01:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005923 post PendingInvicesDO 2 MED-141007158 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007158 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd695b94-7509-40e2-b603-78c73d82c995' LIMIT 1 Date : 2025-11-10T11:09:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T11:09:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005924 post PendingInvicesDO 2 MED-141007159 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007159 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bfbbaba-bc09-4201-babe-4b08b9e2171e' LIMIT 1 Date : 2025-11-10T11:24:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T11:24:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005925 post PendingInvicesDO 2 MED-141007160 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007160 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c46e3758-4ee4-4cc6-ada8-f40fcad442be' LIMIT 1 Date : 2025-11-10T11:35:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T11:35:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005926 post PendingInvicesDO 2 MED-141007161 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007161 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7cc098f5-b734-4a97-97e1-583548e206f4' LIMIT 1 Date : 2025-11-10T11:58:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T11:58:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005928 post PendingInvicesDO 2 MED-141007163 post PendingInvicesDO 2 MED-141007162 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005927 post PendingInvicesDO 2 MED-141007163 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007162 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007163 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6c3b067-4bc9-4aed-91a4-0ab68c6ec3da' LIMIT 1 Date : 2025-11-10T12:22:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7abb7a69-0e44-479e-8999-4eb8ba4416a4' LIMIT 1 Date : 2025-11-10T12:22:04  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6c3b067-4bc9-4aed-91a4-0ab68c6ec3da' LIMIT 1 Date : 2025-11-10T12:22:04  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7abb7a69-0e44-479e-8999-4eb8ba4416a4' LIMIT 1 Date : 2025-11-10T12:22:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-10T12:22:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005929 post PendingInvicesDO 2 MED-141007164 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007164 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dbceac7b-90ad-4e46-9a20-e3c0b0dc8048' LIMIT 1 Date : 2025-11-10T12:36:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T12:36:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005931 post PendingInvicesDO 2 MED-141007166 post PendingInvicesDO 2 MED-141007165 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005930 post PendingInvicesDO 2 MED-141007166 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007165 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007166 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eee15e2c-fb4b-4320-a1a5-2c5ad7dc68c9' LIMIT 1 Date : 2025-11-10T13:13:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84c83d94-3c7a-4958-9b7a-4791879ffd66' LIMIT 1 Date : 2025-11-10T13:13:49  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eee15e2c-fb4b-4320-a1a5-2c5ad7dc68c9' LIMIT 1 Date : 2025-11-10T13:13:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84c83d94-3c7a-4958-9b7a-4791879ffd66' LIMIT 1 Date : 2025-11-10T13:13:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-10T13:13:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005933 post PendingInvicesDO 2 MED-141007168 post PendingInvicesDO 2 MED-141007167 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005932 post PendingInvicesDO 2 MED-141007168 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007167 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007168 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f1dbdd0-fabf-4b59-951f-7c54949a68d8' LIMIT 1 Date : 2025-11-10T13:57:14  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab07987d-d26b-4fe1-b899-43733d409e87' LIMIT 1 Date : 2025-11-10T13:57:14  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0f1dbdd0-fabf-4b59-951f-7c54949a68d8' LIMIT 1 Date : 2025-11-10T13:57:14  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab07987d-d26b-4fe1-b899-43733d409e87' LIMIT 1 Date : 2025-11-10T13:57:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-10T13:57:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005934 post PendingInvicesDO 2 MED-141007169 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007169 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1dc432de-4286-453a-a7ce-33ac2b96ea14' LIMIT 1 Date : 2025-11-10T14:43:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T14:43:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005935 post PendingInvicesDO 2 MED-141007170 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007170 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25fafeb7-f04e-4a32-9247-9ae991cfbc03' LIMIT 1 Date : 2025-11-10T15:49:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T15:49:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005936 post PendingInvicesDO 2 MED-141007171 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007171 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='751bf425-b5b0-4aaf-a7a8-dd8fc147fe70' LIMIT 1 Date : 2025-11-10T15:53:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-10T15:53:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005937 post PendingInvicesDO 2 MED-141007174 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007174 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fd597c4-59e2-402f-aabb-7a9341aaef8c' LIMIT 1 Date : 2025-11-11T11:23:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T11:23:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005938 post PendingInvicesDO 2 MED-141007175 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007175 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='521a6493-248f-436f-986e-b92f5d793bb3' LIMIT 1 Date : 2025-11-11T11:42:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T11:42:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005939 post PendingInvicesDO 2 MED-141007176 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007176 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='979d2452-9580-45bb-a7a8-cecee5a14a04' LIMIT 1 Date : 2025-11-11T11:59:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T11:59:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005941 post PendingInvicesDO 2 MED-141007178 post PendingInvicesDO 2 MED-141007177 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144005940 post PendingInvicesDO 2 MED-141007178 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007177 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007178 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='500ef3c4-56d2-4a03-8de8-a5eb07702e2d' LIMIT 1 Date : 2025-11-11T13:12:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bac42d39-906f-4ac1-a7ad-be9719aae0a4' LIMIT 1 Date : 2025-11-11T13:12:25  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='500ef3c4-56d2-4a03-8de8-a5eb07702e2d' LIMIT 1 Date : 2025-11-11T13:12:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bac42d39-906f-4ac1-a7ad-be9719aae0a4' LIMIT 1 Date : 2025-11-11T13:12:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-11T13:12:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005942 post PendingInvicesDO 2 MED-141007179 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007179 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3f59e7d-67cf-4bb9-894e-c5ff93edc8eb' LIMIT 1 Date : 2025-11-11T13:16:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T13:16:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005943 post PendingInvicesDO 2 MED-141007180 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007180 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9cf4cc06-9cc5-434a-ab01-6e65ca6a016e' LIMIT 1 Date : 2025-11-11T13:30:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T13:30:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005944 post PendingInvicesDO 2 MED-141007181 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007181 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5697748-dea5-4a98-9ec5-dd0a48c94a4d' LIMIT 1 Date : 2025-11-11T13:35:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T13:35:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005945 post PendingInvicesDO 2 MED-141007182 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007182 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d4080e1-bce7-4e36-b62c-1e2f730801a3' LIMIT 1 Date : 2025-11-11T13:46:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T13:46:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005946 post PendingInvicesDO 2 MED-141007183 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007183 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4868b3ce-460d-4e5c-8e1b-177aae705809' LIMIT 1 Date : 2025-11-11T14:03:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T14:03:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005947 post PendingInvicesDO 2 MED-141007184 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007184 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58ab0a2a-fbe7-4b16-ac79-f9097b7ed44e' LIMIT 1 Date : 2025-11-11T14:29:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T14:29:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005948 post PendingInvicesDO 2 MED-141007185 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007185 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5bd65633-f370-46c5-9c7a-6e066ceb0067' LIMIT 1 Date : 2025-11-11T14:35:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T14:35:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005949 post PendingInvicesDO 2 MED-141007186 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007186 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1793c11a-8232-4f0d-b6a5-786e9456de96' LIMIT 1 Date : 2025-11-11T15:05:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T15:05:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005950 post PendingInvicesDO 2 MED-141007187 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007187 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf0a7a94-679f-4514-86a6-9d81fe306e52' LIMIT 1 Date : 2025-11-11T15:50:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T15:50:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005951 post PendingInvicesDO 2 MED-141007188 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007188 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de2d8e83-47e4-4b12-ab00-d6cdc272cac9' LIMIT 1 Date : 2025-11-11T16:01:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T16:01:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005952 post PendingInvicesDO 2 MED-141007189 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007189 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1a3d371-b78c-4854-bbc1-e2637cd9fe24' LIMIT 1 Date : 2025-11-11T16:34:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T16:34:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005953 post PendingInvicesDO 2 MED-141007190 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007190 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b5db9c22-b4e6-4f85-94a6-9cb296622d17' LIMIT 1 Date : 2025-11-11T18:50:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-11T18:50:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005954 post PendingInvicesDO 2 MED-141007191 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007191 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9bbe39f4-7315-490b-bae3-9701b1a87fe2' LIMIT 1 Date : 2025-11-12T11:10:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T11:10:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005955 post PendingInvicesDO 2 MED-141007192 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007192 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc53ac28-e721-4da0-bf72-27d157472e63' LIMIT 1 Date : 2025-11-12T12:09:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T12:09:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005956 post PendingInvicesDO 2 MED-141007193 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007193 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a353927-1b06-46f5-ab29-9ba3234ab74b' LIMIT 1 Date : 2025-11-12T12:51:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T12:51:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005957 post PendingInvicesDO 2 MED-141007195 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007195 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71227e27-1062-4213-a722-4e6473c4ca3e' LIMIT 1 Date : 2025-11-12T14:31:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T14:31:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005958 post PendingInvicesDO 2 MED-141007196 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007196 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3dad0604-b481-4f87-a79e-5a4a98757e6f' LIMIT 1 Date : 2025-11-12T14:44:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T14:44:00 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 MED-144005959 post PendingInvicesDO 2 MED-141007197 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007197 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='da0543e5-0c10-46ee-bb09-431656edadbf' LIMIT 1 Date : 2025-11-12T15:49:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T15:49:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005960 post PendingInvicesDO 2 MED-141007198 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007198 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='629859b7-09ea-43a3-ac83-182f0a4d0b87' LIMIT 1 Date : 2025-11-12T16:40:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-12T16:40:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005961 post PendingInvicesDO 2 MED-141007199 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007199 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07eb1501-a9ae-4a91-9e76-4b79856d19a0' LIMIT 1 Date : 2025-11-13T09:02:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T09:02:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005962 post PendingInvicesDO 2 MED-141007200 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007200 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d8bc16e-fcc2-4609-bfad-c19e75914607' LIMIT 1 Date : 2025-11-13T09:07:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T09:07:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005963 post PendingInvicesDO 2 MED-141007203 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007203 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b90d68ed-c854-4f12-8dfe-4efd2a361a0f' LIMIT 1 Date : 2025-11-13T12:22:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T12:22:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005964 post PendingInvicesDO 2 MED-141007205 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007205 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d8667817-18ef-4355-b3fd-b67a2099b48e' LIMIT 1 Date : 2025-11-13T14:08:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T14:08:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005965 post PendingInvicesDO 2 MED-141007207 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007207 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='945e2101-b55f-4166-a336-b9f7b19c50dc' LIMIT 1 Date : 2025-11-13T14:34:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T14:34:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005966 post PendingInvicesDO 2 MED-141007208 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007208 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fb607e18-3c54-4386-a824-c3182e46efe9' LIMIT 1 Date : 2025-11-13T14:41:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T14:41:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005967 post PendingInvicesDO 2 MED-141007209 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007209 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc519ead-01b8-4238-ab3f-b34697bf30ce' LIMIT 1 Date : 2025-11-13T15:06:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T15:06:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005968 post PendingInvicesDO 2 MED-141007210 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007210 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba271b45-2765-4a39-a303-c9dcc21f7ee6' LIMIT 1 Date : 2025-11-13T15:17:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T15:17:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005969 post PendingInvicesDO 2 MED-141007211 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007211 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a9bac01-77ed-486d-84b1-509668cabbbc' LIMIT 1 Date : 2025-11-13T15:49:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T15:49:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005970 post PendingInvicesDO 2 MED-141007212 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007212 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4cd5143-fa2d-441c-a8dc-faed2a7b962e' LIMIT 1 Date : 2025-11-13T18:16:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-13T18:16:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005971 post PendingInvicesDO 2 MED-141007213 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007213 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29bc4c24-b2e3-4fb3-ae49-917d5658cdbe' LIMIT 1 Date : 2025-11-15T07:50:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T07:50:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005972 post PendingInvicesDO 2 MED-141007217 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007217 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81b5034e-5377-42aa-be34-be8bb4ccf165' LIMIT 1 Date : 2025-11-15T11:31:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T11:31:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005973 post PendingInvicesDO 2 MED-141007218 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007218 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c942eb7b-9e4b-43b7-9d3a-b4eef4ab1917' LIMIT 1 Date : 2025-11-15T11:43:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T11:43:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005974 post PendingInvicesDO 2 MED-141007219 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007219 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='547975a6-bc58-4d54-a226-4b70cc3c0b50' LIMIT 1 Date : 2025-11-15T12:09:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T12:09:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005975 post PendingInvicesDO 2 MED-141007131 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007131 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141007131' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141007131' OR OrderId='MED-141007131' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-15T12:43:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005976 post PendingInvicesDO 2 MED-141007220 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141007220' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141007220' OR OrderId='MED-141007220' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-15T13:11:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005977 post PendingInvicesDO 2 MED-141007221 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007221 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='642768c2-650b-4f51-baa3-d2c5d643db72' LIMIT 1 Date : 2025-11-15T13:27:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T13:27:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005978 post PendingInvicesDO 2 MED-141007222 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007222 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='25d1b435-f018-4f6e-bb0d-4cfbfa9d5c29' LIMIT 1 Date : 2025-11-15T13:53:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T13:53:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005979 post PendingInvicesDO 2 MED-141007223 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007223 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0b97eb14-c54e-4f39-97b8-64c549039cfe' LIMIT 1 Date : 2025-11-15T13:59:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T13:59:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005980 post PendingInvicesDO 2 MED-141007226 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007226 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c56c744-80fb-4b68-93ce-fe461c3c968d' LIMIT 1 Date : 2025-11-15T15:35:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T15:35:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005981 post PendingInvicesDO 2 MED-141007227 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007227 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7919e1a1-6708-4851-9cc8-b6a8a0b77360' LIMIT 1 Date : 2025-11-15T15:55:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-15T15:55:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005982 post PendingInvicesDO 2 MED-141007229 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007229 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0bea38fa-6cab-4be2-8d3c-3a1a2f6b3f7e' LIMIT 1 Date : 2025-11-16T09:56:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T09:56:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005983 post PendingInvicesDO 2 MED-141007230 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007230 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10829e46-fe95-4b1c-97ed-ecead06ad7ed' LIMIT 1 Date : 2025-11-16T10:24:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T10:24:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005984 post PendingInvicesDO 2 MED-141007231 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007231 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af38cfbb-4491-42a8-9945-20527458b593' LIMIT 1 Date : 2025-11-16T11:11:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T11:11:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005985 post PendingInvicesDO 2 MED-141007232 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007232 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a8a9594-52c2-459d-bfd6-7e911aa47fdc' LIMIT 1 Date : 2025-11-16T11:25:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T11:25:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005986 post PendingInvicesDO 2 MED-141007233 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007233 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5773b9d0-d426-44f8-b053-d4c40e76f3fe' LIMIT 1 Date : 2025-11-16T11:42:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T11:42:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005987 post PendingInvicesDO 2 MED-141007236 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007236 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44686363-1366-4be5-90ee-1409533c8ffe' LIMIT 1 Date : 2025-11-16T14:36:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-16T14:36:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005988 post PendingInvicesDO 2 MED-141007238 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007238 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4743350b-ea2b-48bd-8e92-b3463c1ebf0d' LIMIT 1 Date : 2025-11-17T10:34:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T10:34:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005989 post PendingInvicesDO 2 MED-141007239 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007239 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7835cb26-3944-4f9a-95da-b38567df1cb8' LIMIT 1 Date : 2025-11-17T11:10:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T11:10:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005990 post PendingInvicesDO 2 MED-141007240 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007240 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32535f8c-cd05-4ed3-9868-8a99eeeda5f6' LIMIT 1 Date : 2025-11-17T11:22:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T11:22:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005991 post PendingInvicesDO 2 MED-141007241 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007241 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c80aead-bd38-47c6-a62c-9f5179c8c6bd' LIMIT 1 Date : 2025-11-17T11:31:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T11:31:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005992 post PendingInvicesDO 2 MED-141007242 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007242 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9cd2fd44-d30b-44e6-ad81-c3332db33570' LIMIT 1 Date : 2025-11-17T11:38:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T11:38:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005993 post PendingInvicesDO 2 MED-141007243 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007243 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='53a7b79a-2a6f-4074-82b3-1c137a71b17d' LIMIT 1 Date : 2025-11-17T11:57:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T11:57:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005994 post PendingInvicesDO 2 MED-141007244 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007244 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1234e6f-c305-4e78-99d7-ac7b35cbc7d8' LIMIT 1 Date : 2025-11-17T12:26:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T12:26:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005995 post PendingInvicesDO 2 MED-141007245 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007245 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b592cd4-1948-4705-ac2b-81cf1f8c35e6' LIMIT 1 Date : 2025-11-17T12:33:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T12:33:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005996 post PendingInvicesDO 2 MED-141007246 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007246 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='204e300f-dcb4-4308-867f-39f33174ee05' LIMIT 1 Date : 2025-11-17T12:54:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T12:54:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005997 post PendingInvicesDO 2 MED-141007247 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007247 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='723549cd-013e-4ef9-a91d-5176db03907f' LIMIT 1 Date : 2025-11-17T13:12:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T13:12:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005998 post PendingInvicesDO 2 MED-141007248 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007248 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce86459d-9672-4aed-9dc8-bb7598fa2ab7' LIMIT 1 Date : 2025-11-17T13:26:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T13:26:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144005999 post PendingInvicesDO 2 MED-141007249 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007249 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd3d03ff-251b-4250-b300-5b4c370ffe13' LIMIT 1 Date : 2025-11-17T14:18:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-17T14:18:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006000 post PendingInvicesDO 2 MED-141007250 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007250 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91663623-501f-4d15-aeb7-7246906d95cd' LIMIT 1 Date : 2025-11-18T08:55:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T08:55:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006001 post PendingInvicesDO 2 MED-141007252 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007252 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a01bb67c-fe9c-4df8-bcf9-52d11a843fde' LIMIT 1 Date : 2025-11-18T09:56:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T09:56:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006002 post PendingInvicesDO 2 MED-141007254 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007254 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3378dae9-27e7-4ae8-af25-35d948d9139c' LIMIT 1 Date : 2025-11-18T11:07:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T11:07:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006003 post PendingInvicesDO 2 MED-141007255 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007255 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1e52103-e7f3-4f28-8322-ae7a230ac89b' LIMIT 1 Date : 2025-11-18T11:27:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T11:27:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006004 post PendingInvicesDO 2 MED-141007258 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007258 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73e7977b-2f13-46af-b2bb-078f8620d7d6' LIMIT 1 Date : 2025-11-18T12:43:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T12:43:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006005 post PendingInvicesDO 2 MED-141007259 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007259 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c73dc9f-f1af-45ea-853f-08fedad71e92' LIMIT 1 Date : 2025-11-18T13:23:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T13:23:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006006 post PendingInvicesDO 2 MED-141007260 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007260 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e5e5596-ae48-4383-92f3-904351ef8f9c' LIMIT 1 Date : 2025-11-18T13:29:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T13:29:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006008 post PendingInvicesDO 2 MED-141007262 post PendingInvicesDO 2 MED-141007261 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144006007 post PendingInvicesDO 2 MED-141007262 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007261 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007262 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0605da9f-c6eb-4efe-a635-f0d86874d25a' LIMIT 1 Date : 2025-11-18T13:32:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94051431-1f41-4b09-a689-a20cd06da10b' LIMIT 1 Date : 2025-11-18T13:32:43  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0605da9f-c6eb-4efe-a635-f0d86874d25a' LIMIT 1 Date : 2025-11-18T13:32:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94051431-1f41-4b09-a689-a20cd06da10b' LIMIT 1 Date : 2025-11-18T13:32:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-18T13:32:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006009 post PendingInvicesDO 2 MED-141007263 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007263 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9525ace-6cf9-4d73-9b83-8a3231e04856' LIMIT 1 Date : 2025-11-18T13:44:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T13:44:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006010 post PendingInvicesDO 2 MED-141007264 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007264 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e6874527-2b19-4683-b233-0d34a4f00e22' LIMIT 1 Date : 2025-11-18T13:50:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T13:50:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006011 post PendingInvicesDO 2 MED-141007265 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007265 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d0167ae-5642-4590-a3fc-7b8d265ae0fc' LIMIT 1 Date : 2025-11-18T13:58:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T13:58:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006012 post PendingInvicesDO 2 MED-141007266 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007266 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea60bd8f-f45a-45ff-adab-2886add93eb6' LIMIT 1 Date : 2025-11-18T14:32:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T14:32:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006013 post PendingInvicesDO 2 MED-141007267 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007267 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b93e57b-bd5d-4e2a-9ad6-5e5eabd03f79' LIMIT 1 Date : 2025-11-18T14:43:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T14:43:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006014 post PendingInvicesDO 2 MED-141007268 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007268 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9735ee1-1f71-49c7-a35e-b404a2fb9541' LIMIT 1 Date : 2025-11-18T14:49:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-18T14:49:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006015 post PendingInvicesDO 2 MED-141007270 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007270 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94147460-c791-40f2-87e7-62677dbfea60' LIMIT 1 Date : 2025-11-19T09:40:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T09:40:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006016 post PendingInvicesDO 2 MED-141007271 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007271 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='93b1ed3b-3ec8-48e3-bdde-ed4d4323ce15' LIMIT 1 Date : 2025-11-19T10:05:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T10:05:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006017 post PendingInvicesDO 2 MED-141007273 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007273 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3613e95a-98a6-49d8-8992-1d43dbb0a5e8' LIMIT 1 Date : 2025-11-19T11:05:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T11:05:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006019 post PendingInvicesDO 2 MED-141007275 post PendingInvicesDO 2 MED-141007274 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144006018 post PendingInvicesDO 2 MED-141007275 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007274 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007275 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e76babfb-3ecd-4516-a1a2-970cb01bf671' LIMIT 1 Date : 2025-11-19T11:36:50  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ae47cbf-93ab-4cfb-b2d5-7f939b3407ef' LIMIT 1 Date : 2025-11-19T11:36:50  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e76babfb-3ecd-4516-a1a2-970cb01bf671' LIMIT 1 Date : 2025-11-19T11:36:50  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ae47cbf-93ab-4cfb-b2d5-7f939b3407ef' LIMIT 1 Date : 2025-11-19T11:36:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-19T11:36:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006021 post PendingInvicesDO 2 MED-141007277 post PendingInvicesDO 2 MED-141007276 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144006020 post PendingInvicesDO 2 MED-141007277 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007276 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007277 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1f0d45c-d5c7-4f60-b772-45332fa0675c' LIMIT 1 Date : 2025-11-19T12:53:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04462cea-781c-4ed0-bedd-7dc7d11fe62e' LIMIT 1 Date : 2025-11-19T12:53:19  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1f0d45c-d5c7-4f60-b772-45332fa0675c' LIMIT 1 Date : 2025-11-19T12:53:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04462cea-781c-4ed0-bedd-7dc7d11fe62e' LIMIT 1 Date : 2025-11-19T12:53:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-19T12:53:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006022 post PendingInvicesDO 2 MED-141007278 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007278 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b853d1ad-e865-453a-ad20-1194958320a3' LIMIT 1 Date : 2025-11-19T13:40:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T13:40:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006023 post PendingInvicesDO 2 MED-141007279 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007279 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be95876f-b442-47fe-a04a-9fbca6e30806' LIMIT 1 Date : 2025-11-19T13:53:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T13:53:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006024 post PendingInvicesDO 2 MED-141007280 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007280 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c68570ab-dbd4-4c7d-863a-dfb4a24a2385' LIMIT 1 Date : 2025-11-19T14:24:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-19T14:24:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006025 post PendingInvicesDO 2 MED-141007281 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007281 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ecebd1c-4428-400e-a2d0-e5861f9f8175' LIMIT 1 Date : 2025-11-20T08:20:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T08:20:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006026 post PendingInvicesDO 2 MED-141007283 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007283 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9aadd785-9674-43da-a3e2-e4f403a288de' LIMIT 1 Date : 2025-11-20T09:52:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T09:52:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006027 post PendingInvicesDO 2 MED-141007284 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007284 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73b03045-4972-41ae-8941-10369852a544' LIMIT 1 Date : 2025-11-20T10:02:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T10:02:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006028 post PendingInvicesDO 2 MED-141007285 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007285 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='351e7a45-09ec-4f27-8d88-0b5f659950f0' LIMIT 1 Date : 2025-11-20T10:26:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T10:26:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006029 post PendingInvicesDO 2 MED-141007286 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007286 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d9182b7-9303-4195-aa06-b6164831d56d' LIMIT 1 Date : 2025-11-20T10:56:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T10:56:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006031 post PendingInvicesDO 2 MED-141007289 post PendingInvicesDO 2 MED-141007288 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144006030 post PendingInvicesDO 2 MED-141007289 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007288 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007289 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ea65005-2b31-4b88-8b8f-52d09fb58fc1' LIMIT 1 Date : 2025-11-20T12:27:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa7e935a-a071-4948-b7ce-4ff0e44d84ff' LIMIT 1 Date : 2025-11-20T12:27:22  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ea65005-2b31-4b88-8b8f-52d09fb58fc1' LIMIT 1 Date : 2025-11-20T12:27:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa7e935a-a071-4948-b7ce-4ff0e44d84ff' LIMIT 1 Date : 2025-11-20T12:27:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-20T12:27:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006032 post PendingInvicesDO 2 MED-141007290 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007290 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4c59d59-6abb-466e-8071-e1551a89f133' LIMIT 1 Date : 2025-11-20T12:30:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T12:30:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006033 post PendingInvicesDO 2 MED-141007292 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007292 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f796cb20-2631-4220-856f-69ce41455dfa' LIMIT 1 Date : 2025-11-20T14:00:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T14:00:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006034 post PendingInvicesDO 2 MED-141007293 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007293 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d12dc0f-60f9-4cc3-a418-02089e2038c6' LIMIT 1 Date : 2025-11-20T14:15:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-20T14:15:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006035 post PendingInvicesDO 2 MED-141007294 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007294 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba9f3833-0cea-4d80-b508-da64156f86c6' LIMIT 1 Date : 2025-11-22T08:49:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T08:49:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006036 post PendingInvicesDO 2 MED-141007295 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007295 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2fe8361-57cb-48e5-89b6-bbd09b4a5b1a' LIMIT 1 Date : 2025-11-22T09:03:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T09:03:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006037 post PendingInvicesDO 2 MED-141007220 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141007220' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141007220' OR OrderId='MED-141007220' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-22T12:42:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006038 post PendingInvicesDO 2 MED-141007298 post vecPaymentInvoices vecPaymentDetails 2SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141007298' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141007298' OR OrderId='MED-141007298' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-22T12:49:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006039 post PendingInvicesDO 2 MED-141007300 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007300 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66493c9d-e696-4520-9acc-e94113278533' LIMIT 1 Date : 2025-11-22T14:19:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T14:19:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006040 post PendingInvicesDO 2 MED-141007301 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007301 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f25af9b-a8d7-4f67-979b-cc3f61b44791' LIMIT 1 Date : 2025-11-22T15:07:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T15:07:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006041 post PendingInvicesDO 2 MED-141007302 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007302 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b11d1e2a-2925-4b32-81a9-ec2aaab7356e' LIMIT 1 Date : 2025-11-22T15:30:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-22T15:30:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006043 post PendingInvicesDO 2 MED-141007304 post PendingInvicesDO 2 MED-141007303 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144006042 post PendingInvicesDO 2 MED-141007304 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007303 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007304 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='018587ca-7236-4e92-a1b4-c694b0e1a634' LIMIT 1 Date : 2025-11-22T15:49:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91feff30-ca25-426a-ba59-e1fcb1cc1099' LIMIT 1 Date : 2025-11-22T15:49:06  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='018587ca-7236-4e92-a1b4-c694b0e1a634' LIMIT 1 Date : 2025-11-22T15:49:06  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91feff30-ca25-426a-ba59-e1fcb1cc1099' LIMIT 1 Date : 2025-11-22T15:49:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-22T15:49:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006044 post PendingInvicesDO 2 MED-141007306 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007306 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b4df09d-1f5c-492b-b405-4dcead635514' LIMIT 1 Date : 2025-11-23T09:34:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T09:34:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006045 post PendingInvicesDO 2 MED-141007307 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007307 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31d3edcc-6cc2-43de-93d9-69152acf375c' LIMIT 1 Date : 2025-11-23T09:52:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T09:52:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006047 post PendingInvicesDO 2 MED-141007311 post PendingInvicesDO 2 MED-141007310 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144006046 post PendingInvicesDO 2 MED-141007311 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007310 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007311 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51ba4fd0-272b-4b17-8631-1899e01bd461' LIMIT 1 Date : 2025-11-23T11:33:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ee67a1f-a0bd-4321-9bf9-48eef917f761' LIMIT 1 Date : 2025-11-23T11:33:49  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51ba4fd0-272b-4b17-8631-1899e01bd461' LIMIT 1 Date : 2025-11-23T11:33:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ee67a1f-a0bd-4321-9bf9-48eef917f761' LIMIT 1 Date : 2025-11-23T11:33:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-23T11:33:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006048 post PendingInvicesDO 2 MED-141007312 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007312 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8c6926a-618d-49ea-bc1e-807d9fa3998c' LIMIT 1 Date : 2025-11-23T13:00:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T13:00:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006049 post PendingInvicesDO 2 MED-141007313 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007313 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67faef29-c356-46eb-9555-8381946c316c' LIMIT 1 Date : 2025-11-23T13:24:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T13:24:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006050 post PendingInvicesDO 2 MED-141007314 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007314 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a07aed48-031b-41ee-819c-1f8537df2ab7' LIMIT 1 Date : 2025-11-23T13:41:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T13:41:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006051 post PendingInvicesDO 2 MED-141007315 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007315 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2bec912-98af-430a-87ad-906730520d3f' LIMIT 1 Date : 2025-11-23T14:26:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T14:26:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006052 post PendingInvicesDO 2 MED-141007316 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007316 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84e46d40-e22b-4821-a51d-93857d53049a' LIMIT 1 Date : 2025-11-23T15:03:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T15:03:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006053 post PendingInvicesDO 2 MED-141007317 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007317 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d9d710f8-fae2-46d7-a7be-ba110f32829b' LIMIT 1 Date : 2025-11-23T15:18:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-23T15:18:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006054 post PendingInvicesDO 2 MED-141007319 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007319 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52a1c272-df7f-47b4-b37b-6e15dc05c958' LIMIT 1 Date : 2025-11-24T08:48:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T08:48:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006055 post PendingInvicesDO 2 MED-141007320 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007320 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f6639c1-454a-4496-8852-acb71e234fae' LIMIT 1 Date : 2025-11-24T10:03:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T10:03:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006056 post PendingInvicesDO 2 MED-141007321 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007321 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b5a5c587-a7ea-475f-b650-ccdace6d4c02' LIMIT 1 Date : 2025-11-24T10:32:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T10:32:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006057 post PendingInvicesDO 2 MED-141007322 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007322 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c40c2533-5f29-4260-86cf-51c33aa40d8a' LIMIT 1 Date : 2025-11-24T10:47:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T10:47:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006058 post PendingInvicesDO 2 MED-141007323 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007323 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b95e1fde-b072-4473-ad4d-9d11886de021' LIMIT 1 Date : 2025-11-24T11:01:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T11:01:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006059 post PendingInvicesDO 2 MED-141007324 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007324 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b3bdd71-9ec1-404f-8d38-7b5d7a331261' LIMIT 1 Date : 2025-11-24T11:03:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T11:03:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006060 post PendingInvicesDO 2 MED-141007325 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007325 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44c50a51-e5ac-49db-9c89-1b991bbea241' LIMIT 1 Date : 2025-11-24T11:10:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T11:10:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006061 post PendingInvicesDO 2 MED-141007326 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007326 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='65c8a3be-61d6-43f5-851e-cdbfcabb12cf' LIMIT 1 Date : 2025-11-24T11:28:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T11:28:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006062 post PendingInvicesDO 2 MED-141007327 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007327 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ffedec1-0f5f-4c11-89ea-a7feee70d0ea' LIMIT 1 Date : 2025-11-24T12:00:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T12:00:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006063 post PendingInvicesDO 2 MED-141007328 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007328 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1f513c0-c593-44c2-9388-802ad1a7b071' LIMIT 1 Date : 2025-11-24T12:58:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T12:58:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006064 post PendingInvicesDO 2 MED-141007206 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007206 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141007206' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141007206' OR OrderId='MED-141007206' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-24T13:07:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006065 post PendingInvicesDO 2 MED-141007330 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007330 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9dcbaea-5bcc-4e75-ac5c-f5d4851cc73f' LIMIT 1 Date : 2025-11-24T13:37:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T13:37:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006066 post PendingInvicesDO 2 MED-141007331 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007331 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a468e7a0-eba7-4f5c-8143-d0fe6db9762d' LIMIT 1 Date : 2025-11-24T13:46:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-24T13:46:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006067 post PendingInvicesDO 2 MED-141007333 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007333 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06a891ac-b0e1-4d70-9868-ebbf1141d012' LIMIT 1 Date : 2025-11-25T09:16:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T09:16:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006068 post PendingInvicesDO 2 MED-141007334 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007334 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='933d2a41-1869-4026-9ab0-57ea79f1adca' LIMIT 1 Date : 2025-11-25T09:34:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T09:34:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006069 post PendingInvicesDO 2 MED-141007335 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007335 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d69bae1-1801-43ae-8094-939eb4caafa1' LIMIT 1 Date : 2025-11-25T09:54:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T09:54:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006070 post PendingInvicesDO 2 MED-141007336 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007336 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af587b04-b315-4550-8436-ab25a1b4ad96' LIMIT 1 Date : 2025-11-25T10:27:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T10:27:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006072 post PendingInvicesDO 2 MED-141007338 post PendingInvicesDO 2 MED-141007337 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144006071 post PendingInvicesDO 2 MED-141007338 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007337 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007338 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03da1ea6-d070-462a-a8d3-ff90722df629' LIMIT 1 Date : 2025-11-25T10:49:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd437902-180f-498f-8ebb-f6a357708028' LIMIT 1 Date : 2025-11-25T10:49:40  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03da1ea6-d070-462a-a8d3-ff90722df629' LIMIT 1 Date : 2025-11-25T10:49:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cd437902-180f-498f-8ebb-f6a357708028' LIMIT 1 Date : 2025-11-25T10:49:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-25T10:49:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006073 post PendingInvicesDO 2 MED-141007339 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007339 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b35fcf06-87cf-4874-89fc-54a44fa14870' LIMIT 1 Date : 2025-11-25T11:07:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T11:07:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006074 post PendingInvicesDO 2 MED-141007340 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007340 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='055b892c-dc15-451d-bf2b-a6a9089393e6' LIMIT 1 Date : 2025-11-25T11:24:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T11:24:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006075 post PendingInvicesDO 2 MED-141007341 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007341 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dfee41f0-60e2-4b3a-b9e6-2ac3f0c6500d' LIMIT 1 Date : 2025-11-25T11:33:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T11:33:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006076 post PendingInvicesDO 2 MED-141007342 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007342 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac6813a6-48c1-49c8-8539-2d4573e66bba' LIMIT 1 Date : 2025-11-25T11:38:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T11:38:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006078 post PendingInvicesDO 2 MED-141007344 post PendingInvicesDO 2 MED-141007343 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144006077 post PendingInvicesDO 2 MED-141007344 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007343 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007344 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3c982f8-95b1-45f3-80df-4b7353254eea' LIMIT 1 Date : 2025-11-25T11:46:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79cfedf0-bf09-4baa-8415-256cba1a97ec' LIMIT 1 Date : 2025-11-25T11:46:30  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f3c982f8-95b1-45f3-80df-4b7353254eea' LIMIT 1 Date : 2025-11-25T11:46:30  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79cfedf0-bf09-4baa-8415-256cba1a97ec' LIMIT 1 Date : 2025-11-25T11:46:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-25T11:46:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006080 post PendingInvicesDO 2 MED-141007346 post PendingInvicesDO 2 MED-141007345 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 MED-144006079 post PendingInvicesDO 2 MED-141007346 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : MED-141007345 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007346 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5c3a115-8f7b-4569-9982-680a4e6cdf39' LIMIT 1 Date : 2025-11-25T12:49:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4da9f0eb-e6b1-40f3-9aa7-70c9bbe6a515' LIMIT 1 Date : 2025-11-25T12:49:35  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5c3a115-8f7b-4569-9982-680a4e6cdf39' LIMIT 1 Date : 2025-11-25T12:49:35  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4da9f0eb-e6b1-40f3-9aa7-70c9bbe6a515' LIMIT 1 Date : 2025-11-25T12:49:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-11-25T12:49:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006081 post PendingInvicesDO 2 MED-141007347 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007347 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8884ad1-1d3f-4277-a10d-3e51f6f85aaf' LIMIT 1 Date : 2025-11-25T13:58:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T13:58:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006082 post PendingInvicesDO 2 MED-141007348 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007348 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a9c8e6b-5d98-4f1b-9c7a-4d67e35572a7' LIMIT 1 Date : 2025-11-25T14:26:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-25T14:26:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006083 post PendingInvicesDO 2 MED-141007299 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007299 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141007299' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141007299' OR OrderId='MED-141007299' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-25T16:41:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006084 post PendingInvicesDO 2 MED-141007349 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007349 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72fce331-b6cf-48c6-b855-ce0f97e64cdf' LIMIT 1 Date : 2025-11-26T07:46:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T07:46:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006085 post PendingInvicesDO 2 MED-141007351 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007351 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72b261b2-a0b1-400b-82cc-45a132f088ed' LIMIT 1 Date : 2025-11-26T10:08:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T10:08:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006086 post PendingInvicesDO 2 MED-141007353 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007353 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3c213310-aab2-4c8f-b662-39a5c76a9736' LIMIT 1 Date : 2025-11-26T11:34:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T11:34:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006087 post PendingInvicesDO 2 MED-141007354 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007354 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b8f6bde-2f8a-44e1-ab6d-69f6ae2ba9fc' LIMIT 1 Date : 2025-11-26T12:28:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T12:28:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006088 post PendingInvicesDO 2 MED-141007355 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007355 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='186c7347-1757-417c-a15d-28812ebfaa4f' LIMIT 1 Date : 2025-11-26T12:59:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T12:59:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006089 post PendingInvicesDO 2 MED-141007356 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007356 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ea52343-d8c7-4550-a968-43ea7fc5357e' LIMIT 1 Date : 2025-11-26T13:27:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T13:27:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006090 post PendingInvicesDO 2 MED-141007357 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007357 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00e78efc-55f7-4b2d-8d69-2c1446ecd0c9' LIMIT 1 Date : 2025-11-26T13:44:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T13:44:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006091 post PendingInvicesDO 2 MED-141007358 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007358 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='97a6de18-230a-439f-bf74-ee826eb4d50d' LIMIT 1 Date : 2025-11-26T14:04:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-11-26T14:04:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 MED-144006092 post PendingInvicesDO 2 MED-141007064 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : MED-141007064 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'MED-141007064' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='MED-141007064' OR OrderId='MED-141007064' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-11-26T14:10:51 payment end 
