Skip to content

KVSFCYItemAttributeMgt#

Procedures#

GetUniqueMappingNoByRecordID(RecordId, Boolean) : Code[20]#

procedure GetUniqueMappingNoByRecordID(SearchRecID: RecordId; JustSearchPar: Boolean): Code[20]

LoadAttributes(Record Item Attribute Value Selection, RecordId) :#

procedure LoadAttributes(var TempItemAttributeValueSelectionVar: Record "Item Attribute Value Selection" temporary; RecIDPar: RecordId): 

SetValuesFromItemAttributeValueMapping(Integer, Code[20], Code[20], Code[10], Code[20]) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('FCY-608. Not longer used! Use SetValuesFromItemAttrVarVersMapp', '21.5')]
procedure SetValuesFromItemAttributeValueMapping(TableIdPar: Integer; NoPar: Code[20]; var ItemNoVar: Code[20]; var VariantCodeVar: Code[10]; var VersionCodeVar: Code[20]): 

SetValuesFromItemAttrVarVersMapp(Integer, Integer, Code[20], Code[20], Code[10], Code[20]) :#

procedure SetValuesFromItemAttrVarVersMapp(TableID: Integer; AttributeID: Integer; NoPar: Code[20]; var ItemNoVar: Code[20]; var VariantCodeVar: Code[10]; var VersionCodeVar: Code[20]): 

CheckDefaultValueExistsAsValue(Text, Record Item Attribute) :#

procedure CheckDefaultValueExistsAsValue(var ValueToCheckVar: Text; ItemAttributePar: Record "Item Attribute"): 

Events#

OnAfterItemAttributeValueMappingDelete(Integer, Code[20]) :#

[IntegrationEvent(false, false)]
local procedure OnAfterItemAttributeValueMappingDelete(AttributeToDeleteID: Integer; RelatedRecordCode: Code[20]): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYItemAttributeMgt", 'OnAfterItemAttributeValueMappingDelete', '', false, false)]
local procedure DoSomethingOnAfterItemAttributeValueMappingDelete(AttributeToDeleteID: Integer; RelatedRecordCode: Code[20])
begin
end;

OnAfterValidateType(Text, Record Item Attribute) :#

