FunctiongetStatusForItem

Gets the status for an item, typically used in the Inventory component

  • Parameters

    • item: string

      The item for which the status is being requested

    • approvedItems: string[]

      Array of approved items, typically as defined in Settings.xml

    • unapprovedItems: string[]

      Array of unapproved items, typically as defined in Settings.xml

    Returns Status

    The status for the specified item