Standatd Narration Error in Prime

Discussion in 'Free Source Codes' started by Jeevaraajan, Jul 18, 2021.

    
  1. Jeevaraajan

    Jeevaraajan New Member


    could not find the defalult tdl definition of menu : Accounts info

    This error is coming Please help me to solve this








    Code:
    [#Part : VCH Narration]
    
        Option    : MS VCHNarrHistory : @@IsPayment or @@IsReceipt Or @@IsPurchase or @@IsSales
    
    [!Part : MS VCHNarrHistory]
    
        Add    : Line : AtEnd : MS VCHNarrHistory
    
        [Line    : MS VCHNarrHistory]
            Field    : Medium Prompt,MS VCHNarrHistory
            Local    : Field : Medium Prompt : Info  : If $$InCreateMode Then "Narration History :" Else ""
            Local    : Field : Medium Prompt : Width : 15% Page
    
        [Field    : MS VCHNarrHistory]
            Use        : Name Field
            Set as        : $$Value
            Storage        : MSVCHNarrHistory
            Style        : Normal
            Width        : 50
            Invisible      : Not($$InCreateMode)
            Skip           : Not($$InCreateMode)
            Table        : NarrHistoryColl,endoflist
            ShowTable    : Always
            Key           : Narration
    
    ;---------------------------------
    
    [#Part : VCH Narration]
    
        Option    : MS VCHNarrTemp : @@IsPayment or @@IsReceipt Or @@IsPurchase or @@IsSales
    
    [!Part : MS VCHNarrTemp]
    
        Add    : Line : AtEnd : MS VCHNarrTemp
    
        [Line    : MS VCHNarrTemp]
            Field    : Medium Prompt,MS VCHNarrTemp
            Local    : Field : Medium Prompt : Info  : If $$InCreateMode Then "Master Narrations :" Else ""
            Local    : Field : Medium Prompt : Width : 15% Page
    
        [Field    : MS VCHNarrTemp]
            Use        : Name Field
            Set as        : $$Value
            Storage        : MSVCHNarrTemp
            Style        : Normal
            Width        : 50
            Invisible      : Not($$InCreateMode)
            Skip           : Not($$InCreateMode)     
            Table        : MyNarrationCollection,endoflist
            ShowTable    : Always
            Key           : Narration
    
    ;---------------------------------
    
    [#Part: VCH Narration]
    
        Option    : MS VCHNarrMonth : @@IsPayment or @@IsReceipt Or @@IsPurchase or @@IsSales
    
    [!Part    : MS VCHNarrMonth]
    
        Add    : Line : AtEnd : MS VCHNarrMonth
    
        [Line    : MS VCHNarrMonth]
            Field    : Medium Prompt,MS VCHNarrMonth
            Local    : Field : Medium Prompt :Info  : If $$InCreateMode Then "Add Month/Period/Vch.No :" Else ""
            Local    : Field : Medium Prompt :Width : 15% Page
    
        [Field    : MS VCHNarrMonth]
            Use        : Name Field
            Set as        : $$Value    ;If $$InCreateMode Then $MSVCHNarrMonth Else ""
            Storage        : MSVCHNarrMonth
            Style        : Normal
            Max        : 30
            Width        : 30
            Invisible      : Not($$InCreateMode)
            Skip           : Not($$InCreateMode)
    
            Control     : NarrControl : @@NarBoth
    
    
    ;;;===================================================================================================
    
    
    [System : Formula]
    
    NarHst    : IF $$IsEndOfList:#MSVCHNarrHistory Then "" Else  #MSVCHNarrHistory
    NarTmp  : IF $$IsEndOfList:#MSVCHNarrTemp    Then "" Else  #MSVCHNarrTemp
    NarMth  : IF $$IsEmpty:#MSVCHNarrMonth       Then "" Else  #MSVCHNarrMonth
    
    NarBoth : If (Not $$IsEndOfList:#MSVCHNarrHistory AND Not $$IsEndOfList:#MSVCHNarrTemp)  Then "Yes" Else "No"
    
    NarCombine : If ($$IsEndOfList:#MSVCHNarrHistory AND $$IsEndOfList:#MSVCHNarrTemp) Then @@NarMth Else If Not $$IsEmpty:#MSVCHNarrMonth Then (@@NarHst + @@NarTmp + " - " + @@NarMth) Else (@@NarHst + @@NarTmp)
    
    NarrControl : "Both Narrations Selected!!" + $$NewLine + $$NewLine + "Select Only One Narration"
    
    ;;;===================================================================================================
    
    
    [#Field: VCH Narration]
    
        Use                 : Voucher Narration Field
        Lines               : 2
        Storage             : Narration
        Set as        : If $$InCreateMode Then @@NarCombine Else $Narration
        Width               : 50% Screen
        Key                 : PrevVchNarration, PrevLedNarration
        Set Always          : Yes
    
    
    ;;;===================================================================================================
    
    
    [#Menu: Accounts Info]
    
        Add    :  Item : after : @@locCostCentres : Narration : alter : CMP NarrationReport
    
    [#Part: CMP AccFeat Left]
    
        Add    : Line    : CMP EnablePortDestTable
    
    [Line: CMP EnablePortDestTable]
      
        Field    : Medium Prompt, CMPEnableNarrationTable
        Local    : Field    : Medium Prompt    : Info    : "Enable Predefined Narration  ? "
        Space Top    : 1
    
    [Field: CMPEnableNarrationTable]
    
        Use    : Logical Field
        Storage    : Enableprenarration
        Set as    : If $$IsEmpty:$$Value then "No" else $$Value
    
    ;;;--------------------------------------
      
    [Report: CMP NarrationReport]
    
        Form    : CMP NarrationForm
        Object    : company
    
    [Form: CMP NarrationForm]
    
        Part    : CMP Narration PartTitle, CMP Narration PartDetails
    
    
    [Part: CMP Narration PartTitle]
    
        Line    : CMP Narration LineTitle
        Border    : thin bottom
    
    [Line: CMP Narration LineTitle]
    
        Field    : Long Prompt
        Local    : Field    : Long Prompt    : Style    : Normal Bold
        Local    : Field    : Long Prompt    : Info    : "Enter Your Master Narrations"
        Local    : Field    : Long Prompt    : Width    : 80% Screen
        Local    : Field    : Long Prompt    : Align    : Center
    
    [Part: CMP Narration PartDetails]
    
        Line    : narration title,CMP Narration LineDetails
        Repeat    : CMP Narration LineDetails : MydbNarration
        BreakOn    : $$IsEmpty:$PreNarration
        Height  : 33    
        Width    : 70% Screen
        Scroll    : Vertical
        CommonBorder: Yes
    
    [Line:narration title]
    
        Fields    : srno,narration title
        Border    : thin bottom
    
    [Field:srno]
        Use    : MultiSNo Title
        Width    : 6
    
    [Field:narration title]
        Set as    : "Standard Predefined Narrations"
        Width: 60
        Style    : Normal Bold
        Align    : Center
      
    
    [Line: CMP Narration LineDetails]
        Field    : number, CMP Narration NameField
       
    [Field:number]
        Use    : Multi SNo
        Width    : 6
        Style    : Normal
        Align    : Center
    
    [Field: CMP Narration NameField]
        Use    : Short Name Field
        Storage    : PreNarration
        Style    : Normal
        Border    : Thin Left
            Width    : 75% Screen
        Lines    : 1
        Max    : 50
    
    ;;;===================================================================================================
    
    [Collection: MyNarrationCollection]
    
        Type    : MydbNarration: Company
        Childof    : ##SVCurrentCompany
        New entry for Ledger Filter
        Format    : $PreNarration,50    Title    : Predifined Narrations
        Sort    : Default    : $PreNarration
    
    ;;;--------------------------------------
    
    [Collection    : NarrHistoryColl]
    
        Type        : Vouchers  : Ledger
        Child Of    : @@Children
        Filter      : VchTypeFilt
        Format    : $Narration,46
        Title    : Narration History of Selected Ledger & Voucher
        Fetch      : Narration
        Sort    : Default    : $Narration
    
    ;;;--------------------------------------
    
    [System : Formula]
    
        Children    : If Not $$IsEmpty:$$BaseOwner:#ACLSLed Then $$BaseOwner:#ACLSLed Else $$BaseOwner:#VCHParticulars
        VchTypeFilt    : $VoucherTypeName = ##SVVOUCHERTYPE
    
    
    ;;;===================================================================================================
    
    [Key    : narration]
          Key    : ALT + C
          Action: Alter    : CMP NarrationReport
    
    ;;;===================================================================================================
    
    [System: UDF]
        Enableprenarration    : Logical    : 30033   
        MydbNarration        : Aggregate    : 30003      
        PreNarration        : String    : 3123  
       
     


  2. Sai Vineeth

    Sai Vineeth Active Member


    [#Menu: Accounts Info]
    this is causing error
    Reason:
    Accounts info menu is no there in Tally Prime
    Solution:
    change to [#Menu: Gateway of Tally]
    or other menu(Display Menu) which you want to extend
     
    Last edited: Jul 18, 2021


  3. Jeevaraajan

    Jeevaraajan New Member


    U
    Thank u for solution sir
     
    Sai Vineeth likes this.


Share This Page