Exclusion on non-reman manual part changes.
This commit is contained in:
@@ -68,5 +68,10 @@
|
||||
"title": "Release Notes for 1.0.22",
|
||||
"date": "05/20/2021",
|
||||
"notes": "New Features: \n- Added support Line Discounting\n- Ignored lines will now automatically reset when importing to ensure lines are not ignored when updated in place.\nBug Fixes: \n- Improved detection of $0 price items."
|
||||
},
|
||||
"1.0.23": {
|
||||
"title": "Release Notes for 1.0.23",
|
||||
"date": "TBD",
|
||||
"notes": ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -431,16 +431,16 @@ async function DecodeLinFile(extensionlessFilePath) {
|
||||
//05/20
|
||||
//We’ll have to apply a rule that will not count any A/M, Reman or new part price that is manually changed to $0.00. Only recycled parts that are changed to $0.00 can be counted towards RPS.
|
||||
// This is separate from $0.00 DB prices that need to be updated to the manually entered price.
|
||||
// if (
|
||||
// jobline.part_type !== "PAL" &&
|
||||
// jobline.act_price === 0 &&
|
||||
// jobline.price_j
|
||||
// ) {
|
||||
// log.info(
|
||||
// `Jobline '${jobline.line_desc}' ignored because it was manually changed to 0..`
|
||||
// );
|
||||
// jobline.ignore = true;
|
||||
// }
|
||||
if (
|
||||
jobline.part_type !== "PAL" &&
|
||||
jobline.act_price === 0 &&
|
||||
jobline.price_j
|
||||
) {
|
||||
log.info(
|
||||
`Jobline '${jobline.line_desc}' ignored because it was manually changed to 0..`
|
||||
);
|
||||
jobline.ignore = true;
|
||||
}
|
||||
|
||||
// if (
|
||||
// !!jobline.db_price &&
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"productName": "ImEX RPS",
|
||||
"author": "ImEX Systems Inc. <support@thinkimex.com>",
|
||||
"description": "ImEX RPS",
|
||||
"version": "1.0.22",
|
||||
"version": "1.0.23",
|
||||
"main": "electron/main.js",
|
||||
"homepage": "./",
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user