otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Order Processing Shipment planning and order processing - including data requirements, line items, ship units, order bases and order releases.

Tags: ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old January 23rd, 2008, 06:13
Member
 
Join Date: May 2007
Posts: 72
Thanks: 16
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
rj5316 is on a distinguished road
SKU creation - error

Hi,

we get the following errror when trying to create an SKU.... can anyone help....

"java.sql.SQLException: ORA-01821: date format not recognized ORA-06512: at "GLOGOWNER.PARTIT", line 93 ORA-06512: at "GLOGOWNER.PARTIT", line 105 ORA-06512: at "GLOGOWNER.CHK_BIU_SKU", line 7 ORA-04088: error during execution of trigger 'GLOGOWNER.CHK_BIU_SKU'"

rgds--
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old January 23rd, 2008, 08:04
Member
 
Join Date: Dec 2007
Posts: 46
Thanks: 3
Thanked 7 Times in 7 Posts
Groans: 1
Groaned at 1 Time in 1 Post
Rep Power: 0
james_foran is on a distinguished road
Re: SKU creation

I am not a database person, but ther is a trigger on the INSERT into SKU table. One part of it is....

BEFORE INSERT OR UPDATE ON SKU
FOR EACH ROW
BEGIN
IF INSERTING THEN
IF :NEW.INSERT_USER IS NULL OR :NEW.INSERT_DATE IS NULL THEN
:NEW.INSERT_USER := vpd.get_gl_user;
:NEW.INSERT_DATE := vpd.gmt_sysdate;
END IF;
:new.partition_key := partit.domain_part_key(:new.domain_name);
ELSE
:NEW.partition_key := :OLD.partition_key;
:NEW.INSERT_USER := :OLD.INSERT_USER;
:NEW.INSERT_DATE := :OLD.INSERT_DATE;
:NEW.UPDATE_USER := vpd.get_gl_user;
:NEW.UPDATE_DATE := vpd.gmt_sysdate;
END IF;

party.domain_part_key is a function that returns a number... You should get one of your DB guys to have a look at this error.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old January 23rd, 2008, 16:44
Member and Blogger
 
Join Date: Jan 2007
Location: Haalderen, Netherlands
Posts: 117
Blog Entries: 1
Thanks: 7
Thanked 33 Times in 31 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
bob_romijn is on a distinguished road
Send a message via Skype™ to bob_romijn
Re: SKU creation - error

Hi,

THis is because your trigger code is not as it was originally from Glog/Oracle. I raised a SR last week(s) with Oracle to solve this because we have the same issue. (Wondering who you really are and not working on the same machine?....)

Oracle advises this on the SKU table:

The trigger CHK_BIU_SKU has been modified, it is not same as OTM supplied version. It appears that
client version has more code to support additional client specific functionality.

Existing client version is as shown below (so wrong).

-------------
BEGIN
IF INSERTING THEN
IF :NEW.INSERT_USER IS NULL OR :NEW.INSERT_DATE IS NULL THEN
:NEW.INSERT_USER := vpd.get_gl_user;
:NEW.INSERT_DATE := vpd.gmt_sysdate;
END IF;
:new.partition_key := partit.calc_part_key('SKU', :new.insert_date);
ELSE
:NEW.partition_key := :OLD.partition_key;
:NEW.INSERT_USER := :OLD.INSERT_USER;
:NEW.INSERT_DATE := :OLD.INSERT_DATE;
:NEW.UPDATE_USER := vpd.get_gl_user;
:NEW.UPDATE_DATE := vpd.gmt_sysdate;
END IF;
IF VPD.SHOULD_COPY THEN
:NEW.OWNER_CORPORATION_GID := vpd.replace_gid(:NEW.OWNER_CORPORATION_GID);
:NEW.PACKAGED_ITEM_GID := vpd.replace_gid(:NEW.PACKAGED_ITEM_GID);
:NEW.SHIP_UNIT_SPEC_GID := vpd.replace_gid(:NEW.SHIP_UNIT_SPEC_GID);
:NEW.SKU_GID := vpd.replace_gid(:NEW.SKU_GID);
:NEW.SUPPLIER_CORPORATION_GID := vpd.replace_gid(:NEW.SUPPLIER_CORPORATION_GID);
:NEW.USER_DEFINED1_ICON_GID := vpd.replace_gid(:NEW.USER_DEFINED1_ICON_GID);
:NEW.USER_DEFINED2_ICON_GID := vpd.replace_gid(:NEW.USER_DEFINED2_ICON_GID);
:NEW.USER_DEFINED3_ICON_GID := vpd.replace_gid(:NEW.USER_DEFINED3_ICON_GID);
:NEW.USER_DEFINED4_ICON_GID := vpd.replace_gid(:NEW.USER_DEFINED4_ICON_GID);
:NEW.USER_DEFINED5_ICON_GID := vpd.replace_gid(:NEW.USER_DEFINED5_ICON_GID);
:NEW.WAREHOUSE_LOCATION_GID := vpd.replace_gid(:NEW.WAREHOUSE_LOCATION_GID);
:NEW.DOMAIN_NAME := vpd.replace_domain_name(:NEW.DOMAIN_NAME);
END IF;
END;
--------------------


Please change to the below code:OTM supplied version is as shown below.
-------------------
BEGIN
IF INSERTING THEN
IF :NEW.INSERT_USER IS NULL OR :NEW.INSERT_DATE IS NULL THEN
:NEW.INSERT_USER := vpd.get_gl_user;
:NEW.INSERT_DATE := vpd.gmt_sysdate;
END IF;
:new.partition_key := partit.domain_part_key(:new.domain_name);
ELSE
:NEW.partition_key := :OLD.partition_key;
:NEW.INSERT_USER := :OLD.INSERT_USER;
:NEW.INSERT_DATE := :OLD.INSERT_DATE;
:NEW.UPDATE_USER := vpd.get_gl_user;
:NEW.UPDATE_DATE := vpd.gmt_sysdate;
END IF;
END;
---------------------


Without this change we are not able to add records into the SKU table.

Best regards,

Bob
__________________
Best Regards,

Bob Romijn
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Recurring Process to trigger Consolidated Invoice Creation billli Settlement 0 February 11th, 2008 20:16
Shipment Creation sam.OTM Order Processing 1 November 11th, 2007 11:52
Menu link creation nikesh mohanlal Branding, Screen Sets, XSL/CSS and Translations 1 September 19th, 2007 07:04
Creation of Bills at NFRC rkuruba Freight Forwarding 0 July 27th, 2007 18:34
[SOLVED] Screenset creation Rajashree Branding, Screen Sets, XSL/CSS and Translations 1 June 4th, 2007 16:41



All times are GMT. The time now is 11:51.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36