Modify Voucher Narration and Voucher type at a glance

Discussion in 'Free Source Codes' started by sattam, Mar 7, 2016.

    
  1. sattam

    sattam Active Member


    ;; Sri Ganeshji : Sri Balaji : Sri Pitreshwarji : Sri Durgaji : Sri Venkateshwara

    [#Form : NRM Ledger Outstandings]
    Add : Button : Modify Parent,Modify Voucher

    [#Form : DayBook]
    Add : Button : Modify Parent,Modify Voucher
    [#Form: Ledger Vouchers]
    Add : Button : Modify Parent,Modify Voucher

    [#Report : DayBook]
    Variable: SV Parent Name
    [#Report : Ledger Vouchers]
    Variable: SV Parent Name
    [#Report : DayBook]
    Variable: SV Voucher
    [#Report : Ledger Vouchers]
    Variable: SV Voucher
    [Button: Modify Voucher]

    Key : F9
    Title : $$LocaleString:"Change Voucher"
    Action List : Accept VoucherType Name, Save Voucher
    Mode : Display
    Scope : Selected

    [Button:Accept Voucher Type Name]

    Key : F9
    Action : Alter : Accept Voucher Type Name

    [Button: Save Voucher]

    Key : F9
    Action : Modify Object :VoucherType Name: ##SVVoucher
    Mode : Display
    Scope :Selected

    [Report: Modify Remote Object]

    Title : "Modifying Remote Object"
    Form : Modify Remote Object
    Variable: SV Voucher
    Local : Collection : Voucher Type : Fetch : VoucherType Name, Voucher

    [Form: Modify Remote Object]

    Part : Modify Remote Object
    Buttons : Modify Voucher
    Height : 100 % Screen
    Width : 100 % Screen

    [Part: Modify Remote Object]

    Line : MRO Title, MRO Details
    Repeat : MRO Details : Voucher Type
    Scroll : Vertical

    [Line: MRO Title]

    Use : MRO Details
    Local : Field : Name Field : Set as : "Name"
    Local : Field : Simple Field : Set aS : "Parent"
    Border : Column Titles

    [Line: MRO Details]

    Field : Name Field, Simple Field
    Local : Field : Name Field : Set as : $VoucherType Name
    Local : Field : Simple Field : Set as : $Voucher

    [Report: Accept Voucher Type Name] ;;Auto Report

    Auto : Yes
    Title : $$LocaleString:"Select Parent"
    Form : Accept Voucher Type Name

    [Form: Accept Voucher Type Name]

    Background : @@SV_REPSTAT
    Parts : Accept Voucher Type Name
    Space Bottom : 1
    Full Width : No
    Full Height : No
    Horizontal Align: Centre
    Vertical Align : Centre

    Space Top : 1

    [Part: Accept Voucher Type Name]

    Lines : Accept Voucher Type Name

    [Line: Accept Voucher Type Name]

    Fields : Simple Prompt
    Right Fields: Name Field

    Local : Field : Simple Prompt : Set as : "Parent :"
    Local : Field : Name Field : Variable : SVVoucher
    Local : Field : Name Field : Modifies : SVVoucher
    Local : Field : Name Field : Table : Voucher Type
    Local : Field : Name Field : Show Table: Always
    Space Top : 1



    [Button : Modify Parent]
    Key : Alt+F4
    Title : $$LocaleString:"Change Narration"
    Action List : Accept Parent Name,Save Parent
    Mode : Display
    Scope : Selected

    [Button : Accept Parent Name]
    Key : Alt+F4
    Action : Alter : Accept Parent Name
    Mode : Display

    [Key : Save Parent]
    Key : Alt+F4
    Action : Modify Object : Narration : ##SVParentName
    Mode : Display
    Scope : Selected




    [Report : Accept Parent Name] ;;Auto Report
    Auto : Yes
    Title : $$LocaleString:"Narration"
    Form : Accept Parent Name

    [Form : Accept Parent Name]

    Background : @@SV_REPSTAT
    Parts : Accept Parent Name
    Space Bottom : 1
    Full Width : No
    Full Height : No
    Horizontal Align: Centre
    Vertical Align : Centre
    Option : Small Size Form
    Space Top : 1

    [Part : Accept Parent Name]
    Line : Accept Parent Name

    [Line : Accept Parent Name]

    Field : Simple Prompt
    Right Field : Name Field

    Local : Field : Simple Prompt : Set as : "Narration :"
    Local : Field : Name Field : Lines : 2
    Local : Field : Name Field : Max : 600
    Local : Field : Name Field : SetAs : $VoucherNumber
    Local : Field : Name Field : Variable : SVParentName
    Local : Field : Name Field : Modifies : SVParentName
    Local : Field : Name Field : Show Table: Always
    Space Top : 1


    [Variable : SV Parent Name]
    Type : String
    [Variable: SVVoucher]

    Type : String
     


  2. sayed

    sayed Member


    good sir but plss can u help me i hope to change account name (bank or cash ledger ) in receipt voucher
     


  3. Moinuddin

    Moinuddin New Member


    Dear Sir,

    I'm getting error in the line no 30
     



  4. Good TDL Thanks.
     


  5. mpal2311

    mpal2311 Active Member


    Great.
     


  6. Moinuddin

    Moinuddin New Member




    The error says Duplicate Description Name
     

    Attached Files:



  7. sattam

    sattam Active Member


    Try this.Rename Button:Save Voucher to Button:Save Vouchr @Moinuddin
     


  8. Moinuddin

    Moinuddin New Member



  9. mailmefren

    mailmefren New Member


    Why i got this error? "No lines found in given scope !"
     
    bharat777 likes this.


  10. rmraja

    rmraja Active Member


    Nice Sir
     


  11. jaykay

    jaykay New Member


    Change Narration Your Tdl is very Fine Sir. When We are in Day Book I want to have existing narration in the blank field When I want to change the narration. Now it displays blank field. But I need that already typed narration in the field.

    pls correct it sir Very Urgent
     


  12. mukesh1984

    mukesh1984 New Member


    SIR LIST OF ALL SALES VOUCHERS NOT WORK
    PLEASE HELP ME
     



  13. I also got this message " No Lines found in given scope "
     


  14. sattam

    sattam Active Member


    1st select the line then try
     



  15. Thank you very much Sattam Sir, now working. Please Sir reply my last conversation
     


Share This Page