[Zope] Python Script
Jonathan Miles
Jonathan Miles" <info@jonathan-miles.com
Thu, 16 Jan 2003 00:21:24 -0000
Can someone help me with this.
I just want to run the salescheck sql method and use a field 'OFFICENAME' in
the result set in the message.
It is a simple task and it's been bugging me far to long.
Thank for your help.
orderrecordok = context.salescheck(locationid = request.LOCID, RECID =
request.ID)
if not orderrecordok:
return context.REQUEST.RESPONSE.redirect("%s?message=%s" %
(context.REQUEST.URL1,' Sorry the Order ' + salescheck.OFFICENAME + ' is not
yours'))