Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Search Optifacts User Documentation


Table of Contents (on this page)

Introduction

This document provides instructions for defining Custom XML Statement Footers, including limited formatting, to be output in the XML statement files. Note: This requires that XML statements are used.

Procedure

Defining XML Statement Footers

From the Optifacts main menu:

Type 3 – Editor Utilities and press enter.

Type 6 – Configuration Editor and press enter.

Type 24 - XML Statement Options Menu and press enter.

Type 2 – Edit XML Statement Footer and press enter.

The Configuration Editor displays.

  • Type A to add a new record.
  • Enter all the information as applicable pressing enter past each field.
  • Press Escape to save the data.
  • Type E to exit.

The Document Type can be:

  • F for “Faktura”/”Statements”
  • G for General Delivery Notes
  • C for Credits
  • A for all documents printed out of 1 - 2 - 2.  For labs that only print monthly statements, A is the best choice

We allow up to 5 lines of custom footer text. Each line also has three flags to indicate if the line should be bold, italic, or underlined. It is possible for the line to have all three formats.

Assigning XML Statement Footers

After adding a footer record:

  • Press ‘D’ for detail.

The Detail screen displays

  • Type ‘A’ to add a detail record to specify the requirements for outputting this footer information.

In the example below, the account 1012 will receive this information on all of their statements.

  • Enter only one line of criteria per record.
  • Account segments and sub-segments are defined in menu 3-1-15 Edit Segment Assignments.
  • Sales groups, buying groups, chain groups and business types are defined in menu 3-1-13 Configure Stmt/Faktura on a per account basis.

Printing XML Statement Footers

XML statements must be used in order for these tags to be output and printed. Then, the statement_default.fo (or equivalent) must be enhanced to identify and print the following tags.

For each footer Optifacts finds that match the assignment criteria, we will output in the /statement/trailer section of the XML file the following tags and attributes (from example above):

        <footer>

            <footer_line bold="TRUE" text="This line should be bold." />

            <footer_line italic="TRUE" text="This line should be italic." />

            <footer_line underline="TRUE" text="This line should be underlined." />

            <footer_line text="This line is normal." />

            <footer_line bold="TRUE" italic="TRUE" underline="TRUE" text="This line has all three." />

        </footer>  

The statement_default.fo (or equivalent) that is used to print XML statements will need to be updated in order to output this information.

  • No labels