Change Voucher Mode

Discussion in 'Free Source Codes' started by gtendra, Jan 26, 2024.

    
  1. gtendra

    gtendra Member


    How to change voucher mode using tdl
    Ex. Stock Journal Voucher
    By Default Use for Inter Godown Transfer Without Any Class
    Plz Help
     


  2. ROHIT JAISWAR

    ROHIT JAISWAR Active Member


    Can you Elaborate with Snap?
    What Exactly You Required
     


  3. gtendra

    gtendra Member


    Sir when I open the stock journal voucher then instead of transfer of material mode it should be opened in transfer for inter godown transfer only.
     


  4. ROHIT JAISWAR

    ROHIT JAISWAR Active Member


    Please Upload Some Snap to Understand What Exactly You Required
     


  5. gtendra

    gtendra Member


    by default to required jpg plz check
     

    Attached Files:



  6. sivam

    sivam Active Member


    Code:
    [#Form: Stock Journal Voucher]
    
        Switch        : STKJrnlVoucher    : GTRN StkJrnl  :Yes
     


  7. ROHIT JAISWAR

    ROHIT JAISWAR Active Member


    Try This

    [#Form: Stock Journal Voucher]
    Add : Option : Stock Journal VoucherOpt : @@IsSJVEnabled;; Replace System Formula as Per Activation

    [!Form:Stock Journal VoucherOpt]

    Switch : STKJrnlVoucher : GTRN StkJrnl :Yes
     


  8. ROHIT JAISWAR

    ROHIT JAISWAR Active Member


    You Can Directly use This
     


  9. gtendra

    gtendra Member


    thank you sir
     


  10. gtendra

    gtendra Member


    Dear Sir
    Size wise Qty Maintain

    Plz Visit This Link And How to Create This
     


  11. Vineet Jindal

    Vineet Jindal Member


    This is the Garment module based on customer requirements which is made by the developer. If you are the developer and want to create it then proceed it by yourself..
     


  12. gtendra

    gtendra Member


    Sir i want only size field how to create
    Size field behaviour like batch name field
     
    Last edited: Feb 23, 2024
    Vineet Jindal likes this.


  13. gtendra

    gtendra Member


    Plz help
     


  14. Vineet Jindal

    Vineet Jindal Member


    [#Line:VCHBATCH ColumnOne]
    Add:Field: At Beginning:STKNamedTitle

    [Field:StkNamedTitle]
    Color : Blue
    Background : Yellow
    Width : 19
    Setas : $$LocaleString:"SIZE"
    Style : Normal Bold
    Align : Centre
    Border : Thin Right
    Skip : Yes
    Fixed : Yes

    [#Line: STKVCH Batch2]
    Add:Field: At Beginning:STKNamedDetails

    [Field:StkNamedDetails]
    Storage : Sizes
    Use : Batch Name Field
    Use : NewNumberTemplate
    Style : Small Bold
    Set always : Yes

    [System:UDF]
    Sizes:String:2256

    This is your code that you want Now change it by yourself....If problem arises then email me on tdlexpertsmrtsolutions@gmail.com
     


  15. gtendra

    gtendra Member


    sir table not show how to create collection like batch show stock
     


  16. Vineet Jindal

    Vineet Jindal Member


    You need code to make new column in batch that I have sent you Now for table make collections for that....
     


  17. gtendra

    gtendra Member


    Collection made but not working


    [Collection:List Of Size]
    Title : $$LocaleString:"List of Size"
    SubTitle : $$LocaleString:"Name", $$LocaleString:"Balance"
    Column Align : Left, Right

    Parm Var : pvStockItemName : String : $StockItemName
    Source Collection : Batches VchSrc
    Fetch : Sizes, Parent, ExpiryPeriod, ActualQty, ClosingBalance, GodownName, ClosingAsondate, MfdOn
    Format : $Sizes
    Format : $ClosingAsondate, : "Base"
    Column Align : Left, Right
    Filter : BelongsToSVGodown
    Client Only : Yes
    Keep Source : ....
     


  18. gtendra

    gtendra Member


    plz help sir
     


  19. sivam

    sivam Active Member


    Where you use this collection..?
     


  20. gtendra

    gtendra Member


    select size after batch select in batch allocations
     


  21. sivam

    sivam Active Member


    Code:
    [Collection: MySizeList]
    
        Parm Var    : pvStockItemName    : String : $StockItemName
        Parm Var    : pvRepObjDt        : Date      : $$ReportObject:$Date
    
        Type        : Batch
        Childof        : ##pvStockItemName
        Fetch        : Name, Parent, ExpiryPeriod, ClosingBalance, GodownName, MfdOn, ClosingAsOnDate
        Format : $Sizes
     


  22. ankitinfo

    ankitinfo Member


    enjoy
    [System:UDF]
    strPcs : Number : 101
    strMtr : Number : 102

    [#Line: VCHBATCH ColumnOne]
    Add: Right Fields: Before:VCH QtyTitle:newPcT,newMtrT
    [Field : newPcT]
    Use : Name Field
    Set as: "Pcs"
    Width: 3
    Skip: Yes
    [Field : newMtrT]
    Use : Name Field
    Set as: "Mtr"
    Width: 4
    Skip: Yes
    [#Line: STKVCH Batch2]
    Add: Right Fields: Before: VCHBATCH ActualQty : newPc1,newMtr1

    [Field : newPc1]
    Use : Number Field
    Width: 3
    Storage: strPcs

    [Field : newMtr1]
    Use : Number Field
    Width: 4
    Storage: strMtr
    On: Accept: Yes: Field Accept
    On: Accept: Yes: Call: newSetQty:$strMtr:$strPcs


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


  23. ankitinfo

    ankitinfo Member


    remove space before and after @ before use...as it is showing mad icon
     


  24. Vineet Jindal

    Vineet Jindal Member


    Thanks for your reply but I need the auto batch no for new as well as existing purchase vouchers..
     


  25. sivam

    sivam Active Member


    Use Date and Time as your Batch Number, It is Unique always.

    Note it, For Existing Batch's there is no option to update. Any way you write a function to Update batch number in Entries and Opening Balance Batches.

    Try it or Pay to Developers, They will do it for you.
     


Share This Page