Get records from system tables

There is a system table named "CM_UDF". I want to get records from this table. The corresponding data file for this table lies in folder named "MAS_SYSTEM" which is outside the folder structure belonging to any company. Moreover, there are no business or service objects to query this table. Can someone please provide a code sample in VB or C# demonstrating how can this be achieved.

Thanks in advance!

Parents
  • 0

    What are you trying to do and what version of Sage 100 are you on?

  • 0 in reply to BigLouie

    I am using sage 100 ERP 2013(v 5.00).

    There is a third party application for which I am developing new feature. I want the users of that application to create/update records in Sage 100 ERP. I will be using BOI to post data to Sage 100. Now, the users of Sage 100 ERP do create custom fields a lot of time and there is also an option to make these custom fields mandatory. Hence, I want to fetch the details of all custom fields created for a particular entity, say "customer"(AR_Customer) and generate controls on the fly in my form based on the details fetched from Sage 100. 

    The detail about the custom fields exists in table "CM_UDF". But this file seems to shared by various companies created in Sage 100 ERP. To sum it up, I am trying to find out a way to use BOI to query this file "CM_UDF" so that I can get the detail of custom fields created for "AR_Customer", in the context of a company, say "ABC".

Reply
  • 0 in reply to BigLouie

    I am using sage 100 ERP 2013(v 5.00).

    There is a third party application for which I am developing new feature. I want the users of that application to create/update records in Sage 100 ERP. I will be using BOI to post data to Sage 100. Now, the users of Sage 100 ERP do create custom fields a lot of time and there is also an option to make these custom fields mandatory. Hence, I want to fetch the details of all custom fields created for a particular entity, say "customer"(AR_Customer) and generate controls on the fly in my form based on the details fetched from Sage 100. 

    The detail about the custom fields exists in table "CM_UDF". But this file seems to shared by various companies created in Sage 100 ERP. To sum it up, I am trying to find out a way to use BOI to query this file "CM_UDF" so that I can get the detail of custom fields created for "AR_Customer", in the context of a company, say "ABC".

Children