Opened 5 years ago
Last modified 9 months ago
#2339 addressed enhancement
Stop red highlighting when clonal Inventory on hand is less than what is to be distributed
| Reported by: | Martin Reisinger | Owned by: | Pete Cyr |
|---|---|---|---|
| Priority: | trivial | Milestone: | |
| Component: | CT Order Wizard | Version: | N/A |
| Severity: | 1 -- Low Effort | Keywords: | interface, clonal |
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
Yesterday I was working w/ a clonal site. For all of their Plant/Cuttings inventory, their Qty on Hand is always 1 for their available accessions. However, their Distribution Qty may vary – typically 5 or 6 cuttings, depending on the species.
In the OW, their cutting inventories are always highlighted in red, because of course the math: 1-6…
is it possible to code something such as: If Type = CT or PL, do not flag in red? Because otherwise, the users will be numb to any red highlighting since – 99% of their clonal shipments will be are highlighted in red.
Change History (2)
comment:1 by , 15 months ago
| Severity: | → 1 -- Low Effort |
|---|
comment:2 by , 9 months ago
| Status: | new → addressed |
|---|
This request was addressed in the CT v1.26.2.23 build. The Order Wizard should no longer highlight order items in red when the 'form_type_code' for the inventory record does not match the 'distribution_form_code' for the order item record.

Suggestion to update the OW red highlight logic to ignore items where:
Inventory.Is_auto_deducted = N
OR
order_request_item.status_code IN(CANCEL, SHIPPED, INSPECT)
OR
order_request_item.distribution_form_code does not match inventory.distribution_default_form_code
OR
order_request_item.quantity_shipped_unit_code does not match inventory.distribution_unit_code
My logic: there's no reason to alert the user if the item is not shipped, changes to the deductible inventory were previously processed, or there is a mismatch in form or unit (eg: ship grams pollen, default is count cuttings).