AutoResponder
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
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:
and then click „Save“ in the upper-right corner.
Now this account has been added to your list of business partners.
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 Command | Parameter | Description | Command |
---|---|---|---|
MIRROR | none | Mirrors a document so that you get back exactly the document you sent - Exception: SenderID, ReceiverID, TransmissionID | #MIRROR |
WORKFLOWRESPONSE | none | Modifies MessageTypeID as described in the standard 5.0 default workflow. | #WORKFLOWRESPONSE |
CHANGEITEM | ITemID [ItemID] - without ItemID all line-items will be changed | Modifies quantity and price of items. | #CHANGEITEM:1,4 |
SETTYPE | MessageTypeID | Responds with the specified document type. The document types can be found under this table. | #SETTYPE:INVOICE |
SETMESSAGEID | Message ID | Sends back the specified document number. | #SETMESSAGEID:12345 |
CHANGESENTDATE | DATEMODIFIER | Responds with a correspondingly changed send-date. Please note the rules below. | #CHANGESENTDATE:+2MONTHS-5HOURS |
CHANGEDISPATCH | DATEMODIFIER, [ItemID] | Changes the latest shipping date for the specified items or for all items. | #CHANGEDISPATCH:+5DAY,2,5 |
CHANGEDISPATCHEARLIEST | DATEMODIFIER, [ItemID] | Changes the earliest shipping date for the specified items or for all items | #CHANGEDISPATCHEARLIEST:+5DAY,2,5 |
CHANGEARRIVAL | DATEMODIFIER, [ItemID] | Changes the latest delivery date for the specified items or for all items | #CHANGEARRIVAL:+5DAY |
CHANGEARRIVALEARLIEST | DATEMODIFIER, [ItemID] | Changes the earliest delivery date for the specified items or for all items. | #CHANGEARRIVALEARLIEST:+5DAY,2,5 |
Message-types / MessageTypeID
Message-type | MessageTypeID |
---|---|
Order | ORDER |
Order response | ORDERCONFIRMATION |
Change Order | CHANGEORDER |
Despatch Advice | DISPATCHNOTIFICATION |
Invoice | INVOICE |
Credit Memo | CREDITMEMO |
Examples
Command | Impact |
---|---|
#CHANGEITEM | changes all quantities and prices in all items |
#CHANGEITEM:1,4 | changes quantities and prices in items 1 and 4 |
#CHANGEDISPATCH:+1DAY-25MINUTES | adds 1 day to the dispatch date and subtracts 25 minutes from the time |
#CHANGEDISPATCH:+5DAY,2,5 | adds 5 days to the dispatch date for items 2 and 5 |
#CHANGEARRIVAL:-2DAY | moves 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.