 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000790 post PendingInvicesDO 2 KHM-131000805 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000805 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f603d3ac-e61d-4fca-91b6-c72eecf4e311' LIMIT 1 Date : 2025-02-06T13:23:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-06T13:23:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000791 post PendingInvicesDO 2 KHM-131000806 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000806 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6660d3c-d191-4f3a-8cc3-d9c76a95c6eb' LIMIT 1 Date : 2025-02-06T16:24:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-06T16:24:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000792 post PendingInvicesDO 2 KHM-131000807 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000807 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b169505c-9f52-42f9-9435-69d4035fc981' LIMIT 1 Date : 2025-02-06T16:53:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-06T16:53:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000793 post PendingInvicesDO 2 KHM-131000808 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000808 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c5d37d76-5405-4640-9d80-91e4cf1c0f5b' LIMIT 1 Date : 2025-02-08T10:13:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-08T10:13:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000794 post PendingInvicesDO 2 KHM-131000809 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000809 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a9f09db-3998-4197-a762-c56fe7a7bd8a' LIMIT 1 Date : 2025-02-08T10:19:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-08T10:19:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000795 post PendingInvicesDO 2 KHM-131000810 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000810 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c66892bf-0276-4d09-ab0a-f4e6ca56c376' LIMIT 1 Date : 2025-02-08T10:36:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-08T10:36:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000796 post PendingInvicesDO 2 KHM-131000811 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000811 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8bde7efc-4fa9-424d-bf8a-48fa46619eb6' LIMIT 1 Date : 2025-02-08T10:52:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-08T10:52:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000797 post PendingInvicesDO 2 KHM-131000812 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000812 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='695666d0-5aa3-4010-9528-9003b4d341a2' LIMIT 1 Date : 2025-02-08T11:26:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-08T11:26:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000798 post PendingInvicesDO 2 KHM-131000813 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000813 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8b56308d-f115-4bce-b229-19674884a68f' LIMIT 1 Date : 2025-02-08T11:53:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-08T11:53:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000799 post PendingInvicesDO 2 KHM-131000814 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000814 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='86c48c10-033c-4a79-9b10-2fe73be2174b' LIMIT 1 Date : 2025-02-08T13:18:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-08T13:18:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000800 post PendingInvicesDO 2 KHM-131000815 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000815 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ec646f32-1ec7-484a-9ec4-4565a6f60248' LIMIT 1 Date : 2025-02-08T13:54:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-08T13:54:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000801 post PendingInvicesDO 2 KHM-131000816 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000816 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2569f41-59dc-41a2-a68a-cec79b4dcdec' LIMIT 1 Date : 2025-02-08T17:51:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-08T17:51:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000802 post PendingInvicesDO 2 KHM-131000817 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000817 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0651a825-c13d-4e82-bfc5-84a932662433' LIMIT 1 Date : 2025-02-09T11:02:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-09T11:02:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000803 post PendingInvicesDO 2 KHM-131000818 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000818 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='29f5cffb-b39f-4e3d-ab01-734bb737fc89' LIMIT 1 Date : 2025-02-09T12:03:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-09T12:03:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000804 post PendingInvicesDO 2 KHM-131000819 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000819 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03b0426a-5e05-4e79-8bf7-2233d57620c3' LIMIT 1 Date : 2025-02-09T12:29:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-09T12:29:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000805 post PendingInvicesDO 2 KHM-131000820 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000820 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='06613d6c-f7b5-4ede-9ed5-ca3c23dce267' LIMIT 1 Date : 2025-02-09T13:27:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-09T13:27:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000806 post PendingInvicesDO 2 KHM-131000821 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000821 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d14b939e-32c9-41d2-acd5-3005aee5bd05' LIMIT 1 Date : 2025-02-09T13:44:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-09T13:44:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000807 post PendingInvicesDO 2 KHM-131000822 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000822 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4058b0fd-f6e3-4172-8319-eaccc6789e34' LIMIT 1 Date : 2025-02-09T13:57:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-09T13:57:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000808 post PendingInvicesDO 2 KHM-131000823 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000823 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba37e7bb-3b0d-405a-ba93-7f9e789d7ab3' LIMIT 1 Date : 2025-02-09T14:44:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-09T14:44:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000809 post PendingInvicesDO 2 KHM-131000824 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000824 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='50ccec79-ccf9-41d3-baf8-f472362093bd' LIMIT 1 Date : 2025-02-09T15:59:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-09T15:59:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000810 post PendingInvicesDO 2 KHM-131000825 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000825 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d5300921-9abf-4ae0-9aa5-da3ca52caf83' LIMIT 1 Date : 2025-02-09T18:57:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-09T18:57:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000811 post PendingInvicesDO 2 KHM-131000826 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000826 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='100fc7a8-e3ab-4cf5-86a0-896f98122d57' LIMIT 1 Date : 2025-02-09T19:04:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-09T19:04:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000812 post PendingInvicesDO 2 KHM-131000827 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000827 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20cb162b-91a7-4214-83d6-b2cc2ee0ccc4' LIMIT 1 Date : 2025-02-10T10:04:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-10T10:04:42 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 KHM-134000813 post PendingInvicesDO 2 KHM-131000828 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000828 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71042dd1-6e25-457d-942b-6bde244dfb7e' LIMIT 1 Date : 2025-02-10T10:19:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-10T10:19:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000814 post PendingInvicesDO 2 KHM-131000830 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000830 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f74ba09c-1437-4dc7-8060-4e6042109955' LIMIT 1 Date : 2025-02-10T11:20:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-10T11:20:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000815 post PendingInvicesDO 2 KHM-131000831 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000831 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='82ac7768-daef-413e-b12f-aeea7ae6f4ce' LIMIT 1 Date : 2025-02-10T11:37:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-10T11:37:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000816 post PendingInvicesDO 2 KHM-131000832 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000832 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4c740f45-813a-4572-8602-70561a9f625b' LIMIT 1 Date : 2025-02-10T11:56:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-10T11:56:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000817 post PendingInvicesDO 2 KHM-131000833 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000833 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4960bfcd-677f-4b84-8fa7-bfe2e8cd1c5c' LIMIT 1 Date : 2025-02-10T12:27:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-10T12:27:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000818 post PendingInvicesDO 2 KHM-131000835 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000835 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6833b6b1-bbfa-46cb-85da-0bfff54a83ef' LIMIT 1 Date : 2025-02-11T10:43:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-11T10:43:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000819 post PendingInvicesDO 2 KHM-131000836 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000836 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='76f80ed7-d1b9-471d-9703-079c4ceb534a' LIMIT 1 Date : 2025-02-11T11:12:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-11T11:12:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000820 post PendingInvicesDO 2 KHM-131000837 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000837 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b5c01a9-e760-4368-af89-76fb1fd7b322' LIMIT 1 Date : 2025-02-11T11:40:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-11T11:40:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000821 post PendingInvicesDO 2 KHM-131000838 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000838 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9d3be3fa-a807-4dab-86c8-0e98b571df77' LIMIT 1 Date : 2025-02-11T12:03:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-11T12:03:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000822 post PendingInvicesDO 2 KHM-131000839 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000839 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4dcca17-5767-41a9-beba-835b3643c54b' LIMIT 1 Date : 2025-02-11T12:47:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-11T12:47:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000824 post PendingInvicesDO 2 KHM-131000841 post PendingInvicesDO 2 KHM-131000840 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134000823 post PendingInvicesDO 2 KHM-131000841 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131000840 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000841 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95c186f1-cb3f-4230-b376-be10ef90ab93' LIMIT 1 Date : 2025-02-11T13:29:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a9bb1e0-96b2-492d-a6ae-f027046295d7' LIMIT 1 Date : 2025-02-11T13:29:23  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95c186f1-cb3f-4230-b376-be10ef90ab93' LIMIT 1 Date : 2025-02-11T13:29:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3a9bb1e0-96b2-492d-a6ae-f027046295d7' LIMIT 1 Date : 2025-02-11T13:29:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-11T13:29:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000826 post PendingInvicesDO 2 KHM-131000843 post PendingInvicesDO 2 KHM-131000842 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134000825 post PendingInvicesDO 2 KHM-131000843 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131000842 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000843 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b690392-eec2-44e3-b148-1c2481d2bcfd' LIMIT 1 Date : 2025-02-11T13:58:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f31a5a13-ece0-4da1-b42f-830a2eadc721' LIMIT 1 Date : 2025-02-11T13:58:20  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b690392-eec2-44e3-b148-1c2481d2bcfd' LIMIT 1 Date : 2025-02-11T13:58:20  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f31a5a13-ece0-4da1-b42f-830a2eadc721' LIMIT 1 Date : 2025-02-11T13:58:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-11T13:58:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000827 post PendingInvicesDO 2 KHM-131000844 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000844 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6777d87f-c6a5-4cff-9f8f-317e4902fab8' LIMIT 1 Date : 2025-02-11T15:12:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-11T15:12:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000828 post PendingInvicesDO 2 KHM-131000845 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000845 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e14dafeb-e934-4441-9db2-515331b597ec' LIMIT 1 Date : 2025-02-12T11:24:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-12T11:24:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000829 post PendingInvicesDO 2 KHM-131000846 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000846 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='faef9497-33b1-4535-9058-fa4b7086d753' LIMIT 1 Date : 2025-02-12T11:47:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-12T11:47:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000830 post PendingInvicesDO 2 KHM-131000848 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000848 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='22422d11-6645-450b-a284-7bfc1aacd522' LIMIT 1 Date : 2025-02-12T12:58:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-12T12:58:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000832 post PendingInvicesDO 2 KHM-131000850 post PendingInvicesDO 2 KHM-131000849 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134000831 post PendingInvicesDO 2 KHM-131000850 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131000849 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000850 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='181f220f-41f7-40f6-939e-b56f9a5e53e9' LIMIT 1 Date : 2025-02-12T13:26:53  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a252a055-91ba-4614-93c3-6a2f022d452c' LIMIT 1 Date : 2025-02-12T13:26:53  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='181f220f-41f7-40f6-939e-b56f9a5e53e9' LIMIT 1 Date : 2025-02-12T13:26:53  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a252a055-91ba-4614-93c3-6a2f022d452c' LIMIT 1 Date : 2025-02-12T13:26:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-12T13:26:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000833 post PendingInvicesDO 2 KHM-131000851 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000851 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20b8486e-4cc8-4f3c-aaf8-377dd758f572' LIMIT 1 Date : 2025-02-12T13:57:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-12T13:57:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000834 post PendingInvicesDO 2 KHM-131000852 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000852 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9e2b5bef-14a3-43df-a053-a6dc60da2d9b' LIMIT 1 Date : 2025-02-12T14:40:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-12T14:40:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000835 post PendingInvicesDO 2 KHM-131000746 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000746 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000746' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000746' OR OrderId='KHM-131000746' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-02-13T11:41:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000836 post PendingInvicesDO 2 KHM-131000854 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000854 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fdfcf28c-339a-480e-a106-55b81e51ed15' LIMIT 1 Date : 2025-02-13T13:21:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-13T13:21:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000837 post PendingInvicesDO 2 KHM-131000858 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000858 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f5a8a256-ad98-4a21-bfe8-bb048e319f55' LIMIT 1 Date : 2025-02-15T14:00:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-15T14:00:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000838 post PendingInvicesDO 2 KHM-131000761 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000761 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000761' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000761' OR OrderId='KHM-131000761' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-02-15T17:13:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000839 post PendingInvicesDO 2 KHM-131000860 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000860 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5432776e-0e08-46e4-8bf0-04d672d7fa36' LIMIT 1 Date : 2025-02-15T17:31:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-15T17:31:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000840 post PendingInvicesDO 2 KHM-131000861 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000861 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='07b151cb-de74-4475-8d50-7d88823f3512' LIMIT 1 Date : 2025-02-15T18:38:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-15T18:38:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000841 post PendingInvicesDO 2 KHM-131000862 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000862 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49b35720-3beb-48a6-bdc4-2a33607cda71' LIMIT 1 Date : 2025-02-16T12:18:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-16T12:18:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000842 post PendingInvicesDO 2 KHM-131000863 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000863 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='20ff647b-06c7-4718-83fc-1a95c5c7717e' LIMIT 1 Date : 2025-02-16T12:36:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-16T12:36:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000843 post PendingInvicesDO 2 KHM-131000864 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000864 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b576a63c-a88d-4c9d-9cf3-1111f244b8c1' LIMIT 1 Date : 2025-02-16T12:46:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-16T12:46:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000844 post PendingInvicesDO 2 KHM-131000865 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000865 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6e71bb8-797a-4140-8fe3-84f5ac151fcc' LIMIT 1 Date : 2025-02-16T13:05:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-16T13:05:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000845 post PendingInvicesDO 2 KHM-131000866 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000866 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eae57f32-dbc2-4dda-a2ae-5ec688369992' LIMIT 1 Date : 2025-02-16T13:20:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-16T13:20:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000846 post PendingInvicesDO 2 KHM-131000867 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000867 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12b6d1a2-909c-4026-922f-28f18af4201e' LIMIT 1 Date : 2025-02-16T13:32:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-16T13:32:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000847 post PendingInvicesDO 2 KHM-131000747 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000747 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000747' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000747' OR OrderId='KHM-131000747' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-02-16T13:57:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000848 post PendingInvicesDO 2 KHM-131000869 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000869 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2616119-9c88-4902-b6ac-2c9f1c2660e4' LIMIT 1 Date : 2025-02-16T14:43:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-16T14:43:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000849 post PendingInvicesDO 2 KHM-131000870 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000870 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3413c2f-f48c-450d-9798-59aabb6b6d77' LIMIT 1 Date : 2025-02-16T15:35:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-16T15:35:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000850 post PendingInvicesDO 2 KHM-131000871 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000871 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42d4fb33-e94b-470f-965a-037d95fef16c' LIMIT 1 Date : 2025-02-17T09:25:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-17T09:25:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000851 post PendingInvicesDO 2 KHM-131000872 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000872 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57ae7f4b-1893-48bf-80e9-c6bce7fd71b5' LIMIT 1 Date : 2025-02-17T10:16:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-17T10:16:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000852 post PendingInvicesDO 2 KHM-131000873 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000873 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='10c99c35-1892-4e8c-94e4-f88beb2704b9' LIMIT 1 Date : 2025-02-18T12:43:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-18T12:43:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000853 post PendingInvicesDO 2 KHM-131000874 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000874 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='42442418-b5cb-4e4d-9723-99d1e73a1db4' LIMIT 1 Date : 2025-02-18T16:28:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-18T16:28:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000854 post PendingInvicesDO 2 KHM-131000875 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000875 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c79c4996-96ce-459e-bf17-1a705f0a20f4' LIMIT 1 Date : 2025-02-18T16:46:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-18T16:46:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000855 post PendingInvicesDO 2 KHM-131000876 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000876 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bf26efba-69ed-449b-88d3-db2ddab1296d' LIMIT 1 Date : 2025-02-18T17:04:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-18T17:04:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000857 post PendingInvicesDO 2 KHM-131000878 post PendingInvicesDO 2 KHM-131000877 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134000856 post PendingInvicesDO 2 KHM-131000878 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131000877 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000878 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3cf41aef-c0af-4de6-8931-9202f2598165' LIMIT 1 Date : 2025-02-19T11:42:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a171d7e4-fbf4-40fd-9f9b-2a6687ae1175' LIMIT 1 Date : 2025-02-19T11:42:45  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3cf41aef-c0af-4de6-8931-9202f2598165' LIMIT 1 Date : 2025-02-19T11:42:45  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a171d7e4-fbf4-40fd-9f9b-2a6687ae1175' LIMIT 1 Date : 2025-02-19T11:42:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-19T11:42:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000858 post PendingInvicesDO 2 KHM-131000879 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000879 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1560e7f8-11b7-41ef-a740-4a1ee6f9cedc' LIMIT 1 Date : 2025-02-19T12:16:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-19T12:16:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000859 post PendingInvicesDO 2 KHM-131000880 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000880 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71059f49-0628-46e0-81f7-7cde32aa03bb' LIMIT 1 Date : 2025-02-19T13:10:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-19T13:10:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000860 post PendingInvicesDO 2 KHM-131000881 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000881 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3204e24d-3ef8-4829-8dc2-68fcabd2331b' LIMIT 1 Date : 2025-02-19T13:39:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-19T13:39:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000861 post PendingInvicesDO 2 KHM-131000882 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000882 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d6bb68c7-dff2-4e2c-817a-b3454dcbc75f' LIMIT 1 Date : 2025-02-19T14:37:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-19T14:37:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000862 post PendingInvicesDO 2 KHM-131000883 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000883 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d892805a-1ab9-44cf-8bf7-ce4cb56635fd' LIMIT 1 Date : 2025-02-19T16:31:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-19T16:31:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000863 post PendingInvicesDO 2 KHM-131000884 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000884 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='abfcf601-07d9-4a9b-b1bd-8678ad3e5bc9' LIMIT 1 Date : 2025-02-19T17:38:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-19T17:38:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000864 post PendingInvicesDO 2 KHM-131000829 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000829 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000829' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000829' OR OrderId='KHM-131000829' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-02-20T11:27:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000865 post PendingInvicesDO 2 KHM-131000885 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000885 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cad3219e-e744-4ef8-aec3-cd258b8df53d' LIMIT 1 Date : 2025-02-22T09:14:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T09:14:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000866 post PendingInvicesDO 2 KHM-131000886 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000886 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ad3a4500-1c32-4065-88d5-afc714863927' LIMIT 1 Date : 2025-02-22T09:38:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T09:38:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000867 post PendingInvicesDO 2 KHM-131000887 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000887 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a17ed1e-baf8-4ae8-a58e-0ab9929b7142' LIMIT 1 Date : 2025-02-22T10:00:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T10:00:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000868 post PendingInvicesDO 2 KHM-131000888 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000888 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b64e89ee-82d8-4a8d-8940-98b738409e13' LIMIT 1 Date : 2025-02-22T10:44:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T10:44:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000869 post PendingInvicesDO 2 KHM-131000889 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000889 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0f8c6a1-7421-4d0d-8a57-327bb0808ed4' LIMIT 1 Date : 2025-02-22T11:24:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T11:24:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000870 post PendingInvicesDO 2 KHM-131000892 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000892 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0a3c8ce-0072-4f18-8601-d50f9aa4b594' LIMIT 1 Date : 2025-02-22T13:38:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T13:38:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000871 post PendingInvicesDO 2 KHM-131000893 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000893 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fe59b1e-aafa-46f7-b25a-3a6fa9f7f0ba' LIMIT 1 Date : 2025-02-22T13:55:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T13:55:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000872 post PendingInvicesDO 2 KHM-131000894 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000894 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='84bf1b12-afce-4384-bf4e-cab567473f18' LIMIT 1 Date : 2025-02-22T14:21:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T14:21:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000873 post PendingInvicesDO 2 KHM-131000895 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000895 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='26484735-09cb-4a1e-be1a-53b9f2dae9c2' LIMIT 1 Date : 2025-02-22T14:47:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T14:47:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000874 post PendingInvicesDO 2 KHM-131000896 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000896 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5dac5e90-315d-4ae4-8107-c466300628da' LIMIT 1 Date : 2025-02-22T15:24:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T15:24:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000875 post PendingInvicesDO 2 KHM-131000898 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000898 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63702492-fc8e-4296-ac67-b229adefef8c' LIMIT 1 Date : 2025-02-22T16:34:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-22T16:34:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000876 post PendingInvicesDO 2 KHM-131000899 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000899 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3672fce0-ad79-4030-aee4-582c2cd92542' LIMIT 1 Date : 2025-02-23T11:35:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T11:35:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000877 post PendingInvicesDO 2 KHM-131000900 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000900 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5949f65f-99ca-482d-86cc-3a4aadf966e7' LIMIT 1 Date : 2025-02-23T12:28:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T12:28:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000878 post PendingInvicesDO 2 KHM-131000901 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000901 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='45c3776a-20bc-41c2-b949-f3672e80fe35' LIMIT 1 Date : 2025-02-23T12:55:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T12:55:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000879 post PendingInvicesDO 2 KHM-131000902 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000902 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f6a072e5-111e-4385-acd0-1a2d3a932ae9' LIMIT 1 Date : 2025-02-23T13:13:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T13:13:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000880 post PendingInvicesDO 2 KHM-131000903 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000903 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d47a09d-054f-44c1-8f62-ca64b7f19d96' LIMIT 1 Date : 2025-02-23T13:36:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T13:36:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000881 post PendingInvicesDO 2 KHM-131000904 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000904 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='16ba6b1a-f800-4adc-bea6-a69a5f77979f' LIMIT 1 Date : 2025-02-23T13:40:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T13:40:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000882 post PendingInvicesDO 2 KHM-131000905 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000905 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cc40d1ae-2bd4-4f10-a134-ac1c004e4289' LIMIT 1 Date : 2025-02-23T13:51:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T13:51:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000883 post PendingInvicesDO 2 KHM-131000906 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000906 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e18ac862-78c6-4de2-9653-de5684e5da0d' LIMIT 1 Date : 2025-02-23T14:04:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T14:04:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000884 post PendingInvicesDO 2 KHM-131000907 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000907 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f28c69b-5e7c-4cc7-a1f7-4f66e41ceb03' LIMIT 1 Date : 2025-02-23T14:20:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T14:20:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000885 post PendingInvicesDO 2 KHM-131000908 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000908 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c541683d-60b3-47d1-bb92-252cf107955b' LIMIT 1 Date : 2025-02-23T15:00:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-23T15:00:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000886 post PendingInvicesDO 2 KHM-131000909 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000909 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9c77ff7-94ef-4115-904a-f55e7ad8e730' LIMIT 1 Date : 2025-02-24T09:21:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T09:21:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000887 post PendingInvicesDO 2 KHM-131000910 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000910 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6a1967de-e11a-40d1-824f-878ff4f15ec4' LIMIT 1 Date : 2025-02-24T09:34:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T09:34:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000888 post PendingInvicesDO 2 KHM-131000911 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000911 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e235c461-7f7d-453b-8209-090f310bfa22' LIMIT 1 Date : 2025-02-24T09:47:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T09:47:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000889 post PendingInvicesDO 2 KHM-131000912 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000912 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ab040670-5a65-425d-be37-6ba69ff0eaf7' LIMIT 1 Date : 2025-02-24T10:22:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-24T10:22:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000890 post PendingInvicesDO 2 KHM-131000916 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000916 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9a6f83c5-792e-4739-8e40-2dce72131b96' LIMIT 1 Date : 2025-02-25T07:56:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T07:56:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000891 post PendingInvicesDO 2 KHM-131000917 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000917 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b3278e1-ff14-4212-bf28-88126ac92672' LIMIT 1 Date : 2025-02-25T10:46:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T10:46:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000892 post PendingInvicesDO 2 KHM-131000920 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000920 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='31a338fd-69b1-47a4-a9de-b08af9e3eeb9' LIMIT 1 Date : 2025-02-25T12:43:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T12:43:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000893 post PendingInvicesDO 2 KHM-131000921 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000921 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e5b3ddae-e466-4152-8e99-5f1bdbdde7a3' LIMIT 1 Date : 2025-02-25T13:35:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T13:35:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000894 post PendingInvicesDO 2 KHM-131000922 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000922 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7584b1a8-6e18-426e-b873-6074add7da35' LIMIT 1 Date : 2025-02-25T14:16:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-25T14:16:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000896 post PendingInvicesDO 2 KHM-131000924 post PendingInvicesDO 2 KHM-131000923 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134000895 post PendingInvicesDO 2 KHM-131000924 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131000923 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000924 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e16e84b5-6e43-4327-8e19-5d2a65b7e80e' LIMIT 1 Date : 2025-02-25T16:57:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb2ece06-a332-4942-887b-7dc468f5456d' LIMIT 1 Date : 2025-02-25T16:57:41  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e16e84b5-6e43-4327-8e19-5d2a65b7e80e' LIMIT 1 Date : 2025-02-25T16:57:41  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bb2ece06-a332-4942-887b-7dc468f5456d' LIMIT 1 Date : 2025-02-25T16:57:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-25T16:57:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000897 post PendingInvicesDO 2 KHM-131000925 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000925 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57814c0e-750d-4c66-bd60-4c8eb1a854b6' LIMIT 1 Date : 2025-02-26T11:24:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T11:24:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000898 post PendingInvicesDO 2 KHM-131000926 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000926 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88384561-3c00-4a1d-aaaa-a4170e2cf9d9' LIMIT 1 Date : 2025-02-26T11:57:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T11:57:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000899 post PendingInvicesDO 2 KHM-131000927 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000927 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='872b51ae-9f92-445f-b62c-fd85ce9f4d9b' LIMIT 1 Date : 2025-02-26T13:58:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T13:58:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000901 post PendingInvicesDO 2 KHM-131000929 post PendingInvicesDO 2 KHM-131000928 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134000900 post PendingInvicesDO 2 KHM-131000929 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131000928 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000929 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63618881-5098-4abd-b90b-0ed2e5ee0a15' LIMIT 1 Date : 2025-02-26T14:31:00  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e70f7b80-4ed8-45af-89f9-a7bd5223be17' LIMIT 1 Date : 2025-02-26T14:31:01  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63618881-5098-4abd-b90b-0ed2e5ee0a15' LIMIT 1 Date : 2025-02-26T14:31:01  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e70f7b80-4ed8-45af-89f9-a7bd5223be17' LIMIT 1 Date : 2025-02-26T14:31:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-02-26T14:31:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000902 post PendingInvicesDO 2 KHM-131000930 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000930 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eedc485b-16ec-4232-8c5f-9796903ec18f' LIMIT 1 Date : 2025-02-26T15:13:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-02-26T15:13:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000903 post PendingInvicesDO 2 KHM-131000771 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000771 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000771' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000771' OR OrderId='KHM-131000771' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-02-27T11:27:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000904 post PendingInvicesDO 2 KHM-131000932 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000932 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2a27760-29ca-4c18-b304-b746bd75c8fe' LIMIT 1 Date : 2025-03-01T13:58:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-01T13:58:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000905 post PendingInvicesDO 2 KHM-131000933 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000933 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49e0a759-7009-4740-87da-8a7c1fd7608f' LIMIT 1 Date : 2025-03-01T14:23:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-01T14:23:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000906 post PendingInvicesDO 2 KHM-131000934 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000934 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4357a130-dbfb-4d95-af69-bf25faafc080' LIMIT 1 Date : 2025-03-01T14:58:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-01T14:58:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000907 post PendingInvicesDO 2 KHM-131000935 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000935 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cba76086-5472-4181-9c63-37fd86daa3ce' LIMIT 1 Date : 2025-03-01T15:31:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-01T15:31:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000908 post PendingInvicesDO 2 KHM-131000936 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000936 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f61d941a-868c-4021-b573-3f8bdad8a315' LIMIT 1 Date : 2025-03-01T16:30:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-01T16:30:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000909 post PendingInvicesDO 2 KHM-131000853 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000853 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000853' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000853' OR OrderId='KHM-131000853' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-01T21:54:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000910 post PendingInvicesDO 2 KHM-131000847 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000847 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000847' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000847' OR OrderId='KHM-131000847' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-01T21:55:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000911 post PendingInvicesDO 2 KHM-131000937 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000937 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa84a2c4-6bfb-4a38-a60b-a686b8d67836' LIMIT 1 Date : 2025-03-02T13:45:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-02T13:45:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000912 post PendingInvicesDO 2 KHM-131000938 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000938 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2a3e6aeb-ee7a-4417-987b-8a84e9a917a9' LIMIT 1 Date : 2025-03-02T14:16:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-02T14:16:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000913 post PendingInvicesDO 2 KHM-131000939 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000939 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e8f6f353-2cbe-4bdd-9f75-2a87875b3bc8' LIMIT 1 Date : 2025-03-02T14:41:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-02T14:41:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000914 post PendingInvicesDO 2 KHM-131000940 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000940 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ad5aca3-db93-4754-b5e9-34b54e837b46' LIMIT 1 Date : 2025-03-02T15:10:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-02T15:10:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000915 post PendingInvicesDO 2 KHM-131000941 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000941 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='642f8c48-d9f7-4f89-99be-fabf0f5510ed' LIMIT 1 Date : 2025-03-02T15:34:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-02T15:34:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000916 post PendingInvicesDO 2 KHM-131000855 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000855 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000855' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000855' OR OrderId='KHM-131000855' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-02T16:23:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000917 post PendingInvicesDO 2 KHM-131000913 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000913 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000913' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000913' OR OrderId='KHM-131000913' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-02T20:45:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000918 post PendingInvicesDO 2 KHM-131000943 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000943 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='77fe0111-3b8d-4549-ad5d-b66665cc18ab' LIMIT 1 Date : 2025-03-03T13:30:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-03T13:30:31 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000919 post PendingInvicesDO 2 KHM-131000944 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000944 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3fba7b3d-4464-4928-bb04-de237aef4559' LIMIT 1 Date : 2025-03-03T15:21:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-03T15:21:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000920 post PendingInvicesDO 2 KHM-131000946 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000946 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='272740fa-1ee6-4af7-8e80-e04302796098' LIMIT 1 Date : 2025-03-03T16:42:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-03T16:42:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000921 post PendingInvicesDO 2 KHM-131000947 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000947 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='04c160b6-2d14-400f-af33-2468674181f5' LIMIT 1 Date : 2025-03-03T16:46:16   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-03T16:46:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000922 post PendingInvicesDO 2 KHM-131000948 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000948 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fd43b953-95bc-4031-b551-919b68947a79' LIMIT 1 Date : 2025-03-04T14:27:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-04T14:28:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000923 post PendingInvicesDO 2 KHM-131000949 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000949 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='fa0f887f-e9d0-4e7a-8327-bf05e4d1a2f7' LIMIT 1 Date : 2025-03-04T15:20:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-04T15:20:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000924 post PendingInvicesDO 2 KHM-131000950 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000950 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1d3f3eb6-438b-4186-b48b-39a23bf1e797' LIMIT 1 Date : 2025-03-04T16:33:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-04T16:33:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000925 post PendingInvicesDO 2 KHM-131000951 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000951 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52f5a67c-d7d9-48cd-89fe-50d9438f9c45' LIMIT 1 Date : 2025-03-04T19:48:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-04T19:48:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000926 post PendingInvicesDO 2 KHM-131000952 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000952 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cb413448-2dc3-4545-9b3f-bd9b6f29be7b' LIMIT 1 Date : 2025-03-04T19:49:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-04T19:49:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000927 post PendingInvicesDO 2 KHM-131000953 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000953 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b531fe36-72a5-440a-adb7-ceb168845624' LIMIT 1 Date : 2025-03-04T19:50:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-04T19:50:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000928 post PendingInvicesDO 2 KHM-131000954 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000954 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b51dfa6-637d-4d6c-93a0-bf2c5332e2e8' LIMIT 1 Date : 2025-03-05T16:14:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T16:14:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000929 post PendingInvicesDO 2 KHM-131000956 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000956 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5dd86a98-9e21-43ec-8148-8f658c5476eb' LIMIT 1 Date : 2025-03-05T16:56:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T16:56:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000930 post PendingInvicesDO 2 KHM-131000958 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000958 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8deb5f77-1d09-42df-a05f-fbcf74d9ecd0' LIMIT 1 Date : 2025-03-05T18:55:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T18:55:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000931 post PendingInvicesDO 2 KHM-131000959 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000959 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88e24c36-6a66-4aad-8cce-583ed612a32d' LIMIT 1 Date : 2025-03-05T19:18:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-05T19:18:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000932 post PendingInvicesDO 2 KHM-131000961 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000961 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='730978f6-cd36-479c-957c-a6869a404e06' LIMIT 1 Date : 2025-03-08T13:00:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-08T13:00:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000933 post PendingInvicesDO 2 KHM-131000962 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000962 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='67eca506-cb80-4baa-b61d-876f28ed7d5e' LIMIT 1 Date : 2025-03-08T14:04:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-08T14:04:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000934 post PendingInvicesDO 2 KHM-131000963 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000963 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e359f9f6-a1ea-4ee6-bda6-3b47d9441a5f' LIMIT 1 Date : 2025-03-08T14:35:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-08T14:35:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000935 post PendingInvicesDO 2 KHM-131000964 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000964 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12e30277-e019-4b81-9fb2-ae39a14dfac6' LIMIT 1 Date : 2025-03-08T20:22:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-08T20:22:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000936 post PendingInvicesDO 2 KHM-131000965 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000965 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b32a4fa-bcab-4f5b-99c2-203ce7ba354d' LIMIT 1 Date : 2025-03-09T13:50:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-09T13:50:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000937 post PendingInvicesDO 2 KHM-131000966 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000966 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b7cb528-3a82-49b2-a498-106236498ac0' LIMIT 1 Date : 2025-03-09T14:49:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-09T14:49:26 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000939 post PendingInvicesDO 2 KHM-131000968 post PendingInvicesDO 2 KHM-131000967 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134000938 post PendingInvicesDO 2 KHM-131000968 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131000967 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000968 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7db6e718-e5d4-4653-8ca7-da8299da62a0' LIMIT 1 Date : 2025-03-10T13:23:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='015613b3-9156-41cb-b177-0b5d46e9db97' LIMIT 1 Date : 2025-03-10T13:23:25  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7db6e718-e5d4-4653-8ca7-da8299da62a0' LIMIT 1 Date : 2025-03-10T13:23:25  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='015613b3-9156-41cb-b177-0b5d46e9db97' LIMIT 1 Date : 2025-03-10T13:23:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-10T13:23:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000940 post PendingInvicesDO 2 KHM-131000969 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000969 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d43f67a-1443-4344-bcbc-96a35d80fb08' LIMIT 1 Date : 2025-03-10T14:17:47   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-10T14:17:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000942 post PendingInvicesDO 2 KHM-131000971 post PendingInvicesDO 2 KHM-131000970 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134000941 post PendingInvicesDO 2 KHM-131000971 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131000970 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000971 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f569361d-70a1-46e0-81de-c2ae331149a0' LIMIT 1 Date : 2025-03-10T14:59:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d28a831-1add-4f79-80b2-b0888d64fc35' LIMIT 1 Date : 2025-03-10T14:59:39  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f569361d-70a1-46e0-81de-c2ae331149a0' LIMIT 1 Date : 2025-03-10T14:59:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d28a831-1add-4f79-80b2-b0888d64fc35' LIMIT 1 Date : 2025-03-10T14:59:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-10T14:59:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000943 post PendingInvicesDO 2 KHM-131000972 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000972 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='8403d2a9-6542-4d60-9fb8-35c47664656d' LIMIT 1 Date : 2025-03-10T15:53:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-10T15:53:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000944 post PendingInvicesDO 2 KHM-131000973 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000973 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='13f2889a-a155-4980-b1d8-a7303f22de58' LIMIT 1 Date : 2025-03-11T14:27:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T14:27:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000945 post PendingInvicesDO 2 KHM-131000974 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000974 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='94a0b3fd-5fe7-43f8-9e43-31acde2e02d1' LIMIT 1 Date : 2025-03-11T15:06:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T15:06:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000946 post PendingInvicesDO 2 KHM-131000975 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000975 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='15b26ac6-1d03-4e20-84a2-41c1207166fb' LIMIT 1 Date : 2025-03-11T15:31:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T15:31:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000947 post PendingInvicesDO 2 KHM-131000976 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000976 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dcc462a8-d02f-448c-936d-b124bf1d187d' LIMIT 1 Date : 2025-03-11T15:57:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T15:57:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000948 post PendingInvicesDO 2 KHM-131000977 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000977 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6bc0b91b-993f-4f2a-81ec-505852779cad' LIMIT 1 Date : 2025-03-11T16:28:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T16:28:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000949 post PendingInvicesDO 2 KHM-131000978 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000978 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a4330f8b-4cab-4bdc-9530-449d6826cb28' LIMIT 1 Date : 2025-03-11T18:31:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T18:31:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000950 post PendingInvicesDO 2 KHM-131000979 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000979 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1da6c9a4-bf97-4ab0-94e3-dcef8c5cacec' LIMIT 1 Date : 2025-03-11T19:17:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T19:17:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000951 post PendingInvicesDO 2 KHM-131000980 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000980 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e8e5415-7306-4ed4-a8e0-f600a1bb32a7' LIMIT 1 Date : 2025-03-11T19:54:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-11T19:55:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000952 post PendingInvicesDO 2 KHM-131000981 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000981 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d22946f-3626-469b-af45-36a4e32a1f10' LIMIT 1 Date : 2025-03-12T15:19:14   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T15:19:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000953 post PendingInvicesDO 2 KHM-131000982 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000982 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4e06159-26d2-4a10-a904-7ed0a443801b' LIMIT 1 Date : 2025-03-12T16:18:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T16:18:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000954 post PendingInvicesDO 2 KHM-131000983 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000983 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9c84e372-dc6a-4c67-bb63-cd34a941a3c8' LIMIT 1 Date : 2025-03-12T20:36:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-12T20:36:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000955 post PendingInvicesDO 2 KHM-131000984 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000984 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1f13b2a0-9761-4ed3-850f-676c717cb78c' LIMIT 1 Date : 2025-03-13T14:24:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T14:24:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000956 post PendingInvicesDO 2 KHM-131000985 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000985 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1d91b86-bdf2-4f40-98fa-bed82f18a7ac' LIMIT 1 Date : 2025-03-13T14:56:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T14:56:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000957 post PendingInvicesDO 2 KHM-131000987 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000987 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d0b8fccb-bf99-43ad-ad6a-08e657c978ba' LIMIT 1 Date : 2025-03-13T16:21:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-13T16:21:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000958 post PendingInvicesDO 2 KHM-131000988 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000988 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6e32e32d-8870-4c35-84bb-629bc0275580' LIMIT 1 Date : 2025-03-15T12:56:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-15T12:57:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000959 post PendingInvicesDO 2 KHM-131000989 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000989 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3aa02227-1c7f-49d7-831c-5f0667a282b3' LIMIT 1 Date : 2025-03-15T13:30:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-15T13:30:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000960 post PendingInvicesDO 2 KHM-131000990 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000990 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2f82eb03-84cc-4699-9903-15274e6f11dd' LIMIT 1 Date : 2025-03-15T14:16:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-15T14:16:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000961 post PendingInvicesDO 2 KHM-131000991 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000991 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae03affe-772d-4c25-823f-981e5551ee53' LIMIT 1 Date : 2025-03-15T15:20:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-15T15:20:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000962 post PendingInvicesDO 2 KHM-131000992 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000992 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aed00b8c-c8a0-41e7-97ec-c89b1952de5c' LIMIT 1 Date : 2025-03-15T21:03:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-15T21:03:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000963 post PendingInvicesDO 2 KHM-131000993 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000993 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2dba32bb-fe95-4a12-b60b-f5aeacfdc66c' LIMIT 1 Date : 2025-03-15T21:43:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-15T21:43:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000964 post PendingInvicesDO 2 KHM-131000994 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000994 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f79921aa-9784-4664-9a8a-7be4762346fa' LIMIT 1 Date : 2025-03-16T14:30:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T14:30:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000965 post PendingInvicesDO 2 KHM-131000995 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000995 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e7f64550-896d-4a7a-a4c0-bd954441b328' LIMIT 1 Date : 2025-03-16T15:04:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T15:04:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000966 post PendingInvicesDO 2 KHM-131000996 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000996 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='28d38b50-ba77-4de2-bc59-37793bccc30a' LIMIT 1 Date : 2025-03-16T16:41:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T16:41:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000967 post PendingInvicesDO 2 KHM-131000998 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000998 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='37da4b71-6381-47b7-b414-835405892293' LIMIT 1 Date : 2025-03-16T19:11:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-16T19:11:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000969 post PendingInvicesDO 2 KHM-131001000 post PendingInvicesDO 2 KHM-131000999 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134000968 post PendingInvicesDO 2 KHM-131001000 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131000999 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001000 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2862d42-74c7-47bf-b995-2d9752699804' LIMIT 1 Date : 2025-03-16T19:47:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1319fc66-4efb-4438-a9a1-d0139ce1fdde' LIMIT 1 Date : 2025-03-16T19:47:03  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f2862d42-74c7-47bf-b995-2d9752699804' LIMIT 1 Date : 2025-03-16T19:47:03  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1319fc66-4efb-4438-a9a1-d0139ce1fdde' LIMIT 1 Date : 2025-03-16T19:47:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-16T19:47:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000970 post PendingInvicesDO 2 KHM-131001001 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001001 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6d829425-4a46-4a73-bce5-ba2459e28d1e' LIMIT 1 Date : 2025-03-17T12:21:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-17T12:21:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000971 post PendingInvicesDO 2 KHM-131001002 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001002 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a139605f-c9da-4d46-ad3a-57947d007195' LIMIT 1 Date : 2025-03-17T13:26:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-17T13:26:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000972 post PendingInvicesDO 2 KHM-131001003 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001003 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3298363c-4a5e-4fe2-a3b4-0370c65bc5fd' LIMIT 1 Date : 2025-03-17T22:12:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-17T22:12:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000973 post PendingInvicesDO 2 KHM-131001004 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001004 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='79b2476d-19dd-4f7b-9e3c-7085dd07f7d5' LIMIT 1 Date : 2025-03-17T22:41:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-17T22:41:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000974 post PendingInvicesDO 2 KHM-131001005 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001005 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='046fc045-8d35-4aab-a599-2d4aec250e58' LIMIT 1 Date : 2025-03-17T22:51:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-17T22:51:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000975 post PendingInvicesDO 2 KHM-131001006 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001006 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91e865e4-b7fb-49bb-8f3b-668d1df732ba' LIMIT 1 Date : 2025-03-18T15:33:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T15:33:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000976 post PendingInvicesDO 2 KHM-131001007 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001007 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ef6ad0e6-3779-4acb-96ff-a324a517becd' LIMIT 1 Date : 2025-03-18T16:34:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T16:34:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000977 post PendingInvicesDO 2 KHM-131001009 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001009 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39b6f288-852a-48b7-86a1-96ca7a7c4a34' LIMIT 1 Date : 2025-03-18T19:14:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T19:14:21 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000978 post PendingInvicesDO 2 KHM-131001010 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001010 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bca36f4a-248f-4efb-9499-672f807d33ee' LIMIT 1 Date : 2025-03-18T20:46:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T20:46:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000979 post PendingInvicesDO 2 KHM-131001011 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001011 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ce9ac9c1-cc5e-4fea-a616-efde3f5ddc59' LIMIT 1 Date : 2025-03-18T21:15:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-18T21:15:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000980 post PendingInvicesDO 2 KHM-131000780 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000780 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000780' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000780' OR OrderId='KHM-131000780' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-18T21:46:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000981 post PendingInvicesDO 2 KHM-131001013 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001013 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3bb6b1a5-f600-48cd-9790-f519ea7f89c5' LIMIT 1 Date : 2025-03-19T14:39:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T14:40:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000982 post PendingInvicesDO 2 KHM-131001014 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001014 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae638beb-cf49-47b0-9c59-f5af09b0a7fc' LIMIT 1 Date : 2025-03-19T15:17:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T15:17:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000984 post PendingInvicesDO 2 KHM-131001016 post PendingInvicesDO 2 KHM-131001015 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134000983 post PendingInvicesDO 2 KHM-131001016 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001015 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001016 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea7eecde-ed83-42b8-8ca9-54079a4a3a26' LIMIT 1 Date : 2025-03-19T15:49:51  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='942cba0a-bf83-4903-876b-b5665f3bec5e' LIMIT 1 Date : 2025-03-19T15:49:51  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ea7eecde-ed83-42b8-8ca9-54079a4a3a26' LIMIT 1 Date : 2025-03-19T15:49:51  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='942cba0a-bf83-4903-876b-b5665f3bec5e' LIMIT 1 Date : 2025-03-19T15:49:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-19T15:49:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000985 post PendingInvicesDO 2 KHM-131001017 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001017 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88e94b1d-b546-41c6-9af8-a09cdc3535fa' LIMIT 1 Date : 2025-03-19T16:17:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T16:17:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000986 post PendingInvicesDO 2 KHM-131001018 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001018 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bda5bdd4-0ee0-4443-baea-567cd11578ac' LIMIT 1 Date : 2025-03-19T20:08:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T20:08:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000987 post PendingInvicesDO 2 KHM-131001019 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001019 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='aeaad3bf-bef3-4129-843b-68b23d12771f' LIMIT 1 Date : 2025-03-19T20:51:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T20:51:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000988 post PendingInvicesDO 2 KHM-131001020 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001020 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d477c039-74fa-45f8-baf7-8fb2bb00c269' LIMIT 1 Date : 2025-03-19T21:26:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-19T21:26:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000989 post PendingInvicesDO 2 KHM-131001021 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001021 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0cbd4a1d-72c9-4145-a253-98e27d476139' LIMIT 1 Date : 2025-03-22T13:29:42   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-22T13:29:42 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000990 post PendingInvicesDO 2 KHM-131001022 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001022 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7a68cd9-0006-4652-9763-e3d72db1ebae' LIMIT 1 Date : 2025-03-22T14:19:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-22T14:19:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000991 post PendingInvicesDO 2 KHM-131001023 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001023 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0753fd30-ac12-4128-8cb4-0e8838144406' LIMIT 1 Date : 2025-03-22T15:15:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-22T15:15:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000992 post PendingInvicesDO 2 KHM-131001024 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001024 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4930809-efbf-4e80-bc3e-83521b65495e' LIMIT 1 Date : 2025-03-22T15:56:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-22T15:56:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000993 post PendingInvicesDO 2 KHM-131001025 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001025 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d642a995-ced1-4f3c-af95-3b7f7b7cfd1a' LIMIT 1 Date : 2025-03-22T16:48:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-22T16:48:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000994 post PendingInvicesDO 2 KHM-131001026 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001026 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='142800fb-f034-4330-b214-8e2f0d486ce7' LIMIT 1 Date : 2025-03-23T14:28:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-23T14:28:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000995 post PendingInvicesDO 2 KHM-131001028 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001028 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='83acd471-4a92-4e0c-bffb-cf04262959c6' LIMIT 1 Date : 2025-03-23T16:04:06   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-23T16:04:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000996 post PendingInvicesDO 2 KHM-131001030 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001030 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d3985fa7-7be0-4544-83db-7b28bf4b577e' LIMIT 1 Date : 2025-03-23T18:25:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-23T18:26:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000997 post PendingInvicesDO 2 KHM-131001031 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001031 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='49473444-01ee-4182-bbcc-dd55c606d6f6' LIMIT 1 Date : 2025-03-23T19:39:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-23T19:39:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000998 post PendingInvicesDO 2 KHM-131000960 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000960 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000960' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000960' OR OrderId='KHM-131000960' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-23T22:24:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134000999 post PendingInvicesDO 2 KHM-131000781 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000781 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000781' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000781' OR OrderId='KHM-131000781' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-23T22:25:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001000 post PendingInvicesDO 2 KHM-131001032 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001032 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='74891d39-67a8-4c91-914e-7888c8df1c10' LIMIT 1 Date : 2025-03-24T13:42:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T13:42:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001001 post PendingInvicesDO 2 KHM-131001033 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001033 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='70dafa2d-feba-42af-aaa6-ffc92af2df48' LIMIT 1 Date : 2025-03-24T14:22:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T14:22:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001002 post PendingInvicesDO 2 KHM-131001034 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001034 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='538291f7-d2c0-45bb-89df-1ce0ff95c85b' LIMIT 1 Date : 2025-03-24T14:54:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T14:54:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001003 post PendingInvicesDO 2 KHM-131001035 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001035 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='46dce111-38bd-44b5-b8de-fccd43e72cdc' LIMIT 1 Date : 2025-03-24T15:31:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T15:31:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001004 post PendingInvicesDO 2 KHM-131001036 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001036 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6c6168d2-1648-43bd-8f2f-10487f5c7573' LIMIT 1 Date : 2025-03-24T15:53:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T15:53:29 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001005 post PendingInvicesDO 2 KHM-131001037 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001037 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b210a7b-39c5-4ca6-989a-afe5638ee004' LIMIT 1 Date : 2025-03-24T19:59:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T19:59:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001006 post PendingInvicesDO 2 KHM-131001038 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001038 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4d66c4e-4e9f-4214-8cb0-8decccf6919d' LIMIT 1 Date : 2025-03-24T20:29:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T20:29:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001007 post PendingInvicesDO 2 KHM-131001039 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001039 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='96164722-7919-4a89-8995-d58898275a9a' LIMIT 1 Date : 2025-03-24T21:14:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T21:14:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001008 post PendingInvicesDO 2 KHM-131001040 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001040 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17d46a31-640d-46e3-964b-772ffc3b3d0b' LIMIT 1 Date : 2025-03-24T21:32:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T21:32:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001009 post PendingInvicesDO 2 KHM-131001041 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001041 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='482e2695-4b35-40f7-bdf8-4ae7a7dcdd27' LIMIT 1 Date : 2025-03-24T22:33:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-24T22:33:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001010 post PendingInvicesDO 2 KHM-131000897 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000897 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000897' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000897' OR OrderId='KHM-131000897' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-24T23:53:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001011 post PendingInvicesDO 2 KHM-131000914 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000914 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000914' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000914' OR OrderId='KHM-131000914' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-24T23:56:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001012 post PendingInvicesDO 2 KHM-131001042 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001042 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9aad411a-1664-473c-95ad-0ebc58386564' LIMIT 1 Date : 2025-03-25T14:34:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T14:34:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001013 post PendingInvicesDO 2 KHM-131001043 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001043 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f9352c09-71e7-48ab-a30f-0c3539c0a3a0' LIMIT 1 Date : 2025-03-25T15:13:59   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T15:14:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001014 post PendingInvicesDO 2 KHM-131001044 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001044 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='62cf39cf-c1b5-46f0-a9e9-d25e5bcbd501' LIMIT 1 Date : 2025-03-25T16:27:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T16:27:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001015 post PendingInvicesDO 2 KHM-131001045 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001045 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='187bafd0-87c5-4d1c-9d41-c17b3438db93' LIMIT 1 Date : 2025-03-25T16:46:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T16:46:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001016 post PendingInvicesDO 2 KHM-131001046 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001046 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b0cf583b-7086-4488-823d-a03c17724c61' LIMIT 1 Date : 2025-03-25T17:05:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T17:05:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001017 post PendingInvicesDO 2 KHM-131001047 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001047 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a90a8fd5-92ff-498a-b41f-5611cdb65358' LIMIT 1 Date : 2025-03-25T17:39:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T17:39:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001019 post PendingInvicesDO 2 KHM-131001049 post PendingInvicesDO 2 KHM-131001048 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001018 post PendingInvicesDO 2 KHM-131001049 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001048 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001049 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc24788a-d51f-412d-9556-47ee80045b42' LIMIT 1 Date : 2025-03-25T18:34:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc4b4c09-7e5c-42b9-88b0-dd2b82349e6b' LIMIT 1 Date : 2025-03-25T18:34:40  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bc24788a-d51f-412d-9556-47ee80045b42' LIMIT 1 Date : 2025-03-25T18:34:40  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dc4b4c09-7e5c-42b9-88b0-dd2b82349e6b' LIMIT 1 Date : 2025-03-25T18:34:40   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-25T18:34:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001020 post PendingInvicesDO 2 KHM-131001050 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001050 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2952d8ee-9ed9-4446-9176-3eb45819916e' LIMIT 1 Date : 2025-03-25T19:33:36   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T19:33:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001021 post PendingInvicesDO 2 KHM-131001051 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001051 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='01efcfd7-c102-42bd-8deb-ec2d5882b941' LIMIT 1 Date : 2025-03-25T20:32:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T20:32:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001022 post PendingInvicesDO 2 KHM-131001052 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001052 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7265d41e-e37b-4015-8d25-92d0f99253d0' LIMIT 1 Date : 2025-03-25T20:52:03   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T20:52:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001023 post PendingInvicesDO 2 KHM-131001053 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001053 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e31d9fa4-db20-49ea-9376-67de90ab7d07' LIMIT 1 Date : 2025-03-25T21:16:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T21:16:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001024 post PendingInvicesDO 2 KHM-131001054 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001054 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2064e1c0-f835-41c4-8aa9-5f7a1f9e3dde' LIMIT 1 Date : 2025-03-25T21:57:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T21:57:59 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001025 post PendingInvicesDO 2 KHM-131001055 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001055 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='782adefa-c989-4a2c-84d1-aa264906f24d' LIMIT 1 Date : 2025-03-25T22:28:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T22:28:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001026 post PendingInvicesDO 2 KHM-131001056 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001056 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='bdbf9f95-ef11-467a-92ee-dfea956b28c4' LIMIT 1 Date : 2025-03-25T23:29:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T23:29:44 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001027 post PendingInvicesDO 2 KHM-131001057 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001057 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='95161850-a8c0-4336-a49b-6c4c4bf47d1e' LIMIT 1 Date : 2025-03-25T23:58:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-25T23:58:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001028 post PendingInvicesDO 2 KHM-131001058 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001058 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='33160ac8-37f3-43f5-b798-94830a541991' LIMIT 1 Date : 2025-03-26T13:31:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T13:31:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001029 post PendingInvicesDO 2 KHM-131001059 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001059 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1beccd73-ac31-4cc4-ab2f-3a3b9bd7f3ff' LIMIT 1 Date : 2025-03-26T14:35:05   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T14:35:05 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001030 post PendingInvicesDO 2 KHM-131001060 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001060 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2ee7666f-04cd-42d7-a79f-789f27432496' LIMIT 1 Date : 2025-03-26T15:09:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T15:09:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001031 post PendingInvicesDO 2 KHM-131001061 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001061 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='034ab26c-0c18-4879-90f2-dc114943dca4' LIMIT 1 Date : 2025-03-26T15:33:37   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T15:33:37 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001032 post PendingInvicesDO 2 KHM-131000955 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000955 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000955' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000955' OR OrderId='KHM-131000955' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-26T16:04:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001033 post PendingInvicesDO 2 KHM-131001063 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001063 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='63d55a2a-5e06-4255-8dc6-720599a141d4' LIMIT 1 Date : 2025-03-26T18:47:49   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T18:47:50 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001034 post PendingInvicesDO 2 KHM-131001064 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001064 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b9ad619-a2d2-4f01-8656-2b937929c7e5' LIMIT 1 Date : 2025-03-26T19:06:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T19:06:34 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001035 post PendingInvicesDO 2 KHM-131001065 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001065 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1f6d179-35ed-4e52-9fdf-e3eafcf6c0e9' LIMIT 1 Date : 2025-03-26T20:21:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T20:21:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001036 post PendingInvicesDO 2 KHM-131001066 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001066 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d09e1349-34c7-4631-b39b-cea2e1fae753' LIMIT 1 Date : 2025-03-26T21:02:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T21:02:49 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001037 post PendingInvicesDO 2 KHM-131001067 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001067 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f083cd48-d4df-4349-a919-c7a5305aba95' LIMIT 1 Date : 2025-03-26T22:09:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T22:09:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001038 post PendingInvicesDO 2 KHM-131001068 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001068 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7ad0df01-febd-436b-902d-c71dab464a8f' LIMIT 1 Date : 2025-03-26T22:50:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T22:50:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001039 post PendingInvicesDO 2 KHM-131001069 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001069 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1b251eb8-c7c2-4cf6-98e8-3b0d1ecac2b9' LIMIT 1 Date : 2025-03-26T23:28:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-26T23:28:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001040 post PendingInvicesDO 2 KHM-131001070 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001070 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39475ded-b567-4835-8e78-df89c82b02c4' LIMIT 1 Date : 2025-03-27T02:40:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T02:40:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001041 post PendingInvicesDO 2 KHM-131001071 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001071 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='88bc64da-6e40-4fbe-973c-e6c09f2a5a8e' LIMIT 1 Date : 2025-03-27T15:33:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T15:33:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001042 post PendingInvicesDO 2 KHM-131000868 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000868 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000868' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000868' OR OrderId='KHM-131000868' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-27T16:12:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001043 post PendingInvicesDO 2 KHM-131001074 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001074 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d95ec293-b1e5-4656-94b7-9257a53e6173' LIMIT 1 Date : 2025-03-27T19:41:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T19:41:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001044 post PendingInvicesDO 2 KHM-131001075 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001075 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b132219-fc08-4ffb-899b-13da251f2932' LIMIT 1 Date : 2025-03-27T20:56:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T20:56:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001046 post PendingInvicesDO 2 KHM-131001077 post PendingInvicesDO 2 KHM-131001076 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001045 post PendingInvicesDO 2 KHM-131001077 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001076 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001077 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2293c9bf-a975-41df-b680-dc90d77e775b' LIMIT 1 Date : 2025-03-27T21:44:11  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3c8e11f-a86c-46a1-8a3d-c006ccf29f6e' LIMIT 1 Date : 2025-03-27T21:44:11  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2293c9bf-a975-41df-b680-dc90d77e775b' LIMIT 1 Date : 2025-03-27T21:44:11  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a3c8e11f-a86c-46a1-8a3d-c006ccf29f6e' LIMIT 1 Date : 2025-03-27T21:44:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-27T21:44:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001047 post PendingInvicesDO 2 KHM-131001078 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001078 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e688cb42-ae90-4382-b1f3-b703c8aa42d9' LIMIT 1 Date : 2025-03-27T22:04:56   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T22:04:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001048 post PendingInvicesDO 2 KHM-131001079 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001079 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='abe23a70-586c-41c7-b2fe-a481e949bf7e' LIMIT 1 Date : 2025-03-27T22:25:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T22:25:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001049 post PendingInvicesDO 2 KHM-131001080 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001080 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52764a09-d794-400a-95ba-41f038a80bf3' LIMIT 1 Date : 2025-03-27T22:48:02   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-27T22:48:03 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001050 post PendingInvicesDO 2 KHM-131001081 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001081 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eec9edbe-585e-4cd6-ace7-9a4beed25f5e' LIMIT 1 Date : 2025-03-28T15:31:43   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T15:31:43 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001051 post PendingInvicesDO 2 KHM-131001082 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001082 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14160458-e4ce-45b0-b7d4-5449b27e0136' LIMIT 1 Date : 2025-03-28T17:03:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T17:03:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001052 post PendingInvicesDO 2 KHM-131001083 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001083 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='57f6fc0b-f244-4482-97b6-ca13044bbc92' LIMIT 1 Date : 2025-03-28T19:22:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T19:22:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001053 post PendingInvicesDO 2 KHM-131001084 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001084 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a571bfe2-a3da-4aa2-b73d-135e29cae358' LIMIT 1 Date : 2025-03-28T21:11:31   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T21:11:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001054 post PendingInvicesDO 2 KHM-131001085 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001085 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='14b3170a-44be-41c3-9d5c-fc9e1204ce2c' LIMIT 1 Date : 2025-03-28T22:16:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-28T22:16:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001055 post PendingInvicesDO 2 KHM-131001087 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001087 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='69c4a5a9-882c-4a44-ae22-fa9ea0261a29' LIMIT 1 Date : 2025-03-29T13:28:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T13:28:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001056 post PendingInvicesDO 2 KHM-131001088 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001088 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1ea072ce-b8e7-4a43-a7b1-35ffe00c2121' LIMIT 1 Date : 2025-03-29T16:14:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T16:14:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001057 post PendingInvicesDO 2 KHM-131001089 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001089 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d4370072-df0c-4de6-abbc-2e6e0ee6a066' LIMIT 1 Date : 2025-03-29T16:54:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T16:54:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001059 post PendingInvicesDO 2 KHM-131001091 post PendingInvicesDO 2 KHM-131001090 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001058 post PendingInvicesDO 2 KHM-131001091 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001090 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001091 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e6e5f4e-369b-4f23-98c1-6d7097d015a8' LIMIT 1 Date : 2025-03-29T19:57:50  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4e14942-d233-4507-af61-dc0aa2b046c4' LIMIT 1 Date : 2025-03-29T19:57:50  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4e6e5f4e-369b-4f23-98c1-6d7097d015a8' LIMIT 1 Date : 2025-03-29T19:57:50  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e4e14942-d233-4507-af61-dc0aa2b046c4' LIMIT 1 Date : 2025-03-29T19:57:50   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-29T19:57:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001060 post PendingInvicesDO 2 KHM-131001092 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001092 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='52c47597-761f-4502-b6e9-e772b35a1f2d' LIMIT 1 Date : 2025-03-29T20:30:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T20:30:15 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001062 post PendingInvicesDO 2 KHM-131001094 post PendingInvicesDO 2 KHM-131001093 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001061 post PendingInvicesDO 2 KHM-131001094 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001093 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001094 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c85f3a82-d865-4020-baf8-44bb60843101' LIMIT 1 Date : 2025-03-29T20:37:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0068aeb8-2f71-44c5-b1ff-9188570d5e5b' LIMIT 1 Date : 2025-03-29T20:37:38  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c85f3a82-d865-4020-baf8-44bb60843101' LIMIT 1 Date : 2025-03-29T20:37:38  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0068aeb8-2f71-44c5-b1ff-9188570d5e5b' LIMIT 1 Date : 2025-03-29T20:37:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-03-29T20:37:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001063 post PendingInvicesDO 2 KHM-131001095 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001095 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b584d675-f8b1-4274-b31f-707024b3ad2e' LIMIT 1 Date : 2025-03-29T21:06:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T21:06:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001064 post PendingInvicesDO 2 KHM-131000890 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000890 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000890' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000890' OR OrderId='KHM-131000890' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-03-29T21:40:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001065 post PendingInvicesDO 2 KHM-131001098 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001098 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f4175069-69e6-4ec2-b370-f91a6fe24787' LIMIT 1 Date : 2025-03-29T22:19:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-03-29T22:19:11 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001067 post PendingInvicesDO 2 KHM-131001100 post PendingInvicesDO 2 KHM-131001099 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001066 post PendingInvicesDO 2 KHM-131001100 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001099 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001100 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66575c8d-1749-4f97-ac53-3b8b0ff99e13' LIMIT 1 Date : 2025-04-01T10:01:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='374e4363-d085-4957-b6bc-5dba1b44ccf5' LIMIT 1 Date : 2025-04-01T10:01:19  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66575c8d-1749-4f97-ac53-3b8b0ff99e13' LIMIT 1 Date : 2025-04-01T10:01:19  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='374e4363-d085-4957-b6bc-5dba1b44ccf5' LIMIT 1 Date : 2025-04-01T10:01:19   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-01T10:01:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001068 post PendingInvicesDO 2 KHM-131001101 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001101 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dd11a4f4-d83d-4445-a093-ce9018ddbbe8' LIMIT 1 Date : 2025-04-01T10:25:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T10:25:02 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001069 post PendingInvicesDO 2 KHM-131001102 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001102 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e8ecd59-93e7-416e-9db8-cd49f4642f5a' LIMIT 1 Date : 2025-04-01T10:43:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T10:43:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001070 post PendingInvicesDO 2 KHM-131001103 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001103 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a1af2b72-71ce-4aeb-9345-c6754e16191e' LIMIT 1 Date : 2025-04-01T11:04:26   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T11:04:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001071 post PendingInvicesDO 2 KHM-131001104 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001104 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='32c7cfe0-cc05-4f4b-96ed-7dc05093167f' LIMIT 1 Date : 2025-04-01T11:28:46   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T11:28:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001072 post PendingInvicesDO 2 KHM-131001105 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001105 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4d706e5c-cbe0-48c2-9fb9-7390cb5a8f79' LIMIT 1 Date : 2025-04-01T12:22:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T12:22:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001073 post PendingInvicesDO 2 KHM-131001106 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001106 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='012298b4-7359-4786-a258-3c8657a8e8b6' LIMIT 1 Date : 2025-04-01T13:00:33   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T13:00:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001074 post PendingInvicesDO 2 KHM-131001107 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001107 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='17cfc488-b039-466b-bf5d-1fa180b87deb' LIMIT 1 Date : 2025-04-01T13:31:13   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-01T13:31:14 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001075 post PendingInvicesDO 2 KHM-131001108 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001108 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5483ce26-62dc-482a-a840-a426842da936' LIMIT 1 Date : 2025-04-02T10:58:11   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T10:58:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001076 post PendingInvicesDO 2 KHM-131001109 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001109 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e93287f3-5f08-4cc3-9412-df8c4468f7c6' LIMIT 1 Date : 2025-04-02T11:14:28   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T11:14:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001078 post PendingInvicesDO 2 KHM-131001111 post PendingInvicesDO 2 KHM-131001110 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001077 post PendingInvicesDO 2 KHM-131001111 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001110 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001111 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba9daf59-6c4c-4e39-ba1e-2bce565f264f' LIMIT 1 Date : 2025-04-02T11:36:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7641cfdc-f342-4ca6-9883-ff72fcc26ff1' LIMIT 1 Date : 2025-04-02T11:36:34  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ba9daf59-6c4c-4e39-ba1e-2bce565f264f' LIMIT 1 Date : 2025-04-02T11:36:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7641cfdc-f342-4ca6-9883-ff72fcc26ff1' LIMIT 1 Date : 2025-04-02T11:36:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-02T11:36:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001079 post PendingInvicesDO 2 KHM-131001112 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001112 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='447cf357-03e4-49c7-a14d-f13185bd113e' LIMIT 1 Date : 2025-04-02T12:59:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T12:59:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001080 post PendingInvicesDO 2 KHM-131001113 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001113 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='71deb90e-275d-4bcd-b4b4-f59666260ec0' LIMIT 1 Date : 2025-04-02T13:41:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T13:41:57 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001082 post PendingInvicesDO 2 KHM-131001115 post PendingInvicesDO 2 KHM-131001114 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001081 post PendingInvicesDO 2 KHM-131001115 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001114 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001115 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae701720-bd33-4b02-bd3f-a4ea383b9f72' LIMIT 1 Date : 2025-04-02T13:59:31  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbbd14ac-e170-473f-a47b-6a2ed4a5553e' LIMIT 1 Date : 2025-04-02T13:59:31  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ae701720-bd33-4b02-bd3f-a4ea383b9f72' LIMIT 1 Date : 2025-04-02T13:59:32  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='cbbd14ac-e170-473f-a47b-6a2ed4a5553e' LIMIT 1 Date : 2025-04-02T13:59:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-02T13:59:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001083 post PendingInvicesDO 2 KHM-131000957 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131000957 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131000957' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131000957' OR OrderId='KHM-131000957' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-02T14:38:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001084 post PendingInvicesDO 2 KHM-131001117 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001117 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5e44aea4-ce84-42bc-bd09-95336ac33513' LIMIT 1 Date : 2025-04-02T16:30:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T16:30:08 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001085 post PendingInvicesDO 2 KHM-131001118 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001118 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='98737415-662a-4e06-86a3-91608581f456' LIMIT 1 Date : 2025-04-02T17:27:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-02T17:27:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001086 post PendingInvicesDO 2 KHM-131001119 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001119 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5b296a48-16e7-436f-b3d4-6088f9d50a9c' LIMIT 1 Date : 2025-04-05T09:16:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T09:16:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001087 post PendingInvicesDO 2 KHM-131001120 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001120 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='767122e8-02ad-47e1-9f5e-4b8029a1a604' LIMIT 1 Date : 2025-04-05T09:46:25   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T09:46:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001088 post PendingInvicesDO 2 KHM-131001121 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001121 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='91c1104a-8e77-4209-a503-39f6797ab7a9' LIMIT 1 Date : 2025-04-05T10:09:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T10:09:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001089 post PendingInvicesDO 2 KHM-131001122 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001122 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2b94b39b-5b81-4689-8b4b-ea35d3f87261' LIMIT 1 Date : 2025-04-05T10:24:04   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T10:24:04 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001091 post PendingInvicesDO 2 KHM-131001124 post PendingInvicesDO 2 KHM-131001123 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001090 post PendingInvicesDO 2 KHM-131001124 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001123 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001124 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4093eb0-e325-4780-86ca-142d6e3554e1' LIMIT 1 Date : 2025-04-05T11:06:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38986727-ad62-4285-9a28-c8bd378f1f51' LIMIT 1 Date : 2025-04-05T11:06:10  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4093eb0-e325-4780-86ca-142d6e3554e1' LIMIT 1 Date : 2025-04-05T11:06:10  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38986727-ad62-4285-9a28-c8bd378f1f51' LIMIT 1 Date : 2025-04-05T11:06:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-05T11:06:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001092 post PendingInvicesDO 2 KHM-131001125 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001125 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3b1b4d9d-6d3e-426a-8b2b-3f58866f7c10' LIMIT 1 Date : 2025-04-05T11:42:09   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T11:42:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001093 post PendingInvicesDO 2 KHM-131001126 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001126 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='583b38d5-b4cb-4987-8e6e-772d94ad06a8' LIMIT 1 Date : 2025-04-05T11:57:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T11:57:00 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001094 post PendingInvicesDO 2 KHM-131001127 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001127 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='163431f1-c206-4bab-a485-1ce9d148c0c6' LIMIT 1 Date : 2025-04-05T12:59:48   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T12:59:48 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001095 post PendingInvicesDO 2 KHM-131001128 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001128 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2c7f1269-ba7c-4bae-9025-63154f725937' LIMIT 1 Date : 2025-04-05T13:46:27   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T13:46:27 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001096 post PendingInvicesDO 2 KHM-131001129 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001129 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='632ab047-830c-4e8e-a262-7caa1918c406' LIMIT 1 Date : 2025-04-05T21:00:07   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-05T21:00:07 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001097 post PendingInvicesDO 2 KHM-131001131 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001131 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5d7ef7b3-d903-43d1-9679-50faa5aca2a2' LIMIT 1 Date : 2025-04-06T11:02:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T11:02:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001098 post PendingInvicesDO 2 KHM-131001132 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001132 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='eb5112da-de9b-420d-b3c3-83adeb95fba2' LIMIT 1 Date : 2025-04-06T11:33:00   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T11:33:00 payment end 
 performInsertPayment 1 post payment 2 performInsertPayment 3 mode performInsertPayment 10 KHM-134001099 post PendingInvicesDO 2 KHM-131001133 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001133 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0cad8bd1-7bd6-4ed0-88e4-c6dfbd73b4b1' LIMIT 1 Date : 2025-04-06T12:41:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T12:41:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001100 post PendingInvicesDO 2 KHM-131001134 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001134 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e171e7d0-4077-419a-84e3-f9c847165437' LIMIT 1 Date : 2025-04-06T13:29:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T13:29:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001101 post PendingInvicesDO 2 KHM-131001135 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001135 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f77b4a00-418b-4953-a698-69af62e6cf1d' LIMIT 1 Date : 2025-04-06T15:04:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T15:04:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001102 post PendingInvicesDO 2 KHM-131001136 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001136 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1e8bd776-390c-45ec-a1d0-354afc9b33f8' LIMIT 1 Date : 2025-04-06T16:31:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T16:31:23 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001103 post PendingInvicesDO 2 KHM-131001137 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001137 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6ae235e1-31cc-4839-bd61-198fa6ba0ae6' LIMIT 1 Date : 2025-04-06T17:10:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T17:10:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001104 post PendingInvicesDO 2 KHM-131001138 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001138 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='97346f75-c54c-4cab-9ea4-28cc381a0a30' LIMIT 1 Date : 2025-04-06T18:26:52   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T18:26:53 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001105 post PendingInvicesDO 2 KHM-131001139 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001139 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='27fe97e9-5391-43e3-a511-d39e3ddf17fe' LIMIT 1 Date : 2025-04-06T19:06:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T19:06:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001107 post PendingInvicesDO 2 KHM-131001097 post PendingInvicesDO 2 KHM-131001096 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001106 post PendingInvicesDO 2 KHM-131001097 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001096 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001097 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131001097' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131001097' OR OrderId='KHM-131001097' 
SELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131001097' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131001097' OR OrderId='KHM-131001097' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-06T20:20:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001108 post PendingInvicesDO 2 KHM-131001072 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001072 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131001072' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131001072' OR OrderId='KHM-131001072' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-06T20:22:39 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001109 post PendingInvicesDO 2 KHM-131001140 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001140 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a7b2e25e-e644-4559-ba3b-c990b23b53db' LIMIT 1 Date : 2025-04-06T20:35:22   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T20:35:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001110 post PendingInvicesDO 2 KHM-131001141 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001141 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='38db51b3-48f1-43ef-8e49-8f4e5578071b' LIMIT 1 Date : 2025-04-06T21:25:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-06T21:25:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001111 post PendingInvicesDO 2 KHM-131001142 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001142 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c091f462-b2d9-4721-851b-2d67231b2e53' LIMIT 1 Date : 2025-04-07T09:32:10   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T09:32:10 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001112 post PendingInvicesDO 2 KHM-131001143 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001143 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ed4ad7e7-f616-41dc-b26c-0083dce8f5e8' LIMIT 1 Date : 2025-04-07T10:41:38   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T10:41:38 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001113 post PendingInvicesDO 2 KHM-131001144 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001144 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c0a558d8-767c-4c00-ab99-f49b2169b789' LIMIT 1 Date : 2025-04-07T10:48:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T10:48:33 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001114 post PendingInvicesDO 2 KHM-131001145 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001145 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='924219b2-99cc-4882-99ba-8cca1a0292d3' LIMIT 1 Date : 2025-04-07T11:32:15   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T11:32:16 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001115 post PendingInvicesDO 2 KHM-131001146 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001146 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c1214a5a-8eac-463c-b3c0-99b3ae08c94c' LIMIT 1 Date : 2025-04-07T13:10:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T13:10:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001116 post PendingInvicesDO 2 KHM-131001147 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001147 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='7fc4f6ae-5f9c-4404-9b9f-555556698dbe' LIMIT 1 Date : 2025-04-07T16:34:21   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T16:34:22 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001117 post PendingInvicesDO 2 KHM-131001148 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001148 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='383c9460-346a-4a7e-9d7c-948482fea135' LIMIT 1 Date : 2025-04-07T17:57:20   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-07T17:57:20 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001119 post PendingInvicesDO 2 KHM-131001150 post PendingInvicesDO 2 KHM-131001149 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001118 post PendingInvicesDO 2 KHM-131001150 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001149 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001150 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fe36760-32d8-47a6-88dd-0ef97b5a6dd5' LIMIT 1 Date : 2025-04-07T19:14:51  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e8df2fd-bd7e-44dd-a33a-1a0864fafc1c' LIMIT 1 Date : 2025-04-07T19:14:51  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4fe36760-32d8-47a6-88dd-0ef97b5a6dd5' LIMIT 1 Date : 2025-04-07T19:14:51  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2e8df2fd-bd7e-44dd-a33a-1a0864fafc1c' LIMIT 1 Date : 2025-04-07T19:14:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-07T19:14:52 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001120 post PendingInvicesDO 2 KHM-131001151 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001151 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6b9d964b-84ca-47cd-95c3-e29c913798a7' LIMIT 1 Date : 2025-04-08T11:38:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T11:38:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001121 post PendingInvicesDO 2 KHM-131001152 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001152 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='a837db19-e606-482e-8dc4-c35957fe86bb' LIMIT 1 Date : 2025-04-08T12:27:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T12:27:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001122 post PendingInvicesDO 2 KHM-131001153 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001153 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c056a125-be8c-44bb-9393-667253f9bb9b' LIMIT 1 Date : 2025-04-08T13:18:29   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T13:18:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001123 post PendingInvicesDO 2 KHM-131001154 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001154 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5a60da6c-207c-401b-8461-fabb0777dc0f' LIMIT 1 Date : 2025-04-08T14:16:18   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T14:16:19 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001125 post PendingInvicesDO 2 KHM-131001156 post PendingInvicesDO 2 KHM-131001155 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001124 post PendingInvicesDO 2 KHM-131001156 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001155 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001156 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dcc88726-6e25-41f9-b02c-474a6c79e94a' LIMIT 1 Date : 2025-04-08T15:57:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d179aeb-ba10-4813-a54f-36067ee461d7' LIMIT 1 Date : 2025-04-08T15:57:34  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='dcc88726-6e25-41f9-b02c-474a6c79e94a' LIMIT 1 Date : 2025-04-08T15:57:34  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='2d179aeb-ba10-4813-a54f-36067ee461d7' LIMIT 1 Date : 2025-04-08T15:57:34   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-08T15:57:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001127 post PendingInvicesDO 2 KHM-131001158 post PendingInvicesDO 2 KHM-131001157 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001126 post PendingInvicesDO 2 KHM-131001158 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001157 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001158 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4939013-ad8b-4f07-b3c9-9e060d1f42b3' LIMIT 1 Date : 2025-04-08T15:59:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e09e073-1371-4cec-aecd-30442f17406e' LIMIT 1 Date : 2025-04-08T15:59:57  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='c4939013-ad8b-4f07-b3c9-9e060d1f42b3' LIMIT 1 Date : 2025-04-08T15:59:57  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0e09e073-1371-4cec-aecd-30442f17406e' LIMIT 1 Date : 2025-04-08T15:59:57   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-08T15:59:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001129 post PendingInvicesDO 2 KHM-131001160 post PendingInvicesDO 2 KHM-131001159 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001128 post PendingInvicesDO 2 KHM-131001160 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001159 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001160 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66eb6779-e2c5-4eec-991b-822ba9eb6038' LIMIT 1 Date : 2025-04-08T16:02:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='895a9ca2-47f2-4177-890f-bf70abda96d5' LIMIT 1 Date : 2025-04-08T16:02:17  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='66eb6779-e2c5-4eec-991b-822ba9eb6038' LIMIT 1 Date : 2025-04-08T16:02:17  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='895a9ca2-47f2-4177-890f-bf70abda96d5' LIMIT 1 Date : 2025-04-08T16:02:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-08T16:02:18 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001131 post PendingInvicesDO 2 KHM-131001162 post PendingInvicesDO 2 KHM-131001161 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001130 post PendingInvicesDO 2 KHM-131001162 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001161 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001162 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='751ec10e-1044-4483-9ef7-7dc88c550032' LIMIT 1 Date : 2025-04-08T16:10:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='815ff584-945f-4b1d-a8f6-a07aed2a0380' LIMIT 1 Date : 2025-04-08T16:10:39  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='751ec10e-1044-4483-9ef7-7dc88c550032' LIMIT 1 Date : 2025-04-08T16:10:39  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='815ff584-945f-4b1d-a8f6-a07aed2a0380' LIMIT 1 Date : 2025-04-08T16:10:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-08T16:10:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001132 post PendingInvicesDO 2 KHM-131001163 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001163 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='12b9f5f8-8cf4-4e52-b80c-5d2bbc10f39f' LIMIT 1 Date : 2025-04-08T16:15:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T16:15:12 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001133 post PendingInvicesDO 2 KHM-131001164 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001164 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='03c8757a-5bc3-4bd4-97a1-91785cf0d7bc' LIMIT 1 Date : 2025-04-08T16:46:53   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T16:46:54 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001134 post PendingInvicesDO 2 KHM-131001073 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001073 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131001073' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131001073' OR OrderId='KHM-131001073' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-08T17:40:47 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001135 post PendingInvicesDO 2 KHM-131001166 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001166 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='4eb31440-1bfe-4f70-8b51-20e3968d19ed' LIMIT 1 Date : 2025-04-08T18:37:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T18:37:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001136 post PendingInvicesDO 2 KHM-131001167 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001167 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='39f8253a-ee82-4d45-bbaf-a8495115b20b' LIMIT 1 Date : 2025-04-08T18:39:30   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-08T18:39:30 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001137 post PendingInvicesDO 2 KHM-131001168 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001168 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5aebed2e-a860-4824-8851-5ad38797d476' LIMIT 1 Date : 2025-04-09T11:07:32   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T11:07:32 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001138 post PendingInvicesDO 2 KHM-131001169 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001169 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='0cff023d-7dc6-4ee1-b9cc-2abba90ffcf1' LIMIT 1 Date : 2025-04-09T11:50:01   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T11:50:01 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001139 post PendingInvicesDO 2 KHM-131001170 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001170 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5519a3d8-fe68-483d-9854-becad345b8ba' LIMIT 1 Date : 2025-04-09T12:26:24   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T12:26:25 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001140 post PendingInvicesDO 2 KHM-131001171 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001171 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e29844f0-f3dd-4603-9912-b6f6747f81bc' LIMIT 1 Date : 2025-04-09T12:34:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T12:34:35 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001141 post PendingInvicesDO 2 KHM-131001116 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001116 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : trueSELECT IFNULL(SUM(TPI.Amount),0) FROM tblPaymentInvoice TPI
INNER JOIN tblPaymentHeader TPH ON TPI.ReceiptId=TPH.ReceiptId
WHERE TPI.TrxCode = 'KHM-131001116' AND TPH.IsCancelled!='True' COLLATE NOCASE AND TPH.PaymentStatus!=4 AND TPI.TrxCode != 'ONACCOUNT' 
SELECT TotalAmount FROM tblPendingInvoices WHERE InvoiceNumber='KHM-131001116' OR OrderId='KHM-131001116' 
 performInsertPayment totalCNVal 0.0 performInsertPayment 4  performInsertPayment 6 2025-04-09T13:26:28 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001142 post PendingInvicesDO 2 KHM-131001173 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001173 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9ae28a7c-159b-44bd-927b-6768a787030f' LIMIT 1 Date : 2025-04-09T14:25:08   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T14:25:09 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001143 post PendingInvicesDO 2 KHM-131001174 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001174 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='73cd1045-35b9-47bf-a601-ef2452a0e536' LIMIT 1 Date : 2025-04-09T15:00:35   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T15:00:36 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001144 post PendingInvicesDO 2 KHM-131001175 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001175 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='5f53c38b-58aa-4049-95fe-09a9041312c3' LIMIT 1 Date : 2025-04-09T16:38:44   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T16:38:45 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001145 post PendingInvicesDO 2 KHM-131001176 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001176 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='6904e43b-4d76-419f-8358-831fa34b4bd6' LIMIT 1 Date : 2025-04-09T17:26:51   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-09T17:26:51 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001147 post PendingInvicesDO 2 KHM-131001178 post PendingInvicesDO 2 KHM-131001177 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001146 post PendingInvicesDO 2 KHM-131001178 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001177 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001178 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55519019-895b-4b0b-9438-8090ee450e10' LIMIT 1 Date : 2025-04-09T18:38:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a4e0813-1e07-4751-8267-3a4051c7cef2' LIMIT 1 Date : 2025-04-09T18:38:23  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='55519019-895b-4b0b-9438-8090ee450e10' LIMIT 1 Date : 2025-04-09T18:38:23  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='1a4e0813-1e07-4751-8267-3a4051c7cef2' LIMIT 1 Date : 2025-04-09T18:38:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-09T18:38:24 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001149 post PendingInvicesDO 2 KHM-131001180 post PendingInvicesDO 2 KHM-131001179 post vecPaymentInvoices vecPaymentDetails 2 mode performInsertPayment 10 KHM-134001148 post PendingInvicesDO 2 KHM-131001180 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 performInsertPayment 14 trxHeaderDO.trxType : 4 trxHeaderDO.trxCode : KHM-131001179 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : false trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001180 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7f5fcc9-9d5a-406b-84a1-36649790eee2' LIMIT 1 Date : 2025-04-09T18:41:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df11753a-896c-44ef-b3ec-f9e35dabe994' LIMIT 1 Date : 2025-04-09T18:41:54  arrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='d7f5fcc9-9d5a-406b-84a1-36649790eee2' LIMIT 1 Date : 2025-04-09T18:41:54  SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='df11753a-896c-44ef-b3ec-f9e35dabe994' LIMIT 1 Date : 2025-04-09T18:41:54   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 12 performInsertPayment 6 2025-04-09T18:41:55 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001150 post PendingInvicesDO 2 KHM-131001183 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001183 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='f8837986-e0d2-4dc8-86d5-870918264c02' LIMIT 1 Date : 2025-04-10T13:40:39   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T13:40:40 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001151 post PendingInvicesDO 2 KHM-131001184 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001184 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='b70450da-4743-46be-ae60-370dceb83259' LIMIT 1 Date : 2025-04-10T14:38:12   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T14:38:13 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001152 post PendingInvicesDO 2 KHM-131001185 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001185 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='9fe2e34c-9f10-4297-801b-c39a8945a9c0' LIMIT 1 Date : 2025-04-10T15:42:55   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T15:42:56 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001153 post PendingInvicesDO 2 KHM-131001186 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001186 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='e1b79380-c9ca-4e4c-87a2-d277f8abee47' LIMIT 1 Date : 2025-04-10T16:19:58   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T16:19:58 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001154 post PendingInvicesDO 2 KHM-131001187 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001187 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='ac0e932d-2b20-4ea4-a339-6fbacbf4d406' LIMIT 1 Date : 2025-04-10T17:14:17   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T17:14:17 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001155 post PendingInvicesDO 2 KHM-131001188 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001188 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='318729f8-a3b7-481a-bb5e-80fe91ed8984' LIMIT 1 Date : 2025-04-10T18:35:45   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T18:35:46 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001156 post PendingInvicesDO 2 KHM-131001189 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001189 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='3d796a46-0e7c-4a54-ad90-757df60be9fb' LIMIT 1 Date : 2025-04-10T19:12:41   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T19:12:41 payment end 
 performInsertPayment 1 performInsertPayment 3 mode performInsertPayment 10 KHM-134001157 post PendingInvicesDO 2 KHM-131001190 post vecPaymentInvoices vecPaymentDetails 2 performInsertPayment 14 trxHeaderDO.trxType : 1 trxHeaderDO.trxCode : KHM-131001190 isNewSettlement : true hmPendingInvoice.containsKey(trxHeaderDO.trxCode) : truearrTrxHeaderDOMultiSales.get(0).paymentTypeOrder1 arrTrxHeaderDOMultiSales.get(0).paymentType1 SELECT TH.TrxCode FROM tblTrxHeader TH WHERE AppTrxId='43eb8b84-d517-475c-8af6-92c09c2826ab' LIMIT 1 Date : 2025-04-10T20:42:23   performInsertPayment totalCNVal 0.0 performInsertPayment 4 Payment Type : 1  performInsertPayment 12 performInsertPayment 6 2025-04-10T20:42:24 payment end 
