KVSMEDContactShortcollLib#
Procedures#
SetDataInContactShortcollFromTemplate(Record KVSMEDContactShortcollection, Code[10]) : Text[250]#
Summary: This function sets data in contact shortcollection from a choosen template
procedure SetDataInContactShortcollFromTemplate(var KVSMEDContactShortcollection: Record "KVSMEDContactShortcollection"; TemplateCode: Code[10]): Text[250]
Parameters:
KVSMEDContactShortcollection
:TemplateCode
:
Returns:
CreateEntitiesFromShortcollection(Record KVSMEDContactShortcollection, Boolean) : Text[250]#
Summary: This function creates entities (contact / vendor / customer) from shortcollection
procedure CreateEntitiesFromShortcollection(var KVSMEDContactShortcollection: Record "KVSMEDContactShortcollection"; ShowConfirmationMessage: Boolean): Text[250]
Parameters:
KVSMEDContactShortcollection
:ShowConfirmationMessage
:
Returns:
Events#
OnBeforeCreateEntitiesFromShortcollection(Record KVSMEDContactShortcollection, Boolean, Boolean) :#
Summary: This event is raised before the creation of entities from a shortcollection. It allows for custom logic to be executed before the entities are created. If the event is not handled, the default behavior will continue.
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateEntitiesFromShortcollection(var KVSMEDContactShortcollection: Record "KVSMEDContactShortcollection"; RunWizard: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDContactShortcollLib", 'OnBeforeCreateEntitiesFromShortcollection', '', false, false)]
local procedure DoSomethingOnBeforeCreateEntitiesFromShortcollection(var KVSMEDContactShortcollection: Record "KVSMEDContactShortcollection"; RunWizard: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
KVSMEDContactShortcollection
:RunWizard
:IsHandled
: