{SOLVED} Unit displays 0 with symbol << How to solve?

Discussion in 'Tally Developer' started by RabZ, Jun 7, 2019.

    
  1. RabZ

    RabZ New Member


    Hi Experts,

    Am an accountant. I just started learning TDL myself for my own use. I need a help solving an issue I faced.


    [Field : BodyDetailUnit]
    Use : Qty Primary Field
    Set As : $BaseUnits
    ;Format : "No Zero"
    Width : 15 mms
    Align : Center
    Style : IATFontCA12

    When i used above code in invoice customization, result was "0 Pcs "
     


  2. Ria

    Ria Member


    Remove the semicolon from the format attribute
     


  3. RabZ

    RabZ New Member


    I tried after removing semicolon. It didn't show anything.

    With semicolon result attached.

    Am i using the correct code? BaseUnits??? Shouldn't it be $RateUnit??
     

    Attached Files:



  4. Ria

    Ria Member


    I don't think "RateUnit" is a valid method. I am a beginner so I may be wrong, first you need to find the correct method name.
     


  5. RabZ

    RabZ New Member


    I S0lved it. I referred to the manual and found this: [Field: Qty Units Field]. :)
    Fingers crossed!
     


Share This Page