05-11-2025 09:21:39 ## Exception ## Table 'support.ab_survey_24_nov' doesn't exist ## DataAccess.GetData ## ## GetMisc Select cu.survey_index, (select count(*) from ab_survey_24_nov where enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and ifnull(survey_index, 0) = 4) as enterprise_count from ab_survey_24_nov cu where cu.user_id = '6511ab24-5862-49c9-96af-0813cd2f3003' Inner Exception: NULL Error: Table 'support.ab_survey_24_nov' doesn't exist Source: MySql.Data 05-11-2025 09:25:57 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-10-01 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '30694545-93f0-462b-82f7-7309d3d7e3ba' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 09:27:53 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-10-01 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '30694545-93f0-462b-82f7-7309d3d7e3ba' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 09:28:39 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-10-01 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '18fde49c-29d8-4e6a-883a-ec13f550a2ae' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 09:47:47 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-10-01 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '8fb5df02-6e24-4360-a1c7-c0685acdc4fb' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 09:48:35 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-10-01 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '30694545-93f0-462b-82f7-7309d3d7e3ba' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 09:52:33 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-10-01 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '8fb5df02-6e24-4360-a1c7-c0685acdc4fb' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:16:29 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-10-01 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-10-01 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:33:26 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-01-13 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-01-13 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-01-13 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:33:57 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-01-15 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-01-15 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-01-15 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'f7fe545a-e677-4e86-8b75-0b69f9ea6051' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:34:01 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-01-15 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-01-15 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-01-15 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:34:09 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-01-13 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-01-13 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-01-13 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:34:14 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-01-22 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-01-22 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-01-22 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:34:26 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-01-22 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-01-22 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-01-22 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:35:13 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-02-12 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-02-12 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-02-12 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:35:24 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-02-13 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-02-13 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-02-13 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:37:36 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-02-13 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-02-13 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-02-13 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:38:05 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-03-14 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-03-14 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-03-14 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:38:21 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-04-01 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-04-01 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-04-01 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:38:36 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-04-16 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-04-16 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-04-16 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:39:00 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-04-23 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-04-23 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-04-23 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:39:31 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-05-16 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-05-16 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-05-16 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:39:45 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-05-26 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-05-26 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-05-26 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:40:08 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-05-29 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-05-29 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-05-29 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:40:35 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-06-03 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-06-03 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-06-03 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:40:43 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-06-05 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-06-05 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-06-05 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 10:41:05 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-06-16 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-06-16 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-06-16 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = 'ba9edb8d-cb71-4d34-9e46-cf214beea071' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 11:38:30 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## Rpt_StockValuation Select * from( Select 4060 as ZoomType, group_id, item_id as voucher_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, gst_classification_id, stock_vs_pack, rate_per, rack_box, item_type, item_id, group_name, category_name, unit_name, Sum(closing_stk_qty) as closing_qty, Sum(closing_pack_qty) as closing_pack_qty, Sum(closing_stk_qty * rate_valuation) as amount, (case when Sum(closing_stk_qty) <> 0 then (Sum(closing_stk_qty * rate_valuation) / Sum(closing_stk_qty)) * rate_per else 0 end) as rate from ( Select A.*, ifnull(GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', A.item_id, '', A.branch_id, A.warehouse_id, '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-05 23:59:59', 0, 0, A.closing_stk_qty), 0) as rate_valuation from ( Select mst_item.group_id, mst_item.name as item_name, mst_item.code as item_code, mst_item.sales_description, mst_brand.name as brand_name, mst_item.udf1 as item_master_udf1, mst_item.udf2 as item_master_udf2, mst_item.udf3 as item_master_udf3, mst_item.udf4 as item_master_udf4, mst_item.udf5 as item_master_udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rate_per, mst_item.rack_box, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) as item_type, ST.item_id as item_id, mst_item_group.name as group_name, mst_item_category.name as category_name, mst_item_unit.name as unit_name, mst_location.name as location_name, ST.branch_id, ST.warehouse_id, mst_warehouse.name as warehouse_name, mst_gst_classification.name as hsn_code, sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) as closing_stk_qty, sum(case when ST.ri_tag = 0 then ST.pack_qty else -ST.pack_qty end) as closing_pack_qty from et_stock ST LEFT OUTER JOIN mst_item ON mst_item.id = ST.item_id LEFT OUTER JOIN mst_item_group ON mst_item_group.id = mst_item.group_id LEFT OUTER JOIN mst_item_category ON mst_item_category.id = mst_item.item_category_id left outer join mst_brand on mst_brand.id = mst_item.brand_id LEFT OUTER JOIN mst_item_unit ON mst_item_unit.id = mst_item.stock_unit_id LEFT OUTER JOIN mst_location ON mst_location.id = ST.branch_id LEFT OUTER JOIN mst_warehouse ON mst_warehouse.id = ST.warehouse_id LEFT OUTER JOIN mst_gst_classification ON mst_gst_classification.id = mst_item.gst_classification_id Where ST.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and ST.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and ST.VDate <= '2025-11-05 23:59:59' and ifnull(ST.approval_status, 0) = 1 And ST.branch_ID IN (Select id from mst_location where company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and id not in(select master_id from con_user_permission_data_skip where company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and type = 1 and user_id = '6511ab24-5862-49c9-96af-0813cd2f3003')) And ifnull(ST.with_jobber,0) = 0 Group by mst_item.group_id, mst_item.name, mst_item.code, mst_item.sales_description, mst_brand.name, mst_item.udf1, mst_item.udf2, mst_item.udf3, mst_item.udf4, mst_item.udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rack_box, mst_item.rate_per, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) , ST.item_id, mst_item_group.name, mst_item_category.name, mst_location.name, ST.branch_id, ST.warehouse_id, mst_warehouse.name, mst_item_unit.name, mst_gst_classification.name having sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) <> 0 ) as A ) as B Group by group_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, stock_vs_pack, rack_box, rate_per, item_type, item_id, group_name, category_name, unit_name, hsn_code ) C where 1=1 and closing_qty <> 0 order by item_name Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 11:38:30 ## Exception ## Object reference not set to an instance of an object. ## FABReportService.GetReportData ## ## Object reference not set to an instance of an object. Report Type: Rpt_StockValuation ## ClientType: Desktop 05-11-2025 11:46:17 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 11:47:43 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 11:56:13 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 11:57:31 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 12:10:49 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## Rpt_StockValuation Select * from( Select 4060 as ZoomType, group_id, item_id as voucher_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, gst_classification_id, stock_vs_pack, rate_per, rack_box, item_type, item_id, group_name, category_name, unit_name, Sum(closing_stk_qty) as closing_qty, Sum(closing_pack_qty) as closing_pack_qty, Sum(closing_stk_qty * rate_valuation) as amount, (case when Sum(closing_stk_qty) <> 0 then (Sum(closing_stk_qty * rate_valuation) / Sum(closing_stk_qty)) * rate_per else 0 end) as rate from ( Select A.*, ifnull(GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'f129b67a-d3dd-4929-9f31-6bb868b582ea', A.item_id, '', A.branch_id, A.warehouse_id, '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-05 23:59:59', 0, 0, A.closing_stk_qty), 0) as rate_valuation from ( Select mst_item.group_id, mst_item.name as item_name, mst_item.code as item_code, mst_item.sales_description, mst_brand.name as brand_name, mst_item.udf1 as item_master_udf1, mst_item.udf2 as item_master_udf2, mst_item.udf3 as item_master_udf3, mst_item.udf4 as item_master_udf4, mst_item.udf5 as item_master_udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rate_per, mst_item.rack_box, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) as item_type, ST.item_id as item_id, mst_item_group.name as group_name, mst_item_category.name as category_name, mst_item_unit.name as unit_name, mst_location.name as location_name, ST.branch_id, ST.warehouse_id, mst_warehouse.name as warehouse_name, mst_gst_classification.name as hsn_code, sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) as closing_stk_qty, sum(case when ST.ri_tag = 0 then ST.pack_qty else -ST.pack_qty end) as closing_pack_qty from et_stock ST LEFT OUTER JOIN mst_item ON mst_item.id = ST.item_id LEFT OUTER JOIN mst_item_group ON mst_item_group.id = mst_item.group_id LEFT OUTER JOIN mst_item_category ON mst_item_category.id = mst_item.item_category_id left outer join mst_brand on mst_brand.id = mst_item.brand_id LEFT OUTER JOIN mst_item_unit ON mst_item_unit.id = mst_item.stock_unit_id LEFT OUTER JOIN mst_location ON mst_location.id = ST.branch_id LEFT OUTER JOIN mst_warehouse ON mst_warehouse.id = ST.warehouse_id LEFT OUTER JOIN mst_gst_classification ON mst_gst_classification.id = mst_item.gst_classification_id Where ST.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and ST.company_id = 'f129b67a-d3dd-4929-9f31-6bb868b582ea' and ST.VDate <= '2025-11-05 23:59:59' and ifnull(ST.approval_status, 0) = 1 And ifnull(ST.with_jobber,0) = 0 Group by mst_item.group_id, mst_item.name, mst_item.code, mst_item.sales_description, mst_brand.name, mst_item.udf1, mst_item.udf2, mst_item.udf3, mst_item.udf4, mst_item.udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rack_box, mst_item.rate_per, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) , ST.item_id, mst_item_group.name, mst_item_category.name, mst_location.name, ST.branch_id, ST.warehouse_id, mst_warehouse.name, mst_item_unit.name, mst_gst_classification.name having sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) <> 0 ) as A ) as B Group by group_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, stock_vs_pack, rack_box, rate_per, item_type, item_id, group_name, category_name, unit_name, hsn_code ) C where 1=1 and closing_qty <> 0 order by item_name Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 12:10:49 ## Exception ## Object reference not set to an instance of an object. ## FABReportService.GetReportData ## ## Object reference not set to an instance of an object. Report Type: Rpt_StockValuation ## ClientType: Desktop 05-11-2025 12:13:51 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'f129b67a-d3dd-4929-9f31-6bb868b582ea', I.id, '', '', '00000000-0000-0000-0000-000000000000', '2025-11-01 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'f129b67a-d3dd-4929-9f31-6bb868b582ea', I.id, '', '', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-01 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-11-01 00:00:00' and r.company_id = 'f129b67a-d3dd-4929-9f31-6bb868b582ea' order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('f129b67a-d3dd-4929-9f31-6bb868b582ea', '') and I.id = 'c5556da0-3744-4e26-a12a-bba67f068eaa' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 12:16:20 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## Rpt_StockValuation Select * from( Select 4060 as ZoomType, group_id, item_id as voucher_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, gst_classification_id, stock_vs_pack, rate_per, rack_box, item_type, item_id, group_name, category_name, unit_name, Sum(closing_stk_qty) as closing_qty, Sum(closing_pack_qty) as closing_pack_qty, Sum(closing_stk_qty * rate_valuation) as amount, (case when Sum(closing_stk_qty) <> 0 then (Sum(closing_stk_qty * rate_valuation) / Sum(closing_stk_qty)) * rate_per else 0 end) as rate from ( Select A.*, ifnull(GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'f129b67a-d3dd-4929-9f31-6bb868b582ea', A.item_id, '', A.branch_id, A.warehouse_id, '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-05 23:59:59', 0, 0, A.closing_stk_qty), 0) as rate_valuation from ( Select mst_item.group_id, mst_item.name as item_name, mst_item.code as item_code, mst_item.sales_description, mst_brand.name as brand_name, mst_item.udf1 as item_master_udf1, mst_item.udf2 as item_master_udf2, mst_item.udf3 as item_master_udf3, mst_item.udf4 as item_master_udf4, mst_item.udf5 as item_master_udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rate_per, mst_item.rack_box, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) as item_type, ST.item_id as item_id, mst_item_group.name as group_name, mst_item_category.name as category_name, mst_item_unit.name as unit_name, mst_location.name as location_name, ST.branch_id, ST.warehouse_id, mst_warehouse.name as warehouse_name, mst_gst_classification.name as hsn_code, sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) as closing_stk_qty, sum(case when ST.ri_tag = 0 then ST.pack_qty else -ST.pack_qty end) as closing_pack_qty from et_stock ST LEFT OUTER JOIN mst_item ON mst_item.id = ST.item_id LEFT OUTER JOIN mst_item_group ON mst_item_group.id = mst_item.group_id LEFT OUTER JOIN mst_item_category ON mst_item_category.id = mst_item.item_category_id left outer join mst_brand on mst_brand.id = mst_item.brand_id LEFT OUTER JOIN mst_item_unit ON mst_item_unit.id = mst_item.stock_unit_id LEFT OUTER JOIN mst_location ON mst_location.id = ST.branch_id LEFT OUTER JOIN mst_warehouse ON mst_warehouse.id = ST.warehouse_id LEFT OUTER JOIN mst_gst_classification ON mst_gst_classification.id = mst_item.gst_classification_id Where ST.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and ST.company_id = 'f129b67a-d3dd-4929-9f31-6bb868b582ea' and ST.VDate <= '2025-11-05 23:59:59' and ifnull(ST.approval_status, 0) = 1 And ifnull(ST.with_jobber,0) = 0 Group by mst_item.group_id, mst_item.name, mst_item.code, mst_item.sales_description, mst_brand.name, mst_item.udf1, mst_item.udf2, mst_item.udf3, mst_item.udf4, mst_item.udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rack_box, mst_item.rate_per, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) , ST.item_id, mst_item_group.name, mst_item_category.name, mst_location.name, ST.branch_id, ST.warehouse_id, mst_warehouse.name, mst_item_unit.name, mst_gst_classification.name having sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) <> 0 ) as A ) as B Group by group_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, stock_vs_pack, rack_box, rate_per, item_type, item_id, group_name, category_name, unit_name, hsn_code ) C where 1=1 and closing_qty <> 0 order by item_name Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 12:16:20 ## Exception ## Object reference not set to an instance of an object. ## FABReportService.GetReportData ## ## Object reference not set to an instance of an object. Report Type: Rpt_StockValuation ## ClientType: Desktop 05-11-2025 12:19:23 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'f129b67a-d3dd-4929-9f31-6bb868b582ea', I.id, '', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'f129b67a-d3dd-4929-9f31-6bb868b582ea', I.id, '', '', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'f129b67a-d3dd-4929-9f31-6bb868b582ea' order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('f129b67a-d3dd-4929-9f31-6bb868b582ea', '') and I.id = '943e1f27-6161-4604-a9d2-ed603a1fd13a' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 12:21:29 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## Rpt_StockValuation Select * from( Select 4060 as ZoomType, group_id, item_id as voucher_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, gst_classification_id, stock_vs_pack, rate_per, rack_box, item_type, item_id, group_name, category_name, unit_name, Sum(closing_stk_qty) as closing_qty, Sum(closing_pack_qty) as closing_pack_qty, Sum(closing_stk_qty * rate_valuation) as amount, (case when Sum(closing_stk_qty) <> 0 then (Sum(closing_stk_qty * rate_valuation) / Sum(closing_stk_qty)) * rate_per else 0 end) as rate from ( Select A.*, ifnull(GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'f129b67a-d3dd-4929-9f31-6bb868b582ea', A.item_id, '', A.branch_id, A.warehouse_id, '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-05 23:59:59', 0, 0, A.closing_stk_qty), 0) as rate_valuation from ( Select mst_item.group_id, mst_item.name as item_name, mst_item.code as item_code, mst_item.sales_description, mst_brand.name as brand_name, mst_item.udf1 as item_master_udf1, mst_item.udf2 as item_master_udf2, mst_item.udf3 as item_master_udf3, mst_item.udf4 as item_master_udf4, mst_item.udf5 as item_master_udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rate_per, mst_item.rack_box, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) as item_type, ST.item_id as item_id, mst_item_group.name as group_name, mst_item_category.name as category_name, mst_item_unit.name as unit_name, mst_location.name as location_name, ST.branch_id, ST.warehouse_id, mst_warehouse.name as warehouse_name, mst_gst_classification.name as hsn_code, sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) as closing_stk_qty, sum(case when ST.ri_tag = 0 then ST.pack_qty else -ST.pack_qty end) as closing_pack_qty from et_stock ST LEFT OUTER JOIN mst_item ON mst_item.id = ST.item_id LEFT OUTER JOIN mst_item_group ON mst_item_group.id = mst_item.group_id LEFT OUTER JOIN mst_item_category ON mst_item_category.id = mst_item.item_category_id left outer join mst_brand on mst_brand.id = mst_item.brand_id LEFT OUTER JOIN mst_item_unit ON mst_item_unit.id = mst_item.stock_unit_id LEFT OUTER JOIN mst_location ON mst_location.id = ST.branch_id LEFT OUTER JOIN mst_warehouse ON mst_warehouse.id = ST.warehouse_id LEFT OUTER JOIN mst_gst_classification ON mst_gst_classification.id = mst_item.gst_classification_id Where ST.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and ST.company_id = 'f129b67a-d3dd-4929-9f31-6bb868b582ea' and ST.VDate <= '2025-11-05 23:59:59' and ifnull(ST.approval_status, 0) = 1 And ifnull(ST.with_jobber,0) = 0 Group by mst_item.group_id, mst_item.name, mst_item.code, mst_item.sales_description, mst_brand.name, mst_item.udf1, mst_item.udf2, mst_item.udf3, mst_item.udf4, mst_item.udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rack_box, mst_item.rate_per, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) , ST.item_id, mst_item_group.name, mst_item_category.name, mst_location.name, ST.branch_id, ST.warehouse_id, mst_warehouse.name, mst_item_unit.name, mst_gst_classification.name having sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) <> 0 ) as A ) as B Group by group_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, stock_vs_pack, rack_box, rate_per, item_type, item_id, group_name, category_name, unit_name, hsn_code ) C where 1=1 and closing_qty <> 0 order by item_name Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 12:21:29 ## Exception ## Object reference not set to an instance of an object. ## FABReportService.GetReportData ## ## Object reference not set to an instance of an object. Report Type: Rpt_StockValuation ## ClientType: Desktop 05-11-2025 12:24:25 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## Rpt_StockValuation Select * from( Select 4060 as ZoomType, group_id, item_id as voucher_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, gst_classification_id, stock_vs_pack, rate_per, rack_box, item_type, item_id, group_name, category_name, unit_name, Sum(closing_stk_qty) as closing_qty, Sum(closing_pack_qty) as closing_pack_qty, Sum(closing_stk_qty * rate_valuation) as amount, (case when Sum(closing_stk_qty) <> 0 then (Sum(closing_stk_qty * rate_valuation) / Sum(closing_stk_qty)) * rate_per else 0 end) as rate from ( Select A.*, ifnull(GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', '4c9c962e-9a2e-4e85-a86f-b821bc9368ac', A.item_id, '', A.branch_id, A.warehouse_id, '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-30 23:59:59', 0, 0, A.closing_stk_qty), 0) as rate_valuation from ( Select mst_item.group_id, mst_item.name as item_name, mst_item.code as item_code, mst_item.sales_description, mst_brand.name as brand_name, mst_item.udf1 as item_master_udf1, mst_item.udf2 as item_master_udf2, mst_item.udf3 as item_master_udf3, mst_item.udf4 as item_master_udf4, mst_item.udf5 as item_master_udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rate_per, mst_item.rack_box, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) as item_type, ST.item_id as item_id, mst_item_group.name as group_name, mst_item_category.name as category_name, mst_item_unit.name as unit_name, mst_location.name as location_name, ST.branch_id, ST.warehouse_id, mst_warehouse.name as warehouse_name, mst_gst_classification.name as hsn_code, sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) as closing_stk_qty, sum(case when ST.ri_tag = 0 then ST.pack_qty else -ST.pack_qty end) as closing_pack_qty from et_stock ST LEFT OUTER JOIN mst_item ON mst_item.id = ST.item_id LEFT OUTER JOIN mst_item_group ON mst_item_group.id = mst_item.group_id LEFT OUTER JOIN mst_item_category ON mst_item_category.id = mst_item.item_category_id left outer join mst_brand on mst_brand.id = mst_item.brand_id LEFT OUTER JOIN mst_item_unit ON mst_item_unit.id = mst_item.stock_unit_id LEFT OUTER JOIN mst_location ON mst_location.id = ST.branch_id LEFT OUTER JOIN mst_warehouse ON mst_warehouse.id = ST.warehouse_id LEFT OUTER JOIN mst_gst_classification ON mst_gst_classification.id = mst_item.gst_classification_id Where ST.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and ST.company_id = '4c9c962e-9a2e-4e85-a86f-b821bc9368ac' and ST.VDate <= '2025-11-30 23:59:59' and ifnull(ST.approval_status, 0) = 1 And ifnull(ST.with_jobber,0) = 0 Group by mst_item.group_id, mst_item.name, mst_item.code, mst_item.sales_description, mst_brand.name, mst_item.udf1, mst_item.udf2, mst_item.udf3, mst_item.udf4, mst_item.udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rack_box, mst_item.rate_per, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) , ST.item_id, mst_item_group.name, mst_item_category.name, mst_location.name, ST.branch_id, ST.warehouse_id, mst_warehouse.name, mst_item_unit.name, mst_gst_classification.name having sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) <> 0 ) as A ) as B Group by group_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, stock_vs_pack, rack_box, rate_per, item_type, item_id, group_name, category_name, unit_name, hsn_code ) C where 1=1 and closing_qty <> 0 order by item_name Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 12:24:25 ## Exception ## Object reference not set to an instance of an object. ## FABReportService.GetReportData ## ## Object reference not set to an instance of an object. Report Type: Rpt_StockValuation ## ClientType: Desktop 05-11-2025 12:33:06 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', '4c9c962e-9a2e-4e85-a86f-b821bc9368ac', I.id, '', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', '4c9c962e-9a2e-4e85-a86f-b821bc9368ac', I.id, '', '', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = '4c9c962e-9a2e-4e85-a86f-b821bc9368ac' order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('4c9c962e-9a2e-4e85-a86f-b821bc9368ac', '') and I.id = '93fbd951-18ed-4475-8211-be2e25a60855' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 12:35:44 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## Rpt_StockValuation Select * from( Select 4060 as ZoomType, group_id, item_id as voucher_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, gst_classification_id, stock_vs_pack, rate_per, rack_box, item_type, item_id, group_name, category_name, unit_name, Sum(closing_stk_qty) as closing_qty, Sum(closing_pack_qty) as closing_pack_qty, Sum(closing_stk_qty * rate_valuation) as amount, (case when Sum(closing_stk_qty) <> 0 then (Sum(closing_stk_qty * rate_valuation) / Sum(closing_stk_qty)) * rate_per else 0 end) as rate from ( Select A.*, ifnull(GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', '58cf0800-8106-4f76-8e81-d370feb550be', A.item_id, '', A.branch_id, A.warehouse_id, '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-30 23:59:59', 0, 0, A.closing_stk_qty), 0) as rate_valuation from ( Select mst_item.group_id, mst_item.name as item_name, mst_item.code as item_code, mst_item.sales_description, mst_brand.name as brand_name, mst_item.udf1 as item_master_udf1, mst_item.udf2 as item_master_udf2, mst_item.udf3 as item_master_udf3, mst_item.udf4 as item_master_udf4, mst_item.udf5 as item_master_udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rate_per, mst_item.rack_box, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) as item_type, ST.item_id as item_id, mst_item_group.name as group_name, mst_item_category.name as category_name, mst_item_unit.name as unit_name, mst_location.name as location_name, ST.branch_id, ST.warehouse_id, mst_warehouse.name as warehouse_name, mst_gst_classification.name as hsn_code, sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) as closing_stk_qty, sum(case when ST.ri_tag = 0 then ST.pack_qty else -ST.pack_qty end) as closing_pack_qty from et_stock ST LEFT OUTER JOIN mst_item ON mst_item.id = ST.item_id LEFT OUTER JOIN mst_item_group ON mst_item_group.id = mst_item.group_id LEFT OUTER JOIN mst_item_category ON mst_item_category.id = mst_item.item_category_id left outer join mst_brand on mst_brand.id = mst_item.brand_id LEFT OUTER JOIN mst_item_unit ON mst_item_unit.id = mst_item.stock_unit_id LEFT OUTER JOIN mst_location ON mst_location.id = ST.branch_id LEFT OUTER JOIN mst_warehouse ON mst_warehouse.id = ST.warehouse_id LEFT OUTER JOIN mst_gst_classification ON mst_gst_classification.id = mst_item.gst_classification_id Where ST.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and ST.company_id = '58cf0800-8106-4f76-8e81-d370feb550be' and ST.VDate <= '2025-11-30 23:59:59' and ifnull(ST.approval_status, 0) = 1 And ifnull(ST.with_jobber,0) = 0 Group by mst_item.group_id, mst_item.name, mst_item.code, mst_item.sales_description, mst_brand.name, mst_item.udf1, mst_item.udf2, mst_item.udf3, mst_item.udf4, mst_item.udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rack_box, mst_item.rate_per, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) , ST.item_id, mst_item_group.name, mst_item_category.name, mst_location.name, ST.branch_id, ST.warehouse_id, mst_warehouse.name, mst_item_unit.name, mst_gst_classification.name having sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) <> 0 ) as A ) as B Group by group_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, stock_vs_pack, rack_box, rate_per, item_type, item_id, group_name, category_name, unit_name, hsn_code ) C where 1=1 and closing_qty <> 0 order by item_name Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 12:35:44 ## Exception ## Object reference not set to an instance of an object. ## FABReportService.GetReportData ## ## Object reference not set to an instance of an object. Report Type: Rpt_StockValuation ## ClientType: Desktop 05-11-2025 12:36:59 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', '58cf0800-8106-4f76-8e81-d370feb550be', I.id, '', '', '00000000-0000-0000-0000-000000000000', '2025-11-01 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', '58cf0800-8106-4f76-8e81-d370feb550be', I.id, '', '', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-01 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-11-01 00:00:00' and r.company_id = '58cf0800-8106-4f76-8e81-d370feb550be' order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('58cf0800-8106-4f76-8e81-d370feb550be', '') and I.id = '46514512-6590-4011-93d4-936fb1b23f98' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 12:43:32 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', '58cf0800-8106-4f76-8e81-d370feb550be', I.id, '', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', '58cf0800-8106-4f76-8e81-d370feb550be', I.id, '', '', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = '58cf0800-8106-4f76-8e81-d370feb550be' order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('58cf0800-8106-4f76-8e81-d370feb550be', '') and I.id = '44e17514-a271-414d-8aee-a1fa52a7f255' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 13:43:58 ## Exception ## Object reference not set to an instance of an object. ## FABReportService.GetReportData ## ## Object reference not set to an instance of an object. Report Type: Rpt_StockValuation ## ClientType: Desktop 05-11-2025 13:43:58 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## Rpt_StockValuation Select * from( Select 4060 as ZoomType, group_id, item_id as voucher_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, gst_classification_id, stock_vs_pack, rate_per, rack_box, item_type, item_id, group_name, category_name, unit_name, Sum(closing_stk_qty) as closing_qty, Sum(closing_pack_qty) as closing_pack_qty, Sum(closing_stk_qty * rate_valuation) as amount, (case when Sum(closing_stk_qty) <> 0 then (Sum(closing_stk_qty * rate_valuation) / Sum(closing_stk_qty)) * rate_per else 0 end) as rate from ( Select A.*, ifnull(GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', A.item_id, '', A.branch_id, A.warehouse_id, '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-30 23:59:59', 0, 0, A.closing_stk_qty), 0) as rate_valuation from ( Select mst_item.group_id, mst_item.name as item_name, mst_item.code as item_code, mst_item.sales_description, mst_brand.name as brand_name, mst_item.udf1 as item_master_udf1, mst_item.udf2 as item_master_udf2, mst_item.udf3 as item_master_udf3, mst_item.udf4 as item_master_udf4, mst_item.udf5 as item_master_udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rate_per, mst_item.rack_box, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) as item_type, ST.item_id as item_id, mst_item_group.name as group_name, mst_item_category.name as category_name, mst_item_unit.name as unit_name, mst_location.name as location_name, ST.branch_id, ST.warehouse_id, mst_warehouse.name as warehouse_name, mst_gst_classification.name as hsn_code, sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) as closing_stk_qty, sum(case when ST.ri_tag = 0 then ST.pack_qty else -ST.pack_qty end) as closing_pack_qty from et_stock ST LEFT OUTER JOIN mst_item ON mst_item.id = ST.item_id LEFT OUTER JOIN mst_item_group ON mst_item_group.id = mst_item.group_id LEFT OUTER JOIN mst_item_category ON mst_item_category.id = mst_item.item_category_id left outer join mst_brand on mst_brand.id = mst_item.brand_id LEFT OUTER JOIN mst_item_unit ON mst_item_unit.id = mst_item.stock_unit_id LEFT OUTER JOIN mst_location ON mst_location.id = ST.branch_id LEFT OUTER JOIN mst_warehouse ON mst_warehouse.id = ST.warehouse_id LEFT OUTER JOIN mst_gst_classification ON mst_gst_classification.id = mst_item.gst_classification_id Where ST.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and ST.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and ST.VDate <= '2025-11-30 23:59:59' and ifnull(ST.approval_status, 0) = 1 And ST.branch_ID IN (Select id from mst_location where company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and id not in(select master_id from con_user_permission_data_skip where company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and type = 1 and user_id = '6511ab24-5862-49c9-96af-0813cd2f3003')) And ifnull(ST.with_jobber,0) = 0 Group by mst_item.group_id, mst_item.name, mst_item.code, mst_item.sales_description, mst_brand.name, mst_item.udf1, mst_item.udf2, mst_item.udf3, mst_item.udf4, mst_item.udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rack_box, mst_item.rate_per, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) , ST.item_id, mst_item_group.name, mst_item_category.name, mst_location.name, ST.branch_id, ST.warehouse_id, mst_warehouse.name, mst_item_unit.name, mst_gst_classification.name having sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) <> 0 ) as A ) as B Group by group_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, stock_vs_pack, rack_box, rate_per, item_type, item_id, group_name, category_name, unit_name, hsn_code ) C where 1=1 and closing_qty <> 0 order by item_name Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 13:54:06 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 13:55:22 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 13:55:37 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 13:56:58 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 13:57:24 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 13:58:12 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 13:58:40 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 13:59:55 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 14:00:37 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 14:01:54 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 14:02:11 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 14:03:21 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 14:04:26 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 14:05:53 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 14:06:28 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 14:07:26 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 14:07:53 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 14:08:33 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 14:09:10 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 14:10:16 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 14:10:53 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 14:12:45 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 14:13:12 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 14:14:25 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 14:14:53 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 14:15:59 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 14:17:32 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 14:18:47 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 14:19:18 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-04 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-04 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 14:20:16 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 15:40:05 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-01 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-01 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-11-01 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '18fde49c-29d8-4e6a-883a-ec13f550a2ae' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 15:43:39 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-01 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-01 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-11-01 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '8fb5df02-6e24-4360-a1c7-c0685acdc4fb' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 15:47:21 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 8 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-01 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-01 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 8 = 7 then 2201 else 2202 end) and r.price_category_id = '' and r.effective_from <= '2025-11-01 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '3c753738-5259-454c-a721-9f6115bb016a' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 15:55:24 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## Rpt_StockValuation Select * from( Select 4060 as ZoomType, group_id, item_id as voucher_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, gst_classification_id, stock_vs_pack, rate_per, rack_box, item_type, item_id, group_name, category_name, unit_name, Sum(closing_stk_qty) as closing_qty, Sum(closing_pack_qty) as closing_pack_qty, Sum(closing_stk_qty * rate_valuation) as amount, (case when Sum(closing_stk_qty) <> 0 then (Sum(closing_stk_qty * rate_valuation) / Sum(closing_stk_qty)) * rate_per else 0 end) as rate from ( Select A.*, ifnull(GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', A.item_id, '', A.branch_id, A.warehouse_id, '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-30 23:59:59', 0, 0, A.closing_stk_qty), 0) as rate_valuation from ( Select mst_item.group_id, mst_item.name as item_name, mst_item.code as item_code, mst_item.sales_description, mst_brand.name as brand_name, mst_item.udf1 as item_master_udf1, mst_item.udf2 as item_master_udf2, mst_item.udf3 as item_master_udf3, mst_item.udf4 as item_master_udf4, mst_item.udf5 as item_master_udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rate_per, mst_item.rack_box, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) as item_type, ST.item_id as item_id, mst_item_group.name as group_name, mst_item_category.name as category_name, mst_item_unit.name as unit_name, mst_location.name as location_name, ST.branch_id, ST.warehouse_id, mst_warehouse.name as warehouse_name, mst_gst_classification.name as hsn_code, sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) as closing_stk_qty, sum(case when ST.ri_tag = 0 then ST.pack_qty else -ST.pack_qty end) as closing_pack_qty from et_stock ST LEFT OUTER JOIN mst_item ON mst_item.id = ST.item_id LEFT OUTER JOIN mst_item_group ON mst_item_group.id = mst_item.group_id LEFT OUTER JOIN mst_item_category ON mst_item_category.id = mst_item.item_category_id left outer join mst_brand on mst_brand.id = mst_item.brand_id LEFT OUTER JOIN mst_item_unit ON mst_item_unit.id = mst_item.stock_unit_id LEFT OUTER JOIN mst_location ON mst_location.id = ST.branch_id LEFT OUTER JOIN mst_warehouse ON mst_warehouse.id = ST.warehouse_id LEFT OUTER JOIN mst_gst_classification ON mst_gst_classification.id = mst_item.gst_classification_id Where ST.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and ST.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and ST.VDate <= '2025-11-30 23:59:59' and ifnull(ST.approval_status, 0) = 1 And ST.branch_ID IN (Select id from mst_location where company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and id not in(select master_id from con_user_permission_data_skip where company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and type = 1 and user_id = '6511ab24-5862-49c9-96af-0813cd2f3003')) And ifnull(ST.with_jobber,0) = 0 Group by mst_item.group_id, mst_item.name, mst_item.code, mst_item.sales_description, mst_brand.name, mst_item.udf1, mst_item.udf2, mst_item.udf3, mst_item.udf4, mst_item.udf5, mst_item.barcode, mst_item.sales_rate, mst_item.gst_classification_id, mst_item.stock_vs_pack, mst_item.rack_box, mst_item.rate_per, (Case IFNULL(mst_item.type,0) when 0 then 'FinishProduct' when 1 then 'Consumable' when 2 then 'RawMaterial' when 3 then 'PackingMaterial' when 4 then 'Scrap' when 5 then 'Service' when 6 then 'Asset' when 7 then 'Rental' when 8 then 'SemiFinish' when 9 then 'TradeGoods' when 10 then 'ImportedAsset' when 11 then 'ServiceWithBOQ' when 12 then 'BOMBasedItem' else '' end) , ST.item_id, mst_item_group.name, mst_item_category.name, mst_location.name, ST.branch_id, ST.warehouse_id, mst_warehouse.name, mst_item_unit.name, mst_gst_classification.name having sum(case when ST.ri_tag = 0 then ST.qty else -ST.qty end) <> 0 ) as A ) as B Group by group_id, item_name, item_code, sales_description, brand_name, item_master_udf1, item_master_udf2, item_master_udf3, item_master_udf4, item_master_udf5, barcode, sales_rate, stock_vs_pack, rack_box, rate_per, item_type, item_id, group_name, category_name, unit_name, hsn_code ) C where 1=1 and closing_qty <> 0 order by item_name Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 15:55:24 ## Exception ## Object reference not set to an instance of an object. ## FABReportService.GetReportData ## ## Object reference not set to an instance of an object. Report Type: Rpt_StockValuation ## ClientType: Desktop 05-11-2025 16:15:18 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-05 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 16:15:59 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 16:21:11 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-05 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 16:22:13 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 16:30:23 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-05 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 16:30:27 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-05 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 16:31:11 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-05 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 16:31:14 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 16:32:21 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 16:38:28 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-05 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 16:40:01 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-05 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 16:40:04 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 16:40:52 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server 05-11-2025 16:45:01 ## Exception ## FUNCTION maindb001.GetStockValuationFinal does not exist ## DataAccess.GetData ## ## GetItemInfo Select I.company_id, I.ID, mst_rate.master_id as rate_master_id, (Case when mst_rate.id is null then I.mrp else mst_rate.mrp end) as mrp, (Case when mst_rate.id is null then I.wholesale_rate else mst_rate.wholesale_rate end) as wholesale_rate, (Case when mst_rate.id is null then I.dealer_rate else mst_rate.dealer_rate end) as dealer_rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_rate else I.purchase_rate end) else mst_rate.rate end) as rate, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_1 else I.purchase_misc_1 end) else mst_rate.misc1 end) as misc1, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_2 else I.purchase_misc_2 end) else mst_rate.misc2 end) as misc2, (Case when mst_rate.id is null then(case when 7 = 7 then I.sales_misc_3 else I.purchase_misc_3 end) else mst_rate.misc3 end) as misc3, (Case when mst_rate.id is null then I.min_rate else mst_rate.min_rate end) as min_rate, GetItemBalance('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00') as item_balance, GetStockValuationFinal('6700a7e5-5008-4d8c-9671-26fe90448bce', 'da4ea374-92ca-42d7-81f5-91752c307311', I.id, '', 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc', '', '', 0, '00000000-0000-0000-0000-000000000000', '2025-11-05 00:00:00', 0, 0, 0) as StockValuation From mst_item I LEFT OUTER JOIN mst_rate on mst_rate.id = (select id from mst_rate r where r.item_id = I.id and r.master_type = (case when 7 = 7 then 2201 else 2202 end) and r.price_category_id = '00000000-0000-0000-0000-000000000000' and r.effective_from <= '2025-11-05 00:00:00' and r.company_id = 'da4ea374-92ca-42d7-81f5-91752c307311' and (r.branch_id is null or r.branch_id = 'cbf4b89f-3857-4869-8295-4e0ed5d7b1dc') order by branch_id desc, effective_from desc limit 1) Where I.enterprise_id = '6700a7e5-5008-4d8c-9671-26fe90448bce' and I.company_id IN ('da4ea374-92ca-42d7-81f5-91752c307311', '') and I.id = '4eb3d55c-e4d4-41c1-af36-feaa900d0066' Inner Exception: NULL Error: FUNCTION maindb001.GetStockValuationFinal does not exist Source: MySql.Data ## ClientType: Desktop 05-11-2025 16:46:15 ## Exception ## Unable to connect to the remote server ## FABUtilityService.UploadFileOnFTP ## ## FTP File Load Error **** Unable to connect to the remote server