Apply MPI line inclusions to SGI temporarily.

This commit is contained in:
Patrick Fic
2026-03-25 10:30:31 -07:00
parent 233c1aed1e
commit b67f4433cc
4 changed files with 15 additions and 5 deletions

9
SGI.md Normal file
View File

@@ -0,0 +1,9 @@
* Ensure SAAR switch is set for Estimate
* INS_CO_NMs
* Line discounts?
SGI Questions
* MPI enforces a quantity of 1 - will this hold true?
* Special rules like 50% wheel repair lines.
*

View File

@@ -389,6 +389,7 @@ async function DecodeLinFile(extensionlessFilePath, close_date) {
jobline.ignore = false;
switch (ins_rule_set) {
case "MPI":
case "SGI":
const rulesetToApply = WhichRulesetToApply(close_date);
switch (rulesetToApply) {
@@ -406,10 +407,10 @@ async function DecodeLinFile(extensionlessFilePath, close_date) {
break;
}
break;
case "SGI":
log.info("Using SGI ruleset. Line will be automatically counted until rules are added.");
// case "SGI":
// log.info("Using SGI ruleset. Line will be automatically counted until rules are added.");
break;
// break;
default:
log.info("Using default ruleset (MPI).");
break;

View File

@@ -3,7 +3,7 @@
"productName": "ImEX RPS",
"author": "ImEX Systems Inc. <support@thinkimex.com>",
"description": "ImEX RPS",
"version": "1.6.0-alpha.3",
"version": "1.6.0-alpha.4",
"main": "electron/main.js",
"homepage": "./",
"dependencies": {

View File

@@ -32,7 +32,7 @@ export function RoutesPage({ bodyshop, darkMode }) {
if (bodyshop?.ins_rule_set === "SGI") {
notification.warning({
message: "SGI Target Warning",
description: "SGI has not yet released savings targets. Targets will be displayed as $0.",
description: "SGI has not yet released savings targets. Targets will be displayed as $0. MPI Rules have been applied and may be incorrect.",
placement: "bottomLeft",
key: "sgi-target-warning",
duration: -1,