In order to bring you the best possible user experience, this site uses Javascript. If you are seeing this message, it is likely that the Javascript option in your browser is disabled. For optimal viewing of this site, please ensure that Javascript is enabled for your browser.
Login  |   Cloud ERP  |   Home  |

  •     QAD Glossary

  • Defining Document Formats
    Some programs let you specify alternative formats for printed documents in addition to the system-defined default formats. For example, an Italian customer may require a different sales order layout than a US customer. In that case, you can specify a predefined alternate format in the Form Code field of Sales Order Print (7.1.3).
    You do not use a menu-level program to define alternate document formats. Instead, you must create a Progress program to generate them. Use the following steps to do this.
    Create a Progress program to format the document as required.
    Name the new program file appropriately so it can be located by the print program. The file name is typically created by removing the first two characters of the print program name and appending a two-character form code.
    Modify the applicable print function to consider the new form code as valid.
    Example: You create two new sales order formats, identified with form codes AA and 2. The program name for Sales Order Print is sosorp05.p and the default sales order layout is defined by sorp0501.p. Use program file sorp05AA.p to store sales order form code AA and program file sorp0502.p to store form code 2. Be sure to include the zero preceding theĀ 2. Then, modify sosorp05.p to define the two new formats as valid.