Changes between Initial Version and Version 5 of Ticket #2738


Ignore:
Timestamp:
2/28/2023 4:15:04 PM (4 years ago)
Author:
Kurt Endress
Comment:

Proposed logic:

Is_available would only be changed by the Inventory Status Data Trigger if is_auto_deducted = 'Y'

When quantity_on_hand <= distribution_critical_quantity

Set is_available to 'N' if availability_status_code is equal to AVAIL set it to LOW

When quantity_on_hand > distribution_critical_quantity

and availability_status_code is LOW or AVAIL

Set is_available to 'Y' Set availability_status_code to AVAIL

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2738

    • Property Owner changed from dbmulg to Kurt Endress
    • Property Component Public Website 2 → Trigger
    • Property Type defect → enhancement
    • Property Summary Need to consider onhand amount and critical amount when deciding the availability → Inventory availability trigger should cover more availability status codes
  • Ticket #2738 – Description

    initial v5  
     1When quantity on hand drops below the distribution critical quantity the Inventory Status Data Trigger currently only changes is_available to 'N' if the availability_status_code is AVAIL. It ignores other status codes.
     2
     3The scope of the automatic control should be expanded to cover all the status codes when setting is available to 'N' (still only when is_auto_deducted = 'Y'). But setting is_available to 'Y' should still only happen for availability status codes LOW or AVAIL, so as not to set PVP samples and similar to available.
     4
     5Previously written up as:
     6
     7Summary: Need to consider onhand amount and critical amount when deciding the availability
     8
    19Currently we check the availability, we don't consider the onhand amount and critical amount even if the numbers are in the table.  We need to.
    210