Double Quantity field

Discussion in 'Free Source Codes' started by gtendra, Feb 27, 2024.

    
  1. gtendra

    gtendra Member


    How to manage stock meter and pcs both
     


  2. udaya

    udaya Active Member


    Hi gtendra, Thir is Already "Multy Unit Management in tally. Study..... ". If Any Further Post Your Query here the people all good Hearted Peoples are to support Make your own....
     


  3. gtendra

    gtendra Member


    I don't want conversion in the second quantity I want, I have to enter it manually.
     


  4. sivam

    sivam Active Member


    Create a Item with alternative units

    While Entry, Type Quantity like 1m=10p
     


  5. gtendra

    gtendra Member


    NO SIR
    in my criteria conversion not apply ( like 1m=10p)


    upload_2024-2-28_13-52-8.png
     


  6. vishnu joshi

    vishnu joshi Member


    Create a Item with alternative units
    and create meter wise item

    item 2000 mtr as 1 pcs
    item 1000 mtr as 1 pcs
    item 850 mtr as 1 pcs
     


  7. gtendra

    gtendra Member


    SIR THIS IS NOT POSSBILE BECAUSE I HAVE MORE THAN 1000 PCS AND METER VARRIABLE
     


  8. ankitinfo

    ankitinfo Member


    pls check this shall fullfil your requirement



    [system : udf]
    newPc : Number : 1001
    newMtr : Number : 1002


    [#Line: VCHBATCH ColumnOne]
    Add: Right Fields: Before:VCH QtyTitle:fldPc,fldMtr
    [Field : fldPc]
    Use : Name Field
    Set as: "Pcs"
    Width: 4
    Skip: Yes
    [Field : fldMtr]
    Use : Name Field
    Set as: "Mtr"
    Width: 5
    Skip: Yes
    [#Line: STKVCH Batch2]
    Add: Right Fields: Before: VCHBATCH ActualQty : fldPc1,fldMtr1

    [Field : fldPc1]
    Use : Number Field
    Width: 4
    Storage: strPc
    [Field : fldMtr1]
    Use : Number Field
    Width: 5
    Storage: strMtr
    On: Accept: Yes: Field Accept
    On: Accept: Yes: Call: funcSetQty:$strMtr:$strPc


    [Function : funcSetQty]
    Parameter: pB: String
    Parameter: pA: String
    Local Formula: formQ: ##pB+" "+$BaseUnits:StockItem:$StockItemName+"="+##pA+" "+$AdditionalUnits:StockItem:$StockItemName
    1: Set Value: BilledQty : $$AsQty:mad:formQ
     
    Last edited: Feb 28, 2024


  9. gtendra

    gtendra Member


    NOT WORKING SIR






    upload_2024-2-29_10-43-31.png
     


  10. gtendra

    gtendra Member


    HOW TO STORE ALT QUANTITY SEPRATE AND FETCH IN STOCK CLOSING WITH INWARD OUTWARD AND OPENING
     


  11. gtendra

    gtendra Member


    [SYSTEM:UDF]
    MyPcs : Quantity : 1208
    MyOpening Pcs : Quantity : 1216

    ;---------------------------------------------------------------------------------------------------------------
    For Entry Level(SALE,PURCHASE,STOCK JOURNAL) In Batch allocation
    [Field: Pcs Data]
    Use : Qty Field
    Width : 7
    Align : Center
    Storage : MyPcs
    Format : "No Symbol,No Zero,Decimal:0"
    ;------------------------------------------------------------------------------------------------------------------------------
    For Entry Level InOpening Batch allocation
    [Field:Opening Pcs Data]
    Use : Qty Field
    Width : 7
    Align : Center
    Storage : MyOpening Pcs
    Format : "No Symbol,No Zero,Decimal:0"
    ;------------------------------------------------------------------------------------------------------------------------------

    I have made an entry, data is being saved in it, but how to create batch wise opening inward outward report of my UDF?

    please help
     


  12. sivam

    sivam Active Member


    O
    Otherwise, you can't maintain stock.
     


  13. AMIT JALAN

    AMIT JALAN Member


    What I understood is you want to see your stock opening, Purchase, Sale and Closing in Pcs but For billing purpose, the rate are per Meter.

    You can achieve this using in-built feature whereas Set Mtr as Unit of measurement & Pcs as Alternate units.

    At the time of transaction entry enter both unit as

    2 pcs = 850 Mtr

    This will capture both the unit into single field and all the report can be generated accordingly.

    Use F12 to configure report display using alternate units.

    Hope, It may help you.
     


  14. gtendra

    gtendra Member



    I don't want conversion in the second quantity I want, I have to enter it manually

    Beacuse

    100 mtr 2 pcs
    50 mtr 1 pcs
    50 mtr 5 pcs like that
     


  15. sivam

    sivam Active Member


    How you need to show stock in stock summary for this case..?
     


  16. gtendra

    gtendra Member


    Batch wise stock mtr and pcs
     
    Last edited: Mar 4, 2024


  17. AMIT JALAN

    AMIT JALAN Member


    You can enter both the unit in same field. Even if there is no fixed ratio between both the units. You'll get all the default report for both the units.
     


  18. AMIT JALAN

    AMIT JALAN Member


    Furthermore, if you want to enter both the qty in seperate field, Insert two qty field before Default qty field and set formula in default qty field to capture both the units.

    This will completely solve your requirement.
     


  19. gtendra

    gtendra Member


    NOT WORKING SIR

    [system : udf]
    newPc : Number : 1001
    newMtr : Number : 1002


    [#Line: VCHBATCH ColumnOne]
    Add: Right Fields: Before:VCH QtyTitle:fldPc,fldMtr
    [Field : fldPc]
    Use : Name Field
    Set as: "Pcs"
    Width: 4
    Skip: Yes
    [Field : fldMtr]
    Use : Name Field
    Set as: "Mtr"
    Width: 5
    Skip: Yes
    [#Line: STKVCH Batch2]
    Add: Right Fields: Before: VCHBATCH ActualQty : fldPc1,fldMtr1

    [Field : fldPc1]
    Use : Number Field
    Width: 4
    Storage: strPc
    [Field : fldMtr1]
    Use : Number Field
    Width: 5
    Storage: strMtr
    On: Accept: Yes: Field Accept
    On: Accept: Yes: Call: funcSetQty:$strMtr:$strPc


    [Function : funcSetQty]
    Parameter: pB: String
    Parameter: pA: String
    Local Formula: formQ: ##pB+" "+$BaseUnits:StockItem:$StockItemName+"="+##pA+" "+$AdditionalUnits:StockItem:$StockItemName
    1: Set Value: BilledQty : $$AsQty:mad:formQ
     


  20. AMIT JALAN

    AMIT JALAN Member


    Let me try.... I'll check & revert. I was using the same in past.
     


  21. gtendra

    gtendra Member


    OK SIR THANK YOU
     


  22. AMIT JALAN

    AMIT JALAN Member


    This has been achieved without using any TDL. Please suggest what change you need in this.
     

    Attached Files:



  23. gtendra

    gtendra Member


    how to use it sir
     


  24. AMIT JALAN

    AMIT JALAN Member


    This is exactly same as said by knsivam89

    At the time of entry you have to enter both unit in same field using "=" as seperator

     


  25. gtendra

    gtendra Member


    upload_2024-3-5_15-2-5.png

    upload_2024-3-5_15-2-29.png



    result not as same per your screen shot sir
     


Share This Page