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

Compare with Current View Page History

« Previous Version 3 Next »

Implementing this feature requires consultation with Commerce Vision.

Overview

Templates are prepared csv files uploaded onto the website by administrators. Uploaded templates can be edited online through Template Maintenance.  


On this page:



Here is an example of a VMI Template a user accesses. Each template contains product lines, as well as space for associated notes. A product line displays a Par Quantity, as well as a Current Count (quantity on hand) input field. When copying items from a par value template to the current order, the system calculates the quantity to add by using the difference between the Par Quantity and Current Count.

Set up Refill Orders
 

Prerequisites

The following pages need to be added to the Administrator's menu in both the Website and CMS. See our guides Add a New Menu Item and Add a page to the CMS menu for instructions. 

  1. Import Par Value Templates (zImportTemplates.aspx?ParValueOrderMode=true) 
    TIP - When adding the menu item, in Page Name, enter:  zImportTemplates.aspx  and in Parameter, enter: ParValueOrderMode=true

  2. Par Value Template Maintenance (zTemplatesMaintenance.aspx?ParValueOrderMode=true)
    TIP - When adding the menu item, in Page Name, enter:  TemplatesMaintenance.aspx  and in Parameter, enter: ParValueOrderMode=true


Create an Order Template

Order templates are csv files that have to be created. The first row of the CSV file will list the fields you need for the template. Each subsequent row contains a template. Some fields are mandatory.

Example



Mandatory fields

To create an order template, create a comma-delimited csv file with the following fields:

ProntoSalesOrderLine.SolLineType,  SoCustCode, SoCustReference, SoUserIdCode, CompanyTemplate, AllowTemplateBillTo, ProntoSalesOrderLine.StockCode, ProntoSalesOrderLine.SolOrderedQty

Optional fields

ProntoSalesOrderLine.CostCentreCode, ProntoSalesOrderLine.SolLineDescription, UserRoleWhenOrderTemplate


Mandatory fields:

FieldValue
ProntoSalesOrderLine.SolLineType

Line type. 'S' = Stock

SoCustCodeCustomer Code this template is for
SoCustReferenceTemplate name
SoUserIdCodeUser ID
CompanyTemplate'Y' or 'N'.
AllowTemplateBillToAllow bill to? Enter 'Y' or 'N'.
ProntoSalesOrderLine.StockCodeProduct code
ProntoSalesOrderLine.SolOrderedQtyDefault Quantity


Optional fields:

FieldValue
ProntoSalesOrderLine.CostCentreCode

Cost centre

ProntoSalesOrderLine.SolLineDescriptionProduct note
UserRoleWhenOrderTemplateRole name. Enter an existing role or 'None'.


Adding Whole Order Note Lines

To create a whole order note line (instead of a product line), override the normal product line processing using the following format. They can also be used for inserting breaks or as headings in the template.

Instead of a product (stock) line, enter the following: 

Line Type [ProntoSalesOrderLine.SolLineType] (Enter 'N'), Customer Code [SoCustCode], Template name [SoCustReference], User name [SoUserIdCode], Product Note [ProntoSalesOrderLine.SolLineDescription]


Import an Order Template


  1. In the CMS, navigate to OrdersOrder Templates.


  2. To upload the order template csv, click Choose File.

  3. Once the file is selected, to import the template, click Import Now

    Success and/or error messages will be displayed in the dialogue box on completion of the import. 

There are actually two file formats accepted by the import program. The format shown above will include a note input area within each product line.

However, some organisations prefer the note lines to be separate to the product lines. To achieve this, simply add a column at the start of the file for ProntoSalesOrderLine.SoILineType (N for Note line, S for Stock line). 


Maintain an Order Template

Once a template has been uploaded, it can be edited in the CMS. 

  1. In the CMS. go to OrdersTemplate Maintenance.

  2. Enter the Customer Code you wish to edit templates for, then click Search.
     
  3. Select the customer by clicking its radio button. 

     
  4. The list of templates for that customer will load. Click View against the required template.


  5. Edit the template as needed. You can edit quantities, resequence product order, delete products and add other products.
     
  6. You can also update the template to display the latest prices for listed products. To update prices, click 'Click Here'.
     

  7. Click Save Template Changes at the bottom of the grid.


Allow user access to order templates

To allow the end user access to Order Templates, you will need to add the page 'OrderTemplates.aspx' to their role's menu. When access is granted, Order Templates is a Dashboard menu item.


Customise Text

Edit the Template Quantity Column Heading 

  1. In the CMS, navigate to Advanced Content → Resources.

  2. Search for and select the radio button next to the resource code rcParValueOrderQtyColHeadingOrderGrid.

  3. Click Modify.

  4. Edit Resource Value.

     
  5. To save changes, click OK.

Edit the Current Count Column Heading

  1. In the CMS, navigate to Advanced Content → Resources.

  2. Search for and select the radio button next to the resource code rcParValueCurrentCountColHeadingOrderGrid.

  3. Click Modify.

  4. Edit Resource Value.
  5. To save changes, click OK.

Edit the Order Template Import Instructions

  1. In the CMS, navigate to Advanced Content → Resources.

  2. Search for and select the radio button next to the resource code rcImportTemplatesCSVFieldsInstructionsParValueMode.

  3. Click Modify.

  4. Edit Resource Value.

     
  5. To save changes, click OK.


  • No labels