Subversion Repositories SmartDukaan

Rev

Rev 13276 | Rev 13687 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13276 Rev 13584
Line 11... Line 11...
11
    to_t_order, to_t_lineitem, to_t_payment_settlement, to_t_verification_agent, \
11
    to_t_order, to_t_lineitem, to_t_payment_settlement, to_t_verification_agent, \
12
    to_t_attribute, to_t_rechargeTransaction, to_t_frc, to_t_hotspot, \
12
    to_t_attribute, to_t_rechargeTransaction, to_t_frc, to_t_hotspot, \
13
    to_t_sourcedetail, to_t_amazonorder, to_t_storeOrderDetail, \
13
    to_t_sourcedetail, to_t_amazonorder, to_t_storeOrderDetail, \
14
    to_t_storeOrderCollection, to_t_hotspotServiceMatrix, to_t_ebayOrder, \
14
    to_t_storeOrderCollection, to_t_hotspotServiceMatrix, to_t_ebayOrder, \
15
    to_t_amazonFbaSalesSnapshot, to_t_snapdealOrder, to_t_flipkartOrder,  \
15
    to_t_amazonFbaSalesSnapshot, to_t_snapdealOrder, to_t_flipkartOrder,  \
16
    to_t_amazonFbaOrderReturn, to_t_flipkartAdvantageOrder
16
    to_t_amazonFbaOrderReturn, to_t_flipkartAdvantageOrder,\
-
 
17
    to_t_flipkartFaSalesSnapshot
17
from shop2020.model.v1.order.impl.DataAccessors import create_transaction, \
18
from shop2020.model.v1.order.impl.DataAccessors import create_transaction, \
18
    get_transactions_for_customer, get_transaction_status, get_line_items_for_order, \
19
    get_transactions_for_customer, get_transaction_status, get_line_items_for_order, \
19
    get_transaction, get_transactions_for_shopping_cart_id, \
20
    get_transaction, get_transactions_for_shopping_cart_id, \
20
    change_transaction_status, get_orders_for_customer, get_orders_for_transaction, \
21
    change_transaction_status, get_orders_for_customer, get_orders_for_transaction, \
21
    get_order, get_returnable_orders_for_customer, \
22
    get_order, get_returnable_orders_for_customer, \
Line 102... Line 103...
102
    get_total_sale_returns_fba_skus_curent_time,get_amazon_fba_sales_latest_snapshot_for_item_location_wise, \
103
    get_total_sale_returns_fba_skus_curent_time,get_amazon_fba_sales_latest_snapshot_for_item_location_wise, \
103
    get_verification_pending_orders_fk, add_invoice_details_to_orders, get_fa_order_by_fk_order_id, \
104
    get_verification_pending_orders_fk, add_invoice_details_to_orders, get_fa_order_by_fk_order_id, \
104
    get_all_fa_orders_list, add_update_fa_orders_bulk, flipkart_fa_order_exists, get_recharge_order_status, \
105
    get_all_fa_orders_list, add_update_fa_orders_bulk, flipkart_fa_order_exists, get_recharge_order_status, \
105
    get_recharge_transaction_status, accept_package_orders, get_group_orders_by_logistics_txn_id, \
106
    get_recharge_transaction_status, accept_package_orders, get_group_orders_by_logistics_txn_id, \
106
    add_billing_details_for_groupped_orders, get_invoice_format_logistics_txn_id
107
    add_billing_details_for_groupped_orders, get_invoice_format_logistics_txn_id
-
 
108
    
107
from shop2020.model.v1.order.impl.model.DTHRechargeOrder import DTHRechargeOrder
109
from shop2020.model.v1.order.impl.model.DTHRechargeOrder import DTHRechargeOrder
108
from shop2020.model.v1.order.impl.model.DigitalTransaction import \
110
from shop2020.model.v1.order.impl.model.DigitalTransaction import \
109
    DigitalTransaction
111
    DigitalTransaction
110
from shop2020.model.v1.order.impl.model.MobileRechargeOrder import \
112
from shop2020.model.v1.order.impl.model.MobileRechargeOrder import \
111
    MobileRechargeOrder
113
    MobileRechargeOrder
Line 2562... Line 2564...
2562
    def getInvoiceFormatLogisticsTxnId(self, transactionId, shipementSeq):
2564
    def getInvoiceFormatLogisticsTxnId(self, transactionId, shipementSeq):
2563
        try:
2565
        try:
2564
            return get_invoice_format_logistics_txn_id(transactionId, shipementSeq)
2566
            return get_invoice_format_logistics_txn_id(transactionId, shipementSeq)
2565
        finally:
2567
        finally:
2566
            self.closeSession()
2568
            self.closeSession()
-
 
2569
            
2567
    def closeSession(self, ):
2570
    def closeSession(self, ):
2568
        close_session()
2571
        close_session()
2569
 
2572
 
2570
    def isAlive(self, ):
2573
    def isAlive(self, ):
2571
        """
2574
        """