KVSKBAGetBlockedItemAndVariant
Events
OnAfterGetRecordItemBeforeInsertInBlockedItemAndVariant(Record Item, Boolean) :
Summary: Integration event that is raised after getting a blocked item record and before inserting it into the blocked item and variant report.
[IntegrationEvent(false, false)]
local procedure OnAfterGetRecordItemBeforeInsertInBlockedItemAndVariant(KVSKABAItem: Record "Item"; var IsHandled: Boolean):
Parameters:
KVSKABAItem: The record of the blocked item that has been retrieved.IsHandled: A boolean variable that can be set to true by the subscriber to indicate that the default processing should be skipped.
Remarks: This integration event allows external subscribers to perform custom logic or modifications after a blocked item record has been retrieved and before it is inserted into the blocked item and variant report. It provides access to the blocked item record and a handled flag that can be set to true to skip the default processing. Subscribers can use this event to implement additional validation, logging, or any necessary adjustments before the blocked item is inserted into the report. If the handled flag is set to true, the default logic for inserting the blocked item will be bypassed, allowing for complete control over how blocked items are processed in the report.
OnAfterGetRecordItemVariantBeforeInsertInBlockedItemAndVariant(Record Item Variant, Boolean) :
Summary: Integration event that is raised after getting a blocked item variant record and before inserting it into the blocked item and variant report.
[IntegrationEvent(false, false)]
local procedure OnAfterGetRecordItemVariantBeforeInsertInBlockedItemAndVariant(KVSKABAItemVariant: Record "Item Variant"; var IsHandled: Boolean):
Parameters:
KVSKABAItemVariant: The record of the blocked item variant that has been retrieved.IsHandled: A boolean variable that can be set to true by the subscriber to indicate that the default processing should be skipped.
Remarks: This integration event allows external subscribers to perform custom logic or modifications after a blocked item variant record has been retrieved and before it is inserted into the blocked item and variant report. It provides access to the blocked item variant record and a handled flag that can be set to true to skip the default processing. Subscribers can use this event to implement additional validation, logging, or any necessary adjustments before the blocked item variant is inserted into the report. If the handled flag is set to true, the default logic for inserting the blocked item variant will be bypassed, allowing for complete control over how blocked item variants are processed in the report.