Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
37%
Installation Wizard into new VRC
37%
Manual into existing VRC
5%
Manual into new VRC
21%
Total votes: 43

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 8th May 2018, 17:06
Premahari Premahari is offline
Junior Member
 
Join Date: Mar 2018
Posts: 15
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Date Format depends on user
Baan: ERP LN 6.1 FP11 (Infor ERP 10.5)
C/S: None/Unknown

Hi, I want to print date which should print depends on user format. For example if i'm using dd/mm/yy date should print like 01.12.19. If another user using date format yy/mm/dd. When that user prints it should print like 19.12.01. How to print the date format as depends on user. Anyone please help.
Reply With Quote
  #2  
Old 9th May 2018, 14:29
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,035
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
How do you know which user is using which date? Are you talking the client setup?
__________________
Mark

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
  #3  
Old 10th May 2018, 06:34
Premahari Premahari is offline
Junior Member
 
Join Date: Mar 2018
Posts: 15
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Thanks for your reply. Yes I don know which user is using which format. But when they give print it should print in the format they are using. How to to do this?
Reply With Quote
Sponsored Links
  #4  
Old 10th May 2018, 07:39
Ajesh's Avatar
Ajesh Ajesh is offline
Guru
 
Join Date: Feb 2009
Posts: 478
Ajesh is on a distinguished road
Baan: LN 10.4 - DB: Oracle - OS: HP-Unix
Are you going to Maintain a specific Table for this ? If yes then you will need to maintain those formats in a Table for that.

like

User1 | 001
User2 | 002
User3 | 003

where the Display Format would refer to session ttadv4580m000

and then in the script what you need to change

result = sprintf$("%D" & user.format, input.date)

where user.format is the selected Date Format of the specific User.
Reply With Quote
  #5  
Old 10th May 2018, 15:05
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,035
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
I do not see anyway around doing something like Ajesh recommended. I assume there is a windows date command you could run to a file on the client - then read that file, and create the table for that user. But still I think you could need the script format changes.
__________________
Mark

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
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
Can we have different time-zone & date format for user in baan 4c4. techcon Tools Administration & Installation 0 14th September 2009 07:35
Using inputstr.to.utc using user defined date format JustaPackfan Tools Development 2 15th February 2006 19:16
Multiple date formats & currency formats by user. kphipps Tools Administration & Installation 6 9th November 2005 14:19


All times are GMT +2. The time now is 23:48.


©2001-2017 - Baanboard.com - Baanforums.com