Table of Contents

KVSKBAItem

Extends #437dbf0e84ff417a965ded2bb9650972#Item

Fields

Name Type Note
KVSKBAQtyInTransferInbound Decimal FlowField
KVSKBAQtyInTransferOutbound Decimal FlowField
KVSKBABlockedManufacturing Boolean Warning: Obsolete
KVSKBANoofExtendedTexts Integer FlowField
KVSKBAAssignedUserID Code[50]
KVSKBASalesPriceGroup Code[10]
KVSKBAPurchPriceGroup Code[10]
KVSKBAMaintenance Enum (KVSKBAMaintenance)
KVSKBAStatusCheckingMandFields Enum (KVSKBAStatusCheckingMandFields)
KVSKBABlockedBy Enum (KVSKBABlockedBy)
KVSKBABlockedUser Boolean
KVSKBAProductCommGrpCode Code[10]
KVSKBAMinimumProfit Decimal
KVSKBASBlPriceindependVariant Option OptionMembers: Default,No,Yes
KVSKBAPBlPriceindependVariant Option OptionMembers: Default,No,Yes
KVSKBANotBillable Code[20]
KVSKBAConnectedCarrier Code[20] FlowField
KVSKBABlockedManufConsumption Boolean
KVSKBADangerousGoodsKey Code[10]
KVSKBADangerousGoodsPoints Integer
KVSKBAAssemblyBlocked Boolean
KVSKBAJobBlocked Boolean
KVSKBATransferOrderBlocked Boolean
KVSKBADangerousGoodsUoM Code[10] Warning: Obsolete
KVSKBADangerousGoodUnitMeasure Code[10] FlowField

Procedures

KVSKBAIsMfgOrAssemblyItem() : Boolean

Summary: Determines whether the item is a manufacturing or assembly item.

procedure KVSKBAIsMfgOrAssemblyItem(): Boolean

Returns: True if the item is a manufacturing or assembly item; otherwise, false.

Remarks: This procedure checks if the item is either a manufacturing item or an assembly item by calling the standard Item table functions IsMfgItem() and IsAssemblyItem(). If either of these functions returns true, indicating that the item is a manufacturing or assembly item, then this procedure returns true. If both functions return false, indicating that the item is neither a manufacturing nor an assembly item, then this procedure returns false.

KVSKBAPreventNegativeInventory(Code[10]) : Boolean

Summary: Determines whether the item is prevented from negative inventory based on the inventory setup and location setup.

procedure KVSKBAPreventNegativeInventory(LocationCode: Code[10]): Boolean

Parameters:

  • LocationCode: The code of the location to check for negative inventory prevention.

Returns: True if negative inventory is prevented for the item at the specified location; otherwise, false.

Remarks: This procedure checks the inventory setup to determine if negative inventory is prevented. If a location code is provided, it also checks the location setup for that specific location. The location setup can override the inventory setup for preventing negative inventory. If the location setup is set to "Default", it will follow the inventory setup. If the location setup is set to "Yes", it will prevent negative inventory regardless of the inventory setup. If the location setup is set to "No", it will allow negative inventory regardless of the inventory setup.

Events

KVSKBAOnBeforeCheckMandatoryFieldsAction(Boolean, Boolean) :

Summary: An integration event that is raised before checking the mandatory fields for the item. This allows subscribers to determine whether the action to check mandatory fields should be shown or not.

[IntegrationEvent(true, false)]
local procedure KVSKBAOnBeforeCheckMandatoryFieldsAction(ShowAction: Boolean; var IsHandled: Boolean): 

Parameters:

  • ShowAction: A boolean parameter that can be set by subscribers to indicate whether the action to check mandatory fields should be shown.
  • IsHandled: A boolean parameter that can be set by subscribers to indicate whether they have handled the logic for showing the action to check mandatory fields.

Remarks: Subscribers to this event can set the ShowAction parameter to true or false to control the visibility of the action to check mandatory fields. They can also set the IsHandled parameter to true to indicate that they have handled the logic, which will prevent the default logic from executing.