Skip to content

KVSTRDItemVariantAttributeMgmt#

Events#

KVSTRDOnBeforeInsertItemVariantInCreateItemVariant(Record Item Variant, Record Item, Record KVSTRDItemVariantAttrValue, Record KVSTRDItemVariantAttrValue, Record KVSTRDItemVariantAttribute, Record KVSTRDItemVariantAttribute) :#

Summary: This event is raised before an item variant is inserted in the CreateItemVariant procedure.

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeInsertItemVariantInCreateItemVariant(var ItemVariant: Record "Item Variant"; var Item: Record "Item"; var ItemVariantAttrValue: Record "KVSTRDItemVariantAttrValue"; var ItemVariantAttrValue2: Record "KVSTRDItemVariantAttrValue"; var ItemVariantAttribute: Record "KVSTRDItemVariantAttribute"; var ItemVariantAttribute2: Record "KVSTRDItemVariantAttribute"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDItemVariantAttributeMgmt", 'KVSTRDOnBeforeInsertItemVariantInCreateItemVariant', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeInsertItemVariantInCreateItemVariant(var ItemVariant: Record "Item Variant"; var Item: Record "Item"; var ItemVariantAttrValue: Record "KVSTRDItemVariantAttrValue"; var ItemVariantAttrValue2: Record "KVSTRDItemVariantAttrValue"; var ItemVariantAttribute: Record "KVSTRDItemVariantAttribute"; var ItemVariantAttribute2: Record "KVSTRDItemVariantAttribute")
begin
end;

Parameters:

  • ItemVariant: The Item Variant record that is being processed.
  • Item: The Item record that is being processed.
  • ItemVariantAttrValue: The first Item Variant Attribute Value record that is being processed.
  • ItemVariantAttrValue2: The second Item Variant Attribute Value record that is being processed.
  • ItemVariantAttribute: The first Item Variant Attribute record that is being processed.
  • ItemVariantAttribute2: The second Item Variant Attribute record that is being processed.