Dato de fecha Juliano JDE a Gregoriano

9 posts / 0 new
Last post
N3ven
Offline
Joined: 01/31/2023 - 13:12
Dato de fecha Juliano JDE a Gregoriano

Tengo una columna de que me traen fechas pero esta en formato Juliano JDE un ejemplo seria "118150" y eso significa "30/05/2018" para hacer esa conversión use la página de JDE edwards. Lo que quiero hacer es agregar un campo virtual y que me transforme esa fecha juliana y me de como resultado la fecha normal.

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Hi N3ven,

In the Custom Function pack that can be found in the IDEA lab there is a function that will do what you are looking for.  You will need V12 of IDEA in order to run these custom functions.  Download the package and install them and you can find them in the equation editor under the custom functions or type # in the equation editor to see a list.  The custom function you are looking for is cwi_JDEJtod() function that will take a JDE date and change it to a normal date.

#cwi_JDEJtod(118150)

N3ven
Offline
Joined: 01/31/2023 - 13:12

Hola brian
El tema es que el sistema esta en un servidor y yo me conecto remotamente la servidor donde se trabaja. La pregunta es que a la hora de agregar la funcion que me mencionaste no me sale nada al respecto y ningun otra funcion. No habria una manera de poder agrgar el campo y en el apartado de parametro me haga todo eso?
La imagen 1 es el campo que con Fecha JulianaJDE, a lado cree un campo virtual
La imagen 2 es donde quiero poner el parametro para el campo creado y me de resultado la fecha normal
La imagen 3 es donde deberia estar las funciones personalisadas pero no se encuentran

Images: 
Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

They are installed in the local folder so you wouldn't see them from where you are looking.

In the equation editor expand this section:

If they were installed they should show up there.

N3ven
Offline
Joined: 01/31/2023 - 13:12

No se encuentran las funciones personalizadas, donde puedo descargar esas funciones

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

You need IDEA 12 and it can be found in passport:

N3ven
Offline
Joined: 01/31/2023 - 13:12

No se encuentran las funciones personalizadas, donde puedo descargar esas funciones

ortizmario6025@...
Offline
Joined: 09/03/2021 - 11:54

Hi N3ven,
Encontraste la function?

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Hi n3ven,

Go to Passport from IDEA:

Then select IDEALab and then Custom Functions.  You will need IDEA 12 to run these functions.