Skip to content

KVSTRDItemVendorSyncEventMgt#

Events#

KVSTRDOnAfterValidateVendorItemNoOnBeforeCheckCurrFieldNo(Record Item, Integer, Boolean) :#

Summary: This event is called before the variable CurrFieldNo is checked in the OnAfterValidateItemVendorItemNo event. Can be used to deactivate the check for the CurrFieldNo.

[IntegrationEvent(false, false)]
local procedure KVSTRDOnAfterValidateVendorItemNoOnBeforeCheckCurrFieldNo(var Item: Record "Item"; CurrFieldNo: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDItemVendorSyncEventMgt", 'KVSTRDOnAfterValidateVendorItemNoOnBeforeCheckCurrFieldNo', '', false, false)]
local procedure DoSomethingKVSTRDOnAfterValidateVendorItemNoOnBeforeCheckCurrFieldNo(var Item: Record "Item"; CurrFieldNo: Integer; var IsHandled: Boolean)
begin
end;

Parameters:

  • Item: Item record
  • CurrFieldNo: Field number of the current field
  • IsHandled: Set IsHandled to true to deactivate the check for the CurrFieldNo Set IsHandled to false to keep the check for the CurrFieldNo