# Rover POS

Read Time: 2 minute(s)

# Validation Codes

These validation codes are used to determine which section of POS triggered an API call to validate the current sales order.

Code Description
CUSTOMER_SELECTED Selecting a customer to create a new order.
ORDER_INFO_SELECTED Navigating to the order information section
EDIT_ORDER Selecting an order to edit.
PARTS_SELECTED Navigating to the parts sections.
DRAFT_ORDER Selecting a draft order to edit.
LIS_ITEM Add/Edit/Remove a part from the cart.
SHIP_SEQ Selecting a new shipping address

Additionally, support for specific fields in the Order Information section can trigger a validation if the field has a defined FDICT and has web_validate flag enabled.

# POS Partial Ship Fields

MRK.CONTROL response JSON format to show additional fields in the POS Partial Ship section.

{
    "pos_partial_ship_field_items": [
        {
            "pos_partial_ship_field": "46" // Ship Quantity
        },
        {
            "pos_partial_ship_field": "101" // Vendor
        },
                {
            "pos_partial_ship_field": "103" // PO Number
        },
        {
            "pos_partial_ship_field": "80" // Custom field 1
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

# POS Show Orders Tab

MRK.CONTROL response JSON format to show the orders tab in the customers selection within POS.

{
    "pos_show_orders_tab": "Y"
}
1
2
3

# POS Show Opportunities Tab

MRK.CONTROL response JSON format to show the opportunites tab in the customers selection within POS.

Requires SOQUOTE.E to be defined in the user commands.

{
   "pos_show_opp_tab": "Y"
}
1
2
3

# POS Calc Price

calc_price is a field that replaces the POS price calculation based on std_price_items and code_items. This allows the host to calculate the price and skip any price calculation on the client side.

The PRICE FDICT should include the correlative CALC with the following format:

{
 "fdict_items": [
  {
   "file_name": "PRICE",
   "correl_field_no_items": [
    {
     "correl_field_no": "0",
     "correl_desc": "Calc.Price",
     "correl_conv": "MD4",
     "correl_dict_id": "CALC.PRICE",
    }
   ]
  }
 ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

The PRICE API response will allow need to include calc_price with parts returned.

{
    "price_items": [
        {
            "part_number": "93",
            "calc_price": "6.0000"
        },
        {
            "part_number": "94",
            "calc_price": "7.0000"
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12

# POS Lookups

# Customer Lookup

MRK.CONTROL response JSON format to show additional fields in the POS Customer lookup. Omit or set as empty string to keep the original customer lookup table.

{
    "pos_customer_lookup": "CUST*POS.LOOKUP"
}
1
2
3