Update System Variable Settings

Many of the database stored procedures use the variables in the PRO_SP_VARIABLES table to determine how to load the data. It is important to set the variables correctly so the data in the database loads properly. Administrator users can use the Data Editor – System Variable Settings table to manage these settings.

Click the links below for instructions on how to set specific variables:

Configuring Store & Cashier/Employee/Salesperson variables - Unique, Used, Size Store Unique in Chain

Cashier Unique in Stores

Employee Copy from Cashier

Salesperson Copy from Cashier

Employee Number Used in Tlog

Salesperson Number Used in Tlog

Cashier Size

Configuring SKU and Customer Master Variables

Configuring General LP and SP Module Variables

Configuring Data Purge Process Variables

Configuring Sales Less than Threshold Variable, Setting and Managing Threshold Groups

 

Notes:

To modify a system variable setting:

  1. From the Tools menu, choose Data Editor.

  2. In the Data Editor, double click on the row for System Variable Settings.

  3. In the row of the variable that you want to modify, click the Available Actions  icon, and choose Edit.

  4. This displays an Edit Record page, where you can edit the variable values.

Refer to the information in the following sections for definitions of system variables and guidelines on entering values.

 

Store and Cashier/Employee/Salesperson Variables

General LP and SP Module Variables

No Match Processing Variables

Configuring Store & Cashier/Employee/Salesperson variables- Unique, Used, Size Store Unique in Chain

These variables are indicated in the POS Questionnaire. Confirm them from the content of the customer’s tlog and Store Master.

CASHIER_STORE.STORE_UNIQUE

STORE_UNIQUE Settings for VAR_VALUE and VAR_VALUE2:

Cashier Unique in Chain (does not matter if cashiers float between stores)

These variables are indicated in the POS Questionnaire. Confirm them from the content of the customer’s tlog and Employee Master

CASHIER_STORE.CASHIER_UNIQUE

CASHIER_UNIQUE Settings for VAR_VALUE and VAR_VALUE2:

Employee Copy from Cashier

These variables are indicated in the POS Questionnaire. Confirm them from the content of the customer’s Employee Master.

Employee number refers to the identification of the employee that is posted to the tlog on transactions where the employee is the customer, not the employee number from the customer’s HR system.

CASHIER_STORE.EMPLOYEE_COPY

EMPLOYEE_COPY Settings for VAR_VALUE and VAR_VALUE2:

Salesperson Copy from Cashier

These variables are indicated in the POS Questionnaire. Confirm them from the content

of the customer’s Employee Master.

CASHIER_STORE.SALESPERSON_COPY

SALESPERSON_COPY  Settings for .VAR_VALUE and VAR_VALUE2

Employee Number Used in Tlog

This variable is indicated in the POS Questionnaire. Confirm them from the content of the customer’s tlog and Employee Master.

This is true when an employee is the customer for a transaction and their employee number is captured and posted in the tlog

CASHIER_STORE.EMPNUM_USED

EMPNUM_USED Settings for VAR_VALUE and VAR_VALUE2:

Salesperson Number Used in Tlog

This variable is indicated in the POS Questionnaire. Confirm them from the content of the customer’s tlog and Employee Master

CASHIER_STORE.SALESPERSONNUM_USED

SALESPERSONNUM_USED Settings for VAR_VALUE and VAR_VALUE2:

Cashier Size

This variable is indicated in the POS Questionnaire. Confirm them from the content of the customer’s Employee Master

CASHIER_STORE.CASHIER_SIZE

Determines the maximum size of the customers column which will be the source for CASHIERNUM, EMPNUM, SALESPERSONNUM – this value is used in the calculation of the CASHIERID, EMPLOYEEID and SALESPERSONID column values.

CASHIER_SIZE Settings for VAR_VALUE and  VAR_VALUE2

Configuring SKU and Customer Master Variables

SKU Stage Override

This variable determines if the SKU master update procedure will overwrite the values in the SKU master table with values from the staging table.

MASTERUPDATE.SKU_STAGE_OVERRIDE

