These instructions are intended for MV Software personnel, but advanced users might also be able to follow them.
E-Delivery means emailing or faxing invoices instead of printing them on paper.
Most likely someone from MV Software should use this page to add the printers. There are user friendly setup instructions that explain how the customer can set the parameters and edit the customer memos.
We keep e-delivery email addresses and fax numbers in customer and "alt ship-to" memos prefixed with different tags so the program will know which is an email address and which is a fax number.
example: | .EIVC support@mvsoftware.com for email addresses |
.FIVC 2485832553 for fax numbers |
Parameter settings:
oecust.ini
See the O/E task # "32.22.8 Custom Options". This is where we configure the e-delivery details for invoices. If the customer's oecust.ini file does not contain these parameters you should add them from mvs:/u/mvs/dsk0/250001/oecust.ini
EDELIVERY'COPIES=EPPPPPPPP | ;For customers with an EDELIVERY'ICODE this will determine ;how each invoice copy #1-9 is to be delivered ... either: ;E=Edelivered or P=Physically printed. | |
EDELIVERY'DOC'TYPES= | ; Blank=all I=invoice, C=credit | |
EDELIVERY'ICODES=EF | ; Invoice code values that are e-delivery. | |
EDELIVERY'MEMOS=AS | ; Memo files to check for addresses: S=Alt ship-to, O=customer sales, A=customer accounting. You can specify more than one memo. | |
EDELIVERY'EML'FROM= | ; "From" email address | |
EDELIVERY'EML'PREFIX=.EIVC | ;memo tag prefix for email addresses in memos | |
EDELIVERY'FAX'PREFIX=.FIVC | ;memo tag prefix for fax numbers in memos | |
EDELIVERY'EML'PRINTER=EMBDLI | ; System printer name for background emailing invoices | |
EDELIVERY'FAX'PRINTER=FXBDLI | ; System printer name for background faxing invoices | |
Background batch printers:
You'll need to add 2 background printers. 1 for emailing invoices and 1 for faxing invoices.
The user does not select these printers. They are are pre-assigned to the program via the oecust.ini parameters EDELIVERY'EML'PRINTER and EDELIVERY'FAX'PRINTER
Background email printer: see oecust.ini parm EDELIVERY'EML'PRINTER=EMBDLI
Add Printer name: EMBDLI
04. Model ID: EFORM-INVC-EDELIVERY
06. Keywords: SHEET EFORM PDF TKVAL HIDE
14. Spool Command:
mvmail -s"%(SUBJECT)%" -t%(EMAIL.TO)% -f%(EMAIL.FROM)% -p%(PRINTFILE.PDF)%
-c"%(COMPANY.NAME)% -b15. Lock command: Y note: unusual value, you'll have to change this manually
16. Edit command: N note: unusual value, you'll have to change this manually
Background fax printer: see oecust.ini parm EDELIVERY'FAX'PRINTER=FXBDLI
Add Printer name: FXBDLI
04. Model ID: EFORM-FAX-EDELIVERY
06. Keywords: SHEET EFORM TKVAL HIDE
14. Spool Command:
vfx -n%(FAX#)% -t sub=%(SUBJECT)% %(PRINTFILE.PCL)%
15. Lock command: Y note: unusual value, you'll have to change this manually
16. Edit command: N note: unusual value, you'll have to change this manually
Install blat.exe email client for Windows.
Check %MVS_ROOT%\win32\bin\blat_install.bat contents. If the file does not exist, or if it's contents refers to our own email server mail.mvsoftware.com then you know the blat email client is not installed and you'll have to do the installation with these instructions. Only the blat.exe email client and the latest win32\bin\mvmail.exe program will support e-delivery.
Email message file
Create a simple text file %MVS_ROOT%\dsk0\250xxx\edeliv_inv_email.txt for the default email body text for e-delivered invoices. Add text like this:
Please see the attached pdf document. It is your invoice from Company Name.