Collections -reg

Discussion in 'Tally Developer' started by Murali.R, Apr 19, 2019.

    
  1. Murali.R

    Murali.R Member


    all experts
    please find the collection and then i want one line in the report

    upload_2019-4-19_9-33-18.png

    I want one line in the report

    thanks in advance
    [Collection : PRScrColl]
    Type : Ledger: Bills
    Cleared : Yes
    By : mrLedgername : $ledgername
    ;Belongs To: Yes

    [Collection : PRScrCollRpt]
    Type : Ledger: Vouchers
    Filter : MriRecVchFilt
    By : mrLedgername : $ledgername
    ;Belongs To: Yes
    [System: Formula]
    MriRecVchFilt :$$IsReceipt:$VoucherTypeName

    [Collection : PRCollection]
    Source Collection :pRScrColl,PRScrCollRpt
    Fetch : *, PartyLed, Parent, LedgerName,BillDate,mritrFrmDt,mritrtooDt,mritrtrkno,BankName,InstrumentNumber,InstrumentDate
    Compute :Mribkname : $LedgerEntries[2].BankAllocations.Bankname
    Compute :Mricheqno : $LedgerEntries[2].BankAllocations.INSTRUMENTNUMBER
    Compute :MricheqDt : $LedgerEntries[2].BankAllocations.INSTRUMENTDate
     


  2. Jay kumar tailor

    Jay kumar tailor Well-Known Member


    Common border : yes
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Collections has nothing to do with the lines.........

    From screenshot I assume you have Left fields and Right fields...........

    Left field last column is Party Name....

    So in partyname field......... add below 2 lines.
    Width : 25
    FullWidth : Yes
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Am much confused with your code, and am afraid I cannot spare much time on this am busy with other projects. You have field name called TruckNo and it collects "cheque no".

    Am giving a sample for you to follow. Follow the same pattern for the balance fields.

    Code:
    [Collection    : PRScrColl] ;PRCollection];
            Type    : Ledger: Bills
            Cleared    : Yes
            By      : mrname : $name
            Belongs To: Yes
       
    [Collection    : PRScrCollRpt] ;PRCollection];
            Type    : Ledger: Vouchers
            Filter    : MriRecVchFilt
            By      : mrname : $name
            Compute :Mribkname   : $LedgerEntries[2].BankAllocations.Bankname
            Compute :Mricheqno   : $LedgerEntries[2].BankAllocations.INSTRUMENTNUMBER
            Compute :MricheqDt   : $LedgerEntries[2].BankAllocations.INSTRUMENTDate
            Compute: RcptAmt     : $$CollectionField:$Amount:1:PRScrColl
    
    [System: Formula]
        MriRecVchFilt    :$$IsReceipt:$VoucherTypeName
       
    [Collection    : PRCollection]
            Source Collection    : PRScrCollRpt
            Fetch    : *, PartyLed, Parent, LedgerName,BillDate,mritrFrmDt,mritrtooDt,mritrtrkno,BankName,InstrumentNumber,InstrumentDate
    
    In above, check how "RcptAmt" has been computed......so compute the rest of the fields.
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    In future, if you want aid/help/solutions, ensure the TDL is full and proper. We do not have time to create Menu items or try to understand that the Field Name "TRUCKNo" is really for ChequeNo.

    It is time wasted for us to try and comprehend the field names, the structure etc...........
     


Share This Page