| 
          
           | 
          
          
           | 
        
        
          
          
            
              |    | 
              Function: | 
             
            
              |    | 
              To indicate the type and function of a message and to transmit the identifying number. | 
             
           
           | 
        
        
          |   | 
          
          
           | 
          EAN | 
          * | 
          
          
           | 
        
        
          | 
          
           | 
          
          
           | 
          
          
           | 
          R | 
            | 
            | 
        
        
          | 
          
           | 
          
          
           | 
          
          
           | 
          R | 
          * | 
          
          
           | 
        
        
          | 
          
           | 
          
          
            
               | 
              Code list identification code | 
             
           
           | 
          
          
           | 
          N | 
            | 
            | 
        
        
          | 
          
           | 
          
          
            
               | 
              Code list responsible agency code | 
             
           
           | 
          
          
           | 
          N | 
            | 
            | 
        
        
          | 
          
           | 
          
          
           | 
          
          
           | 
          O | 
            | 
            | 
        
        
          | 
          
           | 
          
          
            
               | 
              DOCUMENT/MESSAGE IDENTIFICATION | 
             
           
           | 
          
          
           | 
          R | 
            | 
            | 
        
        
          | 
          
           | 
          
          
           | 
          
          
           | 
          R | 
            | 
          
          
            
               | 
              Instruction to despatch number assigned by the document sender. | 
             
            
               | 
              For global unique identification of documents Global Document Type Identifier (GDTI) is available. | 
             
           
           | 
        
        
          | 
          
           | 
          
          
           | 
          
          
           | 
          N | 
            | 
            | 
        
        
          | 
          
           | 
          
          
           | 
          
          
           | 
          N | 
            | 
            | 
        
        
          | 
          
           | 
          
          
           | 
          
          
           | 
          R | 
          * | 
          
          
            
               | 
              General explanations | 
             
            
              | 1 | 
               | 
              = | 
               | 
              Cancellation | 
             
            
              | 5 | 
               | 
              = | 
               | 
              Replace | 
             
            
              | 9 | 
               | 
              = | 
               | 
              Original | 
             
            
              | 31 | 
               | 
              = | 
               | 
              Copy | 
             
            
              | 42 | 
               | 
              = | 
               | 
              Confirmation via specific means | 
             
            
               | 
              The message function coded, is a critical data element in this segment. It applies to all data indicated in the message. The following definitions apply for the restricted codes: | 
             
            
               | 
              1  = Cancellation - An entire previous instruction to despatch is being cancelled. Only the mandatory segments in the message along with the NAD segments identifying the sender and recipient need to be re-transmitted. Identification of the previously sent message should take place in the RFF segment in group 1. | 
             
            
               | 
              5  = Replace - The current message cancels and replaces a previously sent instruction to despatch message. Identification of the previously sent message should take place in the RFF segment in group 1. | 
             
            
               | 
              9  = Original - The original transmission of an instruction to despatch. | 
             
            
               | 
              31 = Copy - A copy of an instruction to despatch which is sent to a third party for information purposes. | 
             
            
               | 
              42 = Confirmation via other means - A confirmation of a previous instruction to despatch sent by means other than EDI, e.g, fax.  | 
             
           
           | 
        
        
          | 
          
           | 
          
          
           | 
          
          
           | 
          N | 
            | 
            | 
        
        
          
          
            
               | 
              Segment Notes: | 
             
            
               | 
              This segment is used to indicate the type and function of a message and to transmit the identifying number. All references other than the document number DE 1004 are to be put in the RFF segment.
  Example: BGM+350+31041+9' | 
             
           
           |