Exclusion on non-reman manual part changes.
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user