SKU_STAGE_OVERRIDE Settings for VAR_VALUE and VAR_VALUE2:

Customer Stage Override

This variable determines if the customer master update procedure will overwrite the values in the customer master table with values from the staging table.

MASTERUPDATE.CUST_STAGE_OVERRIDE

CUST_STAGE_OVERRIDE Settings for VAR_VALUE and VAR_VALUE2:

Configuring General LP and SP Module Variables

Processing Type

This variable determines the type of processing; either batch, where the ETL is run once per day, or real time, where the ETL is run every 15 minutes during the day and one end of day procedure at the end of the day.

XBRI.PROCESSING_TYPE

PROCESSING_TYPE Settings for VAR_VALUE and VAR_VALUE2:

LP or SP Option

This variable determines whether an organization has purchased the both LP Module alone, or both LP and SP modules.

XBRI.LP_SP_OPTION

LP_SP_OPTION Settings for VAR_VALUE and VAR_VALUE2:

Capture Post Void Details in Tlog

This variable is indicated in the POS Questionnaire. Confirm them from the content of the customer’s tlog.

If post void details are not captured on the post void transaction a database stored procedure will create the detail lines by looking at the original transaction.

PROACT.CAPTURE_PV_DETAILS

CAPTURE_PV_DETAILS Settings for VAR_VALUE and VAR_VALUE2:

Post Void Processing

This variable determines whether the database or ETL handles the post void processing.

This is for the transaction status and post void time difference columns at header level. If the database handles the processing it will mark the original transaction with transstat = ‘POSTVOID’ and calculate the time difference. In a real time processing environment this should be set to Y’

XBRI.POSTVOID_PROCESSING

POSTVOID_PROCESSING Settings for VAR_VALUE and VAR_VALUE2

Void Scheme

The Void Scheme variable should be updated based on the how the customer’s Tlog or web services pass the data for line item records that were voided.  Because XBRi attempts to balance the quantity and amount field while still displaying the line void occurrences, two records are captured and generated for each line void.  The value of the VOID_CODE field is set with “0” for not voided, “1” for voided line and “2” for voiding line. 

The Void Scheme variable is available for the load process to determine based on whether the Tlog or web services send XBRi both records or only one record.  If only one record, the offsetting (opposite value) record will be generated and loaded.

VOID_SCHEME.FN_PRO_VOID_SCHEME

FN_PRO_VOID_SCHEME Settings for VAR_VALUE and VAR_VALUE2:

Followed by No Sale

This variable determines whether the database or ETL handles the Followed by No Sale processing. This is for the followed by no sale flag column at header level. If the database handles the processing it will mark the transaction prior to a NOSALE with fbnosale_flag = Y. In a real time processing environment this should be set to Y.

XBRI.FB_NOSALE

FB_NOSALE Settings for VAR_VALUE and VAR_VALUE2

Comp Backfill Days

Used in the SP Module only

This is the number of days to go back to populate the spo_comp_poll  table.

SPO.COMP_BACKFILL_DAYS

COMP_BACKFILL_DAYS Settings for VAR_VALUE and VAR_VALUE2

Polled Days

Used in the SP Module only

This is the number of days sp_spo_comp_poll procedure will look back for late polls.

SPO.POLLED_DAYS

POLLED_DAYS Settings for VAR_VALUE and VAR_VALUE2

Sales Threshold

The transaction total tender value for reporting ‘sales less than threshold’. See “Configuring Sales Less than Threshold Variable, Setting and Managing Threshold Groups” for more information.

XBRSTATS.SALES_THRESHOLD

SALES_THRESHOLD Settings for VAR_VALUE and VAR_VALUE2

Process No Match Return Exchange

The No Match process is performed using the SP_PRO_NOMATCH_RETURNEXCH procedure, which is run from within the SP_PRO_LOAD_HIST procedure. This procedure looks for original purchase transactions related to refunds and exchanges. Based on the results of these lookups, Match Codes are assigned.

