KVSKBAItemCard
Extends #437dbf0e84ff417a965ded2bb9650972#Item Card
Procedures
KVSKBAActivateFields() :
Summary: Activates or deactivates fields based on the value of the KVSKBAMaintenance field.
procedure KVSKBAActivateFields():
KVSKBAGetAllFieldsEditable() : Boolean
Summary: Returns whether all fields are editable based on the value of KVSKBAAllFieldsEditable variable.
procedure KVSKBAGetAllFieldsEditable(): Boolean
Returns: True if all fields are editable; otherwise, false.
KVSKBASetAllFieldsEditable(Boolean) :
Summary: Sets the value of KVSKBAAllFieldsEditable variable, which controls whether all fields are editable on the page.
procedure KVSKBASetAllFieldsEditable(NewValueAllFieldsEditable: Boolean):
Parameters:
NewValueAllFieldsEditable: The new value to set for KVSKBAAllFieldsEditable. When set to true, all fields will be editable; when set to false, all fields will be non-editable.
Events
KVSKBAOnBeforeQueryClosePage(Record Item, Action, Boolean, Boolean, Boolean) :
Summary: Event raised before the item card page executes its default logic in the OnQueryClosePage trigger.
[IntegrationEvent(false, false)]
local procedure KVSKBAOnBeforeQueryClosePage(Item: Record "Item"; CloseAction: Action; DoShowMandatoryFieldCheckNotification: Boolean; ResultValue: Boolean; var IsHandled: Boolean):
Parameters:
Item: The current item record.CloseAction: The action that is triggering the page close.DoShowMandatoryFieldCheckNotification: A boolean value indicating whether to show a notification for mandatory field check if the item is blocked due to missing mandatory fields.ResultValue: The result value to return from the OnQueryClose trigger. The default value is true, which allows the page to close. Setting this to false will prevent the page from closing.IsHandled: A boolean value indicating whether the event has been handled. If set to true, the default logic in the OnQueryClose trigger will be skipped.
Protected Variables
KVSKBAAllFieldsEditable
Type: Boolean
KVSKBAExtendedPurchasePriceCalcEnabled
Type: Boolean
KVSKBAExtendedSalesPriceCalcEnabled
Type: Boolean
KVSKBAOldStandardPurchasePriceCalcEnabled
Type: Boolean
KVSKBAOldStandardSalesPriceCalcEnabled
Type: Boolean
KVSKBAShowPurchVariantBlockPricingDefaultYes
Type: Boolean
KVSKBAShowSalesVariantBlockPricingDefaultYes
Type: Boolean