General Description of the Feature
The reason of this enhancement is to change the way that Precontractual Information Documents for Sales Orders are printed.
Up till now the system was using pre-set razor pages to print precontractual information for Orders.
The enhancement performed will use the internal print provider functionality and print the precontractual information based on custom document layouts crated in .rtf files.
“Precontractual Information” was added as Printable file type so the Internal Print Provider can be set for it and user can manipulate the printing parameters for such types of Documents.
In particular for “Precontractual Information” documents the user must select the “One Dealer Internal” Print Provider:
The Precontractual Information has the following fields exposed for users to show on printable layouts according to custom preference using features provided by the internal print provider:
PrecontractualInformationPrintOrderModel | Parameter |
NotificationLanguage | {NotificationLanguage} |
CustomerSalutation | {CustomerSaluation} |
CustomerName | {CustomerName} |
CustomerName | {CustomerName} |
CustomerStreet | {CustomerStreet} |
CustomerStreetNo | {CustomerStreetNo} |
CustomerCity | {CustomerCity} |
CustomerZipCode | {CustomerZipCode} |
LocationName | {LocationName} |
LocationAddress | {LocationAddress} |
LocationZipCode | {LocationZipCode} |
LocationCity | {LocationCity} |
DateNow | {DateNow} |
VehicleManufacturer | {VehicleManufacturer} |
VehicleFamily | {VehicleFamily} |
VehicleModel | {VehicleModel} |
VehicleVin | {VehicleVin} |
PreconLineInformationPrintModel | |
Description | {PreconInformation.Description} |
DocumentDocEntry | {PreconInformation. DocumentDocEntry} |
DocumentSeriesNo | {PreconInformation. DocumentSeriesNo} |
Notes | {PreconInformation. Notes} |
The prerequisite to do the precontractual printing is to have uploaded an .rtf layout file with the same name as the eligible from the Precontractual setup entry.
And when creating an order and printing it’s precontractual Information the newly defined layout file should be found and printed, for example:
Business Benefit
The enhancement performed will use the internal print provider functionality and print the precontractual information based on custom document layouts crated in .rtf files.
Configuration
Setup Keys
Key | Default Value | Information |
---|---|---|
PrecontractualFunctionalityEnabled | False | GUID, Primary Key |
Add Comment