Codeunit 324 No. Series Copilot Impl.

Business Foundation, Microsoft.Foundation.NoSeries

Source AL, 608 lines

src/Business Foundation/App/NoSeriesCopilot/src/Copilot/NoSeriesCopilotImpl.Codeunit.allines 13 to 28 of 608, Copyright (c) Microsoft Corporation. MIT

codeunit 324 "No. Series Copilot Impl."{    Access = Internal;    InherentPermissions = X;    InherentEntitlements = X;    var        NoSeriesCopilotTelemetry: Codeunit "No. Series Copilot Telemetry";        IncorrectCompletionErr: Label 'Incorrect completion. The property %1 is empty', Comment = '%1 = property name';        EmptyCompletionErr: Label 'Incorrect completion. The completion is empty.';        IncorrectCompletionNumberOfGeneratedNoSeriesErr: Label 'Incorrect completion. The number of generated number series is incorrect. Expected %1, but got %2', Comment = '%1 = Expected Number, %2 = Actual Number';        TextLengthIsOverMaxLimitErr: Label 'The property %1 exceeds the maximum length of %2', Comment = '%1 = property name, %2 = maximum length';        DateSpecificPlaceholderLbl: Label '{current_date}', Locked = true;        TheResponseShouldBeAFunctionCallErr: Label 'The response should be a function call.';        ChatCompletionResponseErr: Label 'Sorry, something went wrong. Please rephrase and try again.';        GeneratingNoSeriesForLbl: Label 'Generating number series %1', Comment = '%1 = No. Series';

All 608 lines

Public procedures 8 in 29

GetNoSeriesSuggestions()new in 25
Generate(var NoSeriesGeneration: Record "No. Series Generation"; var GeneratedNoSeries: Record "No. Series Generation Detail"; InputText: Text)new in 25
ApplyGeneratedNoSeries(var GeneratedNoSeries: Record "No. Series Generation Detail")new in 25
IsCopilotVisible(): Booleannew in 25
GetChatCompletionResponseErr(): Textnew in 25
RecallNotification()new in 25

All 8 procedures