Represents the setting for enabling Inventory Management for Unusable Quantities, which you use to track unusable inventory, such as expired, damaged, lost, or stolen items.
Parent Type and Manifest Access
This type extends the Metadata metadata type and inherits its fullName field.
In the package manifest, all the settings metadata types for the org are accessed using the “Settings” name. See Settings for more details.
File Suffix and Directory Location
InvMgmtForUnusableQtySettings values are stored in the InvMgmtForUnusableQty.settings file in the settings folder. The .settings files are different from other named components, because there is only one settings file for each settings component.
Version
InvMgmtForUnusableQtySettings components are available in API version 68.0 and later.
Special Access Rules
To use this metadata type, your Salesforce org must have the Inventory Search and Transfer license.
Fields
enableInventoryManagementForUnusableQuantities
Field Type: boolean
Description: Indicates whether Inventory Management for Unusable Quantities is enabled (true) or disabled (false) for your org.
Use this feature to track unusable inventory, such as expired, damaged, lost, or stolen items, to maintain accurate inventory counts and handle transferring damaged stock.
The default value is false. After you enable this feature, you can’t disable it.
Declarative Metadata Sample Definition
The following is an example of an InvMgmtForUnusableQtySettings component.
The wildcard character * (asterisk) in the package.xml manifest file doesn’t apply to metadata types for feature settings. The wildcard applies only when retrieving all settings, not for an individual setting. For details, see Settings. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.