code for bill due date ...

Discussion in 'Tally Developer' started by ajayks, Apr 6, 2013.

    
  1. ajayks

    ajayks New Member


    Dear Members
    I am trying to import voucher from excel in which bill allocation is needed. The total amount of voucher is divided into various bills. I am failing to insert due date of payment of bills
    Ex.
    Bill Date : Vr Date
    Bull Name : Ledger Name
    Bill due date : say 15 days from bill date

    Please guide me what is the attribute
    i tried
    Set Value : bill credit period: $$Date:...
    Set Value : Bill due date of payment :
    thanks in advance
     


  2. Nirav Merchant

    Nirav Merchant Active Member


    Hi Pass a sample entry in Tally with all the details u need - Export it from day book In XML or SDF format and check the file u will get the field
     


  3. ajayks

    ajayks New Member


    SIR,
    I DID AS SUGGESTED BY YOU BUT ERROR MSG DISPLAYED

    [FUNCTION : SET BILL ALLOCATIONS]
    30:INSERTCOLLECTION OBJECT: BILLALLOCATIONS
    40:SET VALUE:BILLTYPE:"New Ref"
    50:SET VALUE:NAME : $$STRING:"ABCD"
    60:SET VALUE:BILLCREDITPERIOD :$$STRING:"15-Apr-2013"
    70:SET VALUE:AMOUNT:$$AsAmount:$AmountCr1*-1
    80:SET TARGET: ..
    On execution following Error Msg displayed
    "Function: SET BILL ALLOCATIONS: LABE:60:ACTION EXECUTION FAILED
     



  4. Hi,

    Try this...

    60:SET VALUE:BILLCREDITPERIOD :$$Date:"15-Apr-2013"
     


  5. ajayks

    ajayks New Member


    sir i tried this also but the same error shown
     


  6. ajayks

    ajayks New Member


    Sir,

    PLEASE HELP !!!!!
    Following are the codes. On execution error displayed is same

    [FUNCTION : SET BILL ALLOCATIONS]
    001:INSERTCOLLECTION OBJECT: BILLALLOCATIONS
    002:SET VALUE:NAME : $$STRING: "ABCD"
    003:SET VALUE:BILLCREDITPERIOD:$$DATE:"15-Apr-2013"
    004:SET VALUE:BILLTYPE:"New Ref"
    005:SET VALUE:AMOUNT:$$AsAmount:$DFAmountcr1*-1
    006:SET TARGET: ..
    TDLFUNC LOG FILE SHOWS THE FOLLOWING ERROR ............
    FUNCTION: 'SET BILL ALLOCATIONS' LABEL: 003 : Action execution failed!
    FUNCTION: 'Import Of DF Voucher' LABEL: 080 : Action execution failed!
    FUNCTION: 'Import Of DF Voucher' LABEL: : Action execution failed!
    FUNCTION: 'DF IMPORT' LABEL: 0001 : Action execution failed!
     


  7. ajayks

    ajayks New Member


    NEERAV SIR,
    I AM FACING THE SAME PROBLEM. I TRIED ALL SUGGESTIONS BUT DID NOT SUCCEEDED.PLS HELP!!
     


Share This Page