Problem in BANK ALLOCATION

Discussion in 'Tally Developer' started by Johar, Nov 21, 2018.

  1. Johar

    Johar Member


    Sir,

    why is it giving error that collection bank allocation is not define can you please help me to sort error

    thanks




    2540 : IF:$$IsLedofgrp:$LedgerName:$$GroupBankOD OR $$IsLedofgrp:$LedgerName:$$GroupBank
    2550 : INSERT COLLECTION OBJECT : BankAllocations
    2560 : SET TARGET: BankAllocations[0]
    2570 : SET VALUE : Date : $Date
    2580 : SET VALUE : InstrumentDate : $InstrumentDate
    2590 : SET VALUE : InstrumentNumber : $InstrumentNumber
    2600 : SET VALUE : PaymentFavouring : $TPaymentFavouring
    2610 : SET VALUE : PaymentMode : $PaymentMode
    2620 : SET VALUE : Name : $$MakeUniqueID
    2630 : SET VALUE : TransactionType : $$LocaleString:$TransactionType
    2640 : SET VALUE : UniqueReferenceNumber : $$MakeTallyUniqueID
    2650 : SET VALUE : ChequePrinted : 0
    2660 : SET VALUE : ChequeCrossComment : $ChequeCrossComment
    2670 : SET VALUE : BankName : $BankName
    2680 : SET VALUE : BankBranchName : $BankBranchName
    2690 : SET VALUE : Amount : $Amount
    2691 : SET TARGET : ..
    2692 : End IF
     


  2. Lynch

    Lynch Member


    grrr... this error drives me crazy as well.......
     


  3. knsivam89

    knsivam89 Active Member



    You should be write this Insert Collection Object Under Ledger Entries Collection
     


  4. ankur daga

    ankur daga New Member


    Even if we write this under ledger entries then also its not storing the values
     



  5. is this error solved???
    i am incurring similar error, please help me with this

    my error is :
    FUNCTION: 'CphSale BulkAutoEntry' LABEL: 320 : Proper Pay Link Name
    not given for
    'Bank Account'!
     
    Last edited: May 18, 2021


  6. Bipin Damania

    Bipin Damania Active Member


    Try this

    270 : Insert Collection Object : BankAllocations
    271 : Set Target : BankAllocations[0]
    272 : Set Value : Date : @@VKPDate
    273 : Set Value : Instrumentdate : @@VKPDate
    274 : Set Value : Name : $$String:##VKPchqno
    275 : Set Value : TransactionType : $$LocaleString:"Cheque"
    276 : Set Value : PaymentFavouring : ##VKPDebitName
    277 : Set Value : ChequeCrossComment : "A/c Payee"
    278 : Set Value : InstrumentNumber : $$String:##VKPchqno
    280 : Set Value : Payment Mode : 'TRANSACTED'
    281 : Set Value : BankPartyName : ##VKPDebitName
    282 : Set Value : Amount : ##VKPAmt
    ; 283 : Set Value : ChequeRange : $$String:$VKPChqRangeFrom + "-" + $$String:$VKPChqRangeTo
    284 : Set Target : ..
     


Share This Page