Creating Add-on Features

Discussion in 'Free Source Codes' started by AMIT JALAN, Jun 27, 2020.

    
Tags:
  1. AMIT JALAN

    AMIT JALAN Member


    I have created a TDL for sales invoice printing. How to add this into Add-on features so that the tdl can be used only in particular company only after enabling it into F11>F6 and for all other company, this tdl customization will not work and default format will be printed.
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    There are 2 ways you can do this.......

    1. In your code enable it for company having name ABC or having GST Code XXXXXXXXXXX and so on..... so only if it matches then the TDL will be active.
    2. Add code in F11 features to enable it....... in this case...you can activate it for multiple companies, whereas for OPTION 1 above, you will have to add the Company or GSTIN for every company u want to use it for.
     
    AMIT JALAN likes this.


  3. AMIT JALAN

    AMIT JALAN Member


    Dear Sir,

    Thank you sir. I will try. It would be helpful if you can provide sample code too.
     


  4. rony

    rony Member


    Amit Sirji,
    Can u hint for first option which function to use.
    Thanks
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    No function is required........... just a formula.......

    e.g. ---- $Cmpname = "ABC" then active else not active........
     


  6. rony

    rony Member


    Thanks
     


Share This Page