Skip to content

KVSDMSConnectAPI#

Procedures#

LoadSchemaDefinition(JsonObject) : Boolean#

procedure LoadSchemaDefinition(var SchemaDefinitions: JsonObject): Boolean

SearchInDms(JsonObject, Integer, List) : Boolean#

procedure SearchInDms(SearchCriteria: JsonObject; ResultLimit: Integer; var Ids: List): Boolean

LoadFromDms(Text, Boolean, JsonObject) : Boolean#

procedure LoadFromDms(Id: Text; LoadFiles: Boolean; var Document: JsonObject): Boolean

SendToDms(Text, JsonObject, Variant) : Text#

procedure SendToDms(Usage: Text; Document: JsonObject; RecordVariant: Variant): Text

SendToDms(JsonObject, Variant) : Text#

procedure SendToDms(Document: JsonObject; RecordVariant: Variant): Text

UpdateInDms(JsonObject) : Text#

procedure UpdateInDms(Document: JsonObject): Text

DeleteFromDms(Text) : Boolean#

procedure DeleteFromDms(Id: Text): Boolean

GetLastError() : Text#

procedure GetLastError(): Text

SetUsageSales(Enum Report Selection Usage Sales) : Enum#

procedure SetUsageSales(UsageSales: Enum "Report Selection Usage Sales"): Enum Report Selection Usage

SetUsagePurchase(Enum Report Selection Usage Purchase) : Enum#

procedure SetUsagePurchase(UsagePurchase: Enum "Report Selection Usage Purchase"): Enum Report Selection Usage

SetUsageService(Enum Report Selection Usage Service) : Enum#

procedure SetUsageService(UsageService: Enum "Report Selection Usage Service"): Enum Report Selection Usage

SetUsageReminder(Enum Report Selection Usage Reminder) : Enum#

procedure SetUsageReminder(UsageReminder: Enum "Report Selection Usage Reminder"): Enum Report Selection Usage

SetUsageWarehouse(Enum Report Selection Warehouse Usage) : Enum#

procedure SetUsageWarehouse(UsageWarehouse: Enum "Report Selection Warehouse Usage"): Enum Report Selection Usage

SetScopedUsageSales(Enum Report Selection Usage) : Enum#

procedure SetScopedUsageSales(ScopedUsageSales: Enum "Report Selection Usage"): Enum Report Selection Usage Sales

SetScopedUsagePurchase(Enum Report Selection Usage) : Enum#

procedure SetScopedUsagePurchase(ScopedUsagePurchase: Enum "Report Selection Usage"): Enum Report Selection Usage Purchase

SetScopedUsageService(Enum Report Selection Usage) : Enum#

procedure SetScopedUsageService(ScopedUsageService: Enum "Report Selection Usage"): Enum Report Selection Usage Service

SetScopedUsageReminder(Enum Report Selection Usage) : Enum#

procedure SetScopedUsageReminder(ScopedUsageReminder: Enum "Report Selection Usage"): Enum Report Selection Usage Reminder

SetScopedUsageWarehouse(Enum Report Selection Usage) : Enum#

procedure SetScopedUsageWarehouse(ScopedUsageWarehouse: Enum "Report Selection Usage"): Enum Report Selection Warehouse Usage

Events#

