Get of table creates .h file

timallen

timallen

Well Known Member
I created a table called F55TP in Table Design from OMW, then checked it in. I then tried to check it out from another workstation, and the checkout failed. I checked the OMW log, and saw a message: "Failed to write file e:\B7\PY7333\include\F55TP.h in FUtil::CopyF." So I looked, and the folder e:\B7\PY7333\include did not exist. I created the folder, then checked the table out again. This time it worked, and it copied a fille called F55TP.h.

The table was really simple: It contains the Data Dictionary item "LineNumber", and I created a primary key which contained this column.

Has anyone else seen this?

Here is the F55TP.h file for the curious:
#ifndef __F55TP3__
#define __F55TP3__

#define DATA_VERSION_F55TP3 1
#define NID_F55TP3 "F55TP3"
#define STABLENAME_F55TP3 "F55TP3"

typedef struct
{
#define NID_LNID "LNID"
MATH_NUMERIC t3lnid; /* 0 to 48 */
} F55TP3, FAR *LPF55TP3;

/* PRIMARY INDEX */
#define ID_F55TP3_PK_F55TP3 1L

typedef struct
{
MATH_NUMERIC t3lnid; /* 0 to 48 */
} KEY1_F55TP3, FAR *LPKEY1_F55TP3;


#endif

Thanks.
 
If you haven't installed the Development objects on that machine, you cannot
checkuot tables, bsfn's, etc...

-----Mensaje original-----
De: timallen [mailto:[email protected]]
Enviado el: Viernes, 22 de Noviembre de 2002 10:30 a.m.
Para: [email protected]
Asunto: Get of table creates .h file


I created a table called F55TP in Table Design from OMW, then checked it in.
I then tried to check it out from another workstation, and the checkout
failed. I checked the OMW log, and saw a message: "Failed to write file
e:\B7\PY7333\include\F55TP.h in FUtil::CopyF." So I looked, and the folder
e:\B7\PY7333\include did not exist. I created the folder, then checked the
table out again. This time it worked, and it copied a fille called F55TP.h.

The table was really simple: It contains the Data Dictionary item
"LineNumber", and I created a primary key which contained this column.

Has anyone else seen this?

Here is the F55TP.h file for the curious:
#ifndef __F55TP3__
#define __F55TP3__

#define DATA_VERSION_F55TP3 1
#define NID_F55TP3 "F55TP3"
#define STABLENAME_F55TP3 "F55TP3"

typedef struct
{
#define NID_LNID "LNID"
MATH_NUMERIC t3lnid; /* 0 to 48 */
} F55TP3, FAR *LPF55TP3;

/* PRIMARY INDEX */
#define ID_F55TP3_PK_F55TP3 1L

typedef struct
{
!
MATH_NUMERIC t3lnid; /* 0 to 48 */
} KEY1_F55TP3, FAR *LPKEY1_F55TP3;


#endif

Thanks.
--
Tim Allen, Barcelona, Spain
OW, Windows 2000 (DS/ES), Oracle
To view this thread, go to:
http://www.jdelist.com/ubb/showthreaded.php?Cat=&Board=OW&Number=45609
+ - - - - - - - - - - - - - - - - - - - - - - - -+
This is the JDEList One World(r) / XE mailing list/forum.
Archives and information on how to SUBSCRIBE, and
UNSUBSCRIBE can be found on the JDEList Forum at
http://www.JDEList.com

JDEList is not affiliated with JDEdwards(r)

+ - - - - - - - - - - - - - - - - - - - - - - - -+
 
Hello Tim,
1 - You created F55TP, on wkstn A; in what environment? Let's assume it was PY, OK?
2 - You tried to check it out on wkstn B; in what environment? In PY? Does wkstn B have PY installed? Was it a Full installation (Development Objects included)?
3 - Did you Generate F55TP, after you created it?
Warm regards,
 
It appears that when you did your workstation install you did not choose to install "Development Objects". Doing so would have created the souce and include directories and populated them with the source and include files.

When you check out an object (or get), it will be placed in source and include. If they are not there you will get an error. What you did (creating the include directory) is fine. Go ahead and create the source directory while you are at it.
 
That's as it should be.

My bet would be that you checked it out on a workstation that did not have development objects installed.
 
You are right. That's exactly what I did. I actually did not realize that checking out a table would give me source/include files (actually, I didn't know that tables had C code associated).

Thanks for your response (and to the rest who answered).
 
Back
Top