IT FRESH-203
Procurement: Mail in BPartner language, other eMail Address
Testcase to check if the emails sent from Doc_Outbound (Ausgehende Belege)
have the correct sender email address and the text is in the correct
language.
- In AD_MailBox (EMail Server), check if the Email Server is set up correctly, or set it up manually Wie richte ich einen ausgehenden Mailserver ein?
- => you should have an EMail and a Registered EMail (with PW) for your EMail-Server (e.g. smtp.metasconsult.de), with SMTP-Anmeldung checked
-
Add two more emails (AD_MailBox), with the same data (you can copy with details!), but set one with Email for purchase (e.g. einkauf@metasconsult.de) and one for sales side (e.g. verkauf@metasconsult.de)
- In AD_MailConfig (EMail Server Routing), create an entry for purchase side:
- process: Auswahl als Email an Geschäftspartner senden
- Document BaseType: Purchase Order (Bestellung)
- Doc Sub Type: leave empty
- Mail Box: select the one which includes einkauf@metasconsult.de
- Create another entry for sales side:
- process: Auswahl als Email an Geschäftspartner senden
- Document BaseType: Sales Order (Auftrag)
- Doc Sub Type: Standard Order (Standardauftrag)
- Mail Box: select the one which includes verkauf@metasconsult.de
-
To make sure you receive the emails yourself, check Wie richte ich einen ausgehenden Mailserver ein? again and set your own email address as the debugmail
-
Select a bpartner that is vendor and customer, and has language = DE set
-
Check the users of this bpartner in tab AD_User, and set your own email address for them
-
Create an Auftrag and a Bestellung for this bpartner
- Open C_Doc_Outbound_Log (Ausgehende Belege), search for your bpartner and date of test
- => your Auftrag and Bestellung are displayed
-
Press Gear, Auswahl als Email an Geschäftspartner senden
- Check your email inbox (in Outlook)
- => one email with a confirmation of the Bestellung, with sender address einkauf@metasconsult.de, text & subject in german
- => one email with a confirmation of the Auftrag, with sender address verkauf@metasconsult.de, text & subject in german
-
Go back to bpartner window, and set the language for your bpartner to FR
-
In C_Doc_Outbound_Log (Ausgehende Belege), send emails again with Gear, Auswahl als Email an Geschäftspartner senden for your two orders again
- Check your email inbox (in Outlook)
- => one email with a confirmation of the Bestellung, with sender address einkauf@metasconsult.de, text & subject in french
- => one email with a confirmation of the Auftrag, with sender address verkauf@metasconsult.de, text & subject in french
View source file on GitHub.com