Difference between revisions of "Information Systems:IMP - Inbound Message Parsing"

From uniWIKI
Jump to navigation Jump to search
(Created page with "Job IMPPOSTPRD, which is program IMPNEP01CL (IMP-Parse Inbound POP Email Msgs), runs all day in subsystem IMPSUBPRD. RPG program IMPPAR01 reads IMSMHDP and IMSLINP, extract...")
 
Line 1: Line 1:
 
Job IMPPOSTPRD, which is program IMPNEP01CL (IMP-Parse Inbound POP Email Msgs), runs all day in subsystem IMPSUBPRD.
 
Job IMPPOSTPRD, which is program IMPNEP01CL (IMP-Parse Inbound POP Email Msgs), runs all day in subsystem IMPSUBPRD.
   
RPG program IMPPAR01 reads IMSMHDP and IMSLINP, extracts order fields from the X12 format, and writes IMPOHDP (IMP-Inbound Parsing Order Header File) and IMPLINP (IMP-Inbound Parsing Order Lines File).
+
RPG program IMPNEP01 does some validation of files IMSMHDP () and IMSLINP (), then calls IMPPAR01 () to extract order fields from the X12 format, and write IMPOHDP (IMP-Inbound Parsing Order Header File) and IMPLINP (IMP-Inbound Parsing Order Lines File).
  +
  +
IMPNEP01 uses file IMPXRFP (IMP-EOB To Customer Code X-Ref File) to try to determine the ASW partner number of the store submitting the order. [[Electronic Sales Orders#History|EOB]]
  +
  +
3/15/16 13:18:28 uniPHARM -- PRODUCTION IMRIQ070/LISTCTL
  +
IMS -- Show message lines PRODUCTION 1.00
  +
Message #
  +
598350 X12 PO
  +
OWL@UNIPHARM.COM
  +
66.183.181.88 Date Added Date Sent
  +
MAR 15 16 13:16:54 MAR 15 16 13:15:08
  +
IMP Order#
  +
596264 1 2 3 4 5
  +
0 0 0 0 0
  +
6 ~REF*4A*1000
  +
  +
7 ~DTM*010*160315
  +
  +
8 ~N1*BS*OWL DRUGS*91*504
  +
  +
9 ~N2*KEN LEUNG*03921
  +
  +
10 ~N3*199 EAST HASTINGS ST*KEN LEUNG(03921)
  +
  +
  +
F3=Exit F5=Refresh F7=Prev Message F8=Next Message F12=Previous

Revision as of 13:34, 15 March 2016

Job IMPPOSTPRD, which is program IMPNEP01CL (IMP-Parse Inbound POP Email Msgs), runs all day in subsystem IMPSUBPRD.

RPG program IMPNEP01 does some validation of files IMSMHDP () and IMSLINP (), then calls IMPPAR01 () to extract order fields from the X12 format, and write IMPOHDP (IMP-Inbound Parsing Order Header File) and IMPLINP (IMP-Inbound Parsing Order Lines File).

IMPNEP01 uses file IMPXRFP (IMP-EOB To Customer Code X-Ref File) to try to determine the ASW partner number of the store submitting the order. EOB

 3/15/16  13:18:28    uniPHARM -- PRODUCTION               IMRIQ070/LISTCTL    
                      IMS -- Show message lines            PRODUCTION  1.00    
Message #                                                                      
 598350   X12 PO                                                               
          OWL@UNIPHARM.COM                                                     
          66.183.181.88              Date Added         Date Sent              
                                     MAR 15 16 13:16:54 MAR 15 16 13:15:08     
   IMP Order#                                                                  
      596264       1         2         3         4         5                   
                   0         0         0         0         0                   
      6   ~REF*4A*1000                                                         
                                                                               
      7   ~DTM*010*160315                                                      
                                                                               
      8   ~N1*BS*OWL DRUGS*91*504                                              
                                                                               
      9   ~N2*KEN LEUNG*03921                                                  
                                                                               
     10   ~N3*199 EAST HASTINGS ST*KEN LEUNG(03921)                            
                                                                               
                                                                               
 F3=Exit   F5=Refresh   F7=Prev Message  F8=Next Message   F12=Previous