[ic] Accessing $Db or $Sql in Jobs?
Ethan Rowe
ethan at endpoint. com
Thu Jan6 07:49:55 EST 2005
Previous message: [ic] Accessing $Db or $Sql in Jobs?
Next message: [ic] Accessing $Db or $Sql in Jobs?
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Jeff Fearn wrote:
>On Thu, 6 Jan 2005 15:23:16 +1000, Jeff Fearn <jefffearn at gmail. com> wrote:
>
>
>>On Wed, 05 Jan 2005 18:22:32 -0800, John Young <john_young at sonic. net> wrote:
>>
>>
>>>Ethan Rowe wrote:
>>>
>>>
>>>>Jeff Fearn wrote:
>>>>
>>>>
>>>>
>>>>>Hi, how do you make $Db or $Sql accessable to usertags run using the
>>>>>jobs functionality?
>>>>>
>>>>>I have a job which uses a new usertag, however $Db and $Sql are empty.
>>>>>
>>>>>I have used $Db and $Sql in another usertag; which is used in the
>>>>>order routing; without a problem. I am assuming this is something to
>>>>>do with this tag being used via the job queue . . . this may be a very
>>>>>bad assumption :}
>>>>>
>>>>>I have tried setting "Allow Global foundation" in interchange. cfg,
>>>>>which I really don't want to do, with no effect.
>>>>>
>>>>>The job just contains:
>>>>>
>>>>>[x12_945]
>>>>>
>>>>>The tag code is:
>>>>>User Tag x12_945 Routine <<EOR
>>>>>sub
>>>>>{
>>>>># Make sure we have the EDI module installed
>>>>>eval
>>>>>{
>>>>>use X12::Base;
>>>>>};
>>>>>
>>>>>if($@)
>>>>>{
>>>>>::log Error("Could not load X12::Base Modul |