Baanboard.com

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

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
14%
200 - 500 GB
31%
500 - 800 GB
3%
800 - 1200 GB
7%
1200 - 1500 GB
10%
1500 - 2000 GB
14%
> 2000 GB
21%
Total votes: 29

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 1st April 2008, 19:49
mig28mx's Avatar
mig28mx mig28mx is offline
Guru
 
Join Date: Nov 2003
Location: Mexico
Posts: 427
mig28mx is on a distinguished road
Baan: IVc4 - DB: Oracle 9i, Oracle10g - OS: HP Unix 11, Intel RedHat ES
adding a record using bar code scanner
Baan: Other/Unknown
C/S: None/Unknown

Hello all,
I want to develop a session/table to capture data readed from a bar code scanner. I mean, when a bar code is scaned it have to be inserted on a table.

Anyone have developed something like this?

thanks in advance!
__________________
We talk Baan!
Reply With Quote
Sponsored Links
  #2  
Old 1st April 2008, 20:13
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,136
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Something like that - on mine I just put a tab on each field to move it from field to field. After the last field it did a tab to the enter key - then I had a barcode with enter on it for them to scan. So they can process inventory transfers (bin to bins) in about 5 seconds - as long as they do not make a scanning mistake. Pretty cool to watch them fly through the records. Of course you can always on the last field execute(update.db). My users wanted the option of doing it by hand or by scanner. I am sure others will have different suggestions.
__________________
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 2nd April 2008, 10:45
csecgn's Avatar
csecgn csecgn is offline
Guru
 
Join Date: Aug 2004
Location: Cologne/Germany
Posts: 300
csecgn is on a distinguished road
Baan: IVc4 SP14 (Tools SP 21) ; LN 6.1 (Testing) - DB: Oracle - OS: Solaris
Code:
function start.input.data()
{
	long        i
	string      keyin.char(1)
	domain      tcbool      exit.loop

	exit.loop = false

	| display status information
	modus.f = "Start data entry"
	display("modus.f")

	repeat 
		for i = 1 to 14
			refresh()
			keyin.char = keyin$()
			if keyin.char = chr$(27) 
			then
				exit.loop = add.new.nve()
				break
			else
				if keyin.char <> chr$(13)
					and i < 14
				then
					if keyin.char = "a"
						or keyin.char = "A"
					then
						add.whole.delivery()
						result.string = ""
						exit.loop = FALSE
						break
					else
						result.string(i;1) = keyin.char
					endif
				else
					exit.loop = false
					break
				endif
			endif
		endfor
        
		| Exit data entry or create new record
		if not exit.loop
		then
			in.eanc = result.string
			
			if not isspace(in.eanc)
			then
				add.new.package(
						in.eanc)
			endif
		endif
		result.string = ""
	until exit.loop

	modus.f = ""
	display("modus.f")
}


function add.new.package(
		domain	tio.eanc	i.eanc)
{
	domain	tcbool		entry.ok

	domain	tcmcs.str17	time.string

	entry.ok = TRUE

	...
	
	create new record in a table

	...

	execute(interrupt)
	execute(last.set)
}

I use this code for scanning packages to a SSCC (the barcode is EAN13). The form has only two buttons and is a form 3 type (only view, no input fields). After starting the session the function start.input.data() is started automatically.

hth

Regards
Christof
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
Programming Question mr_suleyman Tools Development 37 11th November 2016 09:14
Bar code write. Not equals read. pellus Tools Development 7 12th January 2015 11:35
Bar code printing in baanIVb2 productivity Distribution, Transportation & Warehousing 8 6th September 2006 15:27


All times are GMT +2. The time now is 10:37.


©2001-2018 - Baanboard.com - Baanforums.com