Original Entity and Field names

Posts   
 
    
alexdresko
User
Posts: 336
Joined: 08-Jun-2004
# Posted on: 07-Jul-2006 18:51:21   

Becasue the original version of our accounting app was written 18 years ago, we've taken the liberty of renaming most of our entities and properties in LLBL for our database (We've got something 200 tables named PR180, PR182, QC134, CHAK31.. completely meaningless).

I'm trying to write a .template that outputs a text file with the original table & field names and the newly renamed entity & property names..

I notice <CurrentEntityName>, but don't see something like <OriginalEntityName>.. Here's what I have so far. Notice the OriginalEntityName bit...

alexdresko
User
Posts: 336
Joined: 08-Jun-2004
# Posted on: 07-Jul-2006 18:51:47   

alexdresko wrote:

Becasue the original version of our accounting app was written 18 years ago, we've taken the liberty of renaming most of our entities and properties in LLBL for our database (We've got something 200 tables named PR180, PR182, QC134, CHAK31.. completely meaningless).

I'm trying to write a .template that outputs a text file with the original table & field names and the newly renamed entity & property names..

I notice <CurrentEntityName>, but don't see something like <OriginalEntityName>.. Here's what I have so far. Notice the OriginalEntityName bit...

I couldn't copy/paste my template code in here.. apparently tinyforum doesn't like that.

pilotboba
User
Posts: 434
Joined: 05-Aug-2005
# Posted on: 07-Jul-2006 19:11:18   

alexdresko wrote:

Becasue the original version of our accounting app was written 18 years ago, we've taken the liberty of renaming most of our entities and properties in LLBL for our database (We've got something 200 tables named PR180, PR182, QC134, CHAK31.. completely meaningless).

I'm trying to write a .template that outputs a text file with the original table & field names and the newly renamed entity & property names..

I notice <CurrentEntityName>, but don't see something like <OriginalEntityName>.. Here's what I have so far. Notice the OriginalEntityName bit...

What about TableName or TargetName?

BOb

alexdresko
User
Posts: 336
Joined: 08-Jun-2004
# Posted on: 07-Jul-2006 19:54:03   

Figured it out.. Still have some tweaking to do on the template before I post it here..