[IntegrationEvent(false, false)]
local procedure OnAfterValidateType(var ValueToValidate: Text; ItemAttributePar: Record "Item Attribute"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYItemAttributeMgt", 'OnAfterValidateType', '', false, false)]
local procedure DoSomethingOnAfterValidateType(var ValueToValidate: Text; ItemAttributePar: Record "Item Attribute")
begin
end;

OnAfterValidateValue(Record Item Attribute Value Selection) :#

[IntegrationEvent(false, false)]
local procedure OnAfterValidateValue(var ItemAttributeValueSelectionVar: Record "Item Attribute Value Selection" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYItemAttributeMgt", 'OnAfterValidateValue', '', false, false)]
local procedure DoSomethingOnAfterValidateValue(var ItemAttributeValueSelectionVar: Record "Item Attribute Value Selection" temporary)
begin
end;

OnAfterCopyAttributeUnitToSelection(Record Item Attribute Value Selection, Record Unit of Measure) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCopyAttributeUnitToSelection(var ItemAttributeValueSelectionVar: Record "Item Attribute Value Selection" temporary; UnitofMeasure: Record "Unit of Measure"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYItemAttributeMgt", 'OnAfterCopyAttributeUnitToSelection', '', false, false)]
local procedure DoSomethingOnAfterCopyAttributeUnitToSelection(var ItemAttributeValueSelectionVar: Record "Item Attribute Value Selection" temporary; UnitofMeasure: Record "Unit of Measure")
begin
end;

OnCopyAttributeToSelection(Record Item Attribute Value Selection, Record Item Attribute, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('Not longer supported, use OnAfterCopyAttributeToSelection', '23.4')]
[IntegrationEvent(false, true)]
local procedure OnCopyAttributeToSelection(var ItemAttributeValueSelectionVar: Record "Item Attribute Value Selection" temporary; ItemAttributePar: Record "Item Attribute"; FromLoadPar: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYItemAttributeMgt", 'OnCopyAttributeToSelection', '', false, false)]
local procedure DoSomethingOnCopyAttributeToSelection(var ItemAttributeValueSelectionVar: Record "Item Attribute Value Selection" temporary; ItemAttributePar: Record "Item Attribute"; FromLoadPar: Boolean)
begin
end;

OnAfterCopyAttributeToSelection(Record Item Attribute Value Selection, Record Item Attribute, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCopyAttributeToSelection(var ItemAttributeValueSelectionVar: Record "Item Attribute Value Selection" temporary; ItemAttributePar: Record "Item Attribute"; FromLoadPar: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYItemAttributeMgt", 'OnAfterCopyAttributeToSelection', '', false, false)]
local procedure DoSomethingOnAfterCopyAttributeToSelection(var ItemAttributeValueSelectionVar: Record "Item Attribute Value Selection" temporary; ItemAttributePar: Record "Item Attribute"; FromLoadPar: Boolean)
begin
end;

OnSearchMasterDataForAttribute(RecordId, Integer, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSearchMasterDataForAttribute(ActualRecordID: RecordId; AttributeID: Integer; var Result: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYItemAttributeMgt", 'OnSearchMasterDataForAttribute', '', false, false)]
local procedure DoSomethingOnSearchMasterDataForAttribute(ActualRecordID: RecordId; AttributeID: Integer; var Result: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeGetUniqueMappingNoByRecordID(RecordId, Boolean, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeGetUniqueMappingNoByRecordID(SearchRecID: RecordId; JustSearchPar: Boolean; var ReturnNo: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYItemAttributeMgt", 'OnBeforeGetUniqueMappingNoByRecordID', '', false, false)]
local procedure DoSomethingOnBeforeGetUniqueMappingNoByRecordID(SearchRecID: RecordId; JustSearchPar: Boolean; var ReturnNo: Code[20]; var IsHandled: Boolean)
begin
end;

OnSetValuesFromItemAttributeValueMapping(Integer, Code[20], Code[20], Code[10], Code[20]) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('FCY-608. Not longer used! Use OnSetValuesFromItemAttributeIDValueMapping', '21.5')]
[IntegrationEvent(false, false)]
local procedure OnSetValuesFromItemAttributeValueMapping(TableIdPar: Integer; NoPar: Code[20]; var ItemNoVar: Code[20]; var VariantCodeVar: Code[10]; var VersionCodeVar: Code[20]): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYItemAttributeMgt", 'OnSetValuesFromItemAttributeValueMapping', '', false, false)]
local procedure DoSomethingOnSetValuesFromItemAttributeValueMapping(TableIdPar: Integer; NoPar: Code[20]; var ItemNoVar: Code[20]; var VariantCodeVar: Code[10]; var VersionCodeVar: Code[20])
begin
end;

OnSetValuesFromItemAttributeIDValueMapping(Integer, Integer, Code[20], Code[20], Code[10], Code[20]) :#

[IntegrationEvent(false, false)]
local procedure OnSetValuesFromItemAttributeIDValueMapping(TableID: Integer; AttributeID: Integer; NoAsCode: Code[20]; var ItemNo: Code[20]; var VariantCode: Code[10]; var VersionCode: Code[20]): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYItemAttributeMgt", 'OnSetValuesFromItemAttributeIDValueMapping', '', false, false)]
local procedure DoSomethingOnSetValuesFromItemAttributeIDValueMapping(TableID: Integer; AttributeID: Integer; NoAsCode: Code[20]; var ItemNo: Code[20]; var VariantCode: Code[10]; var VersionCode: Code[20])
begin
end;

OnBeforeCopyItemAttributeMappingFromItemToSpecificItem(RecordId, RecordId, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyItemAttributeMappingFromItemToSpecificItem(FromRecordID: RecordId; ToRecordID: RecordId; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYItemAttributeMgt", 'OnBeforeCopyItemAttributeMappingFromItemToSpecificItem', '', false, false)]
local procedure DoSomethingOnBeforeCopyItemAttributeMappingFromItemToSpecificItem(FromRecordID: RecordId; ToRecordID: RecordId; var IsHandled: Boolean)
begin
end;