Stock Item Document Attachment TDL

Discussion in 'Free Source Codes' started by ygrrocks@6316, Oct 2, 2020.

    
  1. ygrrocks@6316

    ygrrocks@6316 New Member


    Dear Admin,

    ( For Stock Item Document Attachment )

    I am tried the TDL for stock Item Document Attachment. but something is wrong with my coding. pl hepl

    [#Form : Stock Item]
    Add : Part : At End : TlyTrng ImagePath
    Add : Switch : BankDetRcpt : BankDet TlyTrg ImagePath

    [Part : TlyTrng ImagePath]
    Line : TlyTrng ImagePath
    Background : Light Lily Yellow
    [!Part: BankDet TlyTrng ImagePath]
    Add : Line : HyperlinkCompany
    [Line: HyperlinkCompany]
    Fields : Short Prompt, HyperlinkCompany
    Local : Field : Short Prompt : Info: $$LocaleString:"Linked Doc."
    [Key : Execute Hyperlink1]
    Title: Goodwill
    Key : Left Click
    Action : Browse Url Ex: �www.youtube.com/Goodwill�
    [Line : TlyTrng ImagePath]
    Field : Medium Prompt, TlyTrng ImagePath
    Local : Field : Medium Prompt : Set as : "Document Link"
    Border : Thin Top

    [Field : TlyTrng ImagePath]
    Use : Name Field
    Storage : HyprLink

    [Collection : TlyTrng ItemImage Coll]
    Data Source : Directory : @@HyperLink

    [#Form: Stock Item]
    Add :Button :Open Attachment
    [Button : Open Attachment]
    Title : $$LocaleString:"Open Attachment"
    Key : Ctrl + O
    Action :Browse Url Ex : #HyperlinkCompany
    [Field: HyperlinkCompany]
    Use : Name Field
    Color : Blue
    Key : Execute Hyperlink1
    Storage : hyper1
    Local : Key : Execute Hyperlink1 : Action :Browse Url Ex: "D:\Goodwill\" + $VoucherTypeName +"\"+ #HyperlinkCompa
    Skip : $$InAlterMode
    Fullwidth : Yes
    [System: UDF]
    hyper1 : String : 1101
     


  2. ygrrocks@6316

    ygrrocks@6316 New Member


    Amit sir, pl help me to solve this isuue
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    What you mean "something is wrong with your coding" .....a) this is not your code and b) if it is your code there would not be errors in Name.

    If you really have made this code and not simply copy-pasted, then please check the code and simply correct the field name errors.

    All you need is to add "ny" somewhere. If you are a code learners, then it is good learning for you.
     


  4. ygrrocks@6316

    ygrrocks@6316 New Member


    Sir, i am not TDL expert i am simple tally user. with the help of the free online TDL file i trying to make this simple.
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    So then this is good forum to learn....... One does not learn coaching classes and expect the teacher/professor to give exams on your behalf.

    Here, we guide and make you learn. I've given the solution, you have to start learning.
     


Share This Page