× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Neil,

My example assumes you have the AI EDI files populated with you interface.

If you have Robot, you can run the job every 5 minutes.  If you don't have
Robot, you will need to write a CL that runs in a subsystem.  To get the job
to run in a subsystem, you need to run a few commands:
CRTSBSD if you want a new subsystem.  Call the subsystem AUTOMATION.  
1.  CRTJOBD for Job
2.  ADDAJE to add job to subsystem you want it to run in.  
The CL will have a Loop with one of the lines of code to be DLYJOB(300), see
CL sample below (you may need to include ADDLIBLE and MONMSG to get the
proper library list:

     PGM        
LOOP:       CALL PGM(SAL2SYS21) 
            RUNAMTSK --- Fill in appropriately for stock allocation parms.

            DLYJOB     DLY(60)                                       
            GOTO       CMDLBL(LOOP)                                

     ENDPGM                                                         

-----Original Message-----
From: Neil Thursby [mailto:neil.thursby@xxxxxxxxxxxxxxxxxxxx] 
Sent: Wednesday, November 17, 2004 8:33 AM
To: System 21 Users
Subject: [SYSTEM21] System 21 SOP EDI interface

We are looking at writing a simple interface for taking Sales orders into
S21.  I believe this can be done by populating the AI EDI files and then
running a job to take that data into OEP40, 55 etc.

However, as we want to do "immediate" processing of received orders, I have
two questions;

1) can the job which takes the orders in be run from a batch job so it
executes say every 5 minutes - without a user having to do anything?

2) can this job be made to do automatic stock allocation?

Thanks in advance,

Neil. 

_____________________________________________________________________
This transmission and any attachments are confidential and are intended
solely for the named addressee (s). If you are not the addressee, please do
not read, copy, use or disclose this transmission and please notify us
immediately by telephone on 
+44 (0) 1670 594848 or by reply.  Please then delete this transmission from
your system.

Although we have taken steps to ensure that this email and attachments are
free from viruses, we advise that in keeping with good computing practice
the recipient must ensure that they in fact are virus free.

No contracts may be concluded on behalf of Fone Logistics LTD by means of
email communications.

_______________________________________________
This is the System 21 Users (SYSTEM21) mailing list
To post a message email: SYSTEM21@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/system21
or email: SYSTEM21-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/system21.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.