Change Narration of Multiple Vouchers at one Go

Discussion in 'Free Source Codes' started by Chirag Shah, Oct 21, 2018.

    
  1. Chirag Shah

    Chirag Shah New Member


    This file changes Narration of Multiple Voucher Types and Multiple vouchers at one Go.
     

    Attached Files:



  2. Devendra_Rawat

    Devendra_Rawat Well-Known Member


    But the question is how will you get the MasterId in excel, before call this function.
     
    sattam likes this.


  3. jaykay

    jaykay New Member


    Now I've one tdl 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.

    Here the Coding:-
    ;********************Change Narration**************************;
    [#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
    [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 + N
    Title : $$LocaleString:"Change Narration"
    Action List : Accept Parent Name,Save Parent
    Mode : Display
    [Button : Accept Parent Name]
    Key : Alt + N
    Action : Alter : Accept Parent Name
    Mode : Display
    [Key : Save Parent]
    Key : Alt + N
    Action : Modify Object : Narration : ##SVParentName
    Mode : Display
    [Report : Accept Parent Name] ;;Auto Report
    Auto : Yes
    Title : $$LocaleString:"Multi Line Change Narration"
    Form : Accept Parent Name
    [Form : Accept Parent Name]
    width : 30% Screen
    Height : 20% Screen
    Parts : Accept Parent Name
    Bottom Part:smsMark122
    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 : "Change Narration As :"
    Local : Field : Name Field : Lines : 2
    Local : Field : Name Field : Max : 600
    Local : Field : Name Field : SetAs : Ch. No. :
    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
    [Part:smsMark122]
    Line:smsMarkLn122

    [Line:smsMarkLn122]
    Field:smsMarkFld122

    [Field:smsMarkFld122]
    Use:Name Field
    Set as:"Jay Kay"
    Full Width:Yes
    Align:Center
    Color:"Blue"
    Style:sms008
    Border:Thin Bottom
    Read Only:Yes
    Skip Forward:Yes

    [Style:sms008]
    Font:"Times New Roman"
    Height:12
     


Share This Page