AutoResponder

Learn how to use the AutoResponder to test messages.

Purpose of the AutoResponder

The business partner “AutoResponder der myOpenFactory” enables you to send test documents and to automatically receive response documents without contacting our support.
By using defined commands, you can influence the behavior of the AutoResponder. For example, you can trigger an order confirmation with deviations to test the deviation check of the platform or of your ERP system.

Procedure

  1. Add the AutoResponder as a business partner.

    To do this, go to “My business partners” and enter “AutoResponder” in the search mask in the upper right corner. Then click on this business partner:

    AutoResponder der myOpenFactory

    and then click „Save“ in the upper-right corner.

    Now this account has been added to your list of business partners.

  2. Send a message with the desired content and address it to the myOpenFactory ID (myOF ID) of the AutoResponder. This is: autoresponder.myopenfactory.com.

    Procedure for using WebEDI:

    If you create a document manually in the portal, you can simply select the recipient “AutoResponder der myOpenFactory“ from the drop-down menu.
    Now you can enter the commands below in the note field in the draft-view of the message (note-field in the header).

    Procedure for ERP-connection:

    If you want to send a document directly from your ERP system, you must enter the myOF ID “autoresponder.myopenfactory.com” in your system as a customer- or supplier-number for a test account. Now you can enter the commands below in the “Note field” in the header (Body.Note) or in the “Subject” of the message. You can also use several commands in one document.

    In addition to the name of the command, you can also specify the desired deviation. This is done using the parameters in the second column of the table. The syntax is as follows: A command is initiated with # and the parameters are separated by a colon. #COMMAND:PARAMETER

Commands

Name of CommandParameterDescriptionCommand
MIRRORnoneMirrors a document so that you get back exactly the document you sent - Exception: SenderID, ReceiverID, TransmissionID#MIRROR
WORKFLOWRESPONSEnoneModifies MessageTypeID as described in the standard 5.0 default workflow.#WORKFLOWRESPONSE
CHANGEITEMITemID [ItemID] - without ItemID all line-items will be changedModifies quantity and price of items.#CHANGEITEM:1,4
SETTYPEMessageTypeIDResponds with the specified document type. The document types can be found under this table.#SETTYPE:INVOICE
SETMESSAGEIDMessage IDSends back the specified document number.#SETMESSAGEID:12345
CHANGESENTDATEDATEMODIFIERResponds with a correspondingly changed send-date. Please note the rules below.#CHANGESENTDATE:+2MONTHS-5HOURS
CHANGEDISPATCHDATEMODIFIER, [ItemID]Changes the latest shipping date for the specified items or for all items.#CHANGEDISPATCH:+5DAY,2,5
CHANGEDISPATCHEARLIESTDATEMODIFIER, [ItemID]Changes the earliest shipping date for the specified items or for all items#CHANGEDISPATCHEARLIEST:+5DAY,2,5
CHANGEARRIVALDATEMODIFIER, [ItemID]Changes the latest delivery date for the specified items or for all items#CHANGEARRIVAL:+5DAY
CHANGEARRIVALEARLIESTDATEMODIFIER, [ItemID]Changes the earliest delivery date for the specified items or for all items.#CHANGEARRIVALEARLIEST:+5DAY,2,5

Message-types / MessageTypeID

Message-typeMessageTypeID
OrderORDER
Order responseORDERCONFIRMATION
Change OrderCHANGEORDER
Despatch AdviceDISPATCHNOTIFICATION
InvoiceINVOICE
Credit MemoCREDITMEMO

Examples

CommandImpact
#CHANGEITEMchanges all quantities and prices in all items
#CHANGEITEM:1,4changes quantities and prices in items 1 and 4
#CHANGEDISPATCH:+1DAY-25MINUTESadds 1 day to the dispatch date and subtracts 25 minutes from the time
#CHANGEDISPATCH:+5DAY,2,5adds 5 days to the dispatch date for items 2 and 5
#CHANGEARRIVAL:-2DAYmoves the delivery date forward 2 days

Parameter DATEMODIFIER

To change a specific date, please stick to the following rules:

The following characters and data are allowed:

  • The character - and +
  • The numbers from 1 to 9
  • The dates: YEAR, MONTH, DAY, HOUR, MINUTE, SECOND (singular or plural)

Example:

+2MONTHS-5HOURS+1MINUTE

Using several commands

If you want to use several commands in one message, you can list them one after another with a blank space or a line break inbetween the commands.

Space example:

#CHANGEITEM #CHANGEDISPATCH:+2DAY

Line break example:

#CHANGEITEM
#CHANGEDISPATCH:+2DAY

Advanced features

  • The MIRROR command ensures that you get back exactly the document you are sending. Therefore, further commands in the remarks field would be ignored.
  • The commands are processed in the order in which they are shown in the table, see Commands.
Last modified March 12, 2024