NOMATCH.PROCESS_NM_RETURNEXCH

PROCESS_NM_RETURNEXCH Settings for VAR_VALUE and VAR_VALUE2:

Note: If a customer has more than one POS and one POS captures original transaction information for returns and the other POS does not, this must be discussed with project manager. If Return No Match is enabled, the system will report a lot of false positives for the POS that does not capture original transaction information.

Process No Match Post Void & Cancelled

The No Match process is performed using the SP_PRO_NOMATCH_PVCANCEL procedure, which is run from within the SP_PRO_LOAD_HIST procedure. These procedures look for subsequent re-ring transactions related to post voids and cancels. Based on the results of these lookups, Match Codes are assigned.

NOMATCH.PROCESS_NM_PVCANCEL

PROCESS_NM_PVCANCEL Settings for VAR_VALUE and VAR_VALUE2:

Capture Original Regnum on Returns

This variable is indicated in the POS Questionnaire. Confirm them from the content of the customer’s tlog.

NOMATCH.CAPTURE_ORIG_REGNUM

CAPTURE_ORIG_REGNUM Settings for VAR_VALUE and VAR_VALUE2:

Note: if this were a real time environment there would be two places to modify the view.

Post Void Minutes

The number of minutes to look forward to see if a SKU in a post-voided transaction was re-rung.

NOMATCH.PV_MINS

PV_MINS Settings for VAR_VALUE and VAR_VALUE2:

Cancel Minutes

The number of minutes to look forward to see if a SKU in a cancelled transaction was re-rung.

NOMATCH.CANCEL_MINS

CANCEL_MINS Settings for VAR_VALUE and VAR_VALUE2:

Configuring Data Purge Process Variables

To enhance data minimization for personal data, a purge process is configurable for the deletion of inactive Customer, Employee and Store personal data. The application will delete data considered to be personal data in the database, such as customer and ship to names, addresses, email addresses, etc. The purge routine is added to SP_ETL_XFINISH_BATCH and real time end of day SP_ETL_XFINISH_EOD procedures. Settings in pro_sp_variables enable this to be turned on when the active flag is set to Y and reaches the number of days defined. Administrator users can use the Data Editor – System Variable Settings table to manage these settings. By default, the active flag is set to Y, and the default number of days setting is 370 days for each:

CUSTOMER_INACTIVE_DAYS - based on number of days since the transaction date that is associated with a customer number. Customer First / Last Name, Shipping Address, Email Address, Shipping First / Last Name, Phone Number, Zip code, State, Country will be deleted from transaction history.

EMPLOYEE_TERMINATED_DAYS - based on number of days since the termination date set in the employee master file. Employee first name, last name, federal ID, employee image, and salesperson image data will be deleted from the employee master file.

STORE_CLOSED_DAYS - based on number of days since the closed date in the store master file. Manager name and email address will be deleted from the store master file.

Configuring Sales Less than Threshold Variable, Setting and Managing Threshold Groups

Sales Less Than Threshold is an edit criterion for detecting and reporting sale transactions with a non-zero tender amount below a defined threshold value. Administrator users can use the Data Editor – System Variable Settings table to manage these settings.

The system default value for Sales Less Than Threshold is stored in PRO_SP_VARIABLES table with the following settings:

  1.  SYSTEM = ‘XBRSTATS’,

  2. VAR_NAME = ‘SALES_THRESHOLD’

  3. Threshold value in VAR_VALUE (initially set to 5).

About Threshold Basis and Threshold Groups

In XBRi, sales threshold value can be set by country (threshold basis) and multiple countries can be mapped to a single threshold value (threshold group). Threshold groups provide a single point for changing the threshold values of all the countries in the group. Countries with the same currency could logically be in the same threshold group. There is no reporting by threshold group. The threshold basis of country can be changed to another field in the Store Master, such as state or district. Multiple bases for threshold groups cannot be chosen; for example,: calculating Sales Less Than Threshold for both Region and District is not allowed. Only one (1) threshold group basis should be implemented.

 

 

_____________________________