Maximo Wire - The IBM Maximo Help & Discussion Forum
May 22, 2012, 10:12:12 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to Maximo Wire, the IBM Maximo help forum. Feel free to register and ask any Maximo related questions you like.
 
  Home Help Search Login Register  
*
Pages: [1]   Go Down
  Print  
Author Topic: ITEMORGINFO Interface Table Creation  (Read 1295 times)
0 Members and 1 Guest are viewing this topic.
GrayS
Newbie
*

Karma: 0
Posts: 7


View Profile
« on: May 11, 2009, 03:26:07 pm »

Hello All,

Am trying to create an interface table to allow upload of data into the ITEMORGINFO table.
We tried just using ITEMORGINFO as an MBO/Interface table on its own, and that didn't work.
So at the suggestion of IBM we tried it as part of a larger object.  ITEM as the top-level MBO, and ITEMORGINFO as the second level MBO.
No duplicates/aliases found.  So went ahead and tried to build the interface table.  It failed to build new interface table (although the concept looked very good, in principle).

Got a generic error message "Errors encountered.  Please contact your system administrator".  So very useful - thank you IBM.
Looking at the WebSphere error logs, we see error messages:

Error during registering COV_ITEMORGINFO_IF:ITEMSETID from database table and column ITEM:ITEMSETID
Error during registering COV_ITEMORGINFO_IF:TAX1CODE from database table and column ITEMORGINFO:TAX1CODE
Error during registering COV_ITEMORGINFO_IF:TAX2CODE from database table and column ITEMORGINFO:TAX2CODE
Error during registering COV_ITEMORGINFO_IF:TAX3CODE from database table and column ITEMORGINFO:TAX3CODE
Error during registering COV_ITEMORGINFO_IF:TAX4CODE from database table and column ITEMORGINFO:TAX4CODE
Error during registering COV_ITEMORGINFO_IF:TAX5CODE from database table and column ITEMORGINFO:TAX5CODE

All we want to do is load up the tax codes for the 10,000+ item codes we have in the system.
Obviously not feasible to do this manually through the screens, so does anybody have any suggestions to how to solve this please?

Either how to get the interface table to create, or to get the data into the system (from an Excel spreadsheet) some other way.
We have loaded all our data to this point using interface tables and SQL Serevr DTS packages very successfully.
I beleive that if we could get this interface table to just build, it would most likely work?

Thank you.

Gray
Logged
GrayS
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #1 on: May 13, 2009, 01:23:30 pm »

Progress report...
Found that MAXATTRIBUTECFG was out of sync with MAXATTRIBUTE.  So a restore from another environment brought the two tables back in sync (updated MAXSEQUENCE to match).
Thought this might solve thr problem, but no.
Now interface table creation gives a different error:

A column with this name already exists.
   at psdi.app.configure.FldMaxAttributeCfgAttributeName.validate(FldMaxAttributeCfgAttributeName.java(Compiled Code))

No clues on which field has the problem that I can see...?

PLEASE, anybody got any suggestions?

Cheers
Logged
GrayS
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #2 on: May 13, 2009, 02:35:12 pm »

Well, some progress, but still problems.

I found that the reason I was getting the “field already exists” error was because when I refreshed MAXATTRIBUTE and MAXATTRIBUTECFG from the other environment, they still held old copies of the original (wrong) COV_ITEMORGINFO_IF interface table.  This old table did not exist in the test environment I am working in.

So I simply deleted the records from MAXATTRIBUTE and MAXATTRIBUTECFG for the old COV_ITEMORGINFO_IF interface table.

This allowed me to create the new interface table (including the ITEM object).

However, now when I try to export data into the interface table, I get a different error.

 

“Three steps forward, two steps back”.

New WebSphere logs in attached zip file.

 

Any help would be appreciated.
Logged
vijet
Jr. Member
**

Karma: 5
Posts: 56



View Profile Email
« Reply #3 on: May 19, 2009, 06:31:07 am »

Hi,

Even the logs dont give much insight on the error... Anyways did you try to check if the datatype of the data coming into the table is correct. There is a message that the data is being written into the queue which means the data has come to interface table and on fetching the data from interface table you are having problem.

And what i see is you are getting many low memory errors.. So free the memory and try again. I have faced lot of problem due to low memory in the past.

Regards
Vijet
Logged
GrayS
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #4 on: May 19, 2009, 08:38:45 am »

We got it all sorted in the end.
The "field already exists" problem was just that.  The MAXATTRIOBUTE and MAXATTRIBUTECFG fiels were out of sync.  Once we sync'ed them by copying from another environment, and removed fields for the COV_ITEMORGINFO_IF table that did exist (even if it didn't work) in the source environment, but did not exist in the target environment, then all was fine.  It's just that the error messages are spectacularly unhelpful.
 Grin
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Recent

TinyPortal v1.0 beta 4 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!