Business Central Extension - Table not showing in AL

LCostaLCosta Member Posts: 33
Hi everyone,

Does anyone know why I can't get Tables outside of the standard range to connect with my AL.
Example:

I have created a new Table using Extensions, in this new table I have a field which requires a TableRelation with another Table: "Bank Operation Type", this table is in my country product range, I have already syncronized the database, changed the license that has access to that specific range and still can't link them.

79kaegxlghj9.png


gtk26gn3yy03.png


Does this mean that I can't link my extension to tables that aren't the standard ones? (if so, it doesn't make any sense).

Sorry for my poor writing, english ins't my native language.

Thank you all in advance!

Best Answer

  • vijay_gvijay_g Member Posts: 884
    Answer ✓
    it seems addon part, not a standard table. it will not be visibile in VS Code.

Answers

  • vijay_gvijay_g Member Posts: 884
    Answer ✓
    it seems addon part, not a standard table. it will not be visibile in VS Code.
  • LCostaLCosta Member Posts: 33
    vijay_g wrote: »
    it seems addon part, not a standard table. it will not be visibile in VS Code.

    Thank you for your reply. So this means that only standard tables can be referenced in Extensions? Any official link (please)?
  • JuhlJuhl Member Posts: 724
    If the addon is in cside, it should be part of the symbols, download again.
    If it is an extension, then create a dependency to it.
    Follow me on my blog juhl.blog
  • LCostaLCosta Member Posts: 33
    Juhl wrote: »
    If the addon is in cside, it should be part of the symbols, download again.

    Did that, still not showing.
  • JuhlJuhl Member Posts: 724
    Is the addon cside? If it is an extension, the table name might have a prefix.
    Otherwise I’m out of ideas.
    Follow me on my blog juhl.blog
  • LCostaLCosta Member Posts: 33
    Juhl wrote: »
    Is the addon cside? If it is an extension, the table name might have a prefix.
    Otherwise I’m out of ideas.

    Yes, the addon is still in CSIDE. Have you ever tried this before?
  • JuhlJuhl Member Posts: 724
    Could be a license issue ??
    Follow me on my blog juhl.blog
  • LCostaLCosta Member Posts: 33
    Juhl wrote: »
    Could be a license issue ??
    LCosta wrote: »
    ...changed the license that has access to that specific range and still can't link them.
    !

    Did that already.
  • SanderDkSanderDk Member Posts: 497
    @LCosta
    When you run both Extension and old school C/Side, then you need to generate your symbols when you make changes to C/AL.

    When you have importet C/Side Object, then you need to run a GenerateSymbolreference.
    My personally choise is to set C/side to do this when I Compile objects:
    eu5zh4v5glgp.png

    But do yourself a favor and read the docs (As @zych) have state

    For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.
  • wolfskinwolfskin Member Posts: 84
    Refer to running C/SIDE and AL side by side.

    1. Close all nav application and VS code.
    2. Run
    finsql.exe Command=generatesymbolreference, Database="YourDatabase", ServerName="YourServerName"
    
    from command line.
    3. Run NAV Development Environment with parameter
    finsql.exe generatesymbolreference = yes
    
    from command line.
    4. Compile all objects with validation.
    5. Open VS code.
    6. Download Symbols.
  • LCostaLCosta Member Posts: 33
    First of all, thank you all very much for the help!
    I'm going to inform myself more about symbolreference.
    Once again, thank you all very much!
Sign In or Register to comment.