Subversion Repositories SmartDukaan

Rev

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

Rev 4018 Rev 4065
Line 621... Line 621...
621
    """
621
    """
622
    pass
622
    pass
623
 
623
 
624
  def getTransactionsRequiringExtraProcessing(self, category):
624
  def getTransactionsRequiringExtraProcessing(self, category):
625
    """
625
    """
626
    Returns the list of transactions that require some extra processing and
626
    Returns the list of transaction ids that require some extra processing and
627
    which belong to a particular category. This is currently used by CRM
627
    which belong to a particular category. This is currently used by CRM
628
    application.
628
    application. If no such transaction ids are present, it returns an empty list.
629
 
629
 
630
    Parameters:
630
    Parameters:
631
     - category
631
     - category
632
    """
632
    """
633
    pass
633
    pass
634
 
634
 
635
  def markTransactionAsProcessed(self, transactionId, category):
635
  def markTransactionAsProcessed(self, transactionId, category):
636
    """
636
    """
637
    Marks a particular transaction as processed for a particular cateogory.
637
    Marks a particular transaction as processed for a particular cateogory.
638
    It essentially deletes the transaction if it is processed for a particular
638
    It essentially deletes the transaction id record for a particular
-
 
639
    processing type category (if present) from DB.
639
    category. This is currently used by CRM application.
640
    This is currently used by CRM application.
640
 
641
 
641
    Parameters:
642
    Parameters:
642
     - transactionId
643
     - transactionId
643
     - category
644
     - category
644
    """
645
    """
Line 2661... Line 2662...
2661
      raise result.ex
2662
      raise result.ex
2662
    raise TApplicationException(TApplicationException.MISSING_RESULT, "reconcileCodCollection failed: unknown result");
2663
    raise TApplicationException(TApplicationException.MISSING_RESULT, "reconcileCodCollection failed: unknown result");
2663
 
2664
 
2664
  def getTransactionsRequiringExtraProcessing(self, category):
2665
  def getTransactionsRequiringExtraProcessing(self, category):
2665
    """
2666
    """
2666
    Returns the list of transactions that require some extra processing and
2667
    Returns the list of transaction ids that require some extra processing and
2667
    which belong to a particular category. This is currently used by CRM
2668
    which belong to a particular category. This is currently used by CRM
2668
    application.
2669
    application. If no such transaction ids are present, it returns an empty list.
2669
 
2670
 
2670
    Parameters:
2671
    Parameters:
2671
     - category
2672
     - category
2672
    """
2673
    """
2673
    self.send_getTransactionsRequiringExtraProcessing(category)
2674
    self.send_getTransactionsRequiringExtraProcessing(category)
Line 2696... Line 2697...
2696
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTransactionsRequiringExtraProcessing failed: unknown result");
2697
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTransactionsRequiringExtraProcessing failed: unknown result");
2697
 
2698
 
2698
  def markTransactionAsProcessed(self, transactionId, category):
2699
  def markTransactionAsProcessed(self, transactionId, category):
2699
    """
2700
    """
2700
    Marks a particular transaction as processed for a particular cateogory.
2701
    Marks a particular transaction as processed for a particular cateogory.
2701
    It essentially deletes the transaction if it is processed for a particular
2702
    It essentially deletes the transaction id record for a particular
-
 
2703
    processing type category (if present) from DB.
2702
    category. This is currently used by CRM application.
2704
    This is currently used by CRM application.
2703
 
2705
 
2704
    Parameters:
2706
    Parameters:
2705
     - transactionId
2707
     - transactionId
2706
     - category
2708
     - category
2707
    """
2709
    """