field value is not updating in report

Discussion in 'Tally Developer' started by Anshul Garg, Aug 13, 2022.

    
  1. Anshul Garg

    Anshul Garg Member


    i am trying to add policy number in the report but policy number is not getting saved please help

    [#Menu:GatewayofTally]
    Add:Key Item :After:mad:@locDayBook : Insurance Master : E : Alter : Insurance Master

    [Report:Insurance Master]
    Title : $$LocaleString:"Insurance Master"
    Form:Insurance Master

    [Form:Insurance Master]
    Use:Dsp Template
    Part : InsuracePart
    Width:100% page
    Height:100% Page

    [Part:InsuracePart]
    Line:Insurance
    Repeat:Insurance:InsuranceLedgers
    [Line:Insurance]
    Field:SrNo ,Policy No, Name

    [Field:SrNo]
    Set as:$$Line
    Skip:Yes
    [Field:policy No]
    Use:name field
    Set as:$Policy
    ;Cell Write:$$Value
    Skip:No
    Width:50
    Background:red
    Storage:$Policy


    [Field:name]
    Set as:$Name
    Skip:Yes


    [Collection : InsuranceLedgers]
    Type:Ledgers
    Child Of:"Insurance Company"
    Belongs To:Yes

    [System:UDF]
    Policy:String:41071
     


  2. NAGARAJKMAR SUBRAMANIAN

    NAGARAJKMAR SUBRAMANIAN Active Member


    when ever you want to add an UDF , you should specify which object it should store, without object reference in Report it will not be saved

    Ex.

    [Report : My Report]
    Object : Company
     


  3. Anshul Garg

    Anshul Garg Member


    used this at report level
    Object:ledger

    but it is giving no valid names error in tally report accept

    i am able to modify udf of ledgers by using follwing

    Modify Object:(ledger,"National Insurance").openingbalance:1000

    but not able insert new udfs using this method like policy no

    how to define new udfs of ledger object at report level
     


Share This Page