Format

Discussion in 'Tally Developer' started by Alisher, Dec 8, 2015.

    
  1. Alisher

    Alisher New Member


    Dear Experts,
    I need all Formats which like "No Comma, Decimals: 2" . I create my simple tdl code(used default tdl):
    [Part: RatePart]
    Lines : STKITEM StdPrice1
    Repeat : STKITEM StdPrice1 : Standard Price List
    Break On: $$IsEmpty:$Rate


    [Line: STKITEM StdPrice1]

    Field : STKITEM StdPrice1;

    [Field: STKITEM StdPrice1]

    Use : Rate Field1
    Storage : Rate
    Format : "No Comma, Decimals:0"
    Style : RateStyle
    Set as: " "

    [Field: Rate Field1]

    Width : 22
    Max : @@MaxNumberWidth
    Align : Center
    Type : Rate:Forced

    But result is not I wanted. Result is like this: Exp: " 1021020/PSC " . I wanted to get standart Rate without Units. EXP: "1021020". Only Rate. I need help. Thanks
     


  2. admin

    admin Administrator Staff Member


    You can use Rate Price Field instead of Rate Field...
     


  3. anbhuselvan

    anbhuselvan Member


    Hi Friends,

    i have create one new stock item report. the report i want only "Rate" only not require "Rate/Units".
    Please help me on this report correction. i have enclosed my TDL code in below:

    [Field : Price1]
    Use : Name Field
    Width : 12
    Set as : $StandardPrice
    Border : Thick Right
    Style : Tiny1
     


  4. Alisher92

    Alisher92 New Member


    You have to use Rate Price Field instead of Name Field
     


  5. anbhuselvan

    anbhuselvan Member


    Thank you very much sir, now im able to get Standard Price only....
     


  6. anbhuselvan

    anbhuselvan Member


    Hello Sir,

    Actually im new for TLD, i want to get the 'closing balance' of stock without 'Unit'.
    i have tried below mentioned code. but i did not remove the Units.

    Kindly help me on this. i have enclosed code:

    [Field : StockQty]
    ;Use : Name Field

    use:Qty Field
    Width : 8
    Set as : $ClosingBalance
    Style : Tiny1

    Thanks anbhu:
     


  7. Alisher92

    Alisher92 New Member


    Try this:
    [Field : StockQty]
    Use : Number Field
    Set as : $ClosingBalance
    Format : "No Zero"
     


  8. anbhuselvan

    anbhuselvan Member


    hi Sir,
    thanks for your code. now im able to get StockQty without units.


    Thanks,

    anbhu
     


Share This Page