cancel
Showing results for 
Search instead for 
Did you mean: 

UserFields and update description in SAP/Manage User Fields

Former Member
0 Kudos

Hi!

If i add userTable e usereFileds with DI userTableMD and userFieldsMD (ex. @PRC and U_color) and i try to modify the description of my userFileds with SAP/Manage User Fileds the system:

error:

[TRGD], 'Error' Registration data (-2006)' encountered!

Why??

Thanks

Serena

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

System details:

Windows 2000 SP4

UI API 6.5

SBO 6.50.097 SP: 01 EF: 07

I have my Add-On and i have Sap Business One Running.

My Add-On, with object userTableMD and userFieldsMD of DI, add table e fields custom but SAP Business One is Running and if try to modify description of fields customs or tables customs from SAP Business One / Tools/ Manage User Fields i have:

error:

[TRGD], 'Error' Registration data (-2006)' encountered!

TRGD is a table of SBOCommon, it's a system table.

If find my new table in Query Wizard or Query Generator,but i don't find these tables.

My solution is:

I realized an application independent from Sap Business One Running, this is an application of configuration where my application create new table, new fields, ecc.....

When Sap Business One start, i can to work with new table and new fields.

Sincerely it's corrected to add table e fields when Sap isn't Running.

Do you have other explanation?

Thanks

Serena

former_member185703
Active Contributor
0 Kudos

Hi Serena,

could you post the code + the exact version of SAP Busines One / DI API you are using?

Thanks,

Frank