Message Master auto set print fax for statements

If you are using Sage Pro ERP message master and want statements to be either emailed or faxed based on which customer it is being sent to, you can do that. The "code" field in customer maintenance can be set to FAX, EMAIL. See code from that section below

DO CASE
CASE (lc_Work = "FAX" OR lc_Work = "FX" OR lc_Work == "F") AND .sl_Fax
lc_Return = "Fax "
CASE (lc_Work = "EMAIL" OR lc_Work = "EM" OR lc_Work == "E") AND .sl_Email

lc_Return = "Email"

Here, lc_Work can be code field in AR. In message master setup, you can even change the field