Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > DEM & Workflow

Retirement Notice

Baanboard is shutting down on 31-dec-2023. See: http://www.baanboard.com/baanboard/showthread.php?t=76043


User login

Frontpage Sponsor

Main

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

Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 1st July 2010, 09:31
alakananda alakananda is offline
Junior Member
 
Join Date: Mar 2010
Posts: 3
alakananda is on a distinguished road
Baan: C4 - DB: SQLServer 2005 - OS: Windowsw Xp
Date Conversion issue in workflow
Baan: Other/Unknown

Hi,

I am facing problem when i am inserting date field through IBPM workflow form to the table.

In form i have taken the date data type (which contains date time) is date and in erp-ln table the corresponding date field's domain is UTC (date with time).

When I am inserting in Prologue action by writing insert query its not inserting.
It seems error regarding date conversion.

Do you have any idea how to resolve this ?

Thanks in advance...
Reply With Quote
  #2  
Old 22nd September 2010, 13:25
sohan.kanojia sohan.kanojia is offline
Newbie
 
Join Date: Sep 2010
Posts: 1
sohan.kanojia is on a distinguished road
Baan: INFOR LN7.4 - DB: SQL Server 2008 - OS: Windows 2008
for a workaround, convert the date from the workflow into a string and then pass it to the custom table field which is of type String/Varchar.then it will save your date value in string format. Meanwhile i'm also working on the same issue resolution.
Reply With Quote
  #3  
Old 11th December 2010, 12:19
alakananda12 alakananda12 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 8
alakananda12 is on a distinguished road
Baan: BAAN IV - DB: SQLServer 2005 - OS: Windowsw Xp
Quote:
Originally Posted by alakananda View Post
Hi,

I am facing problem when i am inserting date field through IBPM workflow form to the table.

In form i have taken the date data type (which contains date time) is date and in erp-ln table the corresponding date field's domain is UTC (date with time).

When I am inserting in Prologue action by writing insert query its not inserting.
It seems error regarding date conversion.

Do you have any idea how to resolve this ?

Thanks in advance...
You can resolve this issue of formatting date as below:-

If you want to get the current date in workflow,you have to take three variables

like v_date (today's date) date type,init_date(Jan 1, 1900 12:00:00 AM) date type and int_date (Integer).

Then use Action set to calculate the date using DateDiff function like
DateDiff (uda.v_date,uda.init_date,"dd") and return it to int_date.

In this way you will get the date you required.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Infor Workflow(IBPM) Date Issue alakananda Tools Development 0 28th June 2010 13:30
Date Conversion (HIjri to Gregorian ) earl123 Tools Development 6 4th December 2009 07:26
Date conversion redrocks007 Tools Development 1 24th June 2009 16:03
Workflow Login Issue rajesh_bamane DEM & Workflow 5 23rd December 2008 16:13
Annual Issue, and last counting date dmanick Distribution, Transportation & Warehousing 0 15th April 2008 22:13


All times are GMT +2. The time now is 01:21.


©2001-2023 - Baanboard.com - Baanforums.com