Predefined list In Sales Voucher

Discussion in 'Tally Developer' started by laxman, Mar 28, 2013.

    
  1. laxman

    laxman Member


    Dear all Members

    In only sales voucher reference field is Predefined list save please help.
     


  2. mpal2311

    mpal2311 Active Member


    please clarify what exactly you want.
     


  3. mpal2311

    mpal2311 Active Member


    Is this a single screen.
     


  4. laxman

    laxman Member



  5. mpal2311

    mpal2311 Active Member


    please attach the full screen
     


  6. Nirav Merchant

    Nirav Merchant Active Member


    in vch ref field

    add condition in table line

    table : table name : @@issales

    try this
     


  7. Nirav Merchant

    Nirav Merchant Active Member


    in vch ref field

    add condition in table line

    table : table name : @@issales

    try this
     


  8. laxman

    laxman Member


    Thank you Mr.Mirav marchant predifine ref field in fully working...thanks again....
     


  9. mpal2311

    mpal2311 Active Member


    can you share the working codes.
     


  10. laxman

    laxman Member


    [#Field: vch ref]
    Table : MOPCollection, Not Applicable : @@issales
    Use : Name Field
    Set always : Yes
    Width: 15
    ShowTable: Always
    [System: UDF]
    MyDBMOPDest: Aggregate: 2
    MOPDestName: String: 1102
    [#Part: CMP AccFeat Left]
    Add: Line: CMP EnableMOPDestTable
    [Line: CMP EnableMOPDestTable]
    Field: Medium Prompt, CMP EnableMOPDestTable
    Local: Field: Medium Prompt: Info: "Enable Mode Of Payment ? "
    Space Top: 1
    [Field: CMP EnableMOPDestTable]
    Use: Logical Field
    Storage: EnableMOPDest
    Set as: If $$IsEmpty:$$Value then "No" else $$Value
    Sub Form: CMP MOPDestReport: $$Value = "Yes"
    [System: UDF]
    EnableMOPDest: Logical: 1104
    [Report: CMP MOPDestReport]
    Form: CMP MOPDestForm
    [Form: CMP MOPDestForm]
    Part: CMP MOPDest PartTitle, CMP MOPDest PartDetails
    Background: White, Petal Pink
    [Part: CMP MOPDest PartTitle]
    Line: CMP MOPDest LineTitle
    [Line: CMP MOPDest LineTitle]
    Field: Long Prompt
    Local: Field: Long Prompt: Style: Small Bold
    Local: Field: Long Prompt: Info: "Mode Of Payment"
    [Part: CMP MOPDest PartDetails]
    Line: CMP MOPDest LineDetails
    Repeat: CMP MOPDest LineDetails: MyDBMOPDest
    BreakOn: $$IsEmpty:$MOPDestName
    Height: 10
    Scroll: Vertical
    CommonBorder: Yes
    [Line: CMP MOPDest LineDetails]
    Field: CMP MOPDest NameField
    [Field: CMP MOPDest NameField]
    Use: Short Name Field
    Storage: MOPDestName
    Border: Thin Left
    [Collection: MOPCollection]
    Type: MyDBMOPDest: Company
    Childof: ##SVCurrentCompany
    Format: $MOPDestName,15
    Title: Mode Of Payment
     
    Ras Raj likes this.


  11. mpal2311

    mpal2311 Active Member


    Thanks.
     



  12. i have customized voucher udf field scode but i want to pop up menu sundry creditors while come to this field entry

    see attached screenshot.
     


  13. mpal2311

    mpal2311 Active Member


    Attachment ?
     



  14.  

    Attached Files:




  15. see i am not professional programmer but i have created this field by taking help or your different different post.
    My requiredment is i need to generate auto vender code and this will come at the time of sales entry.

    my requirement for item purchase with which supplier for warranty replacement
     


Share This Page