Collection of bills both cleared and uncleared bills

Discussion in 'Knowledge Base' started by admin, May 17, 2013.

    
  1. admin

    admin Administrator Staff Member


    Query -
    How do we create a Collection of bills where both cleared and uncleared bills should be gathered?
    Solution -
    Create two collections of Type : Bill and enable the attribute Cleared in one collection and disable the attribute Cleared in another collection. Subsequently, create a Union of both these Collections.
    Example:-
    [Collection: List of Cleared Bills]
    Type : Bill
    Cleared : Yes

    [Collection: List of UnCleared Bills]

    Type : Bill
    Cleared : No

    [Collection: List of Bills]

    Collection : List of Cleared Bills, List of UnCleared Bills
     
    Pritam Krishna likes this.


Share This Page