How does metadata create a Screen?

Hints, Tips and Tricks

Technical Hints Tips and Tricks that cover customization and development using Sage CRM. API usage and coding are covered.

How does metadata create a Screen?

  • Comments 2
  • Likes

If we consider a screen like the Case Summary screen we can imagine it being built in a series of layers.

If we consider the hyperlink

We can see that the Action code 281 has been used. This is received in the eWare.dll and understood to mean the generation of the Case Summary screen.

The Case Summary screen is complex because it is a workflowed screen. Cases, Opportunities, Leads and Solutions all work in a similar way and demonstrate similar complexity in all aspects. (See the article "Using a TableLevel script to Update Submitted Values")

The Cases entity like its 3 brothers has a Progress table that shadows it (CaseProgress). The Case Summary screen is therefore built by reference to records drawn from two tables.

The Role of Meta Data Tables
    • custom_databases is the meta data that defines the link to external databases (a Sage BMS system like Sage 300cloud or Self Service)
    • custom_tables describes the link to the tables in the database.
    • custom_views holds the definitions of the views that are used for some screen access and all list/grid access
    • custom_edits describes the fields and their properties
    • custom_caption looks after the translations
    • custom_screenobjects hold the toplevel definitions of the screens
    • custom_screens holds the structure of the screens including the definition of the field level scripts
A survey of articles describing how to alter the screens can be found in the article "Customizing a Screen".
  • Jeff....if a screen that was created was inadvertently overridden by an upgrade or a component that replaced the screen.  Would it be possible to go to the backup and pull that screen data from the meta data tables and populate it back into the upgraded system.  I am sure you will ask, why don't you just restore the backup.  However, I cannot because that would override all the work that had been done on the screen.

    Hope I am making since here.

    Thank you for your assistance!

  • I've seen your thread. so I will answer there.