Maintaining Header And Footer Text

The Showroom header and footer text for company ‘[no.]’ form and VSB header and footer text for company ‘[no.]’ form maintains the header and footer text for Showroom or VSB documents.

What do you want to do?

[...] Header And Footer Text For Company ‘[no.]’ Form

This form is displayed when you click Manufacturer systems (Module) and MB. Mercedes-Benz (Company) > Menu - Utilities > Mercedes-Benz parameters and you browse to Sales > + Sales Printing Parameters > [no. Company name] on the Project parameters browser to display the Sales Printing Parameters and you click the Showroom or Vehicle Stock Books tab > Add or Edit button. It maintains the header and footer text for Showroom or VSB documents.

Menu Bar and Toolbar:

Menu bar Toolbar Action
File > Close Exit.gif Returns you to the previous form.

Edit > Save Save.gif Stores the header and footer for this document type.
Edit > Delete Cross.gif Deletes the document type with header and footer text.
Edit > Copy

Copies the header and footer text for another document type.

Edit > Paste

Overwrites the existing header and footer text with the previous copied header and footer text.


Help > Help Help2.gif Displays this help topic in a web browser.

Document type: Enter a unique three character ID for the text entered.

Note: This ID is used within the format stationary to print the correct header and footer text and allows different text on different types of documents. It is also possible to define a document type ‘***’. This document type is used in case the document type as specified in the format stationary is not available.

Language: Enter the language code of the Header and Footer text. All installed languages are displayed in the list.

Header text: Enter the text that is required to appear on the top of printed documents (4 lines of 100 characters).

Footer text: Enter the text that is required to appear on the bottom of printed documents (20 lines of 100 characters).

Tip: Within the header and footer text is it possible to use variables as defined in the format stationary derived coding. A reference to a derived field can be added as following: an alphanumeric field VEHDISC$ is defined to hold the description of the vehicle and a numeric field QTY to hold the number of vehicle on a specific quote. The reference to these fields, used in within the header and footer text, is {!0_VEHDESC$} for the vehicle description and {!0_QTY} for the number of vehicles. So the derived field name from the format stationary should be prefixed with !0_ and the full reference should be placed between {}. You can print a number as text (applicable for 1 to 20) in stead of digits by adding [N] to the reference: {!0_QTY[N]}. To print numbers with a specific number of decimals, you can for example add [2] to the field reference to print the number with two decimals: {!0_QTY[2]}.

Adding a Header and Footer Text For a New Document Type

To add a header and footer text for a new document type:

  1. This form is displayed when you click Manufacturer systems (Module) and MB. Mercedes-Benz (Company) > Menu - Utilities > Mercedes-Benz parameters and you browse to Sales > + Sales Printing Parameters > [no. Company name] on the Project parameters browser to display the Sales Printing Parameters and you click the Showroom or Vehicle Stock Books tab > Add button.

    The [...] Header And Footer Text For Company ‘[no.]’ form is displayed.

  2. Complete the fields an click the Edit > Save menu bar command or Save Save.gif toolbar button.

    The document type is stored.

Amend a Header and Footer Text For an Existing Document Type

To amend a header and footer text for an existing document type:

  1. This form is displayed when you click Manufacturer systems (Module) and MB. Mercedes-Benz (Company) > Menu - Utilities > Mercedes-Benz parameters and you browse to Sales > + Sales Printing Parameters > [no. Company name] on the Project parameters browser to display the Sales Printing Parameters and you click the Showroom or Vehicle Stock Books tab.

  2. Select the required document type via the Available document types and Language fields and click the Edit button.

    The [...] Header And Footer Text For Company ‘[no.]’ form is displayed.

  3. Change the header and footer text and click the Edit > Save menu bar command or Save Save.gif toolbar button.

    The changed document type is stored.

Delete a Document Type

To delete a document type:

  1. This form is displayed when you click Manufacturer systems (Module) and MB. Mercedes-Benz (Company) > Menu - Utilities > Mercedes-Benz parameters and you browse to Sales > + Sales Printing Parameters > [no. Company name] on the Project parameters browser to display the Sales Printing Parameters and you click the Showroom or Vehicle Stock Books tab.

  2. Select the required document type via the Available document types and Language fields and click the Edit button.

    The [...] Header And Footer Text For Company ‘[no.]’ form is displayed.

  3. Click the Edit > Delete menu bar command or Delete Cross.gif toolbar button.

    The document type is deleted.

Changes required for the format stationary

To print the header and footer text on the showroom documents is it required to change the format stationery of the corresponding documents.

Warning: You should have experience with changing format stationaries to do these changes, ask you local Autoline provider to help you in case you need assistance.

Open the format you want to change in the format stationery editor and do the following changes to get the header and footer text printed.

