Feature #222
openDSR Summary
70%
Files
Subtasks
Related issues
Updated by Anil KV over 1 year ago
Solutions
GUI Change - Exclude Items (The changed all sale and refund data included report) Against Sold(Main) Against Sale Against Refund(Main) Against Refund Document Reversal(Main) Document Reversal Inter Branch Sale(Main) Inter Branch Sale Inter Branch Refund(Main) Inter Branch Refund 1) Sales/Refund SQL SELECT doc.pk_documents_id, mofsm.sin_mod_of_sale_type, spd.pk_supp_doc_no_id, spd.fk_service_id, spd.dat_issue, spd.dat_sale, spd.sin_alpo, spd.arb_fk_region_ids, spdf.dbl_published_fare, spdf.dbl_fare, spdf.dbl_fare_paid_agency_cc, spdf.dbl_fare_paid_cust_cc, spdf.dbl_fare_paid_pax_cc, spdf.dbl_fare_shared_supplier, spdf.dbl_fare_shared_account, spdf.dbl_queue_tax, spdf.dbl_queue_tax_actual_fare, spdf.dbl_tax, spdf.dbl_tax_paid_agency_cc, spdf.dbl_tax_paid_cust_cc, spdf.dbl_tax_paid_pax_cc, spdf.dbl_tax_shared_supplier, spdf.dbl_tax_shared_account, spdf.dbl_commission, spdf.dbl_commission_agency_cc, spdf.dbl_commission_cust_cc, spdf.dbl_commission_pax_cc, spdf.dbl_commission_shared_supplier, spdf.dbl_commission_shared_account, spdf.dbl_expected_commission, spdf.dbl_expected_commission_agency_cc, spdf.dbl_expected_commission_cust_cc, spdf.dbl_expected_commission_pax_cc, spdf.dbl_expected_commission_shared_supplier, spdf.dbl_expected_commission_shared_account, spdf.dbl_paid_commission_tax, spdf.dbl_tour_commission, spdf.dbl_expected_tour_comm, spdf.dbl_plb_commission, spdf.dbl_expected_plb_comm, spdf.dbl_sup_fee, spdf.dbl_sup_fee_paid_agency_cc, spdf.dbl_sup_fee_paid_cust_cc, spdf.dbl_sup_fee_paid_pax_cc, spdf.dbl_sup_fee_shared_supplier, spdf.dbl_sup_fee_shared_account, spdf.dbl_sup_cc_charge, spdf.dbl_sup_cc_charge_paid_agency_cc, spdf.dbl_sup_cc_charge_paid_cust_cc, spdf.dbl_sup_cc_charge_paid_pax_cc, spdf.dbl_sup_cc_charge_shared_supplier, spdf.dbl_sup_cc_charge_shared_account, spdf.dbl_sup_insurance_charge, spdf.dbl_sup_insurance_charge_paid_agency_cc, spdf.dbl_sup_insurance_charge_paid_cust_cc, spdf.dbl_sup_insurance_charge_paid_pax_cc, spdf.dbl_sup_insurance_charge_shared_supplier, spdf.dbl_sup_insurance_charge_shared_account, spdf.dbl_adm_expect, spdf.dbl_acm_expect, spdf.dbl_adm, spdf.dbl_acm, spdf.dbl_sup_rfd_charge, spdf.dbl_sup_rfd_charge_paid_agency_cc, spdf.dbl_sup_rfd_charge_paid_cust_cc, spdf.dbl_sup_rfd_charge_paid_pax_cc, spdf.dbl_sup_rfd_charge_shared_supplier, spdf.dbl_sup_rfd_charge_shared_account, spdf.dbl_sup_tax,dbl_sup_tax_paid_agency_cc, spdf.dbl_sup_tax_paid_cust_cc, spdf.dbl_sup_tax_paid_pax_cc, spdf.dbl_sup_tax_shared_supplier, spdf.dbl_sup_tax_shared_account, spdf.dbl_supplier_amount, spdf.dbl_supplier_paid_agency_cc, spdf.dbl_supplier_paid_cust_cc, spdf.dbl_supplier_paid_pax_cc, spdf.dbl_supplier_payable_shared, spdf.dbl_expense_tax, spdf.dbl_service_fee, spdf.dbl_management_fee, spdf.dbl_payback, spdf.dbl_agent_commission, spdf.dbl_discount, spdf.dbl_tour_discount, spdf.dbl_plb_discount, spdf.dbl_cust_cc_charge, spdf.dbl_cust_insurance_charge, spdf.dbl_agency_rfd_charge, spdf.dbl_cust_tax, spdf.dbl_rounding_amount, spdf.dbl_customer_price, spdf.dbl_customer_paid_cust_cc, spdf.dbl_customer_paid_pax_cc, spdf.dbl_actual_cost, spdf.dbl_normal_profit, spdf.dbl_alpo_profit, spdf.dbl_alpo_additional_profit, spdf.dbl_actual_profit, spdf.dbl_doc_cc_charge, spdf.dbl_doc_discount, spdf.dbl_doc_extra_collection FROM sale.tbl_mod_of_sale mofsm LEFT JOIN sale.tbl_sale_master sm ON mofsm.fk_sale_master_id = sm.pk_sale_master_id LEFT JOIN document.tbl_documents doc ON sm.fk_documents_id = doc.pk_documents_id LEFT JOIN sale.tbl_mod_of_sale_supp_doc mofsd ON mofsm.pk_mod_of_sale_id = mofsd.fk_mod_of_sale_id LEFT JOIN service.tbl_supp_doc_no spd ON mofsd.fk_supp_doc_no_id = spd.pk_supp_doc_no_id LEFT JOIN service.tbl_supp_doc_fare spdf ON mofsd.fk_base_fare_id = spdf.pk_supp_doc_fare_id WHERE doc.int_sys_action_id != -1 ORDER BY spd.dat_sale UNION ALL *REFUND... *..... *.... * WHERE sin_sys_refund_side_status = 4 and/or 5 -- 4 = Void(From Refund GUI) -- 5 = Refund - Base1 Currency LEFT JOIN service.tbl_supp_doc_fare spdf ON mofsd.fk_base_fare_id = spdf.pk_supp_doc_fare_id - Other Currency Case LEFT JOIN service.tbl_supp_doc_fare spdf ON mofsd.fk_cus_ledg_fare_id = spdf.pk_supp_doc_fare_id - Ticket/Voucher Count distinct pk_supp_doc_no_id count - Document Count distinct pk_documents_id - Amount dbl_customer_price 2) Components List - based on - 1) Sales/Refund SQL - 0 Aount Components not show 3) Sales Flow Tab Items Price Supplier Credit (-) Supplier Paid (Customer Card - UCCF) (-) Supplier Paid(Pax Card - UCCF) (-) Supplier Paid(Agency Card - UCCF) (-) Payback Amount (-) Customer Card (-) Tax on Commission(-) Input Tax (+) Output Tax (-) Supplier Sharing Difference(-) Normal Profit Agent Commission (-) Expected Commission (+) Actual Profit -admin setting base actions:- *If AGENT_COMMISSION_AMOUNT_POSTING_METHOD_IN_SALE_AND_REFUND != No Posting then Subtract Agt Commsn from Normal Profit *if EXPECTED_COMMISSION_POSTING_METHOD != No Posting then Add Agent Commsn to Normal Profit 4) Posting SELECT vhr_code, MIN(vhr_name) AS vhr_name, MIN(vhr_display_name) AS vhr_display_name, SUM(dbl_sale_debit) AS dbl_sale_debit, SUM(dbl_sale_credit) AS dbl_sale_credit, MIN(dbl_refund_debit) AS dbl_refund_debit, MIN(dbl_refund_credit) AS dbl_refund_credit FROM (SELECT cofa.vhr_code, cofa.vhr_name, cofa.vhr_display_name, tr.dbl_ledg_cur_debit AS dbl_sale_debit, tr.dbl_ledg_cur_credit AS dbl_sale_credit, 0.00 AS dbl_refund_debit, 0.00 AS dbl_refund_credit FROM transaction.tbl_transaction tr LEFT JOIN accounts.tbl_chart_of_ac cofa ON tr.fk_main_ledger_id = cofa.pk_chart_of_ac_id WHERE tr.vhr_sys_module_name = 'SALE' AND tr.fk_supp_doc_no_id = ANY('{1,2,3}'::BIGINT[]) UNION ALL SELECT cofa.vhr_code, cofa.vhr_name, cofa.vhr_display_name, 0.00 AS dbl_sale_debit, 0.00 AS dbl_sale_credit, tr.dbl_ledg_cur_debit AS dbl_refund_debit, tr.dbl_ledg_cur_credit AS dbl_refund_credit FROM transaction.tbl_transaction tr LEFT JOIN accounts.tbl_chart_of_ac cofa ON tr.fk_main_ledger_id = cofa.pk_chart_of_ac_id WHERE tr.vhr_sys_module_name = 'REFUND' AND tr.fk_supp_doc_no_id = ANY('{1,2,3}'::BIGINT[])) AS TMP GROUP BY vhr_code --AND fk_supp_doc_no_id = ANY('{1,2,3}'::BIGINT[]) -> - 1) Sales/Refund SQL items --Currency based field changed 5) alpo tab case - Count - sin_alpo_adjustment - Alpo profit = dbl_alpo_profit + dbl_alpo_additional_profit - Amount = dbl_customer_price - Profit = dbl_normal_profit
Updated by Anil KV over 1 year ago
- Status changed from New to Open
- Assignee changed from travvise Admin to Shanto Shaji
- % Done changed from 0 to 10
Updated by Shanto Shaji over 1 year ago
- Status changed from Open to Coding Started
- % Done changed from 10 to 40
Updated by Junaid M over 1 year ago
- Assignee changed from Shanto Shaji to Baseem Shan
Updated by Junaid M over 1 year ago
- Assignee changed from Baseem Shan to Athul P
Updated by Athul P about 1 year ago
- Status changed from Coding Started to Coding Done
- % Done changed from 40 to 60
Updated by unnikannan S about 1 year ago
- Status changed from Coding Done to Reopen Bugs
- % Done changed from 60 to 50
- Tested By set to unnikannan S
ISSUE FOUNDED
1.MISSING POSTING OF REFUND
2.HIDE EDIT PEN
3.CLEAR DATA WHILE CHOOSING RESET BUTTON
Updated by Athul P about 1 year ago
- Status changed from Reopen Bugs to Reopen Bugs Coding Done
- % Done changed from 50 to 60
Updated by Junaid M about 1 year ago
GUI CHANGES
------------
Set Default currency as Base1
Component tab-> Correct order, Add publish fare, normal profit, actual profit
Posting Tab:- Add Coa like categorygrouping
Sales flow:- Bold Normal profit, Actual profit
Updated by Junaid M about 1 year ago
- Status changed from Reopen Bugs Coding Done to Reopen Bugs
- % Done changed from 60 to 50
Updated by Athul P about 1 year ago
- Status changed from Reopen Bugs to Reopen Bugs Coding Done
- % Done changed from 50 to 60
Updated by unnikannan S about 1 year ago
- Status changed from Reopen Bugs Coding Done to Reopen Bugs
- % Done changed from 60 to 50
ISSUE FOUNDED
1.CONSIDER-DEAL COMMISSION,PLB COMMISSION,DEAL DISCOUNT,INSURANCE CHARGE FARE COMPONENTS IN COMPONENTS LIST IF ANY AMOUNT IS ADDED AND SAVED ON THESE FIELDS
(COMPONENTS ADDED THROUGH ADMIN SETTINGS)
Updated by Athul P about 1 year ago
- Status changed from Reopen Bugs to Reopen Bugs Coding Done
- % Done changed from 50 to 60
Updated by unnikannan S about 1 year ago
- Status changed from Reopen Bugs Coding Done to Reopen Bugs
- % Done changed from 60 to 50
ISSUE FOUNDED
1.RE-ARRANGE THE FARE COMPONENTS LIST ON ORDER AS PER SHOWING IN VOUCHERS
Updated by Athul P about 1 year ago
- Status changed from Reopen Bugs to Reopen Bugs Coding Done
- % Done changed from 50 to 60
Updated by unnikannan S about 1 year ago
- Status changed from Reopen Bugs Coding Done to Reopen Bugs
- % Done changed from 60 to 50
ISSUE FOUNDED
1.ERROR WHILE SEARCH WITH INDIVIDUAL CURRENCY (42P01: missing FROM-clause entry for table "spdf")
Updated by Athul P about 1 year ago
- Status changed from Reopen Bugs to Reopen Bugs Coding Done
- % Done changed from 50 to 60
Updated by unnikannan S about 1 year ago
- Status changed from Reopen Bugs Coding Done to Reopen Bugs
- % Done changed from 60 to 50
ISSUE FOUNDED
1.FALSE AMOUNT IN SALES FLOW OF PAYBACK FARE COMPONENT
2.FALSE DOCUMENT COUNT IN REGION WISE TAB
Updated by Athul P about 1 year ago
- Status changed from Reopen Bugs to Reopen Bugs Coding Done
- % Done changed from 50 to 60
Updated by Arathy PS 4 months ago
- Status changed from Reopen Bugs Testing Done to Reopen Bugs
- % Done changed from 90 to 50
ISSUE FOUND
--------------------------------------------
1. Reduce the column width of sale, refund and net in components tab.
2. In mode of payment tab reduce the column width of doc count and item count
3. Reduce the column width of doc count, item count in service, region wise, sales flow, ALPO.
4. Correct the order of the data appearing in the components tab.
Updated by Arathy PS 2 months ago
- Status changed from New Changes Coding Done to Reopen Bugs
- % Done changed from 70 to 50
ISSUE FOUND
--------------------------------------------
(DONE)1. No data showing while we search using the Fop in customer field and the customer in the drop down of sub customer field.
(DONE)2. Change customer to customer/FOP --give a blue star with title: sales actual customer/FOP..
(DONE)3. In the drop down of sub customer add sub ledger and linked customer.
Updated by Arathy PS 2 months ago
- File clipboard-202501161309-ajfpc.png clipboard-202501161309-ajfpc.png added
- Status changed from New Changes Coding Done to Reopen Bugs
- % Done changed from 70 to 50
ISSUE FOUND
-----------------------------------------
(DONE)1. All the fare components should be showing in the component tab.
The above pic is of a sale with service fee, discount etc.. also no cost or price.
Updated by Theja Ponon 22 days ago
- Status changed from Reopen Bugs Coding Done to Reopen Bugs
- % Done changed from 70 to 50
Issue Found
-------------
(DONE)1)Not showing data when credit is ticked in sale mode
(DONE)2)Change refunding staff to cancel staff
Updated by Arathy PS 13 days ago
- File clipboard-202503051149-keg2v.png clipboard-202503051149-keg2v.png added
- Status changed from Reopen Bugs Coding Done to Reopen Bugs
- % Done changed from 70 to 50
ISSUE FOUND
-------------------------
(FIXED)1. No: of item count is wrong (for a single item sale which has AR sharing done.) -- In service and mode of payment tab