OnSetUsageSales(Enum Report Selection Usage Sales, Enum Report Selection Usage, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSetUsageSales(UsageSales: Enum "Report Selection Usage Sales"; var Usage: Enum "Report Selection Usage"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSConnectAPI", 'OnSetUsageSales', '', false, false)]
local procedure DoSomethingOnSetUsageSales(UsageSales: Enum "Report Selection Usage Sales"; var Usage: Enum "Report Selection Usage"; var IsHandled: Boolean)
begin
end;

OnSetUsagePurchase(Enum Report Selection Usage Purchase, Enum Report Selection Usage, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSetUsagePurchase(UsageSales: Enum "Report Selection Usage Purchase"; var Usage: Enum "Report Selection Usage"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSConnectAPI", 'OnSetUsagePurchase', '', false, false)]
local procedure DoSomethingOnSetUsagePurchase(UsageSales: Enum "Report Selection Usage Purchase"; var Usage: Enum "Report Selection Usage"; var IsHandled: Boolean)
begin
end;

OnSetUsageService(Enum Report Selection Usage Service, Enum Report Selection Usage, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSetUsageService(UsageSales: Enum "Report Selection Usage Service"; var Usage: Enum "Report Selection Usage"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSConnectAPI", 'OnSetUsageService', '', false, false)]
local procedure DoSomethingOnSetUsageService(UsageSales: Enum "Report Selection Usage Service"; var Usage: Enum "Report Selection Usage"; var IsHandled: Boolean)
begin
end;

OnSetUsageReminder(Enum Report Selection Usage Reminder, Enum Report Selection Usage, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSetUsageReminder(UsageSales: Enum "Report Selection Usage Reminder"; var Usage: Enum "Report Selection Usage"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSConnectAPI", 'OnSetUsageReminder', '', false, false)]
local procedure DoSomethingOnSetUsageReminder(UsageSales: Enum "Report Selection Usage Reminder"; var Usage: Enum "Report Selection Usage"; var IsHandled: Boolean)
begin
end;

OnSetUsageWarehouse(Enum Report Selection Warehouse Usage, Enum Report Selection Usage, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSetUsageWarehouse(UsageSales: Enum "Report Selection Warehouse Usage"; var Usage: Enum "Report Selection Usage"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSConnectAPI", 'OnSetUsageWarehouse', '', false, false)]
local procedure DoSomethingOnSetUsageWarehouse(UsageSales: Enum "Report Selection Warehouse Usage"; var Usage: Enum "Report Selection Usage"; var IsHandled: Boolean)
begin
end;

OnSetScopedUsageSales(Enum Report Selection Usage, Enum Report Selection Usage Sales, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSetScopedUsageSales(Usage: Enum "Report Selection Usage"; var UsageSales: Enum "Report Selection Usage Sales"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSConnectAPI", 'OnSetScopedUsageSales', '', false, false)]
local procedure DoSomethingOnSetScopedUsageSales(Usage: Enum "Report Selection Usage"; var UsageSales: Enum "Report Selection Usage Sales"; var IsHandled: Boolean)
begin
end;

OnSetScopedUsagePurchase(Enum Report Selection Usage, Enum Report Selection Usage Purchase, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSetScopedUsagePurchase(Usage: Enum "Report Selection Usage"; var UsagePurchase: Enum "Report Selection Usage Purchase"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSConnectAPI", 'OnSetScopedUsagePurchase', '', false, false)]
local procedure DoSomethingOnSetScopedUsagePurchase(Usage: Enum "Report Selection Usage"; var UsagePurchase: Enum "Report Selection Usage Purchase"; var IsHandled: Boolean)
begin
end;

OnSetScopedUsageService(Enum Report Selection Usage, Enum Report Selection Usage Service, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSetScopedUsageService(Usage: Enum "Report Selection Usage"; var UsageService: Enum "Report Selection Usage Service"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSConnectAPI", 'OnSetScopedUsageService', '', false, false)]
local procedure DoSomethingOnSetScopedUsageService(Usage: Enum "Report Selection Usage"; var UsageService: Enum "Report Selection Usage Service"; var IsHandled: Boolean)
begin
end;

OnSetScopedUsageReminder(Enum Report Selection Usage, Enum Report Selection Usage Reminder, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSetScopedUsageReminder(Usage: Enum "Report Selection Usage"; var UsageReminder: Enum "Report Selection Usage Reminder"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSConnectAPI", 'OnSetScopedUsageReminder', '', false, false)]
local procedure DoSomethingOnSetScopedUsageReminder(Usage: Enum "Report Selection Usage"; var UsageReminder: Enum "Report Selection Usage Reminder"; var IsHandled: Boolean)
begin
end;

OnSetScopedUsageWarehouse(Enum Report Selection Usage, Enum Report Selection Warehouse Usage, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSetScopedUsageWarehouse(Usage: Enum "Report Selection Usage"; var UsageWarehouse: Enum "Report Selection Warehouse Usage"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSConnectAPI", 'OnSetScopedUsageWarehouse', '', false, false)]
local procedure DoSomethingOnSetScopedUsageWarehouse(Usage: Enum "Report Selection Usage"; var UsageWarehouse: Enum "Report Selection Warehouse Usage"; var IsHandled: Boolean)
begin
end;