Define Derived Fields To Be Used As Header and Footer In The Format Stationary

All header and footer fields will be printed using derived fields. These fields have to be defined as following:

Name = ...
HD01_99$ ‘MB_PRINT_GetText$("H", "XXX", 1)
HD02_99$ ‘MB_PRINT_GetText$("H", "XXX", 2)
HD03_99$ ‘MB_PRINT_GetText$("H", "XXX", 3)
HD04_99$ ‘MB_PRINT_GetText$("H", "XXX", 4)
FT01_99$ ‘MB_PRINT_GetText$("F", "XXX", 1)
FT02_99$ ‘MB_PRINT_GetText$("F", "XXX", 2)
FT03_99$ ‘MB_PRINT_GetText$("F", "XXX", 3)
FT04_99$ ‘MB_PRINT_GetText$("F", "XXX", 4)
FT05_99$ ‘MB_PRINT_GetText$("F", "XXX", 5)
FT06_99$ ‘MB_PRINT_GetText$("F", "XXX", 6)
FT07_99$ ‘MB_PRINT_GetText$("F", "XXX", 7)
FT08_99$ ‘MB_PRINT_GetText$("F", "XXX", 8)
FT09_99$ ‘MB_PRINT_GetText$("F", "XXX", 9)
FT10_99$ ‘MB_PRINT_GetText$("F", "XXX", 10)
FT11_99$ ‘MB_PRINT_GetText$("F", "XXX", 11)
FT12_99$ ‘MB_PRINT_GetText$("F", "XXX", 12)
FT13_99$ ‘MB_PRINT_GetText$("F", "XXX", 13)
FT14_99$ ‘MB_PRINT_GetText$("F", "XXX", 14)
FT15_99$ ‘MB_PRINT_GetText$("F", "XXX", 15)
FT16_99$ ‘MB_PRINT_GetText$("F", "XXX", 16)
FT17_99$ ‘MB_PRINT_GetText$("F", "XXX", 17)
FT18_99$ ‘MB_PRINT_GetText$("F", "XXX", 18)
FT19_99$ ‘MB_PRINT_GetText$("F", "XXX", 19)
FT20_99$ ‘MB_PRINT_GetText$("F", "XXX", 20)

Within these derived fields are variables defined to store the header and footer text. The variables HD01 till HD04 will be filled with the header text from document type XXX while the variables FT01 till FT20 will be filled with the footer text.

The routine ‘MB_PRINT_GetText$(Type$1, VehicleType$1, LineNo, Language) is used to retrieve the text from the parameters.

Language is an optional parameter to control the language for the text that needs to returned. Possible values are 1 - 9. The current language of the user will be used if this parameter is not provided.

Note: Please note that these derived fields also need to be defined on the document (format stationary). Changes to the format might also require changes to the corresponding Print manager format.

Changes To The Showroom Formats To Print an Option Group Header

Besides the header an footer text you can also print the option group header in showroom. This will print a bold line The standard vehicle configuration consist of: in front of the standard options.

And a bold line The line configuration consist of: is displayed in front of the selected options.

These group header records do require some small modifications to the format stationary.

The option group line is printed using body 8 what means that Line 8 should be defined in the Tile section of the format:

Description T Lines
Option group line N 1

The option group header will be printed using the accessories notes record from franchise data. The table SR.acnts (Accessory notes) should therefore be specified within the Dictionaries section of the format.

Within body 8 of the format should be defined that the NOTES of the accessories file are printed. The standard format will be printed in case body 8 does not exist.

Control Printing of Line Amount in Showroom

Within Showroom is it now possible to control how the prices on the quote or order are printed. The following options are available:

The following line should be added to the derived section of the format stationary.

Name = ...
DUMMY 0:‘MB_PRINT_BuildLineAmount(SYM(!0_LINETOT)):ERROR DO: END DO

The routine ‘MB_PRINT_BuildLineAmount() will update the derived field (in this case !0_LINETOT, for example, !5_INVALUE+!5_CARTAX+!5_VAT+!5TAX(3)) based on the selection of the user. This derived field should also be used to print the line amount on the format. It is important that this new routine is placed just before the total values of the quote or order are counted.

Print Document Expiration Date on Showroom Documents

Before printing a document is Showroom is the user now requested for an expire date of the document. To print the expire date in the document is it necessary that the following line of derived coding is added to the format sstationary

Name = ...
EXPIRE DocumentExpires : ERROR DO : END DO

The variable DocumentExpires is filled with the selected expire date and is filled in the derived field EXPIRE. This field can be added to the format to print the be printed.

Related Topics:

Printer Setup In Showroom

Printer Setup In Showroom

Preview Setup In Showroom