How to remove qty decimal places in foreign PO entry

Discussion in 'Free Source Codes' started by ANAND J, Mar 28, 2019.

    
?

How to remove qty decimal places in foreign PO entry

  1. 2

    0 vote(s)
    0.0%
  2. 2

    0 vote(s)
    0.0%
Multiple votes are allowed.
  1. ANAND J

    ANAND J Member


    Hai Admin....
    This is my 1st query in our forum. I have learned lots of program lines and shortcuts. Thanks a lot every one....

    i need one clarification in tally Foreign Purchase Order Printing Customization . Please let me know how to remove qty decimal places?.please check my line and tell me the correction.

    [Field: GI Qty]
    Use : Qty Primary Field
    Set as : $BilledQty
    Border : Thin Left
    Format : "Nosymbol,NoZero"
    Align : Right
    Screenshot.png
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Your arrow is pointing to rate, whereas you are attempting to re-code the QTY field ?????

    Put... Format : "No Zero" in your rate field.
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Qty decimals cannot be removed....as it is dependent on what you specified in the UoM Master.....

    However, you can use name field and then apply formatting.
    Furthermore, if any calculations is depended on this field than it will not calculate as it is a STRING now.....
    Moreover, you can still calculate by converting it back to number.... by using $$Number function.
     


  4. ANAND J

    ANAND J Member


    Thanks for your immediate reply admin..........

    Ok admin,
    Please clarify this...
    Question # 1
    when i using qty field ;Format: "Nosymbol,NoZero" . its coming qty & uom. In my case "nos" i am not using decimal places.but tally is taking (100.
    00nos).
    & mtr decimal is 3 but it coming 24.00 mtr only.please check the screen shot

    Question # 2
    Incase i am using qty Field this line Format: "Nosymbol,NoZero" . Its removing my nos units (100) .
    But Mtr Units it is taking 24.000

    How its possible...


    (Please find my screen shot)
     

    Attached Files:



  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Dunno...cannot comment without looking at how your system has been set or the code.

    You can try this..............
    Format : "NoComma, NoZero, NoSymbol"
     


Share This Page