TDL Error in Tally Prime

Discussion in 'Free Source Codes' started by PRANAV, Nov 9, 2020.

    
  1. PRANAV

    PRANAV New Member


    Hello experts,
    The following TDL was working well in Tally ERP 9 but not working in Tally Prime. How can I make it ?
    Code:
    [System: UDF]
            EBThrough: Logical: 1107
    
    [Report: CMP TrackReport]
            Form: CMP TrackForm
    
    [Form: CMP TrackForm]
            Part: CMP TrackPartTitle, CMP TrackPartDetails
            Background: Blue, White
    
    [Part: CMP TrackPartTitle]
            Line: CMP TrackLineTitle
    
    [Line: CMP TrackLineTitle]
            Field: Medium Prompt
    
    Local: Field: Medium Prompt: Style: Small Bold
            Local: Field: Medium Prompt: Info: "Despatch Through:"
    
    [Part: CMP TrackPartDetails]
            Line: CMP TrackLineDetails
            Repeat: CMP TrackLineDetails: EBDespatchMe
            BreakOn: $$IsEmpty:$EBThName
            Height: 6
            Scroll: Vertical
            CommonBorder: Yes
    
    [Line: CMP TrackLineDetails]
            Field: CMP TrackNameField
    
    [Field: CMP TrackNameField]
            Use: Short Name Field
            Storage: EBThName
            Border: Thin Left
    
    [Collection: MyTrackCollection]
            Type: EBDespatchMe: Company
            Childof: ##SVCurrentCompany
            Format: $EBThName,30
            Title: Despatch Through
    
    [#Field: EI PreCarriage]
            Use         : Short Name Field
            Storage     : BasicShippedBy
            Set as      : if NOT $$IsEmpty:@@EIBasicShippedBy then @@EIBasicShippedBy Else $$Value
            Set always  : Yes
            Skip On     : NOT @@DoEditAll AND NOT $$IsEmpty:@@EIBasicShippedBy AND @@IsObjOfTypeTrackOrOrder
            Width: 30
            Table: MyTrackCollection,EndofList
            ShowTable: Always
    
    [System: UDF]
            EBDespatchMe: Aggregate: 2
            EBThName: String:   1103
    
    [#Part: CMP AccFeat Right]
             Add: Line: CMP EBThrough
    
    [Line: CMP EBThrough]
            Field: Medium Prompt, CMP EBThrough
            Local: Field: Medium Prompt: Info: "Enable Despatch Through"
            Space Top: 1
    
    [Field: CMP EBThrough]
            Use: Logical Field
            Storage: EBThrough
            Set as: If $$IsEmpty:$$Value then "No" else $$Value
            Sub Form: CMP TrackReport: $$Value = "Yes"
    
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Download --- Developer PRIME .........

    Find out which Report/FORM/PART/LINE/Field is not supported.........

    Find the NEW one and rewrite your TDL as per the new names.
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Most likely, it would be.............
    [#Part: CMP AccFeat Right]
     


  4. subash pal

    subash pal Member


    I am facing Problem with storage, in TDL Terms & Conditions, there is no Predefined terms & condition show in entry time, please help me sir
     


  5. Sanjeev S

    Sanjeev S Active Member


    Small Change can serve your purpose.....

    [#Part: CMP TallyShopFeatures Left]
    Add : Bottom Line : CMP EBThrough

    Amit Sir is right there is no such part as "CMP AccFeat Right"

    So replace [#Part: CMP AccFeat Right] with [#Part: CMP TallyShopFeatures Left]

    ERP9 f11>f6 Addon features is now shifted in Prime to ...
    f1> TDL & Addons (O)>f6 Addon features

    So enjoy the change :)

    Happy Diwali.
     


  6. vikas

    vikas New Member


    Thnx Sanjeev S, I was facing the same problem,
     



  7. There is one code, After load TDL file (in TXT Format), want to configuration that untill activate said TDL from F6 , Said TDL effect will not reflect on tally prime.
    Please help in Below code.

    ;;;; CODE FOR ADD ON ACTIVATION ;;;;; (Ctrl+Alt+T then F4 then F11 + F6 For ERP) & (Ctrl+Alt+T then F4 then F6 For Prime)

    [#Part : CMP TallyShopFeatures Left]
    Add : Line : At End : Sandip

    [Line:Sandip]
    Fields : Long Prompt,Sandip
    Local : Field : Long Prompt : Set as : "Activate : Set Item History?"
    Local : Field : Long Prompt : Style : Sandy21
    Local : Field : Long Prompt : Background : Yellow
    Local : Field : Long Prompt : Color : Blue
    Local : Field : Long Prompt : Width : 40

    [Field:Sandip]
    Use : Logical Field
    Table : YesNoTable
    Set Always : Yes
    Show Table : Always
    Storage : Sandip
    Style : Sandy21
    Background : Blue
    Color : Yellow
    Width : 10


    [Style:Sandy21]
    Font : if $$SysInfo:IsWindows then "Arial" else "Helvetica"
    Height : @@Sandy22

    [System: Formula]
    Sandy22 : 10
    IsCustomizationEnabled : $sandip:Company:##SVCurrentCompany
     



  8. Dear Amit Sir & Respective Members,
    Please share your view on mine query.
     


  9. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Do not understand your query in TOTALITY, cuz full code is not there..........

    As for activation based on saatisfaction of "selection", there are ample codes, from which you can draw a solution.
     



  10. Thanks, Amit Sir for your reply.

    It is problem in Tally that if I load the TDL program which is in text format then it is automatically applied in every company which is opened, here my problem starts.

    For this, I want to write a code like that until and unless I do not activate the TDL program with the Key F6 (on Add on-screen) afterload TDL, the effect of said TDL will not be applied to the opened company. Please advise, is it possible in Text format, or I compulsory to convert it into a TCP file.
    And if it is possible then, please correct the code.
     


  11. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You can write a code to specifically open for a company with "ABC Co." in its name.

    for this also, there are ample sample codes in this forum which can guide you for this. We do not give easy solutions, because for a coder, R & D skills and Search skills are equally important. If you face any problems in your code, experts can help / guide you.
     


  12. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You can use this.......... Inactive : NOT $CmpName Contains "abc"
     


  13. jeetendra chopra

    jeetendra chopra New Member


    what would be the correct code for this for tally prime [#Part: CMP InvFeatures Left]
     


Share This Page