Alternate Unit

Discussion in 'Tally Developer' started by rajiv jaiswal, Aug 22, 2022.

    
  1. rajiv jaiswal

    rajiv jaiswal Member


    I want Alternate unit Field to be -- if Alternate unit is empty

    [Field: Alt Qty Code]
    Use : QtySecondaryField
    Set as : $BilledQty
    Style :Thi9
    ;Width : 08
    Align: Centre
     

    Attached Files:



  2. Anshul Garg

    Anshul Garg Member


    set as:mad:qty
    qty:If $$isempty:$BilledQty then "--" else $ billedqty
     
    rajiv jaiswal likes this.


  3. rajiv jaiswal

    rajiv jaiswal Member


    not working
    Code:
    [Field:GWLW HSN Code]
    Use : QtySecondaryField
    Set as :@qty    ;;@@Qty
    qty:If $$isempty:$BilledQty then "--" else $Billedqty
    Style :Thi9
    
    Align: Centre
    
     


  4. Arun Prasath

    Arun Prasath Member


    Code:
    [Field: Alt Qty Code]
    Use : QtySecondaryField
    Set as : $BilledQty
    Style :Thi9
    ;Width : 08
    Align: Centre
    Inactive: Not $$IsEmpty:$AdditionalUnits:StockItem:$StockitemName
    Try this
     


  5. Anshul Garg

    Anshul Garg Member



    maybe bcoz
    [Field:Alt Qty Code]
    is secondary qty typre field and u are trying to set "--" string in this
    instead of setting "--" try setting 0 . it should work .

    then try to set this field as string type and set values accordingly
     
    rajiv jaiswal likes this.


  6. rajiv jaiswal

    rajiv jaiswal Member


    OK I will try
     


  7. rajiv jaiswal

    rajiv jaiswal Member


    NO IMPROVEMENT
     


Share This Page