 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000581 post PendingInvicesDO 2 RUH-411000833 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000833 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb51a735-0f12-4366-9d6d-efd9db858563' LIMIT 1 Date : 2025-03-02T10:29:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-02T10:29:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000582 post PendingInvicesDO 2 RUH-411000840 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000840 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63f5452e-143e-4d10-8422-7ed2f3df988f' LIMIT 1 Date : 2025-03-04T11:59:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-04T11:59:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000583 post PendingInvicesDO 2 RUH-411000841 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000841 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a0c8318a-18f7-44d7-a361-5b26e9d4d84c' LIMIT 1 Date : 2025-03-04T13:13:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-04T13:13:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000584 post PendingInvicesDO 2 RUH-411000843 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000843 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='785639cd-c489-4fe6-9de6-69eaaaeaa1f0' LIMIT 1 Date : 2025-03-05T10:41:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T10:41:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000585 post PendingInvicesDO 2 RUH-411000845 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000845 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d74df115-a558-4c0e-853c-ec4833507e12' LIMIT 1 Date : 2025-03-05T12:27:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T12:27:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000586 post PendingInvicesDO 2 RUH-411000846 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000846 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd201303-d2a9-4072-a48f-baa5ebdab8ae' LIMIT 1 Date : 2025-03-05T12:52:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T12:52:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000587 post PendingInvicesDO 2 RUH-411000848 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000848 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3adcee9d-1898-4209-89a1-d8a5a264a533' LIMIT 1 Date : 2025-03-06T11:25:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T11:25:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000588 post PendingInvicesDO 2 RUH-411000849 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000849 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='abe2ca32-e533-4141-bb88-891cd4981adf' LIMIT 1 Date : 2025-03-06T13:09:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T13:09:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000589 post PendingInvicesDO 2 RUH-411000850 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000850 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27e5bb34-9f32-48ef-bce0-68268bc6a4d1' LIMIT 1 Date : 2025-03-06T14:19:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T14:19:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000590 post PendingInvicesDO 2 RUH-411000851 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000851 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2413f29a-05ce-4b0f-b267-c0aa9ec80e55' LIMIT 1 Date : 2025-03-06T14:44:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T14:44:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000591 post PendingInvicesDO 2 RUH-411000852 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000852 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b886a67-a947-4f28-9530-62bae755eb7e' LIMIT 1 Date : 2025-03-06T15:12:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T15:12:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000592 post PendingInvicesDO 2 RUH-411000853 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000853 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18eb424c-962e-4617-81fb-b1365c2898ed' LIMIT 1 Date : 2025-03-06T15:22:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T15:22:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000593 post PendingInvicesDO 2 RUH-411000854 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000854 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35fd83b7-8a88-4216-b443-c097c30790b0' LIMIT 1 Date : 2025-03-06T16:47:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-06T16:47:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000594 post PendingInvicesDO 2 RUH-411000856 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000856 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='732faa23-716d-4952-a2e6-0eaf2eabe89e' LIMIT 1 Date : 2025-03-08T10:03:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-08T10:03:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000595 post PendingInvicesDO 2 RUH-411000858 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000858 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f328e999-41de-4a13-82b6-05a58e6eeef5' LIMIT 1 Date : 2025-03-08T12:43:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-08T12:43:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000596 post PendingInvicesDO 2 RUH-411000862 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000862 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68168537-005f-4680-904f-961737afc5cd' LIMIT 1 Date : 2025-03-09T13:46:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-09T13:46:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000597 post PendingInvicesDO 2 RUH-411000863 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000863 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66bd1f9c-58c2-4cc7-8d20-0f3fa1bd685a' LIMIT 1 Date : 2025-03-09T14:22:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-09T14:22:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000598 post PendingInvicesDO 2 RUH-411000864 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000864 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e80197e1-3bca-4e39-b3ff-8f4bcc2e774c' LIMIT 1 Date : 2025-03-09T14:46:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-09T14:46:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000599 post PendingInvicesDO 2 RUH-411000865 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000865 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f49eaeef-277e-47a5-a213-3ed3c54b2331' LIMIT 1 Date : 2025-03-09T15:12:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-09T15:12:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000600 post PendingInvicesDO 2 RUH-411000870 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000870 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b37cf4a-73cf-42d2-ab18-95edc3135a4e' LIMIT 1 Date : 2025-03-10T12:51:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-10T12:51:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000601 post PendingInvicesDO 2 RUH-411000871 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000871 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='78872aeb-dab5-47e4-b18f-a3ceeb2c86f8' LIMIT 1 Date : 2025-03-10T13:44:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-10T13:44:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000602 post PendingInvicesDO 2 RUH-411000872 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000872 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1063b7dc-5dd8-4d84-85b5-9534c9c74cfd' LIMIT 1 Date : 2025-03-10T14:20:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-10T14:20:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000603 post PendingInvicesDO 2 RUH-411000876 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000876 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82b43d03-a6de-4f27-868b-1dc6eedcad64' LIMIT 1 Date : 2025-03-11T11:59:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T11:59:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000604 post PendingInvicesDO 2 RUH-411000877 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000877 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2d859b3-1ac9-4f09-9e49-a39651af3584' LIMIT 1 Date : 2025-03-11T12:19:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T12:19:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000605 post PendingInvicesDO 2 RUH-411000878 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000878 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de807a0f-5533-410f-bee9-c7bee584e0eb' LIMIT 1 Date : 2025-03-12T09:45:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T09:45:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000606 post PendingInvicesDO 2 RUH-411000842 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000842 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411000842' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411000842' OR OrderId='RUH-411000842' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-12T10:12:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000607 post PendingInvicesDO 2 RUH-411000879 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000879 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3f07a6e-1f48-45a4-93be-43a3f1e0d008' LIMIT 1 Date : 2025-03-12T10:42:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T10:42:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000608 post PendingInvicesDO 2 RUH-411000880 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000880 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fae04941-0d6e-401e-9769-6faa639508db' LIMIT 1 Date : 2025-03-12T10:54:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T10:54:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000609 post PendingInvicesDO 2 RUH-411000881 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000881 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='738b61b0-2927-40b2-91f6-0d1f26307c75' LIMIT 1 Date : 2025-03-12T11:11:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T11:11:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000610 post PendingInvicesDO 2 RUH-411000883 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000883 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9523e920-dfef-4846-85c1-3977fa2ccc33' LIMIT 1 Date : 2025-03-12T13:19:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T13:19:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000611 post PendingInvicesDO 2 RUH-411000884 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000884 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57483eef-9485-4cdc-8203-b5f47eb368fe' LIMIT 1 Date : 2025-03-12T14:14:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T14:14:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000613 post PendingInvicesDO 2 RUH-411000887 post PendingInvicesDO 2 RUH-411000886 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000612 post PendingInvicesDO 2 RUH-411000887 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411000886 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000887 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fce44bfc-2d82-4ca8-b68f-146232c20ba4' LIMIT 1 Date : 2025-03-13T10:07:00  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e817df54-5fe5-46cf-a4c2-3d1b4863caca' LIMIT 1 Date : 2025-03-13T10:07:00  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fce44bfc-2d82-4ca8-b68f-146232c20ba4' LIMIT 1 Date : 2025-03-13T10:07:00  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e817df54-5fe5-46cf-a4c2-3d1b4863caca' LIMIT 1 Date : 2025-03-13T10:07:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-13T10:07:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000614 post PendingInvicesDO 2 RUH-411000889 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000889 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57c43228-8617-4ac9-8631-dbda6ee20c20' LIMIT 1 Date : 2025-03-13T11:48:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T11:48:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000615 post PendingInvicesDO 2 RUH-411000890 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000890 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9dfbc901-d5f4-4b01-bbac-d16bd3986265' LIMIT 1 Date : 2025-03-13T13:00:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T13:00:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000616 post PendingInvicesDO 2 RUH-411000892 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000892 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec8f079b-6e3e-4980-a8f9-76c95e090793' LIMIT 1 Date : 2025-03-13T14:20:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T14:20:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000617 post PendingInvicesDO 2 RUH-411000893 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000893 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6175829a-4d43-4218-88fc-519044e4283b' LIMIT 1 Date : 2025-03-13T16:00:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T16:00:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000618 post PendingInvicesDO 2 RUH-411000829 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000829 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411000829' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411000829' OR OrderId='RUH-411000829' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-13T16:31:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000619 post PendingInvicesDO 2 RUH-411000896 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000896 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411000896' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411000896' OR OrderId='RUH-411000896' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-15T19:13:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000620 post PendingInvicesDO 2 RUH-411000818 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000818 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411000818' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411000818' OR OrderId='RUH-411000818' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-16T12:41:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000621 post PendingInvicesDO 2 RUH-411000901 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000901 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b327e5fa-33bc-4076-858b-269999086d76' LIMIT 1 Date : 2025-03-16T14:16:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T14:16:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000622 post PendingInvicesDO 2 RUH-411000902 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000902 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e3ce007c-85b5-48ca-92b1-419187f05486' LIMIT 1 Date : 2025-03-16T14:42:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T14:42:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000623 post PendingInvicesDO 2 RUH-411000903 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000903 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fda21ed-4dcb-4a80-afb3-ece276471c01' LIMIT 1 Date : 2025-03-16T15:03:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T15:03:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000625 post PendingInvicesDO 2 RUH-411000905 post PendingInvicesDO 2 RUH-411000904 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000624 post PendingInvicesDO 2 RUH-411000905 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411000904 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000905 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de86fff1-efeb-4f1f-8ee0-f23d81edcf92' LIMIT 1 Date : 2025-03-16T15:30:13  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47228316-3652-4a2f-8540-1ae696516955' LIMIT 1 Date : 2025-03-16T15:30:13  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de86fff1-efeb-4f1f-8ee0-f23d81edcf92' LIMIT 1 Date : 2025-03-16T15:30:13  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47228316-3652-4a2f-8540-1ae696516955' LIMIT 1 Date : 2025-03-16T15:30:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-16T15:30:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000626 post PendingInvicesDO 2 RUH-411000906 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000906 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='129b42f5-4c92-4f46-add7-cc50432f1781' LIMIT 1 Date : 2025-03-16T16:46:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T16:46:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000627 post PendingInvicesDO 2 RUH-411000907 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000907 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03813b6f-0beb-46b1-b8d2-ff364bb0dc20' LIMIT 1 Date : 2025-03-16T16:58:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T16:58:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000628 post PendingInvicesDO 2 RUH-411000909 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000909 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8a00b0d-acbf-490e-8943-c837b8cdb75c' LIMIT 1 Date : 2025-03-16T18:26:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T18:26:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000629 post PendingInvicesDO 2 RUH-411000910 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000910 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2db69e77-f9d3-44a3-b4e0-80e96af04bec' LIMIT 1 Date : 2025-03-16T18:56:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T18:56:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000630 post PendingInvicesDO 2 RUH-411000911 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000911 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9acb76e9-530b-44ae-b9e6-f588f650d882' LIMIT 1 Date : 2025-03-16T20:05:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T20:05:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000631 post PendingInvicesDO 2 RUH-411000916 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000916 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='180d60fb-57e2-4f29-ab25-93d2c9aecdb3' LIMIT 1 Date : 2025-03-18T12:11:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T12:11:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000633 post PendingInvicesDO 2 RUH-411000918 post PendingInvicesDO 2 RUH-411000917 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000632 post PendingInvicesDO 2 RUH-411000918 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411000917 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000918 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47e7fe07-4544-46f9-a1fe-676e6b37c17d' LIMIT 1 Date : 2025-03-18T12:29:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43239236-5f34-4735-a4f4-902f2e5a2a83' LIMIT 1 Date : 2025-03-18T12:29:32  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47e7fe07-4544-46f9-a1fe-676e6b37c17d' LIMIT 1 Date : 2025-03-18T12:29:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43239236-5f34-4735-a4f4-902f2e5a2a83' LIMIT 1 Date : 2025-03-18T12:29:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-18T12:29:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000634 post PendingInvicesDO 2 RUH-411000919 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000919 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6faeb9a0-de0c-4a7f-8e02-e6fd8bcc124d' LIMIT 1 Date : 2025-03-18T12:51:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T12:51:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000635 post PendingInvicesDO 2 RUH-411000921 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000921 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41d09979-16bb-4c07-a555-44f318aa9075' LIMIT 1 Date : 2025-03-19T10:03:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T10:03:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000637 post PendingInvicesDO 2 RUH-411000923 post PendingInvicesDO 2 RUH-411000922 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000636 post PendingInvicesDO 2 RUH-411000923 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411000922 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000923 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7dd4335-0211-44dc-90f5-17ac8b0f9048' LIMIT 1 Date : 2025-03-19T10:48:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3555fdbf-42e1-4ff7-904f-85db435e37aa' LIMIT 1 Date : 2025-03-19T10:48:55  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7dd4335-0211-44dc-90f5-17ac8b0f9048' LIMIT 1 Date : 2025-03-19T10:48:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3555fdbf-42e1-4ff7-904f-85db435e37aa' LIMIT 1 Date : 2025-03-19T10:48:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-19T10:48:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000638 post PendingInvicesDO 2 RUH-411000926 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000926 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed2fdc97-f1df-42ad-b3ef-f70691dd4b18' LIMIT 1 Date : 2025-03-19T13:25:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T13:25:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000639 post PendingInvicesDO 2 RUH-411000927 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000927 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='54f0db4a-a9e9-47ab-a8c5-216664806ba0' LIMIT 1 Date : 2025-03-19T13:57:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T13:57:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000640 post PendingInvicesDO 2 RUH-411000928 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000928 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0a9afac-809f-4bb3-940c-41a076864950' LIMIT 1 Date : 2025-03-19T17:00:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T17:00:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000641 post PendingInvicesDO 2 RUH-411000929 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000929 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70d80246-1656-411e-b275-2c6dc96ae740' LIMIT 1 Date : 2025-03-19T17:26:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T17:26:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000642 post PendingInvicesDO 2 RUH-411000930 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000930 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17f740a9-0507-497a-8812-1c09c96d1053' LIMIT 1 Date : 2025-03-19T17:47:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T17:47:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000643 post PendingInvicesDO 2 RUH-411000891 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000891 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411000891' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411000891' OR OrderId='RUH-411000891' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-19T19:26:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000644 post PendingInvicesDO 2 RUH-411000932 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000932 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb09aad7-f217-49af-ab27-5d6f13857bee' LIMIT 1 Date : 2025-03-20T10:56:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T10:56:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000645 post PendingInvicesDO 2 RUH-411000933 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000933 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98d71fc4-dfc0-4799-9b56-5f0acae9bfde' LIMIT 1 Date : 2025-03-20T11:31:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T11:31:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000646 post PendingInvicesDO 2 RUH-411000934 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000934 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7479a3b-2fdc-4a94-ad8b-a45bc1a64a1d' LIMIT 1 Date : 2025-03-20T12:06:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T12:06:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000647 post PendingInvicesDO 2 RUH-411000936 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000936 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57402030-ad25-4779-a99e-ec5c60ab573b' LIMIT 1 Date : 2025-03-20T15:17:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T15:17:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000648 post PendingInvicesDO 2 RUH-411000937 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000937 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70ef12e4-0162-4a08-ab07-0a2c71a1838e' LIMIT 1 Date : 2025-03-20T16:23:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-20T16:23:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000649 post PendingInvicesDO 2 RUH-411000940 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000940 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba2b251b-bed2-4462-ba0b-c89ca08e6f0a' LIMIT 1 Date : 2025-03-22T13:32:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-22T13:32:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000650 post PendingInvicesDO 2 RUH-411000941 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000941 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='649c179f-8759-4b84-a098-1f55258b16e7' LIMIT 1 Date : 2025-03-22T14:17:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-22T14:17:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000652 post PendingInvicesDO 2 RUH-411000944 post PendingInvicesDO 2 RUH-411000943 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000651 post PendingInvicesDO 2 RUH-411000944 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411000943 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000944 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b7e806d-796f-408a-8e12-ce023ee322ab' LIMIT 1 Date : 2025-03-23T10:59:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a94bf224-12f3-405a-b37d-5f2f30ffd69d' LIMIT 1 Date : 2025-03-23T10:59:46  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4b7e806d-796f-408a-8e12-ce023ee322ab' LIMIT 1 Date : 2025-03-23T10:59:46  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a94bf224-12f3-405a-b37d-5f2f30ffd69d' LIMIT 1 Date : 2025-03-23T10:59:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-23T10:59:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000654 post PendingInvicesDO 2 RUH-411000946 post PendingInvicesDO 2 RUH-411000945 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000653 post PendingInvicesDO 2 RUH-411000946 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411000945 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000946 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a511925-c554-4a06-8166-d56bc2d717db' LIMIT 1 Date : 2025-03-23T12:28:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0be1dc5-8378-4c58-b821-fc9af8b751fe' LIMIT 1 Date : 2025-03-23T12:28:45  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a511925-c554-4a06-8166-d56bc2d717db' LIMIT 1 Date : 2025-03-23T12:28:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f0be1dc5-8378-4c58-b821-fc9af8b751fe' LIMIT 1 Date : 2025-03-23T12:28:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-23T12:28:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000655 post PendingInvicesDO 2 RUH-411000947 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000947 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8a8b097-fcb6-453d-bf78-6a005f96f043' LIMIT 1 Date : 2025-03-23T13:04:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-23T13:04:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000657 post PendingInvicesDO 2 RUH-411000952 post PendingInvicesDO 2 RUH-411000951 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000656 post PendingInvicesDO 2 RUH-411000952 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411000951 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000952 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00d04595-c800-4bb8-8e47-9f5c8ffdf62b' LIMIT 1 Date : 2025-03-24T12:46:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2b1a80b-3ee4-407b-adcb-bdf3734b43b6' LIMIT 1 Date : 2025-03-24T12:46:54  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00d04595-c800-4bb8-8e47-9f5c8ffdf62b' LIMIT 1 Date : 2025-03-24T12:46:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2b1a80b-3ee4-407b-adcb-bdf3734b43b6' LIMIT 1 Date : 2025-03-24T12:46:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-24T12:46:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000658 post PendingInvicesDO 2 RUH-411000953 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000953 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='703006d6-3b7a-451a-a323-89628e7aa9f3' LIMIT 1 Date : 2025-03-24T13:39:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T13:39:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000659 post PendingInvicesDO 2 RUH-411000954 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000954 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ea95c60-ef75-4e16-8322-f249128900b9' LIMIT 1 Date : 2025-03-24T15:07:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T15:07:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000660 post PendingInvicesDO 2 RUH-411000958 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000958 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49229b0b-d43b-4fa6-b3a4-e475c9ca58b6' LIMIT 1 Date : 2025-03-25T11:39:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T11:39:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000661 post PendingInvicesDO 2 RUH-411000959 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000959 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e697b6a1-f06a-445e-a684-8af587d2abe4' LIMIT 1 Date : 2025-03-26T09:43:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T09:43:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000662 post PendingInvicesDO 2 RUH-411000962 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000962 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='182620ec-067b-406b-813b-e8a4fbb76761' LIMIT 1 Date : 2025-03-26T11:01:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T11:01:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000663 post PendingInvicesDO 2 RUH-411000963 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000963 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32486753-0a22-4bcc-83ec-6da0d4fdfd28' LIMIT 1 Date : 2025-03-26T11:15:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T11:15:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000664 post PendingInvicesDO 2 RUH-411000964 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000964 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6132593e-3904-4a9c-a287-479efaad00eb' LIMIT 1 Date : 2025-03-26T11:35:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T11:35:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000665 post PendingInvicesDO 2 RUH-411000965 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000965 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70716644-77c8-4fa8-b5e4-c325ec84d7bb' LIMIT 1 Date : 2025-03-26T12:01:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T12:01:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000666 post PendingInvicesDO 2 RUH-411000966 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000966 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ad1c00d-bf62-4811-a726-2c1840a1072a' LIMIT 1 Date : 2025-03-26T13:24:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T13:24:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000667 post PendingInvicesDO 2 RUH-411000967 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000967 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='caa02be2-b6d7-4b60-b77e-48080445272f' LIMIT 1 Date : 2025-03-26T14:17:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T14:17:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000668 post PendingInvicesDO 2 RUH-411000968 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000968 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6b13cce-e3d1-45ad-b2a2-c9e4c4900c13' LIMIT 1 Date : 2025-03-26T15:36:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T15:36:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000669 post PendingInvicesDO 2 RUH-411000969 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000969 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='568fd1ed-4daa-4902-b59f-24e5ba740ee5' LIMIT 1 Date : 2025-03-26T16:00:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T16:00:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000670 post PendingInvicesDO 2 RUH-411000972 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000972 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a6fee17-8cf9-4432-a2c1-48932cdf208c' LIMIT 1 Date : 2025-03-27T12:49:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T12:49:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000671 post PendingInvicesDO 2 RUH-411000973 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000973 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45737cac-32c9-4dbe-bb8b-b5f7314b3ed0' LIMIT 1 Date : 2025-03-27T13:38:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T13:38:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000672 post PendingInvicesDO 2 RUH-411000974 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000974 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='feb9af0e-238c-4df2-a00d-c2e3f8859a07' LIMIT 1 Date : 2025-03-27T14:17:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T14:17:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000673 post PendingInvicesDO 2 RUH-411000975 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000975 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3f866237-da94-477f-b669-8a74f4e8089f' LIMIT 1 Date : 2025-03-27T14:18:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T14:18:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000674 post PendingInvicesDO 2 RUH-411000976 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000976 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa025831-8676-4df4-8c10-216fb6070dec' LIMIT 1 Date : 2025-03-27T14:55:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T14:55:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000675 post PendingInvicesDO 2 RUH-411000977 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000977 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4835a0f9-dade-4e5d-a685-ed867c7ab734' LIMIT 1 Date : 2025-03-27T15:26:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T15:26:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000676 post PendingInvicesDO 2 RUH-411000983 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000983 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe819a67-2851-4c9f-bfbc-897f97ee2dbc' LIMIT 1 Date : 2025-03-29T15:12:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T15:12:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000677 post PendingInvicesDO 2 RUH-411000984 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000984 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7b89634-5ff6-414c-82fa-288e4e2e508f' LIMIT 1 Date : 2025-03-29T16:04:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T16:04:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000678 post PendingInvicesDO 2 RUH-411000985 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000985 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c68d16f-5ca0-40ef-987c-780a88e293eb' LIMIT 1 Date : 2025-03-29T16:28:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T16:28:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000679 post PendingInvicesDO 2 RUH-411000986 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000986 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411000986' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411000986' OR OrderId='RUH-411000986' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-29T17:50:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000680 post PendingInvicesDO 2 RUH-411000987 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000987 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28c5fae4-a462-4b3a-9b61-30383caf1316' LIMIT 1 Date : 2025-03-29T18:52:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T18:52:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000681 post PendingInvicesDO 2 RUH-411000960 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000960 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411000960' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411000960' OR OrderId='RUH-411000960' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-29T19:43:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000682 post PendingInvicesDO 2 RUH-411000990 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000990 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1c5f0e9-e2f8-4d4d-9baf-a6edc339c400' LIMIT 1 Date : 2025-04-01T09:47:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T09:47:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000683 post PendingInvicesDO 2 RUH-411000992 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000992 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0696bbd2-1ffb-45f0-809f-799cba3b6949' LIMIT 1 Date : 2025-04-01T11:31:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T11:31:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000684 post PendingInvicesDO 2 RUH-411000993 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000993 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b1067f3-d70b-4218-84ea-fc146074f8e1' LIMIT 1 Date : 2025-04-01T11:58:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T11:58:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000685 post PendingInvicesDO 2 RUH-411000994 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000994 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8acdc7d2-ce2f-498d-bc9a-94c0cd567c76' LIMIT 1 Date : 2025-04-01T18:19:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T18:19:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000686 post PendingInvicesDO 2 RUH-411000995 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000995 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb2f417a-5b54-4b1e-9e8b-0ad9da18d5e2' LIMIT 1 Date : 2025-04-02T07:56:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T07:56:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000687 post PendingInvicesDO 2 RUH-411000996 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000996 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2ba8715-4633-4c3e-97fc-a845bc8efa38' LIMIT 1 Date : 2025-04-02T08:22:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T08:22:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000688 post PendingInvicesDO 2 RUH-411000999 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000999 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ee45d3de-303b-4246-9105-85bdc26d5e05' LIMIT 1 Date : 2025-04-02T10:36:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T10:36:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000689 post PendingInvicesDO 2 RUH-411001000 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001000 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f85f8e3-ead7-492d-893e-a2d2a4057064' LIMIT 1 Date : 2025-04-02T11:04:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T11:04:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000690 post PendingInvicesDO 2 RUH-411001001 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001001 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='943795dc-c754-460a-b416-6f780fcc14fd' LIMIT 1 Date : 2025-04-02T11:17:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T11:17:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000691 post PendingInvicesDO 2 RUH-411001002 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001002 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5bda60d2-e257-4da5-96ad-86bf07f57146' LIMIT 1 Date : 2025-04-02T11:51:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T11:51:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000692 post PendingInvicesDO 2 RUH-411001006 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001006 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1fbadee9-d542-444f-90c1-9b95d5f22d97' LIMIT 1 Date : 2025-04-03T08:09:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T08:09:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000693 post PendingInvicesDO 2 RUH-411001007 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001007 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='187df39b-43a5-4043-997b-43d2e6c8be09' LIMIT 1 Date : 2025-04-03T08:42:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T08:42:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000694 post PendingInvicesDO 2 RUH-411001008 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001008 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9a9e35b-0649-4d4b-9d86-b700930f9370' LIMIT 1 Date : 2025-04-03T09:07:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T09:07:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000695 post PendingInvicesDO 2 RUH-411001009 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001009 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c684f812-e772-452b-9d5a-65af7ada51c5' LIMIT 1 Date : 2025-04-03T09:24:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T09:24:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000696 post PendingInvicesDO 2 RUH-411001010 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001010 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27eeb4fa-81e7-4461-813f-f50088d77990' LIMIT 1 Date : 2025-04-03T09:56:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T09:56:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000697 post PendingInvicesDO 2 RUH-411001012 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001012 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6eca3647-6356-430d-884b-2aac71f01f6a' LIMIT 1 Date : 2025-04-03T11:47:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T11:47:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000698 post PendingInvicesDO 2 RUH-411001013 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001013 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59bad090-35fd-4d69-b6a6-175aaa7eaeb1' LIMIT 1 Date : 2025-04-03T12:17:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T12:17:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000699 post PendingInvicesDO 2 RUH-411001014 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001014 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3f8ad22-65f3-43f2-ac4e-991e9eb47a85' LIMIT 1 Date : 2025-04-03T12:57:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T12:57:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000700 post PendingInvicesDO 2 RUH-411000894 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000894 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411000894' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411000894' OR OrderId='RUH-411000894' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-03T14:31:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000701 post PendingInvicesDO 2 RUH-411001017 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001017 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1abcd584-b465-47a3-809c-be5d051cecd5' LIMIT 1 Date : 2025-04-03T15:19:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T15:19:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000702 post PendingInvicesDO 2 RUH-411001018 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001018 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4d268fc-8ab7-4bb4-b139-479544f3e606' LIMIT 1 Date : 2025-04-03T15:44:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-03T15:44:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000704 post PendingInvicesDO 2 RUH-411001026 post PendingInvicesDO 2 RUH-411001025 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000703 post PendingInvicesDO 2 RUH-411001026 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001025 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001026 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc59bc1c-227f-421f-aa6d-ff2dc0a279ed' LIMIT 1 Date : 2025-04-05T13:14:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='647bee8d-2537-438b-bb6f-369cff6dfe5b' LIMIT 1 Date : 2025-04-05T13:14:54  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc59bc1c-227f-421f-aa6d-ff2dc0a279ed' LIMIT 1 Date : 2025-04-05T13:14:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='647bee8d-2537-438b-bb6f-369cff6dfe5b' LIMIT 1 Date : 2025-04-05T13:14:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-05T13:14:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000705 post PendingInvicesDO 2 RUH-411001029 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001029 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5ec43114-c04e-48fe-8b7e-2b6751717371' LIMIT 1 Date : 2025-04-05T15:28:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T15:28:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000706 post PendingInvicesDO 2 RUH-411001030 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001030 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ff86449-c840-4954-8268-896778761e96' LIMIT 1 Date : 2025-04-05T16:02:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T16:02:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000707 post PendingInvicesDO 2 RUH-411001031 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001031 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7f5bf890-277a-40b1-abb9-6dc4db7bd71c' LIMIT 1 Date : 2025-04-05T16:34:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T16:34:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000708 post PendingInvicesDO 2 RUH-411001032 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001032 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d007193f-e831-48d2-9e65-ee925ff115fb' LIMIT 1 Date : 2025-04-05T17:12:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T17:12:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000709 post PendingInvicesDO 2 RUH-411001033 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001033 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7ea45b7-ebc3-4054-bbb4-618bbc90a73b' LIMIT 1 Date : 2025-04-05T18:38:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T18:38:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000710 post PendingInvicesDO 2 RUH-411001034 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001034 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='126b2e39-0b8a-4dba-966d-75e8f024ed54' LIMIT 1 Date : 2025-04-05T19:11:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T19:11:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000711 post PendingInvicesDO 2 RUH-411001035 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001035 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34b9559c-98de-49ff-b12e-e18ec626db31' LIMIT 1 Date : 2025-04-05T19:30:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T19:30:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000712 post PendingInvicesDO 2 RUH-411001036 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001036 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c05db3a4-7b70-44eb-8f67-6fa390775281' LIMIT 1 Date : 2025-04-05T19:59:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T19:59:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000713 post PendingInvicesDO 2 RUH-411001037 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001037 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='103859c3-74c4-4e35-91f3-f73325764807' LIMIT 1 Date : 2025-04-05T20:11:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T20:11:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000714 post PendingInvicesDO 2 RUH-411001038 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001038 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a70a8808-ef86-4d61-ae63-1e34a2993da9' LIMIT 1 Date : 2025-04-05T23:24:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T23:24:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000715 post PendingInvicesDO 2 RUH-411001027 post PendingInvicesDO 2 RUH-411001028 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001028 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001027 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001027' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001027' OR OrderId='RUH-411001027' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001028' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001028' OR OrderId='RUH-411001028' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-05T23:31:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000717 post PendingInvicesDO 2 RUH-411001024 post PendingInvicesDO 2 RUH-411001023 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000716 post PendingInvicesDO 2 RUH-411001024 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001023 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001024 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001024' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001024' OR OrderId='RUH-411001024' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001024' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001024' OR OrderId='RUH-411001024' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-05T23:31:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000718 post PendingInvicesDO 2 RUH-411001041 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001041 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a587fc3a-d38f-4e08-a2a1-0a80d3f5dba4' LIMIT 1 Date : 2025-04-06T09:28:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T09:28:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000719 post PendingInvicesDO 2 RUH-411001044 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001044 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4a5f933-352c-485a-b62d-79331a448b2d' LIMIT 1 Date : 2025-04-06T11:59:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T11:59:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000721 post PendingInvicesDO 2 RUH-411001050 post PendingInvicesDO 2 RUH-411001049 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000720 post PendingInvicesDO 2 RUH-411001050 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001049 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001050 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45a86ced-1804-477a-99eb-43e659db8095' LIMIT 1 Date : 2025-04-06T16:01:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e30e03d-ca68-4a63-853b-6edd47f1f199' LIMIT 1 Date : 2025-04-06T16:01:05  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45a86ced-1804-477a-99eb-43e659db8095' LIMIT 1 Date : 2025-04-06T16:01:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e30e03d-ca68-4a63-853b-6edd47f1f199' LIMIT 1 Date : 2025-04-06T16:01:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-06T16:01:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000722 post PendingInvicesDO 2 RUH-411001051 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001051 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffeec845-017c-4ffc-9ab3-0e6e7fbbebf0' LIMIT 1 Date : 2025-04-06T19:02:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T19:02:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000723 post PendingInvicesDO 2 RUH-411001052 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001052 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fabbfe6a-5115-4ceb-91f0-a57ec910af8d' LIMIT 1 Date : 2025-04-07T08:10:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T08:10:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000724 post PendingInvicesDO 2 RUH-411001054 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001054 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e5f9860-a966-4384-9df1-ea4aa9dd7c42' LIMIT 1 Date : 2025-04-07T09:45:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T09:45:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000725 post PendingInvicesDO 2 RUH-411001058 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001058 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='faf0afdb-d5fb-4490-875c-54b4f3f232c7' LIMIT 1 Date : 2025-04-07T12:54:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T12:54:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000726 post PendingInvicesDO 2 RUH-411001059 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001059 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd9ac97a-605b-4b96-8030-9bc758752f95' LIMIT 1 Date : 2025-04-07T13:27:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T13:27:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000727 post PendingInvicesDO 2 RUH-411001063 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001062 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001063 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001063' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001063' OR OrderId='RUH-411001063' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-07T16:08:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000729 post PendingInvicesDO 2 RUH-411001064 post PendingInvicesDO 2 RUH-411001062 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000728 post PendingInvicesDO 2 RUH-411001064 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001064 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001064' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001064' OR OrderId='RUH-411001064' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001064' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001064' OR OrderId='RUH-411001064' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-07T16:15:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000730 post PendingInvicesDO 2 RUH-411001065 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001065 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2083ab0f-d4e1-48cc-9865-216998559969' LIMIT 1 Date : 2025-04-07T17:14:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T17:14:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000731 post PendingInvicesDO 2 RUH-411001066 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001066 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a583fdb1-7a01-4ed1-807c-eaa9d351f7f1' LIMIT 1 Date : 2025-04-07T17:35:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T17:35:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000732 post PendingInvicesDO 2 RUH-411001067 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001067 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a7785d6-bee9-4f96-a20d-f193762c5770' LIMIT 1 Date : 2025-04-07T17:44:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T17:44:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000733 post PendingInvicesDO 2 RUH-411001060 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001060 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001060' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001060' OR OrderId='RUH-411001060' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-07T18:43:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000734 post PendingInvicesDO 2 RUH-411001069 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001069 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7df5608-8e0f-494b-9344-6e2c47d0f3d7' LIMIT 1 Date : 2025-04-08T09:52:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T09:52:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000735 post PendingInvicesDO 2 RUH-411001072 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001072 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ee7711a-6e3e-4832-b40a-f211b6b2680c' LIMIT 1 Date : 2025-04-08T11:05:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T11:05:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000736 post PendingInvicesDO 2 RUH-411001073 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001073 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b157aea-034b-4ad2-9f85-cfe3aa97fce9' LIMIT 1 Date : 2025-04-08T11:42:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T11:42:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000737 post PendingInvicesDO 2 RUH-411001074 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001074 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b80f79f-8031-4bfb-93bd-2ede17b83b31' LIMIT 1 Date : 2025-04-08T12:48:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T12:48:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000738 post PendingInvicesDO 2 RUH-411001075 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001075 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed122f71-a73e-44f8-998c-a6ae548aa5eb' LIMIT 1 Date : 2025-04-08T16:14:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T16:14:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000739 post PendingInvicesDO 2 RUH-411001076 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001076 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ae1867a-9572-4522-868b-c9120a35264e' LIMIT 1 Date : 2025-04-08T16:36:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T16:36:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000740 post PendingInvicesDO 2 RUH-411001077 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001077 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a284ead4-f25d-4911-8476-2ee825c6df21' LIMIT 1 Date : 2025-04-08T17:07:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T17:07:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000741 post PendingInvicesDO 2 RUH-411001061 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001061 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001061' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001061' OR OrderId='RUH-411001061' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-08T17:56:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000742 post PendingInvicesDO 2 RUH-411001078 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001078 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='035c2482-59de-4971-808d-dd7be7dda471' LIMIT 1 Date : 2025-04-09T08:48:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T08:48:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000743 post PendingInvicesDO 2 RUH-411001079 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001079 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15556863-92ac-4195-9785-54219d56fb2a' LIMIT 1 Date : 2025-04-09T09:18:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T09:18:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000744 post PendingInvicesDO 2 RUH-411001080 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001080 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb4b7225-4dd6-42d8-bc05-0e063a982609' LIMIT 1 Date : 2025-04-09T09:45:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T09:45:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000745 post PendingInvicesDO 2 RUH-411001081 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001081 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d031067f-8b6f-483c-a0d7-62171b097087' LIMIT 1 Date : 2025-04-09T10:08:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T10:08:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000746 post PendingInvicesDO 2 RUH-411001082 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001082 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a700613-1bc1-4235-9718-cfa4a51fde75' LIMIT 1 Date : 2025-04-09T10:30:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T10:30:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000747 post PendingInvicesDO 2 RUH-411001083 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001083 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f31526f-e6d1-4bb8-9c49-60b60693dfc9' LIMIT 1 Date : 2025-04-09T11:03:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T11:03:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000748 post PendingInvicesDO 2 RUH-411001084 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001084 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12c1759e-54ea-4984-a4de-0dd2acda0397' LIMIT 1 Date : 2025-04-09T11:33:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T11:33:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000749 post PendingInvicesDO 2 RUH-411000997 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000997 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411000997' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411000997' OR OrderId='RUH-411000997' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-09T12:05:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000750 post PendingInvicesDO 2 RUH-411001086 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001086 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed00885b-ee59-4721-aeb7-a57c5bfaba23' LIMIT 1 Date : 2025-04-09T12:38:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T12:38:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000751 post PendingInvicesDO 2 RUH-411001087 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001087 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='476048df-2900-4f6d-b9db-052c73d01645' LIMIT 1 Date : 2025-04-09T12:58:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T12:58:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000753 post PendingInvicesDO 2 RUH-411001089 post PendingInvicesDO 2 RUH-411001088 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000752 post PendingInvicesDO 2 RUH-411001089 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001088 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001089 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82648215-cf64-4c04-aee1-aedebd9575e9' LIMIT 1 Date : 2025-04-09T13:20:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d204d20b-31f0-4e5e-92f5-638018672ddd' LIMIT 1 Date : 2025-04-09T13:20:36  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82648215-cf64-4c04-aee1-aedebd9575e9' LIMIT 1 Date : 2025-04-09T13:20:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d204d20b-31f0-4e5e-92f5-638018672ddd' LIMIT 1 Date : 2025-04-09T13:20:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-09T13:20:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000755 post PendingInvicesDO 2 RUH-411001091 post PendingInvicesDO 2 RUH-411001090 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000754 post PendingInvicesDO 2 RUH-411001091 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001090 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001091 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62f46ca2-26f3-4e6e-a923-1c564833457f' LIMIT 1 Date : 2025-04-09T13:44:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fced472-1b88-45c2-97b5-6730f17bb8be' LIMIT 1 Date : 2025-04-09T13:44:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62f46ca2-26f3-4e6e-a923-1c564833457f' LIMIT 1 Date : 2025-04-09T13:44:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2fced472-1b88-45c2-97b5-6730f17bb8be' LIMIT 1 Date : 2025-04-09T13:44:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-09T13:44:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000756 post PendingInvicesDO 2 RUH-411001092 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001092 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e999eb9-1218-4979-93e7-5bd63c0feac2' LIMIT 1 Date : 2025-04-09T14:19:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T14:19:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000758 post PendingInvicesDO 2 RUH-411001094 post PendingInvicesDO 2 RUH-411001093 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000757 post PendingInvicesDO 2 RUH-411001094 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001093 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001094 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18cca2d4-c872-45cf-8031-4fe2851757ec' LIMIT 1 Date : 2025-04-09T14:58:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e931e83-1007-403d-a7a9-7ea50f79776a' LIMIT 1 Date : 2025-04-09T14:58:54  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18cca2d4-c872-45cf-8031-4fe2851757ec' LIMIT 1 Date : 2025-04-09T14:58:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e931e83-1007-403d-a7a9-7ea50f79776a' LIMIT 1 Date : 2025-04-09T14:58:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-09T14:58:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000759 post PendingInvicesDO 2 RUH-411001096 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001096 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='60ad3ac0-6c79-4d19-8de0-d28d3975d507' LIMIT 1 Date : 2025-04-09T16:24:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T16:24:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000761 post PendingInvicesDO 2 RUH-411001099 post PendingInvicesDO 2 RUH-411001098 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000760 post PendingInvicesDO 2 RUH-411001099 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001098 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001099 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='228b2687-4d42-4128-868e-d4b8e5c4bc0e' LIMIT 1 Date : 2025-04-09T17:41:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ec8c92c-0223-4d7c-83ec-cc8be5dc3001' LIMIT 1 Date : 2025-04-09T17:41:48  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='228b2687-4d42-4128-868e-d4b8e5c4bc0e' LIMIT 1 Date : 2025-04-09T17:41:48  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ec8c92c-0223-4d7c-83ec-cc8be5dc3001' LIMIT 1 Date : 2025-04-09T17:41:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-09T17:41:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000762 post PendingInvicesDO 2 RUH-411001100 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001100 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04c4a4eb-8fa8-49f6-a07a-f598e92d1760' LIMIT 1 Date : 2025-04-10T06:32:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T06:32:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000763 post PendingInvicesDO 2 RUH-411001101 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001101 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f77a057c-50d9-4369-be72-f41bbe938e0e' LIMIT 1 Date : 2025-04-10T06:55:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T06:55:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000764 post PendingInvicesDO 2 RUH-411001102 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001102 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f57708f-7074-422e-85c7-ceecfc36f2ce' LIMIT 1 Date : 2025-04-10T07:25:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T07:25:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000765 post PendingInvicesDO 2 RUH-411001103 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001103 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8d05cba8-a5a3-4ba2-8fd2-88ce9d07fb75' LIMIT 1 Date : 2025-04-10T07:45:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T07:45:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000766 post PendingInvicesDO 2 RUH-411001104 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001104 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4c26872-6a57-413b-a236-da0396b4e874' LIMIT 1 Date : 2025-04-10T07:57:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T07:57:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000767 post PendingInvicesDO 2 RUH-411001105 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001105 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f61516ff-7a5d-4f82-ab49-6ded5576a861' LIMIT 1 Date : 2025-04-10T08:17:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T08:17:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000768 post PendingInvicesDO 2 RUH-411001106 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001106 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2023439-18e0-4d0f-9517-fbac73d880f6' LIMIT 1 Date : 2025-04-10T08:44:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T08:44:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000769 post PendingInvicesDO 2 RUH-411001109 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001109 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66e3c1ce-da7e-4101-99e3-8e23c614402f' LIMIT 1 Date : 2025-04-10T10:08:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T10:08:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000770 post PendingInvicesDO 2 RUH-411001111 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001111 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19250f91-0c3a-4133-80e1-730b5089c113' LIMIT 1 Date : 2025-04-10T11:29:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T11:29:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000771 post PendingInvicesDO 2 RUH-411001112 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001112 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f7ad8bf-9169-4fdd-a673-0a7d9fc405be' LIMIT 1 Date : 2025-04-10T11:51:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T11:51:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000772 post PendingInvicesDO 2 RUH-411001113 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001113 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c632c49-94df-4064-b6db-725c0e2ad788' LIMIT 1 Date : 2025-04-10T12:29:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T12:29:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000773 post PendingInvicesDO 2 RUH-411001114 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001114 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b0ad608-b25e-4e9c-8837-6610bc785a9d' LIMIT 1 Date : 2025-04-10T13:00:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T13:00:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000774 post PendingInvicesDO 2 RUH-411001115 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001115 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0b60cc0-45d3-4c84-8e78-412bd1a91324' LIMIT 1 Date : 2025-04-10T13:57:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T13:57:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000775 post PendingInvicesDO 2 RUH-411001116 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001116 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4f4e223-fcf5-4b39-b861-47868d6d959f' LIMIT 1 Date : 2025-04-10T14:36:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T14:36:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000776 post PendingInvicesDO 2 RUH-411001117 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001117 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dfb8d8fe-641c-468d-aa1c-d688a13a5e47' LIMIT 1 Date : 2025-04-10T15:46:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T15:46:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000777 post PendingInvicesDO 2 RUH-411001118 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001118 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1c398290-06fb-4bac-b184-b2f1c6ec5482' LIMIT 1 Date : 2025-04-10T16:14:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T16:14:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000779 post PendingInvicesDO 2 RUH-411001121 post PendingInvicesDO 2 RUH-411001120 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000778 post PendingInvicesDO 2 RUH-411001121 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001120 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001121 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2693f832-a5a6-47e9-a92a-11b68c28cd85' LIMIT 1 Date : 2025-04-11T09:21:13  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d4328e3-3cc3-412e-a7cd-983261b66228' LIMIT 1 Date : 2025-04-11T09:21:13  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2693f832-a5a6-47e9-a92a-11b68c28cd85' LIMIT 1 Date : 2025-04-11T09:21:13  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d4328e3-3cc3-412e-a7cd-983261b66228' LIMIT 1 Date : 2025-04-11T09:21:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-11T09:21:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000780 post PendingInvicesDO 2 RUH-411001122 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001122 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b8e628c1-9938-4e1b-b2fa-28c19b3d6392' LIMIT 1 Date : 2025-04-11T09:54:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-11T09:54:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000781 post PendingInvicesDO 2 RUH-411000830 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000830 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411000830' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411000830' OR OrderId='RUH-411000830' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-11T10:13:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000782 post PendingInvicesDO 2 RUH-411001124 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001124 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='726e0940-3d20-48a8-bf10-da93b5d32953' LIMIT 1 Date : 2025-04-11T10:38:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-11T10:38:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000783 post PendingInvicesDO 2 RUH-411001125 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001125 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4cfc83ef-b34b-4a8f-9a6e-3cb36d64f53e' LIMIT 1 Date : 2025-04-11T10:52:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-11T10:52:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000784 post PendingInvicesDO 2 RUH-411000908 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411000908 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411000908' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411000908' OR OrderId='RUH-411000908' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-11T13:17:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000785 post PendingInvicesDO 2 RUH-411001127 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001127 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75784645-667f-43ef-9caa-f9c8153c794a' LIMIT 1 Date : 2025-04-11T14:02:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-11T14:02:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000786 post PendingInvicesDO 2 RUH-411001128 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001128 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b092ce52-68c6-4895-8888-2f1262ecf362' LIMIT 1 Date : 2025-04-11T14:30:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-11T14:30:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000787 post PendingInvicesDO 2 RUH-411001129 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001129 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9542dfe5-35e3-40cf-9965-2b956c33f06d' LIMIT 1 Date : 2025-04-11T14:49:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-11T14:49:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000788 post PendingInvicesDO 2 RUH-411001130 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001130 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='718efc5a-2185-4fe5-a1b7-adc3d4890e78' LIMIT 1 Date : 2025-04-11T16:12:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-11T16:12:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000789 post PendingInvicesDO 2 RUH-411001097 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001097 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001097' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001097' OR OrderId='RUH-411001097' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-11T16:23:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000791 post PendingInvicesDO 2 RUH-411001133 post PendingInvicesDO 2 RUH-411001132 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000790 post PendingInvicesDO 2 RUH-411001133 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001132 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001133 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d3b6281-b0fd-444a-8254-21b92ab91def' LIMIT 1 Date : 2025-04-12T08:11:11  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='160d8fcd-4951-49e9-8b7b-36015911b55a' LIMIT 1 Date : 2025-04-12T08:11:11  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d3b6281-b0fd-444a-8254-21b92ab91def' LIMIT 1 Date : 2025-04-12T08:11:11  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='160d8fcd-4951-49e9-8b7b-36015911b55a' LIMIT 1 Date : 2025-04-12T08:11:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-12T08:11:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000792 post PendingInvicesDO 2 RUH-411001135 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001135 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='990c25bb-79af-4cdb-bb56-cc143bc5c105' LIMIT 1 Date : 2025-04-12T09:57:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-12T09:57:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000793 post PendingInvicesDO 2 RUH-411001139 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001139 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='241fd0e4-fc95-48f3-811b-14857b1f4f16' LIMIT 1 Date : 2025-04-12T13:56:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-12T13:56:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000794 post PendingInvicesDO 2 RUH-411001143 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001143 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a07abc2-f7aa-49f2-b6ad-f56619a9e291' LIMIT 1 Date : 2025-04-13T09:01:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T09:01:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000796 post PendingInvicesDO 2 RUH-411001147 post PendingInvicesDO 2 RUH-411001146 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000795 post PendingInvicesDO 2 RUH-411001147 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001146 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001147 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001147' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001147' OR OrderId='RUH-411001147' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001147' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001147' OR OrderId='RUH-411001147' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-13T14:23:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000797 post PendingInvicesDO 2 RUH-411001149 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001149 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58b8c0a4-f484-49de-9644-1ca2405aef3d' LIMIT 1 Date : 2025-04-13T15:05:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T15:05:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000798 post PendingInvicesDO 2 RUH-411001150 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001150 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='036f8d4f-7b5a-45a8-b2f1-f5f4d99921b6' LIMIT 1 Date : 2025-04-13T15:53:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T15:53:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000799 post PendingInvicesDO 2 RUH-411001151 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001151 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2568ba9-d974-453c-87e0-f9c4223240a5' LIMIT 1 Date : 2025-04-13T16:41:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T16:41:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000800 post PendingInvicesDO 2 RUH-411001152 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001152 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='215ef07e-2a1c-4d61-aaf5-71528717ed89' LIMIT 1 Date : 2025-04-13T17:26:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T17:26:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000801 post PendingInvicesDO 2 RUH-411001153 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001153 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37b430f8-2776-4a52-b8ad-de22c65fe38e' LIMIT 1 Date : 2025-04-13T17:41:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-13T17:41:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000802 post PendingInvicesDO 2 RUH-411001162 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001162 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f583a92a-1227-41fd-b9e5-5295d9f24492' LIMIT 1 Date : 2025-04-14T14:25:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T14:25:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000803 post PendingInvicesDO 2 RUH-411001163 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001163 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f73f3d70-776a-4c13-80d2-73672d50a64a' LIMIT 1 Date : 2025-04-14T15:27:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-14T15:27:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000805 post PendingInvicesDO 2 RUH-411001141 post PendingInvicesDO 2 RUH-411001140 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000804 post PendingInvicesDO 2 RUH-411001141 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001140 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001141 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001141' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001141' OR OrderId='RUH-411001141' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001141' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001141' OR OrderId='RUH-411001141' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-14T19:17:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000807 post PendingInvicesDO 2 RUH-411001169 post PendingInvicesDO 2 RUH-411001168 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000806 post PendingInvicesDO 2 RUH-411001169 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001168 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001169 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0184890f-1a86-4bd1-8c3f-e4be7573bb4e' LIMIT 1 Date : 2025-04-15T11:33:02  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b27c201-25e8-4972-9880-5ad7b15762c6' LIMIT 1 Date : 2025-04-15T11:33:02  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0184890f-1a86-4bd1-8c3f-e4be7573bb4e' LIMIT 1 Date : 2025-04-15T11:33:02  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7b27c201-25e8-4972-9880-5ad7b15762c6' LIMIT 1 Date : 2025-04-15T11:33:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-15T11:33:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000808 post PendingInvicesDO 2 RUH-411001170 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001170 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e189e08e-dc69-47bd-80ce-7843c2c543de' LIMIT 1 Date : 2025-04-15T12:04:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T12:04:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000809 post PendingInvicesDO 2 RUH-411001171 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001171 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='edf9dd4a-b881-4ffe-900c-9c93547810d0' LIMIT 1 Date : 2025-04-15T13:08:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T13:08:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000810 post PendingInvicesDO 2 RUH-411001172 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001172 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='124793d7-ef96-43a7-8022-373b5f031e65' LIMIT 1 Date : 2025-04-15T14:15:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T14:15:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000811 post PendingInvicesDO 2 RUH-411001173 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001173 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62b7007c-d921-44d5-8cc7-db2edcee7bef' LIMIT 1 Date : 2025-04-15T14:42:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T14:42:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000812 post PendingInvicesDO 2 RUH-411001095 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001095 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001095' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001095' OR OrderId='RUH-411001095' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-15T15:04:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000813 post PendingInvicesDO 2 RUH-411001174 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001174 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e4a4054-b771-4006-9346-e732e77ef1dd' LIMIT 1 Date : 2025-04-15T16:09:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T16:09:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000814 post PendingInvicesDO 2 RUH-411001175 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001175 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ca2ee20d-fe2c-41c2-b97e-caeb83de79e9' LIMIT 1 Date : 2025-04-15T17:20:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-15T17:20:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000815 post PendingInvicesDO 2 RUH-411001176 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001176 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8546204-2343-4388-9ef8-83d89a29fa73' LIMIT 1 Date : 2025-04-16T07:10:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T07:10:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000816 post PendingInvicesDO 2 RUH-411001177 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001177 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='154942ed-772a-4de6-af93-59e567fabf3a' LIMIT 1 Date : 2025-04-16T07:22:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T07:22:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000817 post PendingInvicesDO 2 RUH-411001178 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001178 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2b608f2-ffcb-40c6-8ae8-e3ad0674ba91' LIMIT 1 Date : 2025-04-16T07:43:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T07:43:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000818 post PendingInvicesDO 2 RUH-411001179 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001179 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='809bf5df-8208-4650-951d-94312c45acb9' LIMIT 1 Date : 2025-04-16T08:05:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T08:05:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000819 post PendingInvicesDO 2 RUH-411001180 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001180 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15a9edee-79cd-457d-9447-8e67b69b0058' LIMIT 1 Date : 2025-04-16T08:39:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T08:39:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000820 post PendingInvicesDO 2 RUH-411001181 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001181 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02bd9d5d-b16c-4ab6-9070-a094b640d993' LIMIT 1 Date : 2025-04-16T09:11:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T09:11:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000821 post PendingInvicesDO 2 RUH-411001182 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001182 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c190d0a-ea87-408c-a111-806dfff01d87' LIMIT 1 Date : 2025-04-16T09:53:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T09:53:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000822 post PendingInvicesDO 2 RUH-411001085 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001085 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001085' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001085' OR OrderId='RUH-411001085' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-16T12:12:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000823 post PendingInvicesDO 2 RUH-411001186 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001186 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c75a9e20-daf2-427a-8fe0-ea23d5baf0d9' LIMIT 1 Date : 2025-04-16T12:50:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T12:50:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000824 post PendingInvicesDO 2 RUH-411001187 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001187 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f90ac01-c4df-425f-9a1d-6f675defcb0e' LIMIT 1 Date : 2025-04-16T13:09:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T13:09:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000825 post PendingInvicesDO 2 RUH-411001189 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001189 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d13d168-41e0-4f26-9123-473f9e2e823f' LIMIT 1 Date : 2025-04-16T14:25:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-16T14:25:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000826 post PendingInvicesDO 2 RUH-411001195 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001195 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b3369cd5-00be-473c-93ac-5227b3b687fa' LIMIT 1 Date : 2025-04-17T06:56:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T06:56:24 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 RUH-414000827 post PendingInvicesDO 2 RUH-411001196 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001196 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5de66fa0-33b7-4590-bc6a-5d2f799433ca' LIMIT 1 Date : 2025-04-17T07:42:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T07:42:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000828 post PendingInvicesDO 2 RUH-411001198 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001198 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='636f1a45-b863-4243-bc08-d5c013c6ab57' LIMIT 1 Date : 2025-04-17T10:38:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T10:38:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000830 post PendingInvicesDO 2 RUH-411001200 post PendingInvicesDO 2 RUH-411001199 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000829 post PendingInvicesDO 2 RUH-411001200 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001199 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001200 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6baab091-bc0f-4b4f-a736-85ae56a66f5f' LIMIT 1 Date : 2025-04-17T11:36:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31b48df7-0668-4f5a-b66d-827c69a089ff' LIMIT 1 Date : 2025-04-17T11:36:37  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6baab091-bc0f-4b4f-a736-85ae56a66f5f' LIMIT 1 Date : 2025-04-17T11:36:37  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31b48df7-0668-4f5a-b66d-827c69a089ff' LIMIT 1 Date : 2025-04-17T11:36:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-17T11:36:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000831 post PendingInvicesDO 2 RUH-411001201 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001201 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1ade061-43c0-4367-9512-7e97b366d257' LIMIT 1 Date : 2025-04-17T12:41:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T12:41:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000832 post PendingInvicesDO 2 RUH-411001203 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001203 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e82c306-e7e1-4371-a116-fd609c3c45df' LIMIT 1 Date : 2025-04-17T15:14:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T15:14:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000834 post PendingInvicesDO 2 RUH-411001205 post PendingInvicesDO 2 RUH-411001204 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000833 post PendingInvicesDO 2 RUH-411001205 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001204 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001205 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e189dea5-dce8-4fa8-a854-b0af7abae1dd' LIMIT 1 Date : 2025-04-17T15:20:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2eb9d658-53b7-4b35-948e-ff5c5ffdab46' LIMIT 1 Date : 2025-04-17T15:20:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e189dea5-dce8-4fa8-a854-b0af7abae1dd' LIMIT 1 Date : 2025-04-17T15:20:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2eb9d658-53b7-4b35-948e-ff5c5ffdab46' LIMIT 1 Date : 2025-04-17T15:20:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-17T15:20:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000836 post PendingInvicesDO 2 RUH-411001207 post PendingInvicesDO 2 RUH-411001206 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000835 post PendingInvicesDO 2 RUH-411001207 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001206 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001207 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f80cdae-2e35-48f0-ac2d-8ca5f959ec99' LIMIT 1 Date : 2025-04-17T15:55:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fbb26617-96a6-49fc-980f-067659617681' LIMIT 1 Date : 2025-04-17T15:55:22  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f80cdae-2e35-48f0-ac2d-8ca5f959ec99' LIMIT 1 Date : 2025-04-17T15:55:22  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fbb26617-96a6-49fc-980f-067659617681' LIMIT 1 Date : 2025-04-17T15:55:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-17T15:55:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000837 post PendingInvicesDO 2 RUH-411001154 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001154 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001154' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001154' OR OrderId='RUH-411001154' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-17T16:47:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000838 post PendingInvicesDO 2 RUH-411001209 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001209 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00e71eae-dec3-41c3-8161-cb483280700c' LIMIT 1 Date : 2025-04-17T17:08:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-17T17:08:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000839 post PendingInvicesDO 2 RUH-411001212 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001212 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d687e019-edb4-432e-993f-03106dd70476' LIMIT 1 Date : 2025-04-19T08:43:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T08:43:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000840 post PendingInvicesDO 2 RUH-411001214 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001214 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='02ac919f-3876-4c75-8647-a8803becfc28' LIMIT 1 Date : 2025-04-19T10:28:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T10:28:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000841 post PendingInvicesDO 2 RUH-411001218 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001218 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c320fe3b-3676-46ab-b7f3-470383811d70' LIMIT 1 Date : 2025-04-19T13:45:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T13:45:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000842 post PendingInvicesDO 2 RUH-411001219 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001219 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='780cbcd9-b458-4052-bdc0-6df42fdcccb4' LIMIT 1 Date : 2025-04-19T14:05:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T14:05:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000843 post PendingInvicesDO 2 RUH-411001220 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001220 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='351a7cf2-96a0-4836-b241-8eafe9ad89c8' LIMIT 1 Date : 2025-04-19T14:33:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T14:33:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000844 post PendingInvicesDO 2 RUH-411001221 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001221 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e88f0dc-9a61-4352-8a7a-085fbad3c9f2' LIMIT 1 Date : 2025-04-19T14:52:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T14:52:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000845 post PendingInvicesDO 2 RUH-411001222 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001222 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5053ab54-ebdf-4d39-b0ce-74a17e63fb31' LIMIT 1 Date : 2025-04-19T15:14:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T15:14:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000846 post PendingInvicesDO 2 RUH-411001223 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001223 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fd1ec4c-0e4b-40e9-8a6c-022a271aa8fe' LIMIT 1 Date : 2025-04-19T15:39:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T15:39:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000847 post PendingInvicesDO 2 RUH-411001224 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001224 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68e8af64-73e7-40c5-b52b-06f74948dab7' LIMIT 1 Date : 2025-04-19T16:46:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T16:46:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000848 post PendingInvicesDO 2 RUH-411001225 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001225 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07801f92-a1ef-488c-8a89-eaa5c9ac52b3' LIMIT 1 Date : 2025-04-19T17:22:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T17:22:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000849 post PendingInvicesDO 2 RUH-411001226 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001226 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f681ef10-5578-4ee0-a4f8-6da0d7a559d3' LIMIT 1 Date : 2025-04-19T17:37:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T17:37:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000850 post PendingInvicesDO 2 RUH-411001227 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001227 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbe9e063-9702-40eb-be88-c5e93b4ac67f' LIMIT 1 Date : 2025-04-19T18:46:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T18:46:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000851 post PendingInvicesDO 2 RUH-411001228 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001228 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='081903a5-4b2e-4f00-9c06-474004a2024d' LIMIT 1 Date : 2025-04-19T18:54:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T18:54:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000852 post PendingInvicesDO 2 RUH-411001229 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001229 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d1a229f3-48b0-4537-be0c-d312b5f03374' LIMIT 1 Date : 2025-04-19T19:35:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-19T19:35:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000853 post PendingInvicesDO 2 RUH-411001231 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001231 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0f6fef0-8d44-45b6-937a-494ba93962c7' LIMIT 1 Date : 2025-04-20T08:41:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-20T08:41:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000854 post PendingInvicesDO 2 RUH-411001233 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001233 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9f039d42-9370-40a4-8d39-66190a45b0b2' LIMIT 1 Date : 2025-04-20T10:13:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-20T10:13:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000855 post PendingInvicesDO 2 RUH-411001190 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001190 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001190' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001190' OR OrderId='RUH-411001190' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-20T12:29:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000856 post PendingInvicesDO 2 RUH-411001191 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001191 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001191' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001191' OR OrderId='RUH-411001191' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-20T12:34:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000857 post PendingInvicesDO 2 RUH-411001238 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001238 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34b534e4-bdf4-41cb-a7b9-7de9414953f2' LIMIT 1 Date : 2025-04-21T07:23:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T07:23:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000858 post PendingInvicesDO 2 RUH-411001239 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001239 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='edb75dfa-66c7-4ec5-b75a-a68a5822b35c' LIMIT 1 Date : 2025-04-21T07:48:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T07:48:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000859 post PendingInvicesDO 2 RUH-411001240 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001240 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='72a93d81-2a68-4c83-bb7d-7a795d255a7f' LIMIT 1 Date : 2025-04-21T08:01:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T08:01:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000860 post PendingInvicesDO 2 RUH-411001248 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001248 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d151d2a1-07a0-4dc9-bd24-3c9d6e8aaf0e' LIMIT 1 Date : 2025-04-21T17:01:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-21T17:01:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000861 post PendingInvicesDO 2 RUH-411001250 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001250 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b726f4b-7a08-46a9-9c99-573c80ac3aaf' LIMIT 1 Date : 2025-04-22T09:30:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-22T09:30:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000862 post PendingInvicesDO 2 RUH-411001252 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001252 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b5ea0f96-e7c4-4ab3-8aa7-93dca28b77d8' LIMIT 1 Date : 2025-04-22T11:14:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-22T11:14:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000863 post PendingInvicesDO 2 RUH-411001253 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001253 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44e3e1db-6c48-4435-b52e-1bce028567e4' LIMIT 1 Date : 2025-04-22T12:14:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-22T12:14:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000865 post PendingInvicesDO 2 RUH-411001258 post PendingInvicesDO 2 RUH-411001257 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000864 post PendingInvicesDO 2 RUH-411001258 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001257 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001258 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='834dbaec-0234-4d0d-9505-2e7469e1ebee' LIMIT 1 Date : 2025-04-22T15:27:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20b06faa-4c9d-46e0-8438-bed646546637' LIMIT 1 Date : 2025-04-22T15:27:10  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='834dbaec-0234-4d0d-9505-2e7469e1ebee' LIMIT 1 Date : 2025-04-22T15:27:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20b06faa-4c9d-46e0-8438-bed646546637' LIMIT 1 Date : 2025-04-22T15:27:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-22T15:27:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000866 post PendingInvicesDO 2 RUH-411001251 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001251 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001251' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001251' OR OrderId='RUH-411001251' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-22T15:29:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000867 post PendingInvicesDO 2 RUH-411001259 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001259 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='54f4c433-d56e-4c6c-bbc8-67d3bc0f9685' LIMIT 1 Date : 2025-04-23T06:43:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T06:43:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000868 post PendingInvicesDO 2 RUH-411001260 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001260 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9cb8c521-3236-4aba-9ee3-19ab6e24dfa7' LIMIT 1 Date : 2025-04-23T07:17:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T07:17:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000869 post PendingInvicesDO 2 RUH-411001261 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001261 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e55d86bd-a237-4115-bdff-ded797a4f008' LIMIT 1 Date : 2025-04-23T07:42:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T07:42:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000870 post PendingInvicesDO 2 RUH-411001262 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001262 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4085395d-ff7b-44c8-89a9-5882dd805e84' LIMIT 1 Date : 2025-04-23T08:08:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T08:08:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000872 post PendingInvicesDO 2 RUH-411001264 post PendingInvicesDO 2 RUH-411001263 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000871 post PendingInvicesDO 2 RUH-411001264 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001263 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001264 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad0ee398-e7cc-4be7-aa11-5b7ed34cdeeb' LIMIT 1 Date : 2025-04-23T08:49:13  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bda72d49-edb6-4207-b6ed-67b674f69ceb' LIMIT 1 Date : 2025-04-23T08:49:13  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad0ee398-e7cc-4be7-aa11-5b7ed34cdeeb' LIMIT 1 Date : 2025-04-23T08:49:13  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bda72d49-edb6-4207-b6ed-67b674f69ceb' LIMIT 1 Date : 2025-04-23T08:49:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-23T08:49:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000874 post PendingInvicesDO 2 RUH-411001185 post PendingInvicesDO 2 RUH-411001184 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000873 post PendingInvicesDO 2 RUH-411001185 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001184 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001185 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001185' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001185' OR OrderId='RUH-411001185' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001185' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001185' OR OrderId='RUH-411001185' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-23T09:56:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000875 post PendingInvicesDO 2 RUH-411001267 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001267 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1ed451b-8964-48dc-8ee7-db01b38b704c' LIMIT 1 Date : 2025-04-23T12:18:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T12:18:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000876 post PendingInvicesDO 2 RUH-411001268 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001268 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a90c97e-4e1c-4e3d-bb51-ca389be3242a' LIMIT 1 Date : 2025-04-23T12:53:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T12:53:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000877 post PendingInvicesDO 2 RUH-411001269 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001269 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='334cbd24-7795-44e8-871d-283a590fce3c' LIMIT 1 Date : 2025-04-23T13:16:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T13:16:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000878 post PendingInvicesDO 2 RUH-411001270 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001270 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='be63ea3b-d474-4f61-9cf9-0b3477317473' LIMIT 1 Date : 2025-04-23T13:44:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T13:44:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000879 post PendingInvicesDO 2 RUH-411001126 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001126 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001126' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001126' OR OrderId='RUH-411001126' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-23T16:28:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000880 post PendingInvicesDO 2 RUH-411001272 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001272 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccbc8899-6138-4aee-a3fe-8a5023c0dfc0' LIMIT 1 Date : 2025-04-23T17:53:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T17:53:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000881 post PendingInvicesDO 2 RUH-411001273 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001273 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1257a724-ad11-4cc2-b4c4-2251a0212613' LIMIT 1 Date : 2025-04-23T18:52:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T18:52:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000882 post PendingInvicesDO 2 RUH-411001274 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001274 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c4420bd-f51b-4a52-8390-67c5d3a5fb0c' LIMIT 1 Date : 2025-04-23T19:35:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T19:35:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000883 post PendingInvicesDO 2 RUH-411001275 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001275 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2a8a491-0a7c-48c1-8c4c-309cdad980ef' LIMIT 1 Date : 2025-04-23T19:48:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T19:48:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000884 post PendingInvicesDO 2 RUH-411001276 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001276 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aab167c2-55ff-45ae-b1b8-4c6b0f172a72' LIMIT 1 Date : 2025-04-23T19:56:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T19:56:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000885 post PendingInvicesDO 2 RUH-411001277 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001277 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85e9ba09-85e0-4083-91f7-249eea6044b1' LIMIT 1 Date : 2025-04-23T20:10:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-23T20:10:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000886 post PendingInvicesDO 2 RUH-411001278 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001278 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01fac241-9d25-4df2-b16e-e3fea5f9b01a' LIMIT 1 Date : 2025-04-24T07:00:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T07:00:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000887 post PendingInvicesDO 2 RUH-411001279 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001279 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='341599cb-4256-4c56-ba83-13e1c2ca9ebb' LIMIT 1 Date : 2025-04-24T07:39:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T07:39:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000888 post PendingInvicesDO 2 RUH-411001280 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001280 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6cf9dd44-a415-4672-bbb0-9c70dc0d905e' LIMIT 1 Date : 2025-04-24T08:06:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T08:06:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000890 post PendingInvicesDO 2 RUH-411001282 post PendingInvicesDO 2 RUH-411001281 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000889 post PendingInvicesDO 2 RUH-411001282 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001281 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001282 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='430c94a8-7501-4a3d-9772-71f7bbef338e' LIMIT 1 Date : 2025-04-24T09:09:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0140034-09d6-4cfb-a369-fe7f6cb84033' LIMIT 1 Date : 2025-04-24T09:09:17  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='430c94a8-7501-4a3d-9772-71f7bbef338e' LIMIT 1 Date : 2025-04-24T09:09:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e0140034-09d6-4cfb-a369-fe7f6cb84033' LIMIT 1 Date : 2025-04-24T09:09:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-24T09:09:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000891 post PendingInvicesDO 2 RUH-411001202 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001202 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001202' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001202' OR OrderId='RUH-411001202' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-24T09:25:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000892 post PendingInvicesDO 2 RUH-411001283 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001283 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fbaf5a32-b01a-4b20-abef-0224e2efb68b' LIMIT 1 Date : 2025-04-24T09:33:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T09:33:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000893 post PendingInvicesDO 2 RUH-411001286 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001286 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5190c566-3735-4870-b774-a69713251277' LIMIT 1 Date : 2025-04-24T13:07:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T13:07:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000894 post PendingInvicesDO 2 RUH-411001287 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001287 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f494fc0-4aaa-4f26-bf36-e9ce7e4260e9' LIMIT 1 Date : 2025-04-24T13:42:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T13:42:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000895 post PendingInvicesDO 2 RUH-411001148 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001148 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001148' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001148' OR OrderId='RUH-411001148' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-24T14:05:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000896 post PendingInvicesDO 2 RUH-411001289 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001289 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4fe36a9-b7c2-4270-87bd-174eb91ef346' LIMIT 1 Date : 2025-04-24T14:29:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T14:29:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000897 post PendingInvicesDO 2 RUH-411001290 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001290 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cfc48344-ca1b-4d3b-b168-da5c06953161' LIMIT 1 Date : 2025-04-24T15:00:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T15:00:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000898 post PendingInvicesDO 2 RUH-411001291 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001291 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67cd38e8-2bf6-4ccd-8cc8-79c99aa8b4eb' LIMIT 1 Date : 2025-04-24T15:12:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T15:12:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000899 post PendingInvicesDO 2 RUH-411001293 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001293 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c71f8593-15ab-4721-bb19-15246f373c78' LIMIT 1 Date : 2025-04-24T16:13:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T16:13:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000900 post PendingInvicesDO 2 RUH-411001294 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001294 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df2d0ec9-8f3b-4a23-9070-c4bb4cd1bcf3' LIMIT 1 Date : 2025-04-24T17:31:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-24T17:31:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000901 post PendingInvicesDO 2 RUH-411001123 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001123 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001123' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001123' OR OrderId='RUH-411001123' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-25T07:50:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000902 post PendingInvicesDO 2 RUH-411001297 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001297 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2428a8e7-dbdf-45c7-8ec6-912f8a063732' LIMIT 1 Date : 2025-04-25T08:23:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T08:23:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000903 post PendingInvicesDO 2 RUH-411001298 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001298 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bbd18006-970c-4ec3-8b87-28fdc6bf8751' LIMIT 1 Date : 2025-04-25T09:21:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T09:21:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000904 post PendingInvicesDO 2 RUH-411001299 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001299 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf280b98-f4e7-42bf-a24b-9b2b657b1d6e' LIMIT 1 Date : 2025-04-25T10:22:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T10:22:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000905 post PendingInvicesDO 2 RUH-411001300 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001300 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d46181ba-4390-47b1-a712-0147b5cdf94a' LIMIT 1 Date : 2025-04-25T10:48:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T10:48:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000906 post PendingInvicesDO 2 RUH-411001301 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001301 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec34ec6b-47f4-4b6a-9083-f596050f2a74' LIMIT 1 Date : 2025-04-25T11:31:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T11:31:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000907 post PendingInvicesDO 2 RUH-411001302 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001302 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a5e2a21-73ba-405e-bfbf-03daa1b6dd0a' LIMIT 1 Date : 2025-04-25T12:26:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T12:26:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000908 post PendingInvicesDO 2 RUH-411001303 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001303 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b67be22c-7d86-4e93-ac9b-207a5c5ab44a' LIMIT 1 Date : 2025-04-25T13:15:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T13:15:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000909 post PendingInvicesDO 2 RUH-411001304 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001304 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7256f6c1-8e29-47d7-9849-7385ff7ac7da' LIMIT 1 Date : 2025-04-25T13:59:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T13:59:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000910 post PendingInvicesDO 2 RUH-411001305 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001305 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5aa50490-a526-49ab-9030-d63ffa18f7e5' LIMIT 1 Date : 2025-04-25T14:27:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T14:27:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000911 post PendingInvicesDO 2 RUH-411001306 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001306 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2022ea35-4628-4341-9504-b2d029da7d12' LIMIT 1 Date : 2025-04-25T15:10:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T15:10:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000912 post PendingInvicesDO 2 RUH-411001307 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001307 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0d3f054-f15d-4b48-bc0d-97eb4b22eba8' LIMIT 1 Date : 2025-04-25T15:29:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T15:29:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000913 post PendingInvicesDO 2 RUH-411001308 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001308 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fad0b698-ecb3-4ebf-95c2-471bf1aac121' LIMIT 1 Date : 2025-04-25T15:55:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T15:55:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000914 post PendingInvicesDO 2 RUH-411001309 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001309 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5cc4c773-0941-4e2b-a2a6-16ccd5bd081c' LIMIT 1 Date : 2025-04-25T16:28:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T16:28:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000915 post PendingInvicesDO 2 RUH-411001310 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001310 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb35f8e4-71b9-4356-a51e-98d5b2a73cf5' LIMIT 1 Date : 2025-04-25T17:10:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-25T17:10:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000916 post PendingInvicesDO 2 RUH-411001312 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001312 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='223357b5-4d44-42ef-838e-5efb083975c0' LIMIT 1 Date : 2025-04-26T08:11:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T08:11:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000917 post PendingInvicesDO 2 RUH-411001313 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001313 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='47a32cc5-24e9-4a60-9a3d-0592dad96b01' LIMIT 1 Date : 2025-04-26T09:25:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T09:25:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000918 post PendingInvicesDO 2 RUH-411001314 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001314 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d86733a2-c785-4dab-b8cd-2c2f2473dddb' LIMIT 1 Date : 2025-04-26T10:21:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T10:21:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000919 post PendingInvicesDO 2 RUH-411001316 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001316 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00cd504a-33ea-4eb0-ae0c-8c25d4a1f41f' LIMIT 1 Date : 2025-04-26T12:54:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T12:54:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000920 post PendingInvicesDO 2 RUH-411001317 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001317 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b465ed7-a1d5-4513-a23e-1df6e3f5ad82' LIMIT 1 Date : 2025-04-26T13:25:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T13:25:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000921 post PendingInvicesDO 2 RUH-411001318 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001318 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5cd0cc76-ce20-4a00-a109-429972d3f18e' LIMIT 1 Date : 2025-04-26T13:52:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T13:52:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000922 post PendingInvicesDO 2 RUH-411001319 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001319 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b46395b9-4335-4cdd-927f-15ce476686cf' LIMIT 1 Date : 2025-04-26T14:23:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-26T14:23:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000923 post PendingInvicesDO 2 RUH-411001320 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001320 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2442f8f4-7d10-4dd7-8eff-f7a1560028a6' LIMIT 1 Date : 2025-04-27T07:24:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-27T07:24:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000924 post PendingInvicesDO 2 RUH-411001321 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001321 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef8c2bcb-403c-4fdc-920d-693209c4d4e3' LIMIT 1 Date : 2025-04-27T07:53:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-27T07:53:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000925 post PendingInvicesDO 2 RUH-411001322 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001322 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='821f9d7d-f56b-43e7-a7b9-27d9687e99de' LIMIT 1 Date : 2025-04-27T08:41:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-27T08:41:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000926 post PendingInvicesDO 2 RUH-411001325 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001325 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5aebe5f2-f504-42bb-85fa-7f8a0f284bc8' LIMIT 1 Date : 2025-04-27T11:51:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-27T11:51:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000927 post PendingInvicesDO 2 RUH-411001326 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001326 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7c4000d-22fc-413f-98ce-12a3a3e44919' LIMIT 1 Date : 2025-04-27T12:34:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-27T12:34:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000928 post PendingInvicesDO 2 RUH-411001327 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001327 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d70a727-9e54-4add-a9fa-53f592c1c5a5' LIMIT 1 Date : 2025-04-27T13:41:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-27T13:41:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000929 post PendingInvicesDO 2 RUH-411001328 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001328 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0fc8d0fb-7969-4615-9c4d-d1c2e92ca5bc' LIMIT 1 Date : 2025-04-27T14:57:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-27T14:57:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000930 post PendingInvicesDO 2 RUH-411001332 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001332 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c29994f5-213e-466a-a9ab-4e762f49588d' LIMIT 1 Date : 2025-04-28T10:54:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-28T10:54:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000931 post PendingInvicesDO 2 RUH-411001334 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001334 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26edf800-384f-4c85-a57a-7361dc2d6701' LIMIT 1 Date : 2025-04-28T14:52:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-28T14:52:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000932 post PendingInvicesDO 2 RUH-411001335 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001335 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01aec3d6-16ba-4b5f-9b2f-7f98dc45cb9a' LIMIT 1 Date : 2025-04-29T07:01:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T07:01:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000933 post PendingInvicesDO 2 RUH-411001339 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001339 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='176ff346-93a8-4dd7-9858-57fbcb72aef9' LIMIT 1 Date : 2025-04-29T12:12:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T12:12:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000934 post PendingInvicesDO 2 RUH-411001341 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001341 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0fd40c84-2fe7-4865-97ca-787e9db70873' LIMIT 1 Date : 2025-04-29T14:20:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T14:20:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000935 post PendingInvicesDO 2 RUH-411001342 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001342 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db568c32-c9b9-417b-a91e-4510e900ec62' LIMIT 1 Date : 2025-04-29T15:35:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-29T15:35:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000936 post PendingInvicesDO 2 RUH-411001288 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001288 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001288' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001288' OR OrderId='RUH-411001288' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-29T17:27:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000937 post PendingInvicesDO 2 RUH-411001016 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001016 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001016' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001016' OR OrderId='RUH-411001016' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-29T17:34:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000938 post PendingInvicesDO 2 RUH-411001345 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001345 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01f22fa1-1141-4522-b7f7-de3dabcd0c59' LIMIT 1 Date : 2025-04-30T06:26:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T06:26:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000939 post PendingInvicesDO 2 RUH-411001346 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001346 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d8e705e-1ce2-4929-866b-1075d8284ebd' LIMIT 1 Date : 2025-04-30T07:00:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T07:00:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000940 post PendingInvicesDO 2 RUH-411001347 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001347 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03397743-d9da-4e62-8dfd-549f58afbb0d' LIMIT 1 Date : 2025-04-30T07:19:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T07:19:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000941 post PendingInvicesDO 2 RUH-411001348 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001348 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='829ff6aa-13a9-4175-83e4-a451ff7f3a81' LIMIT 1 Date : 2025-04-30T07:38:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T07:38:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000942 post PendingInvicesDO 2 RUH-411001349 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001349 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4fa11e8-6a1f-4dff-b4a0-063a0c5cabda' LIMIT 1 Date : 2025-04-30T07:58:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T07:58:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000943 post PendingInvicesDO 2 RUH-411001350 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001350 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ad2ea80-7a37-49bc-94b2-b1165a7a0a37' LIMIT 1 Date : 2025-04-30T08:45:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T08:45:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000944 post PendingInvicesDO 2 RUH-411001351 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001351 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3da7b369-dbee-4e8a-a624-d1d0629f4420' LIMIT 1 Date : 2025-04-30T09:15:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T09:15:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000945 post PendingInvicesDO 2 RUH-411001265 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001265 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001265' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001265' OR OrderId='RUH-411001265' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-30T09:36:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000946 post PendingInvicesDO 2 RUH-411001355 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001355 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8305e76f-45b6-4d1b-b386-28a7b14e18ca' LIMIT 1 Date : 2025-04-30T11:18:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T11:18:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000947 post PendingInvicesDO 2 RUH-411001356 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001356 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='376ad437-c0a9-4a66-975f-b45b26b57bd4' LIMIT 1 Date : 2025-04-30T11:46:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T11:46:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000948 post PendingInvicesDO 2 RUH-411001353 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001353 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001353' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001353' OR OrderId='RUH-411001353' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-30T12:59:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000949 post PendingInvicesDO 2 RUH-411001296 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001296 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001296' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001296' OR OrderId='RUH-411001296' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-30T14:24:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000950 post PendingInvicesDO 2 RUH-411001358 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001358 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ff9c837-51f8-4b7c-8fb9-575742776ce4' LIMIT 1 Date : 2025-04-30T15:10:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-30T15:10:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000951 post PendingInvicesDO 2 RUH-411001359 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001359 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b7ab77a5-fc61-41a3-95cc-b27c744536d2' LIMIT 1 Date : 2025-05-01T08:19:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T08:19:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000952 post PendingInvicesDO 2 RUH-411001361 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001361 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7989a070-9143-40c7-b21c-c7561bac5844' LIMIT 1 Date : 2025-05-01T09:30:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T09:30:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000953 post PendingInvicesDO 2 RUH-411001363 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001363 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5bb406ad-97b3-4ed5-b21d-c2b1bfd045fc' LIMIT 1 Date : 2025-05-01T10:32:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T10:32:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000954 post PendingInvicesDO 2 RUH-411001366 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001366 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='76131ed4-271e-401b-9408-0770ffe33f95' LIMIT 1 Date : 2025-05-01T15:43:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T15:43:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000955 post PendingInvicesDO 2 RUH-411001367 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001367 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c854f90b-dc4f-43f0-b9fa-736a0093ff7f' LIMIT 1 Date : 2025-05-01T16:07:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T16:07:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000956 post PendingInvicesDO 2 RUH-411001368 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001368 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3f27ffd-f1f7-4e47-baac-73ef3f7d1221' LIMIT 1 Date : 2025-05-01T16:48:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T16:48:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000958 post PendingInvicesDO 2 RUH-411001370 post PendingInvicesDO 2 RUH-411001369 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000957 post PendingInvicesDO 2 RUH-411001370 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001369 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001370 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2d01f52-d348-477f-8063-c136443cde84' LIMIT 1 Date : 2025-05-01T17:35:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='adf3804b-8db7-429f-b800-278a4e166f01' LIMIT 1 Date : 2025-05-01T17:35:19  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2d01f52-d348-477f-8063-c136443cde84' LIMIT 1 Date : 2025-05-01T17:35:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='adf3804b-8db7-429f-b800-278a4e166f01' LIMIT 1 Date : 2025-05-01T17:35:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-01T17:35:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000959 post PendingInvicesDO 2 RUH-411001374 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001374 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9d36f71-8e4d-4860-9818-8d7d93199131' LIMIT 1 Date : 2025-05-01T20:06:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T20:06:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000960 post PendingInvicesDO 2 RUH-411001375 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001375 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95d476a9-57c3-4746-b182-bf8e4dc4bb50' LIMIT 1 Date : 2025-05-01T20:27:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T20:27:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000961 post PendingInvicesDO 2 RUH-411001376 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001376 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c18370f-fbdd-43be-8fb5-0ae90ac641de' LIMIT 1 Date : 2025-05-01T20:43:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T20:43:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000962 post PendingInvicesDO 2 RUH-411001377 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001377 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf62be44-559a-4512-b667-88b8c696cf44' LIMIT 1 Date : 2025-05-01T21:29:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T21:29:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000963 post PendingInvicesDO 2 RUH-411001378 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001378 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='331919f8-b677-461d-a3c5-eaeb9b253ef4' LIMIT 1 Date : 2025-05-01T21:48:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T21:48:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000964 post PendingInvicesDO 2 RUH-411001379 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001379 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4aa831f-e04f-4528-a178-fed3be12788e' LIMIT 1 Date : 2025-05-01T22:14:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T22:14:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000965 post PendingInvicesDO 2 RUH-411001380 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001380 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b323e1b-83d7-4361-9478-b27ac2c9b246' LIMIT 1 Date : 2025-05-01T23:08:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T23:08:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000966 post PendingInvicesDO 2 RUH-411001381 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001381 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2bca4558-dba6-4047-b60f-0eb3a3614886' LIMIT 1 Date : 2025-05-01T23:41:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-01T23:41:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000967 post PendingInvicesDO 2 RUH-411001371 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001371 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001371' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001371' OR OrderId='RUH-411001371' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-02T08:50:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000968 post PendingInvicesDO 2 RUH-411001382 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001382 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d3af879-5345-4f0e-a2fc-574df823bc65' LIMIT 1 Date : 2025-05-02T09:09:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-02T09:09:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000969 post PendingInvicesDO 2 RUH-411001271 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001271 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001271' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001271' OR OrderId='RUH-411001271' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-02T12:51:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000970 post PendingInvicesDO 2 RUH-411001384 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001384 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0c23812e-1acf-401f-a952-58074deae040' LIMIT 1 Date : 2025-05-02T13:10:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-02T13:10:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000971 post PendingInvicesDO 2 RUH-411001385 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001385 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1d04831-e619-4c0e-88e0-986a91116ac5' LIMIT 1 Date : 2025-05-02T14:27:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-02T14:27:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000972 post PendingInvicesDO 2 RUH-411001386 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001386 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f60b8771-55e0-418d-9ebb-27863ef64e31' LIMIT 1 Date : 2025-05-02T15:20:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-02T15:20:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000973 post PendingInvicesDO 2 RUH-411001387 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001387 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86451648-2d3e-4151-9e23-7a8ffa551559' LIMIT 1 Date : 2025-05-02T16:06:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-02T16:06:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000974 post PendingInvicesDO 2 RUH-411001388 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001388 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55a1e15f-4ad3-46b6-aabb-912a8fddfad7' LIMIT 1 Date : 2025-05-02T16:22:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-02T16:22:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000975 post PendingInvicesDO 2 RUH-411001372 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001372 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001372' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001372' OR OrderId='RUH-411001372' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-02T17:39:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000976 post PendingInvicesDO 2 RUH-411001389 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001389 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08a47a36-c81d-4ad6-aaa8-1d078a3a4cf1' LIMIT 1 Date : 2025-05-02T18:03:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-02T18:03:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000977 post PendingInvicesDO 2 RUH-411001390 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001390 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='db8b3d7d-b8cc-45aa-b064-1fd6ece54bfa' LIMIT 1 Date : 2025-05-02T19:08:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-02T19:08:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000979 post PendingInvicesDO 2 RUH-411001392 post PendingInvicesDO 2 RUH-411001391 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000978 post PendingInvicesDO 2 RUH-411001392 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001391 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001392 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a20a59e-46de-4d93-8bdb-55c8015ec217' LIMIT 1 Date : 2025-05-02T20:14:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6e76e5f-d639-4562-ac42-98217d086f53' LIMIT 1 Date : 2025-05-02T20:14:39  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a20a59e-46de-4d93-8bdb-55c8015ec217' LIMIT 1 Date : 2025-05-02T20:14:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a6e76e5f-d639-4562-ac42-98217d086f53' LIMIT 1 Date : 2025-05-02T20:14:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-02T20:14:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000980 post PendingInvicesDO 2 RUH-411001393 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001393 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb8e436e-094f-4d2c-91b6-05d55f124866' LIMIT 1 Date : 2025-05-02T20:38:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-02T20:38:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000981 post PendingInvicesDO 2 RUH-411001394 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001394 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f012333f-5c77-470e-b1e2-0997a0c91f5a' LIMIT 1 Date : 2025-05-02T20:53:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-02T20:53:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000982 post PendingInvicesDO 2 RUH-411001396 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001396 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6fe6788-9c94-4bd9-9b39-d8e245df7639' LIMIT 1 Date : 2025-05-03T08:33:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T08:33:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000983 post PendingInvicesDO 2 RUH-411001399 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001399 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a333c9e7-4dc7-4f6a-89e7-39bc625189f1' LIMIT 1 Date : 2025-05-03T11:19:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T11:19:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000984 post PendingInvicesDO 2 RUH-411001400 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001400 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73a32461-374b-42b0-bf57-04e9e835a12e' LIMIT 1 Date : 2025-05-03T11:38:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T11:38:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000985 post PendingInvicesDO 2 RUH-411001401 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001401 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7d89104-5ab8-458b-ab95-4cdb717b01bb' LIMIT 1 Date : 2025-05-03T12:36:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-03T12:36:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000987 post PendingInvicesDO 2 RUH-411001403 post PendingInvicesDO 2 RUH-411001402 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000986 post PendingInvicesDO 2 RUH-411001403 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001402 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001403 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83fdab41-71b1-4e20-82aa-352cc9e5addc' LIMIT 1 Date : 2025-05-03T13:04:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6c25cca-4c5c-4321-ae30-31834ada0ad2' LIMIT 1 Date : 2025-05-03T13:04:07  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83fdab41-71b1-4e20-82aa-352cc9e5addc' LIMIT 1 Date : 2025-05-03T13:04:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6c25cca-4c5c-4321-ae30-31834ada0ad2' LIMIT 1 Date : 2025-05-03T13:04:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-03T13:04:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000989 post PendingInvicesDO 2 RUH-411001405 post PendingInvicesDO 2 RUH-411001404 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414000988 post PendingInvicesDO 2 RUH-411001405 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001404 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001405 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a199133-4e40-4c72-8dfa-8015923dc4b8' LIMIT 1 Date : 2025-05-03T22:09:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e988cc1-425b-4ef0-a135-a4dbd468420c' LIMIT 1 Date : 2025-05-03T22:09:32  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a199133-4e40-4c72-8dfa-8015923dc4b8' LIMIT 1 Date : 2025-05-03T22:09:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e988cc1-425b-4ef0-a135-a4dbd468420c' LIMIT 1 Date : 2025-05-03T22:09:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-03T22:09:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000990 post PendingInvicesDO 2 RUH-411001406 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001406 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d5647f1-d757-4a64-8cc3-b5ca2eb45538' LIMIT 1 Date : 2025-05-04T07:14:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-04T07:14:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000991 post PendingInvicesDO 2 RUH-411001407 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001407 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11e2b77c-0705-4b0e-91a6-b9fba7240999' LIMIT 1 Date : 2025-05-04T07:45:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-04T07:45:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000992 post PendingInvicesDO 2 RUH-411001416 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001416 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f588a9a1-d58f-4bda-bfaf-0afcb0125eee' LIMIT 1 Date : 2025-05-04T19:08:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-04T19:08:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000993 post PendingInvicesDO 2 RUH-411001417 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001417 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ff42177-605f-430b-84c7-20a3ae79131c' LIMIT 1 Date : 2025-05-04T20:17:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-04T20:17:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000994 post PendingInvicesDO 2 RUH-411001418 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001418 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b02a190-6cfc-454d-abab-752745d25071' LIMIT 1 Date : 2025-05-04T20:53:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-04T20:53:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000995 post PendingInvicesDO 2 RUH-411001357 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001357 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001357' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001357' OR OrderId='RUH-411001357' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-04T21:06:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000996 post PendingInvicesDO 2 RUH-411001420 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001420 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fe32cc44-eaff-45fc-abdc-af656f2b3688' LIMIT 1 Date : 2025-05-04T21:49:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-04T21:49:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000997 post PendingInvicesDO 2 RUH-411001421 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001421 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a80f6e3-fbca-40cf-bd69-b772f412d6ef' LIMIT 1 Date : 2025-05-04T22:39:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-04T22:39:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000998 post PendingInvicesDO 2 RUH-411001422 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001422 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='036625ae-435c-40ef-8602-3fa28d79b4df' LIMIT 1 Date : 2025-05-04T23:26:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-04T23:26:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414000999 post PendingInvicesDO 2 RUH-411001424 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001424 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='30f6a2fa-f95f-4163-ba98-fe0a55bde756' LIMIT 1 Date : 2025-05-05T10:04:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T10:04:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001000 post PendingInvicesDO 2 RUH-411001432 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001432 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a37acd2d-7eed-4162-9a92-8890a9fe7310' LIMIT 1 Date : 2025-05-05T15:44:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T15:44:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001001 post PendingInvicesDO 2 RUH-411001434 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001434 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='75087515-98a4-4f6a-ab1f-afc4d0a995db' LIMIT 1 Date : 2025-05-05T17:31:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-05T17:31:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001002 post PendingInvicesDO 2 RUH-411001435 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001435 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5935cfec-e0ea-4491-9647-e40bd1910228' LIMIT 1 Date : 2025-05-06T07:30:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T07:30:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001003 post PendingInvicesDO 2 RUH-411001438 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001438 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='add509b8-dbee-413d-9070-9f2fd7892e08' LIMIT 1 Date : 2025-05-06T11:24:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T11:24:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001004 post PendingInvicesDO 2 RUH-411001441 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001441 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='18845802-1b89-4c6b-8b1f-8d6c010dead9' LIMIT 1 Date : 2025-05-06T13:58:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T13:58:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001005 post PendingInvicesDO 2 RUH-411001442 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001442 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15242fd0-c16f-4dbe-bc00-47e850fa1cb5' LIMIT 1 Date : 2025-05-06T15:07:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T15:07:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001006 post PendingInvicesDO 2 RUH-411001383 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001383 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001383' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001383' OR OrderId='RUH-411001383' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-06T15:45:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001007 post PendingInvicesDO 2 RUH-411001444 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001444 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b7c0d16-23c8-4b3f-9304-931e9e550ea5' LIMIT 1 Date : 2025-05-06T16:59:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-06T16:59:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001008 post PendingInvicesDO 2 RUH-411001446 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001446 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e97d3a4-37c9-42c5-8f46-f1187e881d9b' LIMIT 1 Date : 2025-05-07T07:08:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T07:08:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001009 post PendingInvicesDO 2 RUH-411001447 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001447 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='64a72ab8-fa4f-42b9-a0d4-807335750cfb' LIMIT 1 Date : 2025-05-07T07:38:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T07:38:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001010 post PendingInvicesDO 2 RUH-411001448 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001448 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a62bfc1-8e61-478d-bdd9-2bffdd7c30cf' LIMIT 1 Date : 2025-05-07T08:08:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T08:08:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001011 post PendingInvicesDO 2 RUH-411001449 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001449 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb0046e5-675f-4032-ac40-8f5c752ec73c' LIMIT 1 Date : 2025-05-07T08:32:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T08:32:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001012 post PendingInvicesDO 2 RUH-411001450 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001450 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3af7fcd9-9f93-4d33-9f7f-b00d6c281d72' LIMIT 1 Date : 2025-05-07T09:01:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T09:01:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001014 post PendingInvicesDO 2 RUH-411001452 post PendingInvicesDO 2 RUH-411001451 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001013 post PendingInvicesDO 2 RUH-411001452 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001451 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001452 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='160db536-608f-4ea2-8723-1abd3f46b51b' LIMIT 1 Date : 2025-05-07T10:02:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e1f61b2d-3f66-48a1-be9a-d8d3720ec435' LIMIT 1 Date : 2025-05-07T10:02:49  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='160db536-608f-4ea2-8723-1abd3f46b51b' LIMIT 1 Date : 2025-05-07T10:02:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e1f61b2d-3f66-48a1-be9a-d8d3720ec435' LIMIT 1 Date : 2025-05-07T10:02:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-07T10:02:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001015 post PendingInvicesDO 2 RUH-411001453 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001453 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85be0041-b0e3-416c-adaf-82bed1626bf9' LIMIT 1 Date : 2025-05-07T10:32:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T10:32:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001016 post PendingInvicesDO 2 RUH-411001454 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001454 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8f34cb4a-a5da-4ef5-adb8-67b094174b06' LIMIT 1 Date : 2025-05-07T10:50:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T10:50:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001017 post PendingInvicesDO 2 RUH-411001455 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001455 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1457817f-0120-484e-9076-25611d61a4cd' LIMIT 1 Date : 2025-05-07T11:27:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T11:27:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001019 post PendingInvicesDO 2 RUH-411001457 post PendingInvicesDO 2 RUH-411001456 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001018 post PendingInvicesDO 2 RUH-411001457 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001456 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001457 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04fac2a3-7f41-4c1b-88f3-a2f2af02900e' LIMIT 1 Date : 2025-05-07T12:01:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3955e59b-502d-4802-af2e-1784b3338a8a' LIMIT 1 Date : 2025-05-07T12:01:44  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04fac2a3-7f41-4c1b-88f3-a2f2af02900e' LIMIT 1 Date : 2025-05-07T12:01:44  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3955e59b-502d-4802-af2e-1784b3338a8a' LIMIT 1 Date : 2025-05-07T12:01:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-07T12:01:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001020 post PendingInvicesDO 2 RUH-411001458 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001458 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='81c9e740-0c9d-4a4d-a19a-e3c5ee97aeb4' LIMIT 1 Date : 2025-05-07T12:21:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T12:21:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001021 post PendingInvicesDO 2 RUH-411001463 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001463 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8ebf3937-1ff1-4093-aab9-d53d09329d54' LIMIT 1 Date : 2025-05-07T15:28:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-07T15:28:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001022 post PendingInvicesDO 2 RUH-411001464 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001464 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dff8449d-d7f6-4202-b4a1-499e7d499204' LIMIT 1 Date : 2025-05-08T07:58:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T07:58:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001023 post PendingInvicesDO 2 RUH-411001208 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001208 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001208' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001208' OR OrderId='RUH-411001208' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-08T08:13:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001024 post PendingInvicesDO 2 RUH-411001466 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001466 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39a65a97-104e-4737-8043-9c9aac5acdd7' LIMIT 1 Date : 2025-05-08T08:46:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T08:46:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001025 post PendingInvicesDO 2 RUH-411001468 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001468 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b207f67e-6601-4299-975d-463ab74e655e' LIMIT 1 Date : 2025-05-08T10:29:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T10:29:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001026 post PendingInvicesDO 2 RUH-411001470 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001470 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='416ef2b8-8056-41a0-98c3-72aeed6bb17e' LIMIT 1 Date : 2025-05-08T12:02:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T12:02:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001027 post PendingInvicesDO 2 RUH-411001472 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001472 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='08b48fc2-b471-40e7-b3b7-7fbbde577627' LIMIT 1 Date : 2025-05-08T14:00:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T14:00:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001028 post PendingInvicesDO 2 RUH-411001473 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001473 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd460102-47cc-4861-a850-690995810396' LIMIT 1 Date : 2025-05-08T14:29:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T14:29:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001029 post PendingInvicesDO 2 RUH-411001474 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001474 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b9c291a7-f920-4cd3-89ea-f34609dbdb96' LIMIT 1 Date : 2025-05-08T15:18:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T15:18:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001030 post PendingInvicesDO 2 RUH-411001475 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001475 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5b6b2d9-cd16-476f-b4f4-23256948bf7a' LIMIT 1 Date : 2025-05-08T16:40:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T16:40:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001031 post PendingInvicesDO 2 RUH-411001477 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001477 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1485c55b-bf77-425b-ad99-389650cccd60' LIMIT 1 Date : 2025-05-08T19:11:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T19:11:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001032 post PendingInvicesDO 2 RUH-411001478 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001478 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='edcf27f0-d89c-4776-969c-a5d1d3498350' LIMIT 1 Date : 2025-05-08T19:54:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T19:54:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001033 post PendingInvicesDO 2 RUH-411001479 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001479 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13fff7a9-8ba0-473f-9ec0-790e315e181f' LIMIT 1 Date : 2025-05-08T20:43:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-08T20:43:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001034 post PendingInvicesDO 2 RUH-411001476 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001476 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001476' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001476' OR OrderId='RUH-411001476' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-08T23:40:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001035 post PendingInvicesDO 2 RUH-411001480 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001480 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ea83405-5adf-4ea0-992a-ba07574aade0' LIMIT 1 Date : 2025-05-10T07:59:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-10T07:59:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001036 post PendingInvicesDO 2 RUH-411001445 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001445 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001445' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001445' OR OrderId='RUH-411001445' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-10T09:52:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001037 post PendingInvicesDO 2 RUH-411001482 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001482 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79de5109-5b2f-4c76-8d5d-2ca772a355eb' LIMIT 1 Date : 2025-05-10T09:56:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-10T09:56:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001039 post PendingInvicesDO 2 RUH-411001489 post PendingInvicesDO 2 RUH-411001488 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001038 post PendingInvicesDO 2 RUH-411001489 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001488 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001489 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1db1d4be-a438-4e98-962e-beb1d404de39' LIMIT 1 Date : 2025-05-10T14:53:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50710c6e-407b-44b1-83f3-23c3dfad8c5a' LIMIT 1 Date : 2025-05-10T14:53:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1db1d4be-a438-4e98-962e-beb1d404de39' LIMIT 1 Date : 2025-05-10T14:53:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50710c6e-407b-44b1-83f3-23c3dfad8c5a' LIMIT 1 Date : 2025-05-10T14:53:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-10T14:53:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001040 post PendingInvicesDO 2 RUH-411001490 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001490 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6ad9be5-e0b6-4481-921b-aa0ebcb92976' LIMIT 1 Date : 2025-05-11T07:34:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T07:34:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001041 post PendingInvicesDO 2 RUH-411001295 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001295 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001295' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001295' OR OrderId='RUH-411001295' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-11T07:46:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001042 post PendingInvicesDO 2 RUH-411001492 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001492 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2f7a5eb-fd67-4589-9cdb-e08ddd3cad6d' LIMIT 1 Date : 2025-05-11T08:32:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T08:32:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001043 post PendingInvicesDO 2 RUH-411001493 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001493 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95275548-0c30-4b92-a6e4-d32b082353d1' LIMIT 1 Date : 2025-05-11T09:07:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T09:07:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001044 post PendingInvicesDO 2 RUH-411001496 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001496 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35e13d70-1037-4fb6-a894-dc8eb2113b99' LIMIT 1 Date : 2025-05-11T11:00:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T11:00:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001045 post PendingInvicesDO 2 RUH-411001497 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001497 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9af9333-17ae-4e85-8a80-822e2c492375' LIMIT 1 Date : 2025-05-11T12:16:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T12:16:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001046 post PendingInvicesDO 2 RUH-411001500 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001500 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6004860-cfa1-4540-9661-20c22d2107be' LIMIT 1 Date : 2025-05-11T14:44:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T14:44:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001047 post PendingInvicesDO 2 RUH-411001501 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001501 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='87f2d73d-65f9-423a-a407-f5acc2be3e28' LIMIT 1 Date : 2025-05-11T16:07:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T16:07:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001048 post PendingInvicesDO 2 RUH-411001502 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001502 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='473ce53e-c130-4a62-9a46-70e55fdf9fe1' LIMIT 1 Date : 2025-05-11T16:50:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T16:50:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001049 post PendingInvicesDO 2 RUH-411001503 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001503 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='483b94a9-a4c8-43f0-b7a9-abc4d4c7e8ca' LIMIT 1 Date : 2025-05-11T17:12:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T17:12:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001050 post PendingInvicesDO 2 RUH-411001504 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001504 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23056dc8-4ed8-4a1f-85d1-1bd08d4ede22' LIMIT 1 Date : 2025-05-11T17:43:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T17:43:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001051 post PendingInvicesDO 2 RUH-411001505 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001505 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='712d941e-7a08-4c51-9074-9c0f56212959' LIMIT 1 Date : 2025-05-11T18:15:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T18:15:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001052 post PendingInvicesDO 2 RUH-411001506 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001506 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7dfeefa1-16ae-4d20-a7ac-cfae9d729b04' LIMIT 1 Date : 2025-05-11T18:56:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T18:56:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001053 post PendingInvicesDO 2 RUH-411001373 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001373 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001373' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001373' OR OrderId='RUH-411001373' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-11T19:19:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001054 post PendingInvicesDO 2 RUH-411001508 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001508 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='488c8971-1073-4516-a8aa-0fde4aebc573' LIMIT 1 Date : 2025-05-11T19:42:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-11T19:42:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001055 post PendingInvicesDO 2 RUH-411001509 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001509 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73018e8e-9d15-4aec-ba49-2e1a7973c06c' LIMIT 1 Date : 2025-05-12T07:03:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T07:03:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001056 post PendingInvicesDO 2 RUH-411001510 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001510 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccf67ca7-2322-487f-8f6c-c004bd7f15ef' LIMIT 1 Date : 2025-05-12T07:30:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T07:30:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001057 post PendingInvicesDO 2 RUH-411001516 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001516 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52c302a0-bb7a-4ad8-b4c7-6d14519474df' LIMIT 1 Date : 2025-05-12T13:57:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T13:57:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001059 post PendingInvicesDO 2 RUH-411001518 post PendingInvicesDO 2 RUH-411001517 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001058 post PendingInvicesDO 2 RUH-411001518 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001517 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001518 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35d413f9-3e8e-47d0-8635-e7adf7809270' LIMIT 1 Date : 2025-05-12T15:04:14  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a169cd4a-896e-4ee4-941e-26dccabda73d' LIMIT 1 Date : 2025-05-12T15:04:14  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='35d413f9-3e8e-47d0-8635-e7adf7809270' LIMIT 1 Date : 2025-05-12T15:04:15  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a169cd4a-896e-4ee4-941e-26dccabda73d' LIMIT 1 Date : 2025-05-12T15:04:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-12T15:04:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001060 post PendingInvicesDO 2 RUH-411001519 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001519 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccae9b68-7bb2-4f66-a5a4-bb1a22e3c3a4' LIMIT 1 Date : 2025-05-12T17:29:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-12T17:29:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001061 post PendingInvicesDO 2 RUH-411001165 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001165 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001165' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001165' OR OrderId='RUH-411001165' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-12T20:51:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001062 post PendingInvicesDO 2 RUH-411001526 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001526 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='000f757f-dbd3-4661-aa01-55e443287ba0' LIMIT 1 Date : 2025-05-13T14:35:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-13T14:35:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001063 post PendingInvicesDO 2 RUH-411001528 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001528 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12f6b6b2-2e25-4c40-ba44-1fcd8ed4d99a' LIMIT 1 Date : 2025-05-13T15:09:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-13T15:09:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001064 post PendingInvicesDO 2 RUH-411001531 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001531 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9621e511-34ee-416a-8946-d8229ef5310e' LIMIT 1 Date : 2025-05-13T16:21:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-13T16:21:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001065 post PendingInvicesDO 2 RUH-411001532 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001532 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b77c13c-bdc9-4cec-843a-52213e29d501' LIMIT 1 Date : 2025-05-13T18:35:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-13T18:35:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001066 post PendingInvicesDO 2 RUH-411001533 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001533 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='185db586-88e1-4e1d-ba2f-e295ad2c8960' LIMIT 1 Date : 2025-05-13T19:24:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-13T19:24:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001067 post PendingInvicesDO 2 RUH-411001534 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001534 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22a23ea8-0a16-442f-aa08-a8ed525a2fad' LIMIT 1 Date : 2025-05-14T07:25:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T07:25:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001068 post PendingInvicesDO 2 RUH-411001535 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001535 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf6c2baf-57bb-42f0-8c42-cd3f73975e02' LIMIT 1 Date : 2025-05-14T07:53:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T07:53:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001069 post PendingInvicesDO 2 RUH-411001352 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001352 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001352' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001352' OR OrderId='RUH-411001352' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-14T08:09:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001070 post PendingInvicesDO 2 RUH-411001543 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001543 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='682813df-a653-48ef-b4dd-aa99d76f2293' LIMIT 1 Date : 2025-05-14T15:31:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T15:31:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001071 post PendingInvicesDO 2 RUH-411001544 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001544 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='19b7abf6-edb7-42b0-8a71-296a620287ec' LIMIT 1 Date : 2025-05-14T16:28:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T16:28:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001072 post PendingInvicesDO 2 RUH-411001545 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001545 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9dfcce14-4e87-4570-9ec9-68f9a528c76f' LIMIT 1 Date : 2025-05-14T16:50:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T16:50:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001073 post PendingInvicesDO 2 RUH-411001546 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001546 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b080c667-e49a-4e75-a2ed-d0572e9b6fbe' LIMIT 1 Date : 2025-05-14T17:29:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T17:29:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001075 post PendingInvicesDO 2 RUH-411001548 post PendingInvicesDO 2 RUH-411001547 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001074 post PendingInvicesDO 2 RUH-411001548 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001547 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001548 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf6d08b4-d434-403d-b842-1d12bed6f407' LIMIT 1 Date : 2025-05-14T18:13:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d14f8fc-8df3-429d-ba9f-4fe4062d66cc' LIMIT 1 Date : 2025-05-14T18:13:45  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf6d08b4-d434-403d-b842-1d12bed6f407' LIMIT 1 Date : 2025-05-14T18:13:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d14f8fc-8df3-429d-ba9f-4fe4062d66cc' LIMIT 1 Date : 2025-05-14T18:13:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-14T18:13:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001076 post PendingInvicesDO 2 RUH-411001549 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001549 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f04f91d-961d-4cda-80ae-f32a0e1a4a80' LIMIT 1 Date : 2025-05-14T18:58:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T18:58:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001077 post PendingInvicesDO 2 RUH-411001462 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001462 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001462' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001462' OR OrderId='RUH-411001462' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-14T19:22:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001078 post PendingInvicesDO 2 RUH-411001551 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001551 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7036a1de-b549-4b6b-b427-846841345143' LIMIT 1 Date : 2025-05-14T19:58:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-14T19:58:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001079 post PendingInvicesDO 2 RUH-411001552 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001552 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ee35017-88f9-4260-90e5-c659cb6097bd' LIMIT 1 Date : 2025-05-15T07:36:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T07:36:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001080 post PendingInvicesDO 2 RUH-411001553 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001553 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='707a4c76-0266-465b-88c4-3230ee598e26' LIMIT 1 Date : 2025-05-15T11:03:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T11:03:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001081 post PendingInvicesDO 2 RUH-411001554 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001554 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c45ad431-d962-42e9-b801-a9795c146700' LIMIT 1 Date : 2025-05-15T13:21:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T13:21:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001082 post PendingInvicesDO 2 RUH-411001556 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001556 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a19c9a52-9006-4d7e-9948-e80787517e27' LIMIT 1 Date : 2025-05-15T14:10:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T14:10:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001083 post PendingInvicesDO 2 RUH-411001557 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001557 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ede9e9bc-9940-4ea5-944d-4d004b7e862b' LIMIT 1 Date : 2025-05-15T14:50:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T14:50:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001084 post PendingInvicesDO 2 RUH-411001558 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001558 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='301c9b59-abe7-484f-895d-92356c6b71fe' LIMIT 1 Date : 2025-05-15T15:18:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T15:18:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001085 post PendingInvicesDO 2 RUH-411001559 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001559 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67b268aa-bb01-4f90-8579-8370ed38e9de' LIMIT 1 Date : 2025-05-15T16:18:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-15T16:18:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001087 post PendingInvicesDO 2 RUH-411001561 post PendingInvicesDO 2 RUH-411001560 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001086 post PendingInvicesDO 2 RUH-411001561 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001560 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001561 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fdb4dbb-f88f-4849-8296-85ab75399d3c' LIMIT 1 Date : 2025-05-15T18:23:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55410f0d-2800-4995-8b92-c0f6a962629e' LIMIT 1 Date : 2025-05-15T18:23:09  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fdb4dbb-f88f-4849-8296-85ab75399d3c' LIMIT 1 Date : 2025-05-15T18:23:09  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55410f0d-2800-4995-8b92-c0f6a962629e' LIMIT 1 Date : 2025-05-15T18:23:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-15T18:23:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001088 post PendingInvicesDO 2 RUH-411001563 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001563 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6ea04b4-96ea-4b6f-90ec-90fea3d30e06' LIMIT 1 Date : 2025-05-16T11:19:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-16T11:19:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001089 post PendingInvicesDO 2 RUH-411001564 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001564 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f86443ed-40ef-482e-bc11-c2498258f2f9' LIMIT 1 Date : 2025-05-16T11:42:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-16T11:42:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001090 post PendingInvicesDO 2 RUH-411001443 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001443 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001443' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001443' OR OrderId='RUH-411001443' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-16T12:38:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001091 post PendingInvicesDO 2 RUH-411001566 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001566 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90df6c0b-82f8-40bf-9b33-26c50083c03f' LIMIT 1 Date : 2025-05-16T12:51:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-16T12:51:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001092 post PendingInvicesDO 2 RUH-411001567 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001567 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='de20d2f6-34f2-4b90-a000-e201dd76648d' LIMIT 1 Date : 2025-05-16T13:56:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-16T13:56:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001093 post PendingInvicesDO 2 RUH-411001570 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001570 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd1243ff-72cb-4bd0-aa62-4dd9ae20a088' LIMIT 1 Date : 2025-05-17T08:46:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-17T08:46:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001094 post PendingInvicesDO 2 RUH-411001572 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001572 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1daa14bd-dce5-413b-b200-ac22db4051e0' LIMIT 1 Date : 2025-05-17T10:38:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-17T10:38:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001095 post PendingInvicesDO 2 RUH-411001575 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001575 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43f4b2af-6635-4dc1-9b73-53d77591a2b3' LIMIT 1 Date : 2025-05-17T14:51:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-17T14:51:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001096 post PendingInvicesDO 2 RUH-411001582 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001582 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='216e77ea-b4d0-42df-9fbe-0a7cfcba9301' LIMIT 1 Date : 2025-05-19T15:07:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-19T15:07:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001097 post PendingInvicesDO 2 RUH-411001589 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001589 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='85804109-9582-41e8-ad9f-318cfe9c040d' LIMIT 1 Date : 2025-05-20T11:22:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T11:22:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001098 post PendingInvicesDO 2 RUH-411001593 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001593 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb109eb0-59ab-45d8-8384-8755a7044b2b' LIMIT 1 Date : 2025-05-20T14:45:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T14:45:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001099 post PendingInvicesDO 2 RUH-411001595 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001595 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001595' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001595' OR OrderId='RUH-411001595' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-20T17:20:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001100 post PendingInvicesDO 2 RUH-411001596 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001596 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37bda091-0adc-4c51-8db7-79a177912fa6' LIMIT 1 Date : 2025-05-20T17:34:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-20T17:34:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001101 post PendingInvicesDO 2 RUH-411001597 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001597 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6cc5883d-f345-48aa-b431-c45aa6b9aeb3' LIMIT 1 Date : 2025-05-21T07:11:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T07:11:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001102 post PendingInvicesDO 2 RUH-411001491 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001491 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001491' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001491' OR OrderId='RUH-411001491' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-21T07:43:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001103 post PendingInvicesDO 2 RUH-411001599 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001599 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4924110-fe82-4bbc-ab8a-046740bd4e5b' LIMIT 1 Date : 2025-05-21T08:21:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T08:21:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001105 post PendingInvicesDO 2 RUH-411001601 post PendingInvicesDO 2 RUH-411001600 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001104 post PendingInvicesDO 2 RUH-411001601 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001600 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001601 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6daa15b-b0a5-415e-af75-06e1dcad0a43' LIMIT 1 Date : 2025-05-21T10:22:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='30ac3365-868e-404f-b0ab-0f87fbdeded5' LIMIT 1 Date : 2025-05-21T10:22:20  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b6daa15b-b0a5-415e-af75-06e1dcad0a43' LIMIT 1 Date : 2025-05-21T10:22:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='30ac3365-868e-404f-b0ab-0f87fbdeded5' LIMIT 1 Date : 2025-05-21T10:22:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-21T10:22:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001106 post PendingInvicesDO 2 RUH-411001602 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001602 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='34c8b160-5c51-4c3f-88fe-aab20d205156' LIMIT 1 Date : 2025-05-21T10:52:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T10:52:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001107 post PendingInvicesDO 2 RUH-411001603 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001603 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='baa32b68-5584-4111-ba68-a3b1ecff2b77' LIMIT 1 Date : 2025-05-21T11:29:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T11:29:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001108 post PendingInvicesDO 2 RUH-411001604 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001604 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b0afe87-b50b-4f66-a8b2-b6704a317c1d' LIMIT 1 Date : 2025-05-21T11:58:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T11:58:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001109 post PendingInvicesDO 2 RUH-411001605 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001605 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84a3d54b-194e-436a-a3e3-f0e73e5991e6' LIMIT 1 Date : 2025-05-21T12:27:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T12:27:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001110 post PendingInvicesDO 2 RUH-411001606 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001606 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='935cfc59-d7ba-4477-bc21-d5e9a37e0dec' LIMIT 1 Date : 2025-05-21T12:45:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T12:45:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001111 post PendingInvicesDO 2 RUH-411001607 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001607 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f7682932-49a6-4f66-9f47-2f670b915a2b' LIMIT 1 Date : 2025-05-21T13:10:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T13:10:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001112 post PendingInvicesDO 2 RUH-411001608 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001608 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9853a99e-67b6-4ba7-81c7-06d57da0bc82' LIMIT 1 Date : 2025-05-21T13:35:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-21T13:35:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001113 post PendingInvicesDO 2 RUH-411001550 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001550 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001550' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001550' OR OrderId='RUH-411001550' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-21T14:09:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001114 post PendingInvicesDO 2 RUH-411001610 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001610 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38228cea-317e-4b5d-ad5b-eb5012e441cb' LIMIT 1 Date : 2025-05-22T08:12:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T08:12:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001115 post PendingInvicesDO 2 RUH-411001616 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001616 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='979dcfd9-0bbc-462c-bbb2-f31082cc7204' LIMIT 1 Date : 2025-05-22T14:19:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T14:19:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001116 post PendingInvicesDO 2 RUH-411001344 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001344 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001344' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001344' OR OrderId='RUH-411001344' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-22T14:43:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001117 post PendingInvicesDO 2 RUH-411001617 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001617 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33d62115-1047-41a5-993b-7061b1727368' LIMIT 1 Date : 2025-05-22T14:48:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T14:48:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001118 post PendingInvicesDO 2 RUH-411001618 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001618 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e410165-42ce-443c-bbe2-a51c8e489a7b' LIMIT 1 Date : 2025-05-22T15:38:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T15:38:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001119 post PendingInvicesDO 2 RUH-411001619 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001619 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68521106-057f-45a3-8122-9c6665611d45' LIMIT 1 Date : 2025-05-22T16:37:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-22T16:37:52 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 RUH-414001120 post PendingInvicesDO 2 RUH-411001620 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001620 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001620' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001620' OR OrderId='RUH-411001620' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-23T08:06:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001121 post PendingInvicesDO 2 RUH-411001624 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001624 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e781ac27-de05-4260-a1de-5733cab621f9' LIMIT 1 Date : 2025-05-23T12:53:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-23T12:53:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001122 post PendingInvicesDO 2 RUH-411001625 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001625 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4954c50b-09f5-4422-9459-41368b6cd26d' LIMIT 1 Date : 2025-05-23T13:14:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-23T13:14:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001123 post PendingInvicesDO 2 RUH-411001628 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001628 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e233b785-338e-4360-ae9c-23cc030c11fb' LIMIT 1 Date : 2025-05-23T17:44:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-23T17:44:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001125 post PendingInvicesDO 2 RUH-411001634 post PendingInvicesDO 2 RUH-411001633 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001124 post PendingInvicesDO 2 RUH-411001634 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001633 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001634 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4a6fa8d-a046-41dc-ab68-1d1fb9404193' LIMIT 1 Date : 2025-05-24T10:25:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f9f8cf6-220c-47d1-84d9-5a53c90ffecd' LIMIT 1 Date : 2025-05-24T10:25:05  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b4a6fa8d-a046-41dc-ab68-1d1fb9404193' LIMIT 1 Date : 2025-05-24T10:25:05  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f9f8cf6-220c-47d1-84d9-5a53c90ffecd' LIMIT 1 Date : 2025-05-24T10:25:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-24T10:25:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001126 post PendingInvicesDO 2 RUH-411001637 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001637 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e97b6637-ca28-48a5-b389-7cfdcd6fe03b' LIMIT 1 Date : 2025-05-24T14:04:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-24T14:04:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001127 post PendingInvicesDO 2 RUH-411001507 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001507 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001507' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001507' OR OrderId='RUH-411001507' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-24T19:42:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001128 post PendingInvicesDO 2 RUH-411001638 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001638 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15f5d440-4316-4bdf-93dc-1f4340eff2ce' LIMIT 1 Date : 2025-05-25T07:17:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T07:17:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001129 post PendingInvicesDO 2 RUH-411001640 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001640 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='44a991da-7f24-456e-9b52-cadc878e0add' LIMIT 1 Date : 2025-05-25T09:15:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T09:15:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001130 post PendingInvicesDO 2 RUH-411001645 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001645 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bd53a60-8da3-4046-9f0b-e843928b751b' LIMIT 1 Date : 2025-05-25T15:02:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-25T15:02:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001131 post PendingInvicesDO 2 RUH-411001216 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001216 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001216' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001216' OR OrderId='RUH-411001216' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T15:10:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001132 post PendingInvicesDO 2 RUH-411001536 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001536 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001536' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001536' OR OrderId='RUH-411001536' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T17:07:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001133 post PendingInvicesDO 2 RUH-411001537 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001537 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001537' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001537' OR OrderId='RUH-411001537' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-25T17:45:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001134 post PendingInvicesDO 2 RUH-411001565 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001565 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001565' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001565' OR OrderId='RUH-411001565' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-26T15:58:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001135 post PendingInvicesDO 2 RUH-411001658 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001658 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a64b26c-b76e-4a09-bfe6-95ab7e8a7f6b' LIMIT 1 Date : 2025-05-26T16:59:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T16:59:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001136 post PendingInvicesDO 2 RUH-411001661 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001661 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eddea0aa-edf1-46ca-bafd-6034af0c3cd9' LIMIT 1 Date : 2025-05-26T19:28:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-26T19:28:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001138 post PendingInvicesDO 2 RUH-411001663 post PendingInvicesDO 2 RUH-411001662 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001137 post PendingInvicesDO 2 RUH-411001663 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001662 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001663 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7edbcd29-05a6-4fe3-ad14-07c8031612f4' LIMIT 1 Date : 2025-05-26T19:31:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82c8f965-11b3-4beb-967e-f4e942afea5e' LIMIT 1 Date : 2025-05-26T19:31:23  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7edbcd29-05a6-4fe3-ad14-07c8031612f4' LIMIT 1 Date : 2025-05-26T19:31:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82c8f965-11b3-4beb-967e-f4e942afea5e' LIMIT 1 Date : 2025-05-26T19:31:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-26T19:31:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001140 post PendingInvicesDO 2 RUH-411001671 post PendingInvicesDO 2 RUH-411001670 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001139 post PendingInvicesDO 2 RUH-411001671 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001670 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001671 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32706f62-e8b3-4140-b01c-4700abc94be3' LIMIT 1 Date : 2025-05-27T13:32:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7abf885f-0948-431f-a164-953ac766d4be' LIMIT 1 Date : 2025-05-27T13:32:10  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32706f62-e8b3-4140-b01c-4700abc94be3' LIMIT 1 Date : 2025-05-27T13:32:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7abf885f-0948-431f-a164-953ac766d4be' LIMIT 1 Date : 2025-05-27T13:32:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-05-27T13:32:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001141 post PendingInvicesDO 2 RUH-411001672 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001672 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ff40274-c86d-400a-ab49-9a41320ff4de' LIMIT 1 Date : 2025-05-27T14:33:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-27T14:33:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001142 post PendingInvicesDO 2 RUH-411001673 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001673 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1339fb1e-ba7d-4902-bfcf-8c69621b7412' LIMIT 1 Date : 2025-05-28T09:08:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T09:08:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001143 post PendingInvicesDO 2 RUH-411001674 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001674 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='af4e9407-2352-4944-b6c9-7a696c21e0db' LIMIT 1 Date : 2025-05-28T10:08:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T10:08:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001144 post PendingInvicesDO 2 RUH-411001675 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001675 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cf4c3d70-6a18-45b7-b296-d31c613ceffe' LIMIT 1 Date : 2025-05-28T10:41:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T10:41:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001145 post PendingInvicesDO 2 RUH-411001676 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001676 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8361db06-9da0-40e3-83e4-29a083d53e60' LIMIT 1 Date : 2025-05-28T10:53:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T10:53:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001146 post PendingInvicesDO 2 RUH-411001677 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001677 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c41e25f-f83f-4b05-884e-8dc3f7ddb46e' LIMIT 1 Date : 2025-05-28T11:12:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T11:12:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001147 post PendingInvicesDO 2 RUH-411001678 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001678 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='203688cc-bb87-454f-94ac-47d258e221ee' LIMIT 1 Date : 2025-05-28T11:40:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T11:40:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001148 post PendingInvicesDO 2 RUH-411001679 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001679 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79ff8876-31b5-4cce-88ad-5d306026d701' LIMIT 1 Date : 2025-05-28T12:34:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T12:34:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001149 post PendingInvicesDO 2 RUH-411001681 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001681 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='413d3b07-a8f6-4b83-9531-e96cd7c89c52' LIMIT 1 Date : 2025-05-28T14:25:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T14:25:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001150 post PendingInvicesDO 2 RUH-411001682 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001682 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001682' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001682' OR OrderId='RUH-411001682' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-28T14:58:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001151 post PendingInvicesDO 2 RUH-411001683 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001683 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52ecd693-6612-49a5-8a76-a5de6339412b' LIMIT 1 Date : 2025-05-28T14:58:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T14:58:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001152 post PendingInvicesDO 2 RUH-411001685 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001685 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c8306ac5-8e3f-4bc8-8a0a-c5ce088edce9' LIMIT 1 Date : 2025-05-28T17:49:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-28T17:49:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001153 post PendingInvicesDO 2 RUH-411001119 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001119 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001119' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001119' OR OrderId='RUH-411001119' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-05-28T19:33:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001154 post PendingInvicesDO 2 RUH-411001688 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001688 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b2d6e5cd-627f-4c58-8bce-24e465915173' LIMIT 1 Date : 2025-05-29T07:25:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T07:25:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001155 post PendingInvicesDO 2 RUH-411001690 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001690 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d78d1f07-90bc-4850-bfab-fbbfd441ccdd' LIMIT 1 Date : 2025-05-29T10:35:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T10:35:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001156 post PendingInvicesDO 2 RUH-411001691 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001691 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37cda746-ac35-404c-9c47-349a144b77b1' LIMIT 1 Date : 2025-05-29T12:42:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T12:42:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001157 post PendingInvicesDO 2 RUH-411001692 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001692 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73be49c2-899b-4e51-b1d1-0d35e960d7b8' LIMIT 1 Date : 2025-05-29T14:52:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T14:52:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001158 post PendingInvicesDO 2 RUH-411001693 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001693 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='979fb194-3bfd-4b70-89e3-2246850fa4e7' LIMIT 1 Date : 2025-05-29T15:35:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-05-29T15:35:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001159 post PendingInvicesDO 2 RUH-411001694 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001694 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bd06e46a-206c-422e-ae6e-000f09e7f244' LIMIT 1 Date : 2025-06-02T08:00:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T08:00:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001160 post PendingInvicesDO 2 RUH-411001696 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001696 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a9dd39a-9338-46df-811e-5cd173402446' LIMIT 1 Date : 2025-06-02T09:58:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T09:58:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001161 post PendingInvicesDO 2 RUH-411001697 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001697 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec98909a-1667-416f-8ee4-d7fb60b14420' LIMIT 1 Date : 2025-06-02T10:37:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T10:37:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001162 post PendingInvicesDO 2 RUH-411001699 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001699 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='229688e1-993a-4a3f-88cb-743b1957cf21' LIMIT 1 Date : 2025-06-02T12:05:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T12:05:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001164 post PendingInvicesDO 2 RUH-411001701 post PendingInvicesDO 2 RUH-411001700 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001163 post PendingInvicesDO 2 RUH-411001701 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001700 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001701 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e3b86b4-39df-4b77-8333-fdf86fe0b6f1' LIMIT 1 Date : 2025-06-02T13:23:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5871540d-44ff-4f8e-8611-bfaa28cea417' LIMIT 1 Date : 2025-06-02T13:23:23  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7e3b86b4-39df-4b77-8333-fdf86fe0b6f1' LIMIT 1 Date : 2025-06-02T13:23:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5871540d-44ff-4f8e-8611-bfaa28cea417' LIMIT 1 Date : 2025-06-02T13:23:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-02T13:23:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001165 post PendingInvicesDO 2 RUH-411001706 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001706 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='00b67df6-9821-4b74-9b16-30e17a541d60' LIMIT 1 Date : 2025-06-02T19:28:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-02T19:28:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001166 post PendingInvicesDO 2 RUH-411001419 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001419 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001419' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001419' OR OrderId='RUH-411001419' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-02T22:05:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001167 post PendingInvicesDO 2 RUH-411001710 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001710 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d1934e8-1521-4830-ae7b-8e81a0d5ff28' LIMIT 1 Date : 2025-06-03T09:27:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T09:27:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001169 post PendingInvicesDO 2 RUH-411001712 post PendingInvicesDO 2 RUH-411001711 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001168 post PendingInvicesDO 2 RUH-411001712 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001711 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001712 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd0590b8-f917-4846-91ea-9ffd7869fcb7' LIMIT 1 Date : 2025-06-03T10:26:01  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='752dd58f-615f-45b1-9406-03737b6d7f5a' LIMIT 1 Date : 2025-06-03T10:26:01  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd0590b8-f917-4846-91ea-9ffd7869fcb7' LIMIT 1 Date : 2025-06-03T10:26:01  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='752dd58f-615f-45b1-9406-03737b6d7f5a' LIMIT 1 Date : 2025-06-03T10:26:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-03T10:26:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001170 post PendingInvicesDO 2 RUH-411001562 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001562 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001562' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001562' OR OrderId='RUH-411001562' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-03T11:36:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001171 post PendingInvicesDO 2 RUH-411001657 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001657 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001657' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001657' OR OrderId='RUH-411001657' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-03T13:06:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001172 post PendingInvicesDO 2 RUH-411001715 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001715 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58c91def-3a36-4dc9-b20a-da34c4ffe935' LIMIT 1 Date : 2025-06-03T14:19:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T14:19:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001173 post PendingInvicesDO 2 RUH-411001716 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001716 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a336dea9-1dea-4111-b800-f21188dd9985' LIMIT 1 Date : 2025-06-03T15:30:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T15:30:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001174 post PendingInvicesDO 2 RUH-411001717 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001717 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e92d52a-c465-4ef3-8235-2a18bf647f79' LIMIT 1 Date : 2025-06-03T16:31:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-03T16:31:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001175 post PendingInvicesDO 2 RUH-411001705 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001705 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001705' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001705' OR OrderId='RUH-411001705' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-03T17:59:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001177 post PendingInvicesDO 2 RUH-411001720 post PendingInvicesDO 2 RUH-411001719 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001176 post PendingInvicesDO 2 RUH-411001720 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001719 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001720 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ed4a7c0-c8aa-4df5-9021-7d40cec507bd' LIMIT 1 Date : 2025-06-03T20:33:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0c61c1e-1892-42d2-81f3-cc25052fc251' LIMIT 1 Date : 2025-06-03T20:33:29  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ed4a7c0-c8aa-4df5-9021-7d40cec507bd' LIMIT 1 Date : 2025-06-03T20:33:29  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0c61c1e-1892-42d2-81f3-cc25052fc251' LIMIT 1 Date : 2025-06-03T20:33:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-03T20:33:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001178 post PendingInvicesDO 2 RUH-411001725 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001725 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d9a396f-099d-4821-8470-1210bab10b9a' LIMIT 1 Date : 2025-06-04T15:20:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T15:20:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001179 post PendingInvicesDO 2 RUH-411001728 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001728 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d123bd1c-2410-408c-b99b-48f9c62c4c20' LIMIT 1 Date : 2025-06-04T17:51:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T17:51:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001180 post PendingInvicesDO 2 RUH-411001609 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001609 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001609' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001609' OR OrderId='RUH-411001609' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-04T18:51:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001181 post PendingInvicesDO 2 RUH-411001730 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001730 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b93603b-81cb-42f0-aa0b-eadc84f21603' LIMIT 1 Date : 2025-06-04T19:20:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T19:20:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001182 post PendingInvicesDO 2 RUH-411001731 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001731 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='537da16e-3e85-48fc-8825-476c08d0f492' LIMIT 1 Date : 2025-06-04T20:00:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-04T20:00:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001183 post PendingInvicesDO 2 RUH-411001738 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001738 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a26bb9f2-a921-48eb-a5ed-6fe46859b878' LIMIT 1 Date : 2025-06-05T09:09:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T09:09:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001184 post PendingInvicesDO 2 RUH-411001739 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001739 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='632ed3e3-8e70-4724-900a-1531b2e40e67' LIMIT 1 Date : 2025-06-05T09:30:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T09:30:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001185 post PendingInvicesDO 2 RUH-411001746 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001746 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb728639-72a8-49fb-bb56-707959c2fb75' LIMIT 1 Date : 2025-06-05T17:25:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T17:25:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001186 post PendingInvicesDO 2 RUH-411001747 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001747 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86cf4edb-a44e-417e-9c42-b70bbb719cd6' LIMIT 1 Date : 2025-06-05T17:58:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T17:58:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001187 post PendingInvicesDO 2 RUH-411001748 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001748 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='895f1dfa-0fcc-4f55-8b13-4e7b97bc1174' LIMIT 1 Date : 2025-06-05T18:36:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T18:36:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001188 post PendingInvicesDO 2 RUH-411001749 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001749 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5861d13-9c35-4e14-91b7-3d7c79f393e5' LIMIT 1 Date : 2025-06-05T19:00:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T19:00:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001189 post PendingInvicesDO 2 RUH-411001465 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001465 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001465' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001465' OR OrderId='RUH-411001465' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-05T20:01:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001190 post PendingInvicesDO 2 RUH-411001751 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001751 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a99f8886-29be-4891-88c1-67b7e9b552dc' LIMIT 1 Date : 2025-06-05T20:40:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T20:40:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001191 post PendingInvicesDO 2 RUH-411001752 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001752 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62405f9b-5edb-49f2-bd4d-31e9b5aa1c63' LIMIT 1 Date : 2025-06-05T21:09:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-05T21:09:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001192 post PendingInvicesDO 2 RUH-411001753 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001753 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3422363-a6f8-40a5-b698-8a8a8721424c' LIMIT 1 Date : 2025-06-10T08:08:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T08:08:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001193 post PendingInvicesDO 2 RUH-411001755 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001755 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79fa2525-72bb-4589-a18d-4cc639e296a1' LIMIT 1 Date : 2025-06-10T10:05:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T10:05:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001194 post PendingInvicesDO 2 RUH-411001758 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001758 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc1ae040-1934-4240-9e72-5c01f591e948' LIMIT 1 Date : 2025-06-10T12:24:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-10T12:24:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001195 post PendingInvicesDO 2 RUH-411001762 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001762 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001762' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001762' OR OrderId='RUH-411001762' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-10T17:46:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001196 post PendingInvicesDO 2 RUH-411001647 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001647 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001647' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001647' OR OrderId='RUH-411001647' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-10T17:51:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001197 post PendingInvicesDO 2 RUH-411001764 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001764 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ed9b4b5-e69e-4579-b24a-49fd0f39dac8' LIMIT 1 Date : 2025-06-11T07:09:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T07:09:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001198 post PendingInvicesDO 2 RUH-411001766 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001766 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2c52744-95e2-45ff-959b-b34acdde70ed' LIMIT 1 Date : 2025-06-11T09:03:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T09:03:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001199 post PendingInvicesDO 2 RUH-411001771 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001771 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac3c1bee-6f1e-4370-b75e-9877daa5bf56' LIMIT 1 Date : 2025-06-11T11:45:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-11T11:45:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001200 post PendingInvicesDO 2 RUH-411001745 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001745 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001745' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001745' OR OrderId='RUH-411001745' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-11T18:01:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001202 post PendingInvicesDO 2 RUH-411001773 post PendingInvicesDO 2 RUH-411001772 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001201 post PendingInvicesDO 2 RUH-411001773 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001772 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001773 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c61a161-8283-4ad3-822c-8281d2a8d3c3' LIMIT 1 Date : 2025-06-12T08:41:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='006ded1b-acf0-4859-a962-2d43b585f548' LIMIT 1 Date : 2025-06-12T08:41:43  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8c61a161-8283-4ad3-822c-8281d2a8d3c3' LIMIT 1 Date : 2025-06-12T08:41:43  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='006ded1b-acf0-4859-a962-2d43b585f548' LIMIT 1 Date : 2025-06-12T08:41:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-12T08:41:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001203 post PendingInvicesDO 2 RUH-411001777 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001777 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ee62a48-d362-4623-801d-2a0661200fca' LIMIT 1 Date : 2025-06-12T11:15:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T11:15:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001204 post PendingInvicesDO 2 RUH-411001778 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001778 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92a1eab2-8350-43fa-9053-a6b794338e0d' LIMIT 1 Date : 2025-06-12T11:51:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T11:51:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001205 post PendingInvicesDO 2 RUH-411001779 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001779 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='294b1b25-3566-4001-ac81-c8b9a2a32b60' LIMIT 1 Date : 2025-06-12T12:12:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T12:12:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001206 post PendingInvicesDO 2 RUH-411001780 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001780 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b405ddc-e979-4f70-9101-3c3b0d38598f' LIMIT 1 Date : 2025-06-12T12:35:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T12:35:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001207 post PendingInvicesDO 2 RUH-411001770 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001770 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001770' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001770' OR OrderId='RUH-411001770' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-12T14:08:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001208 post PendingInvicesDO 2 RUH-411001782 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001782 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1804ce05-d923-40be-abe7-002ce278a9d2' LIMIT 1 Date : 2025-06-12T15:16:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-12T15:16:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001209 post PendingInvicesDO 2 RUH-411001783 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001783 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b591430-f462-45ca-b8a4-4fe9bbc18372' LIMIT 1 Date : 2025-06-14T08:04:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T08:04:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001210 post PendingInvicesDO 2 RUH-411001784 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001784 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c444d56-d628-47f9-8536-8735fc248c89' LIMIT 1 Date : 2025-06-14T08:34:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T08:34:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001211 post PendingInvicesDO 2 RUH-411001785 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001785 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2be7c342-a892-4204-96bd-ea26d174eb69' LIMIT 1 Date : 2025-06-14T08:48:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T08:48:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001212 post PendingInvicesDO 2 RUH-411001714 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001714 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001714' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001714' OR OrderId='RUH-411001714' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-14T10:02:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001213 post PendingInvicesDO 2 RUH-411001787 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001787 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51dec0f8-40f3-467a-b1c6-892d78f5c8aa' LIMIT 1 Date : 2025-06-14T10:53:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T10:53:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001214 post PendingInvicesDO 2 RUH-411001788 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001788 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fdbc0cd-4d60-4110-9411-1e47a732c966' LIMIT 1 Date : 2025-06-14T12:21:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T12:21:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001215 post PendingInvicesDO 2 RUH-411001789 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001789 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d98ca96d-3da1-463f-8643-2d29eeaa0e14' LIMIT 1 Date : 2025-06-14T13:14:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T13:14:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001216 post PendingInvicesDO 2 RUH-411001729 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001729 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001729' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001729' OR OrderId='RUH-411001729' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-14T13:26:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001217 post PendingInvicesDO 2 RUH-411001791 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001791 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0110d8a-523f-4740-9a24-83b117a136f2' LIMIT 1 Date : 2025-06-14T13:53:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-14T13:53:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001219 post PendingInvicesDO 2 RUH-411001794 post PendingInvicesDO 2 RUH-411001793 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001218 post PendingInvicesDO 2 RUH-411001794 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001793 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001794 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74880d6b-36e4-472e-b37d-c7596255ca27' LIMIT 1 Date : 2025-06-15T09:25:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6559ea55-a85f-44a4-8bc0-dda284d6bcb5' LIMIT 1 Date : 2025-06-15T09:25:40  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74880d6b-36e4-472e-b37d-c7596255ca27' LIMIT 1 Date : 2025-06-15T09:25:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6559ea55-a85f-44a4-8bc0-dda284d6bcb5' LIMIT 1 Date : 2025-06-15T09:25:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-15T09:25:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001220 post PendingInvicesDO 2 RUH-411001636 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001636 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001636' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001636' OR OrderId='RUH-411001636' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-15T16:54:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001221 post PendingInvicesDO 2 RUH-411001801 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001801 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d29eec1-059a-4ae2-a864-a9332c217827' LIMIT 1 Date : 2025-06-15T17:24:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T17:24:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001222 post PendingInvicesDO 2 RUH-411001802 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001802 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43573edb-1a3e-4dc4-87ba-36a26c96304f' LIMIT 1 Date : 2025-06-15T18:04:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-15T18:04:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001223 post PendingInvicesDO 2 RUH-411001799 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001799 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001799' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001799' OR OrderId='RUH-411001799' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-15T20:24:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001224 post PendingInvicesDO 2 RUH-411001803 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001803 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce9c7b14-70df-4845-b096-1bb8bef6ef7b' LIMIT 1 Date : 2025-06-16T07:54:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-16T07:54:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001225 post PendingInvicesDO 2 RUH-411001743 post PendingInvicesDO 2 RUH-411001761 post PendingInvicesDO 2 RUH-411001702 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001761 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001743 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : true trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001702 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001743' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001743' OR OrderId='RUH-411001743' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001761' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001761' OR OrderId='RUH-411001761' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001702' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001702' OR OrderId='RUH-411001702' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-16T14:12:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001226 post PendingInvicesDO 2 RUH-411001811 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001811 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001811' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001811' OR OrderId='RUH-411001811' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-16T15:55:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001227 post PendingInvicesDO 2 RUH-411001810 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001810 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001810' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001810' OR OrderId='RUH-411001810' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-16T15:56:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001228 post PendingInvicesDO 2 RUH-411001713 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001713 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001713' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001713' OR OrderId='RUH-411001713' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T11:46:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001230 post PendingInvicesDO 2 RUH-411001819 post PendingInvicesDO 2 RUH-411001818 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001229 post PendingInvicesDO 2 RUH-411001819 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001818 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001819 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1268fa0b-e95b-4c68-9e17-d87284dd08c4' LIMIT 1 Date : 2025-06-17T12:30:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='362c488d-09a5-428d-8941-3db101344d6a' LIMIT 1 Date : 2025-06-17T12:30:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1268fa0b-e95b-4c68-9e17-d87284dd08c4' LIMIT 1 Date : 2025-06-17T12:30:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='362c488d-09a5-428d-8941-3db101344d6a' LIMIT 1 Date : 2025-06-17T12:30:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-17T12:30:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001231 post PendingInvicesDO 2 RUH-411001820 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001820 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='11757d9a-7604-4519-8cce-162a48ba59cd' LIMIT 1 Date : 2025-06-17T13:04:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T13:04:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001233 post PendingInvicesDO 2 RUH-411001822 post PendingInvicesDO 2 RUH-411001821 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001232 post PendingInvicesDO 2 RUH-411001822 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001821 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001822 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9dbb4eda-ddd7-4806-bbaf-98c791dd326a' LIMIT 1 Date : 2025-06-17T13:57:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e69b953f-5161-4016-b7cf-827f14120586' LIMIT 1 Date : 2025-06-17T13:57:18  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9dbb4eda-ddd7-4806-bbaf-98c791dd326a' LIMIT 1 Date : 2025-06-17T13:57:18  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e69b953f-5161-4016-b7cf-827f14120586' LIMIT 1 Date : 2025-06-17T13:57:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-17T13:57:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001235 post PendingInvicesDO 2 RUH-411001824 post PendingInvicesDO 2 RUH-411001823 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001234 post PendingInvicesDO 2 RUH-411001824 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001823 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001824 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='657da017-e9a5-4b20-8beb-fdcac9c8bce0' LIMIT 1 Date : 2025-06-17T14:54:53  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae14107b-e209-4ee3-ae93-59384139d9f0' LIMIT 1 Date : 2025-06-17T14:54:53  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='657da017-e9a5-4b20-8beb-fdcac9c8bce0' LIMIT 1 Date : 2025-06-17T14:54:53  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae14107b-e209-4ee3-ae93-59384139d9f0' LIMIT 1 Date : 2025-06-17T14:54:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-17T14:54:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001236 post PendingInvicesDO 2 RUH-411001825 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001825 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d12cbec6-c5cd-4c81-9575-76ebd1fde1a6' LIMIT 1 Date : 2025-06-17T15:16:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-17T15:16:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001237 post PendingInvicesDO 2 RUH-411001646 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001646 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001646' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001646' OR OrderId='RUH-411001646' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T15:55:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001238 post PendingInvicesDO 2 RUH-411001763 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001763 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001763' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001763' OR OrderId='RUH-411001763' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T16:27:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001239 post PendingInvicesDO 2 RUH-411001687 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001687 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001687' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001687' OR OrderId='RUH-411001687' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T17:25:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001240 post PendingInvicesDO 2 RUH-411001659 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001659 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001659' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001659' OR OrderId='RUH-411001659' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-17T17:26:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001241 post PendingInvicesDO 2 RUH-411001829 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001829 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='414f8e7c-27c8-45a7-8a39-bd0bc0ba3d8b' LIMIT 1 Date : 2025-06-18T07:46:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T07:46:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001242 post PendingInvicesDO 2 RUH-411001830 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001830 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9ff5595-984c-4f65-8e00-4c5c98bd4ecb' LIMIT 1 Date : 2025-06-18T08:03:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T08:03:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001243 post PendingInvicesDO 2 RUH-411001831 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001831 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1cb2f2ea-5563-43d3-8db2-9b33b5a2b5e1' LIMIT 1 Date : 2025-06-18T08:22:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T08:22:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001245 post PendingInvicesDO 2 RUH-411001833 post PendingInvicesDO 2 RUH-411001832 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001244 post PendingInvicesDO 2 RUH-411001833 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001832 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001833 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f52dbf50-2ba6-4efe-8972-ab072e3f27ee' LIMIT 1 Date : 2025-06-18T08:44:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92665eca-7876-42d2-a318-13dd432b8476' LIMIT 1 Date : 2025-06-18T08:44:28  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f52dbf50-2ba6-4efe-8972-ab072e3f27ee' LIMIT 1 Date : 2025-06-18T08:44:28  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='92665eca-7876-42d2-a318-13dd432b8476' LIMIT 1 Date : 2025-06-18T08:44:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-18T08:44:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001246 post PendingInvicesDO 2 RUH-411001834 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001834 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e608149e-3533-4412-8f0a-4f75f7667d88' LIMIT 1 Date : 2025-06-18T09:13:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T09:13:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001248 post PendingInvicesDO 2 RUH-411001836 post PendingInvicesDO 2 RUH-411001835 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001247 post PendingInvicesDO 2 RUH-411001836 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001835 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001836 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c10fd6a5-e71d-4f8e-8e4f-39ab0ea33f55' LIMIT 1 Date : 2025-06-18T10:00:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79c4c100-2ce3-42eb-a183-1dc18c00be60' LIMIT 1 Date : 2025-06-18T10:00:33  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c10fd6a5-e71d-4f8e-8e4f-39ab0ea33f55' LIMIT 1 Date : 2025-06-18T10:00:33  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79c4c100-2ce3-42eb-a183-1dc18c00be60' LIMIT 1 Date : 2025-06-18T10:00:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-18T10:00:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001249 post PendingInvicesDO 2 RUH-411001842 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001842 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bac401a2-98a9-4ef9-9955-c841d1d4251b' LIMIT 1 Date : 2025-06-18T15:16:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-18T15:16:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001250 post PendingInvicesDO 2 RUH-411001845 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001845 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b1872ed7-b366-467a-a8db-f43c78896b2f' LIMIT 1 Date : 2025-06-19T11:35:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T11:35:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001251 post PendingInvicesDO 2 RUH-411001846 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001846 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fbfe4871-8e4e-4614-be78-7f4c71edbca2' LIMIT 1 Date : 2025-06-19T12:07:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T12:07:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001252 post PendingInvicesDO 2 RUH-411001848 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001848 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ccf5e844-cb61-436c-bd82-029a8d61c36b' LIMIT 1 Date : 2025-06-19T13:48:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T13:48:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001253 post PendingInvicesDO 2 RUH-411001849 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001849 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31f2f273-cb04-4d2f-a711-93d597af9913' LIMIT 1 Date : 2025-06-19T14:16:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T14:16:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001254 post PendingInvicesDO 2 RUH-411001850 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001850 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a9f76b0b-788b-4ada-8d56-528243961b85' LIMIT 1 Date : 2025-06-19T14:38:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T14:38:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001255 post PendingInvicesDO 2 RUH-411001851 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001851 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b228a7b4-8a49-4428-8fef-064fb569df13' LIMIT 1 Date : 2025-06-19T15:30:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T15:30:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001256 post PendingInvicesDO 2 RUH-411001852 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001852 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bba00714-3bc6-42db-8f2a-d365eec7b55d' LIMIT 1 Date : 2025-06-19T16:04:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T16:04:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001257 post PendingInvicesDO 2 RUH-411001854 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001854 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ffa6193a-e813-40cd-8cd0-e927d4708b7c' LIMIT 1 Date : 2025-06-19T17:34:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-19T17:34:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001258 post PendingInvicesDO 2 RUH-411001855 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001855 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09af1646-4101-473c-9009-9d339ff0e7be' LIMIT 1 Date : 2025-06-20T08:03:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-20T08:03:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001259 post PendingInvicesDO 2 RUH-411001856 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001856 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab1fb1a1-5533-4a19-a6a4-c2c500179c4a' LIMIT 1 Date : 2025-06-20T08:43:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-20T08:43:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001261 post PendingInvicesDO 2 RUH-411001858 post PendingInvicesDO 2 RUH-411001857 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001260 post PendingInvicesDO 2 RUH-411001858 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001857 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001858 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='332d0770-d5f7-4c3b-abcd-a507ed1fc177' LIMIT 1 Date : 2025-06-20T09:27:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0cd39587-9f54-4bab-8281-4b04b584b44b' LIMIT 1 Date : 2025-06-20T09:27:20  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='332d0770-d5f7-4c3b-abcd-a507ed1fc177' LIMIT 1 Date : 2025-06-20T09:27:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0cd39587-9f54-4bab-8281-4b04b584b44b' LIMIT 1 Date : 2025-06-20T09:27:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-20T09:27:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001262 post PendingInvicesDO 2 RUH-411001859 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001859 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aa11f05c-13c5-47a7-b00b-be984eccec5b' LIMIT 1 Date : 2025-06-20T10:40:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-20T10:40:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001263 post PendingInvicesDO 2 RUH-411001860 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001860 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='744e62b6-13ec-49e8-951a-2542cf9342f9' LIMIT 1 Date : 2025-06-20T10:58:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-20T10:58:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001264 post PendingInvicesDO 2 RUH-411001750 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001750 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001750' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001750' OR OrderId='RUH-411001750' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-20T12:53:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001265 post PendingInvicesDO 2 RUH-411001862 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001862 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7cfbc896-864b-4fcd-a1ee-27cbdd62e616' LIMIT 1 Date : 2025-06-20T13:52:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-20T13:52:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001266 post PendingInvicesDO 2 RUH-411001786 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001786 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001786' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001786' OR OrderId='RUH-411001786' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-20T14:08:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001267 post PendingInvicesDO 2 RUH-411001864 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001864 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='964cb930-f6a3-4f45-8540-c2036a06cc83' LIMIT 1 Date : 2025-06-20T14:21:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-20T14:21:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001268 post PendingInvicesDO 2 RUH-411001865 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001865 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='713eb121-6178-4262-8df8-9047ce248baf' LIMIT 1 Date : 2025-06-20T15:21:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-20T15:21:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001270 post PendingInvicesDO 2 RUH-411001867 post PendingInvicesDO 2 RUH-411001866 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001269 post PendingInvicesDO 2 RUH-411001867 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001866 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001867 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a00ff88b-2530-4038-8b70-5861be0d8013' LIMIT 1 Date : 2025-06-21T07:29:27  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38f10dac-eec4-42b8-bc0c-1a69e8fbb1c0' LIMIT 1 Date : 2025-06-21T07:29:27  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a00ff88b-2530-4038-8b70-5861be0d8013' LIMIT 1 Date : 2025-06-21T07:29:27  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38f10dac-eec4-42b8-bc0c-1a69e8fbb1c0' LIMIT 1 Date : 2025-06-21T07:29:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-21T07:29:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001272 post PendingInvicesDO 2 RUH-411001870 post PendingInvicesDO 2 RUH-411001869 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001271 post PendingInvicesDO 2 RUH-411001870 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001869 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001870 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdbeb70c-c16f-4caf-b33a-ded1e4092bae' LIMIT 1 Date : 2025-06-21T08:53:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='986a4375-f168-4add-8a80-e699c125191d' LIMIT 1 Date : 2025-06-21T08:53:20  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdbeb70c-c16f-4caf-b33a-ded1e4092bae' LIMIT 1 Date : 2025-06-21T08:53:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='986a4375-f168-4add-8a80-e699c125191d' LIMIT 1 Date : 2025-06-21T08:53:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-21T08:53:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001273 post PendingInvicesDO 2 RUH-411001790 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001790 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001790' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001790' OR OrderId='RUH-411001790' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-21T12:18:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001274 post PendingInvicesDO 2 RUH-411001874 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001874 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9911f539-d129-40cb-bbfd-9123120111ed' LIMIT 1 Date : 2025-06-21T13:54:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-21T13:54:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001276 post PendingInvicesDO 2 RUH-411001876 post PendingInvicesDO 2 RUH-411001875 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001275 post PendingInvicesDO 2 RUH-411001876 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001875 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001876 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e71d636-ae40-4289-899e-338f33a93061' LIMIT 1 Date : 2025-06-22T08:39:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f850ef17-71c2-4085-b743-b908f16c4258' LIMIT 1 Date : 2025-06-22T08:39:55  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3e71d636-ae40-4289-899e-338f33a93061' LIMIT 1 Date : 2025-06-22T08:39:55  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f850ef17-71c2-4085-b743-b908f16c4258' LIMIT 1 Date : 2025-06-22T08:39:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-22T08:39:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001277 post PendingInvicesDO 2 RUH-411001878 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001878 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7e6c4fe-dcc8-4fd7-b254-4edbb630ee9a' LIMIT 1 Date : 2025-06-22T10:15:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T10:15:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001278 post PendingInvicesDO 2 RUH-411001883 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001883 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59e09725-e746-4a3d-9461-c15eb9fe98e6' LIMIT 1 Date : 2025-06-22T13:25:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-22T13:25:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001279 post PendingInvicesDO 2 RUH-411001885 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001885 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4577608-b2c1-421e-bf7f-94dce7f53e66' LIMIT 1 Date : 2025-06-23T09:34:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T09:34:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001280 post PendingInvicesDO 2 RUH-411001889 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001889 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5734fa5-d641-43d8-8720-14f7ce59718d' LIMIT 1 Date : 2025-06-23T12:10:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T12:10:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001281 post PendingInvicesDO 2 RUH-411001891 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001891 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bac25333-3f1f-450c-a1e3-694837df8597' LIMIT 1 Date : 2025-06-23T14:17:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-23T14:17:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001283 post PendingInvicesDO 2 RUH-411001893 post PendingInvicesDO 2 RUH-411001892 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001282 post PendingInvicesDO 2 RUH-411001893 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001892 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001893 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5783c590-7651-4ce3-8964-113cbd57c157' LIMIT 1 Date : 2025-06-23T15:51:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a28321b-2eff-4044-b470-ebbef596ebde' LIMIT 1 Date : 2025-06-23T15:51:49  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5783c590-7651-4ce3-8964-113cbd57c157' LIMIT 1 Date : 2025-06-23T15:51:49  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a28321b-2eff-4044-b470-ebbef596ebde' LIMIT 1 Date : 2025-06-23T15:51:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-06-23T15:51:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001284 post PendingInvicesDO 2 RUH-411001890 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001890 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001890' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001890' OR OrderId='RUH-411001890' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-23T15:52:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001285 post PendingInvicesDO 2 RUH-411001895 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001895 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001895' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001895' OR OrderId='RUH-411001895' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-24T09:42:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001286 post PendingInvicesDO 2 RUH-411001896 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001896 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e63cdc42-c167-41b9-ac48-e5de55985175' LIMIT 1 Date : 2025-06-24T09:48:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T09:48:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001287 post PendingInvicesDO 2 RUH-411001897 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001897 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2dac145-be5e-4ee9-9851-bc8673051700' LIMIT 1 Date : 2025-06-24T10:06:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T10:06:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001288 post PendingInvicesDO 2 RUH-411001900 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001900 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='553ef061-5552-49e3-8adc-9bea087d5e93' LIMIT 1 Date : 2025-06-24T11:39:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-24T11:39:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001289 post PendingInvicesDO 2 RUH-411001901 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001901 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='68413d5e-02b2-4960-bf34-98faaa744a18' LIMIT 1 Date : 2025-06-25T07:51:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T07:51:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001290 post PendingInvicesDO 2 RUH-411001902 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001902 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dccae870-cc84-49a1-97ae-c97af99b16d0' LIMIT 1 Date : 2025-06-25T08:30:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T08:30:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001291 post PendingInvicesDO 2 RUH-411001903 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001903 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0a719b08-36f8-410a-983c-3455891ee5d1' LIMIT 1 Date : 2025-06-25T09:12:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T09:12:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001292 post PendingInvicesDO 2 RUH-411001828 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001828 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001828' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001828' OR OrderId='RUH-411001828' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-25T09:25:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001293 post PendingInvicesDO 2 RUH-411001906 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001906 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42b23d92-7f27-46cc-bab7-db7fdda163d9' LIMIT 1 Date : 2025-06-25T10:15:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T10:15:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001294 post PendingInvicesDO 2 RUH-411001907 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001907 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42e7eafa-3ec6-4e5a-8d21-dcce67deaa63' LIMIT 1 Date : 2025-06-25T10:25:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T10:25:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001295 post PendingInvicesDO 2 RUH-411001908 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001908 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cca9e627-b9e2-4dab-9ea0-a878c4014ff0' LIMIT 1 Date : 2025-06-25T10:47:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T10:47:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001296 post PendingInvicesDO 2 RUH-411001911 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001911 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98b7be1d-713a-4930-a652-0a9b76a1f7f0' LIMIT 1 Date : 2025-06-25T14:01:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T14:01:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001297 post PendingInvicesDO 2 RUH-411001912 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001912 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70d206d2-c5be-404c-ab81-b4a8afd1b7a8' LIMIT 1 Date : 2025-06-25T14:19:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T14:19:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001298 post PendingInvicesDO 2 RUH-411001913 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001913 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a7ec0ee-a67c-4b50-a7f5-5026cc958409' LIMIT 1 Date : 2025-06-25T14:55:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T14:55:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001299 post PendingInvicesDO 2 RUH-411001914 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001914 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83bd547f-a65b-4855-9daf-37df2689ae0d' LIMIT 1 Date : 2025-06-25T15:13:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-25T15:13:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001300 post PendingInvicesDO 2 RUH-411001863 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001863 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001863' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001863' OR OrderId='RUH-411001863' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-27T14:15:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001301 post PendingInvicesDO 2 RUH-411001917 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001917 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c71202a9-ad46-45d7-a1e4-92bdb79e1d4c' LIMIT 1 Date : 2025-06-27T14:23:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-27T14:23:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001302 post PendingInvicesDO 2 RUH-411001918 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001918 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16b22620-69a3-4eae-9ec2-299ed776ff92' LIMIT 1 Date : 2025-06-27T15:11:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-27T15:11:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001303 post PendingInvicesDO 2 RUH-411001919 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001919 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e9976c9-e36a-44ba-8063-c1c703badee3' LIMIT 1 Date : 2025-06-27T16:12:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-27T16:12:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001304 post PendingInvicesDO 2 RUH-411001598 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001598 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001598' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001598' OR OrderId='RUH-411001598' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-27T16:44:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001305 post PendingInvicesDO 2 RUH-411001922 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001922 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c80f5633-baea-453b-bdff-e4ae37113d2e' LIMIT 1 Date : 2025-06-27T19:34:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-27T19:34:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001306 post PendingInvicesDO 2 RUH-411001905 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001905 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001905' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001905' OR OrderId='RUH-411001905' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-28T09:53:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001307 post PendingInvicesDO 2 RUH-411001925 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001925 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22710cb1-011f-4f2c-9928-c64bccb4b25f' LIMIT 1 Date : 2025-06-28T10:01:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T10:01:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001308 post PendingInvicesDO 2 RUH-411001930 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001930 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001930' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001930' OR OrderId='RUH-411001930' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-28T14:53:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001309 post PendingInvicesDO 2 RUH-411001931 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001931 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a05bb20f-e413-4049-84c8-c870b0656bf0' LIMIT 1 Date : 2025-06-28T16:07:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T16:07:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001310 post PendingInvicesDO 2 RUH-411001932 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001932 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4f6c526a-baa9-4d5d-b920-82b6a231cad6' LIMIT 1 Date : 2025-06-28T17:17:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T17:17:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001311 post PendingInvicesDO 2 RUH-411001933 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001933 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f1fcc1a3-78c1-4ef3-9c21-572d5a2033f6' LIMIT 1 Date : 2025-06-28T18:25:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T18:25:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001312 post PendingInvicesDO 2 RUH-411001934 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001934 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b59b464f-d732-49a8-b3e4-a4bda03090c0' LIMIT 1 Date : 2025-06-28T18:56:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T18:56:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001313 post PendingInvicesDO 2 RUH-411001935 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001935 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='947f9764-a32a-4689-9baf-5b08b6d16141' LIMIT 1 Date : 2025-06-28T19:35:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T19:35:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001314 post PendingInvicesDO 2 RUH-411001936 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001936 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a2ac3f8e-5dd4-428c-ab73-847ee521df74' LIMIT 1 Date : 2025-06-28T20:18:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T20:18:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001315 post PendingInvicesDO 2 RUH-411001937 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001937 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7a1be9cb-b47a-4938-83b2-f74ee52bbdce' LIMIT 1 Date : 2025-06-28T20:42:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-28T20:42:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001316 post PendingInvicesDO 2 RUH-411001868 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001868 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001868' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001868' OR OrderId='RUH-411001868' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-06-28T22:52:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001317 post PendingInvicesDO 2 RUH-411001940 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001940 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='901a7bdc-4ffd-40f0-8824-19a70bfbc3af' LIMIT 1 Date : 2025-06-29T11:02:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-29T11:02:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001318 post PendingInvicesDO 2 RUH-411001946 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001946 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbdd544b-10b8-41e6-beaf-fdc4167f6081' LIMIT 1 Date : 2025-06-30T10:02:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T10:02:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001319 post PendingInvicesDO 2 RUH-411001948 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001948 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d2c70de0-c12a-48b6-8abd-05d50a085d2a' LIMIT 1 Date : 2025-06-30T13:11:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-06-30T13:11:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001321 post PendingInvicesDO 2 RUH-411001951 post PendingInvicesDO 2 RUH-411001950 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001320 post PendingInvicesDO 2 RUH-411001951 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001950 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001951 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3399d16a-e50c-4d84-880c-3d6ea863e281' LIMIT 1 Date : 2025-07-01T08:09:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48fdadf6-159e-498b-9bb2-d6d925737e76' LIMIT 1 Date : 2025-07-01T08:09:20  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3399d16a-e50c-4d84-880c-3d6ea863e281' LIMIT 1 Date : 2025-07-01T08:09:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='48fdadf6-159e-498b-9bb2-d6d925737e76' LIMIT 1 Date : 2025-07-01T08:09:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-01T08:09:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001322 post PendingInvicesDO 2 RUH-411001953 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001953 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0d393e32-ba81-4cdd-8f77-f8d83190a564' LIMIT 1 Date : 2025-07-01T10:28:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T10:28:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001324 post PendingInvicesDO 2 RUH-411001958 post PendingInvicesDO 2 RUH-411001957 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001323 post PendingInvicesDO 2 RUH-411001958 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001957 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001958 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ff6b6e5-da64-4663-95ec-a2208dda430f' LIMIT 1 Date : 2025-07-01T13:41:00  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='500eec50-d3f1-431d-ba9a-db09695ef5ee' LIMIT 1 Date : 2025-07-01T13:41:00  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0ff6b6e5-da64-4663-95ec-a2208dda430f' LIMIT 1 Date : 2025-07-01T13:41:00  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='500eec50-d3f1-431d-ba9a-db09695ef5ee' LIMIT 1 Date : 2025-07-01T13:41:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-01T13:41:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001325 post PendingInvicesDO 2 RUH-411001960 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001960 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c18ead2e-5624-457d-8be4-f161fae9fd19' LIMIT 1 Date : 2025-07-01T14:28:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-01T14:28:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001326 post PendingInvicesDO 2 RUH-411001961 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001961 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8a7e7f7d-a153-429c-8143-1bb363c0612e' LIMIT 1 Date : 2025-07-02T08:44:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T08:44:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001327 post PendingInvicesDO 2 RUH-411001962 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001962 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9ee5087-07c1-4f0e-8582-2e6663e3e6aa' LIMIT 1 Date : 2025-07-02T09:09:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T09:09:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001328 post PendingInvicesDO 2 RUH-411001963 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001963 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='59b6aefe-a6ce-41c5-a60f-5ea9bfcf4628' LIMIT 1 Date : 2025-07-02T10:00:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T10:00:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001329 post PendingInvicesDO 2 RUH-411001964 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001964 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c9f6a82c-e6f7-4cba-b597-da1a39c4791b' LIMIT 1 Date : 2025-07-02T10:25:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T10:25:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001330 post PendingInvicesDO 2 RUH-411001965 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001965 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd127c42-bf6d-4ee7-ae06-96e07496ce14' LIMIT 1 Date : 2025-07-02T10:42:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T10:42:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001331 post PendingInvicesDO 2 RUH-411001853 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001853 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001853' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001853' OR OrderId='RUH-411001853' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-02T10:54:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001332 post PendingInvicesDO 2 RUH-411001966 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001966 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f66a606-b667-4b63-92b1-888a1fd443e8' LIMIT 1 Date : 2025-07-02T10:59:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T10:59:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001333 post PendingInvicesDO 2 RUH-411001967 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001967 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c6feac3b-5003-41a8-91dd-64756fefbbc4' LIMIT 1 Date : 2025-07-02T11:31:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T11:31:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001334 post PendingInvicesDO 2 RUH-411001873 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001873 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001873' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001873' OR OrderId='RUH-411001873' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-02T14:03:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001335 post PendingInvicesDO 2 RUH-411001970 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001970 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28be8daf-73fe-482f-83dd-b5b54f24cf10' LIMIT 1 Date : 2025-07-02T14:48:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-02T14:48:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001336 post PendingInvicesDO 2 RUH-411001972 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001972 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aec22a36-9858-4cd9-9e61-fa1b33a243d6' LIMIT 1 Date : 2025-07-03T07:50:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T07:50:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001337 post PendingInvicesDO 2 RUH-411001920 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001920 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001920' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001920' OR OrderId='RUH-411001920' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-03T08:25:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001338 post PendingInvicesDO 2 RUH-411001904 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001904 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001904' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001904' OR OrderId='RUH-411001904' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-03T09:32:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001339 post PendingInvicesDO 2 RUH-411001978 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001978 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8cec7116-b317-4c3d-9ef3-6c417c48e7d5' LIMIT 1 Date : 2025-07-03T12:02:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T12:02:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001340 post PendingInvicesDO 2 RUH-411001979 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001979 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='329786aa-3cc1-4cb3-8113-2d51e578e816' LIMIT 1 Date : 2025-07-03T12:42:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T12:42:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001341 post PendingInvicesDO 2 RUH-411001982 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001982 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e9053838-d9d7-4b5b-a1fc-d030607307a1' LIMIT 1 Date : 2025-07-03T21:02:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-03T21:02:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001342 post PendingInvicesDO 2 RUH-411001983 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001983 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4a268218-8240-4104-92b3-2c1cf9f9f3ba' LIMIT 1 Date : 2025-07-05T10:59:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T10:59:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001343 post PendingInvicesDO 2 RUH-411001987 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001987 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3ac11d00-6a01-468a-a9eb-f815ac61e4c4' LIMIT 1 Date : 2025-07-05T15:53:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T15:53:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001344 post PendingInvicesDO 2 RUH-411001989 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001989 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='925e0f15-2218-4098-9e05-193f2615fccc' LIMIT 1 Date : 2025-07-05T18:35:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-05T18:35:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001345 post PendingInvicesDO 2 RUH-411001991 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001991 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e918b81-b09d-4a0b-8df9-dba64237ba56' LIMIT 1 Date : 2025-07-06T08:04:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T08:04:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001346 post PendingInvicesDO 2 RUH-411002000 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002000 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad312432-c19b-4a70-9db8-c891377d9cec' LIMIT 1 Date : 2025-07-06T14:33:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-06T14:33:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001348 post PendingInvicesDO 2 RUH-411001827 post PendingInvicesDO 2 RUH-411001826 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001347 post PendingInvicesDO 2 RUH-411001827 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411001826 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001827 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001827' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001827' OR OrderId='RUH-411001827' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001827' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001827' OR OrderId='RUH-411001827' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-06T16:06:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001349 post PendingInvicesDO 2 RUH-411002004 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002004 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c61d375-fb35-4c36-a138-72a0218b9e2a' LIMIT 1 Date : 2025-07-07T06:51:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T06:51:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001351 post PendingInvicesDO 2 RUH-411002006 post PendingInvicesDO 2 RUH-411002005 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001350 post PendingInvicesDO 2 RUH-411002006 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411002005 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002006 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f4c7bac-07b0-4e12-8c55-f80d098750d1' LIMIT 1 Date : 2025-07-07T07:51:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88d14a81-38f0-40fe-8c79-56390599ebfa' LIMIT 1 Date : 2025-07-07T07:51:10  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6f4c7bac-07b0-4e12-8c55-f80d098750d1' LIMIT 1 Date : 2025-07-07T07:51:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88d14a81-38f0-40fe-8c79-56390599ebfa' LIMIT 1 Date : 2025-07-07T07:51:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-07T07:51:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001352 post PendingInvicesDO 2 RUH-411002010 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002010 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='427ad234-6ee7-415b-9f68-86c00eaf33c5' LIMIT 1 Date : 2025-07-07T12:36:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-07T12:36:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001353 post PendingInvicesDO 2 RUH-411002015 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002015 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3396017-8c30-40d6-b5b9-2668c508ec5b' LIMIT 1 Date : 2025-07-08T11:28:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T11:28:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001354 post PendingInvicesDO 2 RUH-411002016 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002016 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bbf2a699-9aad-4bfb-9e3f-69842076cec8' LIMIT 1 Date : 2025-07-08T12:40:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-08T12:40:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001355 post PendingInvicesDO 2 RUH-411002019 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002019 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='baa8ffac-c3a7-4368-9b87-91457c0dda64' LIMIT 1 Date : 2025-07-10T08:45:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T08:45:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001356 post PendingInvicesDO 2 RUH-411002020 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002020 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='081a6b79-32a0-4f12-a927-c8bf7b1a6148' LIMIT 1 Date : 2025-07-10T09:14:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T09:14:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001357 post PendingInvicesDO 2 RUH-411002023 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002023 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3be8cbe4-ba85-4fcc-9e19-c7453107f70b' LIMIT 1 Date : 2025-07-10T11:06:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T11:06:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001358 post PendingInvicesDO 2 RUH-411002026 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002026 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c378a468-f6dc-40e8-bc9b-b29ecf038050' LIMIT 1 Date : 2025-07-10T13:43:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T13:43:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001359 post PendingInvicesDO 2 RUH-411002027 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002027 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0080de98-ec56-4865-80c4-57b9090c2dcb' LIMIT 1 Date : 2025-07-10T14:13:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T14:13:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001360 post PendingInvicesDO 2 RUH-411002028 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002028 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='65c08831-1090-466f-85d4-2e9887096391' LIMIT 1 Date : 2025-07-10T14:35:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T14:35:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001361 post PendingInvicesDO 2 RUH-411002029 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002029 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='439b42a0-ea83-4fa4-8a46-4ed97dca1eaa' LIMIT 1 Date : 2025-07-10T15:01:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-10T15:01:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001362 post PendingInvicesDO 2 RUH-411002033 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002033 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='640e7431-a14d-49e0-bb78-40e6bcf92281' LIMIT 1 Date : 2025-07-11T07:47:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-11T07:47:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001363 post PendingInvicesDO 2 RUH-411002034 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002034 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='215c16b9-fa76-4416-a220-578c432e9ff1' LIMIT 1 Date : 2025-07-11T09:09:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-11T09:09:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001364 post PendingInvicesDO 2 RUH-411001973 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001973 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001973' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001973' OR OrderId='RUH-411001973' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-11T09:38:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001365 post PendingInvicesDO 2 RUH-411002036 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002036 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='61352d9c-71d0-4034-a163-f88b48ace89a' LIMIT 1 Date : 2025-07-11T10:20:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-11T10:20:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001366 post PendingInvicesDO 2 RUH-411002037 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002037 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a79fdb0-9799-4674-b131-50f16c9c99da' LIMIT 1 Date : 2025-07-11T10:38:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-11T10:38:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001368 post PendingInvicesDO 2 RUH-411002040 post PendingInvicesDO 2 RUH-411002039 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001367 post PendingInvicesDO 2 RUH-411002040 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411002039 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002040 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58bec8a3-dc8d-4b7d-8081-f86e354dbd2b' LIMIT 1 Date : 2025-07-11T12:50:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ef4887f-ddad-465f-b7fd-54fb3e82cde7' LIMIT 1 Date : 2025-07-11T12:50:36  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='58bec8a3-dc8d-4b7d-8081-f86e354dbd2b' LIMIT 1 Date : 2025-07-11T12:50:36  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ef4887f-ddad-465f-b7fd-54fb3e82cde7' LIMIT 1 Date : 2025-07-11T12:50:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-11T12:50:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001369 post PendingInvicesDO 2 RUH-411001916 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001916 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001916' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001916' OR OrderId='RUH-411001916' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-11T13:02:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001371 post PendingInvicesDO 2 RUH-411002043 post PendingInvicesDO 2 RUH-411002042 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001370 post PendingInvicesDO 2 RUH-411002043 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411002042 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002043 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e916be4a-3d5f-4539-8258-fa990a02d57e' LIMIT 1 Date : 2025-07-11T13:13:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43eb16f7-b0df-4954-bbf3-83735e6811b3' LIMIT 1 Date : 2025-07-11T13:13:07  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e916be4a-3d5f-4539-8258-fa990a02d57e' LIMIT 1 Date : 2025-07-11T13:13:07  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43eb16f7-b0df-4954-bbf3-83735e6811b3' LIMIT 1 Date : 2025-07-11T13:13:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-11T13:13:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001372 post PendingInvicesDO 2 RUH-411002044 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002044 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b695053-10f8-4f2f-a71a-560b0f2e888d' LIMIT 1 Date : 2025-07-11T14:06:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-11T14:06:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001374 post PendingInvicesDO 2 RUH-411002047 post PendingInvicesDO 2 RUH-411002046 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001373 post PendingInvicesDO 2 RUH-411002047 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411002046 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002047 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc9d1a78-4ae0-4d95-a878-5747f1b542ef' LIMIT 1 Date : 2025-07-12T09:16:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3eac8af8-b81a-48fd-bd44-4511f96e44de' LIMIT 1 Date : 2025-07-12T09:16:39  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fc9d1a78-4ae0-4d95-a878-5747f1b542ef' LIMIT 1 Date : 2025-07-12T09:16:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3eac8af8-b81a-48fd-bd44-4511f96e44de' LIMIT 1 Date : 2025-07-12T09:16:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-12T09:16:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001375 post PendingInvicesDO 2 RUH-411001817 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001817 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001817' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001817' OR OrderId='RUH-411001817' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-12T10:30:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001376 post PendingInvicesDO 2 RUH-411002051 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002051 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77b41338-4dd8-40d1-ab2e-ae9b7e6fde28' LIMIT 1 Date : 2025-07-12T13:10:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T13:10:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001377 post PendingInvicesDO 2 RUH-411002054 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002054 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51c51da3-4e21-4972-8f60-e4be1d2971fc' LIMIT 1 Date : 2025-07-12T15:07:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T15:07:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001378 post PendingInvicesDO 2 RUH-411002055 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002055 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc1ce32e-d64b-49f4-983d-5c8f76228529' LIMIT 1 Date : 2025-07-12T16:09:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-12T16:09:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001379 post PendingInvicesDO 2 RUH-411002018 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002018 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411002018' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411002018' OR OrderId='RUH-411002018' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-12T17:30:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001380 post PendingInvicesDO 2 RUH-411002056 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002056 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='171e19b8-4beb-4a5b-aef7-53d61dc7b99f' LIMIT 1 Date : 2025-07-13T07:26:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T07:26:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001381 post PendingInvicesDO 2 RUH-411002057 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002057 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04f9a0bb-6019-4d48-9694-a70b5587fe32' LIMIT 1 Date : 2025-07-13T07:48:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T07:48:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001382 post PendingInvicesDO 2 RUH-411002058 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002058 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90ac812e-9638-442c-b2d9-fde21f5b718b' LIMIT 1 Date : 2025-07-13T08:55:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T08:55:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001383 post PendingInvicesDO 2 RUH-411002060 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002060 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aee6919c-5535-47de-9946-1242f81718ce' LIMIT 1 Date : 2025-07-13T10:56:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T10:56:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001384 post PendingInvicesDO 2 RUH-411002063 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002063 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ab952ca-7b36-4b22-87ae-35e03f348b60' LIMIT 1 Date : 2025-07-13T14:20:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-13T14:20:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001385 post PendingInvicesDO 2 RUH-411002064 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002064 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e84a493-73d8-447e-8634-4b09315ae45c' LIMIT 1 Date : 2025-07-14T08:10:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-14T08:10:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001387 post PendingInvicesDO 2 RUH-411002067 post PendingInvicesDO 2 RUH-411002066 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001386 post PendingInvicesDO 2 RUH-411002067 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411002066 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002067 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51b32e81-6eed-4e1c-b36d-45841bf6d813' LIMIT 1 Date : 2025-07-14T09:51:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e4c82cb-9768-48c8-9a2f-799711510690' LIMIT 1 Date : 2025-07-14T09:51:56  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='51b32e81-6eed-4e1c-b36d-45841bf6d813' LIMIT 1 Date : 2025-07-14T09:51:56  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e4c82cb-9768-48c8-9a2f-799711510690' LIMIT 1 Date : 2025-07-14T09:51:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-14T09:51:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001388 post PendingInvicesDO 2 RUH-411001861 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001861 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001861' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001861' OR OrderId='RUH-411001861' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-14T18:27:06 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001389 post PendingInvicesDO 2 RUH-411002022 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002022 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411002022' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411002022' OR OrderId='RUH-411002022' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-16T12:15:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001390 post PendingInvicesDO 2 RUH-411002089 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002089 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96830127-e0dd-46d4-a6c6-b4e292947507' LIMIT 1 Date : 2025-07-16T12:37:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T12:37:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001391 post PendingInvicesDO 2 RUH-411002092 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002092 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52f84a52-b178-4606-835a-838318a81e06' LIMIT 1 Date : 2025-07-16T13:40:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T13:40:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001392 post PendingInvicesDO 2 RUH-411002093 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002093 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70ee925e-11cb-421f-86ea-df6fb27906c5' LIMIT 1 Date : 2025-07-16T14:07:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T14:07:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001393 post PendingInvicesDO 2 RUH-411002094 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002094 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a8a258ce-d9ba-4119-bfa6-1eb0dae60cc8' LIMIT 1 Date : 2025-07-16T14:33:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T14:33:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001394 post PendingInvicesDO 2 RUH-411002095 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002095 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e7ce9c8-512d-47f7-8288-7f24a317a7f5' LIMIT 1 Date : 2025-07-16T15:12:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T15:12:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001395 post PendingInvicesDO 2 RUH-411002097 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002097 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b362a042-98af-4ead-8765-a10e376d9afc' LIMIT 1 Date : 2025-07-16T17:15:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T17:15:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001396 post PendingInvicesDO 2 RUH-411002098 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002098 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4ac31fef-9c15-425a-98f5-20f1ed8c3921' LIMIT 1 Date : 2025-07-16T17:49:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T17:49:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001397 post PendingInvicesDO 2 RUH-411002099 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002099 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22280798-48a3-4c9c-9aac-580d36bf1721' LIMIT 1 Date : 2025-07-16T18:15:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-16T18:15:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001398 post PendingInvicesDO 2 RUH-411002100 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002100 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='943b5dfc-fc3b-4c3a-8be6-a9c570e134bd' LIMIT 1 Date : 2025-07-17T07:36:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T07:36:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001399 post PendingInvicesDO 2 RUH-411002101 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002101 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae08b025-45fa-4737-907d-2a54be62bf06' LIMIT 1 Date : 2025-07-17T08:23:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T08:23:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001400 post PendingInvicesDO 2 RUH-411002102 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002102 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='291905f1-b5a6-486e-aa17-8c8c497b0fe0' LIMIT 1 Date : 2025-07-17T08:49:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T08:49:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001401 post PendingInvicesDO 2 RUH-411002103 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002103 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0845d5ec-1111-4d0d-b374-606e6f442719' LIMIT 1 Date : 2025-07-17T09:16:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T09:16:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001402 post PendingInvicesDO 2 RUH-411002107 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002107 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='41278cab-ecfb-427c-910f-dd35519bbc92' LIMIT 1 Date : 2025-07-17T13:57:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-17T13:57:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001403 post PendingInvicesDO 2 RUH-411002109 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002109 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3d07eb6-a2e0-4fe3-81b1-d68be80fec5f' LIMIT 1 Date : 2025-07-19T09:23:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T09:23:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001404 post PendingInvicesDO 2 RUH-411002112 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002112 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='23921339-46c7-41ed-88ed-45ef1f798f46' LIMIT 1 Date : 2025-07-19T14:29:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-19T14:29:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001405 post PendingInvicesDO 2 RUH-411002120 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002120 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b918a30-fcd9-4955-a96b-eef873ace8b5' LIMIT 1 Date : 2025-07-21T10:42:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-21T10:42:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001406 post PendingInvicesDO 2 RUH-411002132 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002132 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c7b2bd43-b9e2-40e7-bdd8-7ac51aa54749' LIMIT 1 Date : 2025-07-22T14:35:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-22T14:35:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001407 post PendingInvicesDO 2 RUH-411002134 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002134 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fbcc1e0-2f48-4fb8-836a-39a84ff7e168' LIMIT 1 Date : 2025-07-23T06:54:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T06:54:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001408 post PendingInvicesDO 2 RUH-411002135 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002135 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ed12146-17a2-4faf-a517-35070a99516e' LIMIT 1 Date : 2025-07-23T07:28:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T07:28:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001409 post PendingInvicesDO 2 RUH-411002136 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002136 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7c055cb1-d423-4cfb-8602-bac773336bab' LIMIT 1 Date : 2025-07-23T07:49:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T07:49:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001410 post PendingInvicesDO 2 RUH-411002003 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002003 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411002003' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411002003' OR OrderId='RUH-411002003' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-23T08:15:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001411 post PendingInvicesDO 2 RUH-411001974 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411001974 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411001974' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411001974' OR OrderId='RUH-411001974' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-23T08:37:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001412 post PendingInvicesDO 2 RUH-411002088 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002088 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411002088' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411002088' OR OrderId='RUH-411002088' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-23T09:02:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001413 post PendingInvicesDO 2 RUH-411002140 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002140 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66f6c25e-7f26-44d7-8394-13e65336b91b' LIMIT 1 Date : 2025-07-23T09:17:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T09:17:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001414 post PendingInvicesDO 2 RUH-411002141 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002141 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='90dd5cbf-d5dd-4864-a75f-28b24e35bf2f' LIMIT 1 Date : 2025-07-23T09:19:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T09:19:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001415 post PendingInvicesDO 2 RUH-411002142 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002142 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9b53b708-cf16-48ed-82d2-eb9ae368cb24' LIMIT 1 Date : 2025-07-23T09:32:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T09:32:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001416 post PendingInvicesDO 2 RUH-411002143 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002143 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7160bebe-bf84-43c0-be20-d9d88030e098' LIMIT 1 Date : 2025-07-23T09:47:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T09:47:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001417 post PendingInvicesDO 2 RUH-411002144 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002144 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8e66b4cc-760d-474c-86e4-0e8749e18388' LIMIT 1 Date : 2025-07-23T10:12:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T10:12:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001418 post PendingInvicesDO 2 RUH-411002150 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002150 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='145c5e51-eda4-4245-b850-00e7c31a1b77' LIMIT 1 Date : 2025-07-23T13:36:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T13:36:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001419 post PendingInvicesDO 2 RUH-411002151 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002151 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b4194ae-5804-46c8-a671-2fb4e0c286f8' LIMIT 1 Date : 2025-07-23T13:55:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-23T13:55:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001421 post PendingInvicesDO 2 RUH-411002155 post PendingInvicesDO 2 RUH-411002154 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 RUH-414001420 post PendingInvicesDO 2 RUH-411002155 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : RUH-411002154 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002155 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d91c66c-84a9-445f-9742-e8193b0ff192' LIMIT 1 Date : 2025-07-23T16:22:27  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3711925-a279-4f8f-98da-7b9214dfe6b1' LIMIT 1 Date : 2025-07-23T16:22:27  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d91c66c-84a9-445f-9742-e8193b0ff192' LIMIT 1 Date : 2025-07-23T16:22:27  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c3711925-a279-4f8f-98da-7b9214dfe6b1' LIMIT 1 Date : 2025-07-23T16:22:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-07-23T16:22:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001422 post PendingInvicesDO 2 RUH-411002035 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002035 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411002035' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411002035' OR OrderId='RUH-411002035' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-24T08:12:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001423 post PendingInvicesDO 2 RUH-411002048 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002048 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'RUH-411002048' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='RUH-411002048' OR OrderId='RUH-411002048' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-07-24T09:10:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001424 post PendingInvicesDO 2 RUH-411002160 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002160 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='09cab1c2-fe50-46be-8419-fc310d4d2dc6' LIMIT 1 Date : 2025-07-24T10:44:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T10:44:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001425 post PendingInvicesDO 2 RUH-411002164 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002164 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8894e86d-b700-4521-b14d-87d0dbba3b76' LIMIT 1 Date : 2025-07-24T13:48:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T13:48:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001426 post PendingInvicesDO 2 RUH-411002165 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002165 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ba13833-51dd-4e72-b349-e5f221684745' LIMIT 1 Date : 2025-07-24T14:10:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T14:10:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001427 post PendingInvicesDO 2 RUH-411002168 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002168 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='accfa7a3-90f6-461d-889e-a4d9d3e6db99' LIMIT 1 Date : 2025-07-24T16:28:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-24T16:28:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001428 post PendingInvicesDO 2 RUH-411002171 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002171 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae7d332e-3889-45e2-88f1-64e6027e90f1' LIMIT 1 Date : 2025-07-25T13:44:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-25T13:44:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001429 post PendingInvicesDO 2 RUH-411002172 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002172 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1073bdb9-c157-4d8c-9507-bfb988e8a613' LIMIT 1 Date : 2025-07-25T14:13:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-25T14:13:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001430 post PendingInvicesDO 2 RUH-411002173 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002173 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50026813-66a4-4131-881e-1f91d255ff46' LIMIT 1 Date : 2025-07-26T09:08:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-26T09:08:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 RUH-414001431 post PendingInvicesDO 2 RUH-411002179 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : RUH-411002179 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7465a1e6-1df6-46c1-be4a-794ee772522f' LIMIT 1 Date : 2025-07-27T09:59:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-07-27T09:59:44 payment end 
