Topic: Import Items $mb_flag 'S' wrong
The file includes/manufacturing.inc had the acceptable values of the $mb_flag variable / mb_flag field:
M => Manufactured
B => Purchased or Bought
D => Services - do not know the rationale for this assignment. Possibly DeStocked or Discard Inventory.
The extensions file modules/import_items/import_items.php lines 246-247:
if ($mb_flag != "S") {
$sql = "INSERT INTO ".TB_PREF."loc_stock (loc_code, stock_id) VALUES ('{$_POST['location']}', '$id')";
Should we change the D => S in the core file includes/manufacturing.inc or S => D in the extension file import_items.php ?