Retirement Notice
|
|
User login
|
|
Frontpage Sponsor
|
|
Poll
|
What do you expect from your SI Implementation partner for the success of ERP implementation. Bring best practices - Not to offer more CR's Leveraging standard functions 20% Need more honesty to work with the Users until their processes are fully mapped & Users are trained 40% Focus on process automation/ integrations/ Real time data/ BI analytics 13% Stick to basics 27% Total votes: 15 |
|
|
 |

14th August 2010, 11:56
|
 |
Junior Member
|
|
Join Date: Oct 2001
Location: Bahrain
Posts: 29
|
|
Baan: LN 6.1 FP5 -
DB: Oracle 11 i -
OS: Windows 2003
|
LN Exchange Scheme - Import utc Date issue
Baan: ERP LN 6.1 FP5 DB: Oracle 10.1.0.x OS: Windows NT C/S: Server
While importing data using Exchange Scheme, All the dates are converted as 01 - 01- 1970 though the data input was mmddyy format and the exchanges scheme also we defined in the masterdata as mmddyy.
Is it a processing issue or LN Bug?
__________________
"Success is not in howmany things we are doing but in how differently we are doing"
|

15th August 2010, 15:51
|
 |
Senior Member
|
|
Join Date: Nov 2006
Location: Akron NY USA
Posts: 116
|
|
Baan: LN6.1 FP6 -
DB: MS SQL Server -
OS: MS Windows Server
|
Hi binoy000,
It should import properly if in your ASCII File Fields session, Field Type is set to Numeric and Date Format is set to MMDDYY.
Mike
|

16th August 2010, 07:58
|
 |
Junior Member
|
|
Join Date: Oct 2001
Location: Bahrain
Posts: 29
|
|
Baan: LN 6.1 FP5 -
DB: Oracle 11 i -
OS: Windows 2003
|
Do we need to put any values for time other than mmddyy?
I have put the asci data in the following way...
DPCMNMxxxxxx|1|LCP000062|1|051310|1|USD|325000.00|||070510|062010|LC2|FB2|Fxxxxx
DPCMxxxxx|1|LCP000069|1|052310|1|USD|569304.00|||071510|063010|LC2|FB2|xxxxxx
__________________
"Success is not in howmany things we are doing but in how differently we are doing"
|

17th August 2010, 13:12
|
 |
Senior Member
|
|
Join Date: Nov 2006
Location: Akron NY USA
Posts: 116
|
|
Baan: LN6.1 FP6 -
DB: MS SQL Server -
OS: MS Windows Server
|
Quote:
Originally Posted by binoy000
Do we need to put any values for time other than mmddyy?
I have put the asci data in the following way...
DPCMNMxxxxxx|1|LCP000062|1|051310|1|USD|325000.00|||070510|062010|LC2|FB2|Fxxxxx
DPCMxxxxx|1|LCP000069|1|052310|1|USD|569304.00|||071510|063010|LC2|FB2|xxxxxx
|
The time will import as 12:00:00 AM.
|

18th August 2010, 07:56
|
 |
Junior Member
|
|
Join Date: Oct 2001
Location: Bahrain
Posts: 29
|
|
Baan: LN 6.1 FP5 -
DB: Oracle 11 i -
OS: Windows 2003
|
All setting is same .But result is still 1970 date...I have registered an incident to Infor.
This problem was there from beginning of LN Implementation.
__________________
"Success is not in howmany things we are doing but in how differently we are doing"
|

30th August 2010, 07:49
|
 |
Junior Member
|
|
Join Date: Oct 2001
Location: Bahrain
Posts: 29
|
|
Baan: LN 6.1 FP5 -
DB: Oracle 11 i -
OS: Windows 2003
|
I got the solution from Infor- we have to use the asci file with hrmnssmmddyyyy format.
Thanks everybody.
__________________
"Success is not in howmany things we are doing but in how differently we are doing"
|

20th October 2010, 17:01
|
Junior Member
|
|
Join Date: Jun 2010
Posts: 5
|
|
Baan: ERP LN -
DB: Oracle 11g -
OS: AIX
|
Hi binoy000,
I still only get as result the 1970 date. How did you define the Ascii field file - Numeric and MMDDYYYY?
Markus
|

21st October 2010, 10:10
|
Junior Member
|
|
Join Date: Jun 2004
Location: Berlin
Posts: 27
|
|
Baan: Baan IV, V, LN, OpenWorld -
DB: Informix, Oracle -
OS: Unix, Windows 2003
|
exchange date import
the best way to import dates with exchange is to write a condition.
somthing like
long yy mon dd hh min ss
yy = lval(date(1;4))
....
....
return date.to.utc(yy,mon, ...)
or for dte date
return date.to.num(yy,mon, ...)
this condition can be changed to agree with the format in the import file
define the input field as string
Regards
peter
__________________
Peter J Campbell
|

21st October 2010, 17:03
|
Junior Member
|
|
Join Date: Jun 2010
Posts: 5
|
|
Baan: ERP LN -
DB: Oracle 11g -
OS: AIX
|
Hi Peter,
that works great, thanks
Kind Regards
Markus
|

22nd November 2010, 21:56
|
Member
|
|
Join Date: Jun 2009
Posts: 67
|
|
Baan: ERP LN -
DB: SQL2005 and Oracle -
OS: HPUX, IBM AIX, Windows 2003 server
|
Yes, the problem with this example you presented, is that the date is not a date field truly but a UTC field. UTC is an acronym that stands for Coordinated Universal Time. An UTC field handles Date and Time. So, the value a UTC field can take is represented by a numeric value, using this international standard. This numeric value which is stored in the database also as a numeric value is
In ERP LN: the number of seconds from January 1st, 1970 12:00am.
In other words, 01/01/1970 00:00 = 0; 01/01/1970 00:02 = 120; 01/04/2007 00:00 = 1167868800
In BAAN IV: The number of days from January 1st, 1970 12:00am.
Peter's condition handles this conversion correctly but I figured it would not hurt to provide more information.
Regards,
|

2nd December 2010, 07:49
|
Junior Member
|
|
Join Date: Jun 2004
Location: Berlin
Posts: 27
|
|
Baan: Baan IV, V, LN, OpenWorld -
DB: Informix, Oracle -
OS: Unix, Windows 2003
|
Baan IV
In BAAN IV: The number of days from January 1st, year 0
dte date as tfgld.date in LN
__________________
Peter J Campbell
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|