KVSPSACreateInvoiceSugLines#
Procedures#
SetGlobalHideDialogInGetInvoiceSuggestionLines(Boolean) :#
Summary: Allows to set the KVSPSAGetInvoiceSuggestiLines to silent. Used for automatic processes.
procedure SetGlobalHideDialogInGetInvoiceSuggestionLines(NewGlobalHideDialogInGetInvoiceSuggestionLines: Boolean):
SetOptions(Enum KVSPSAJobJournalLineType, Text, Boolean, Enum KVSPSAInvSuggLiWBSStatusFilter) :#
Summary: Sets the 4 options available on the request page, for automatic calls
procedure SetOptions(NewJobLedgerEntryTypeFilter: Enum "KVSPSAJobJournalLineType"; NewJobLedgerEntryNoFilter: Text; NewDeleteInvEntryInOrders: Boolean; NewInvSuggLiWBSStatusFilter: Enum "KVSPSAInvSuggLiWBSStatusFilter"):
SetTemplateAndWorksheet(Code[10], Code[10]) :#
Summary: Set the template and worksheet for the invoice suggestion.
procedure SetTemplateAndWorksheet(TemplateName: Code[10]; WorksheetName: Code[10]):
Parameters:
TemplateName
: Template name to useWorksheetName
: Worksheet name to use
Events#
KVSPSAOnGetFiltersFromInvSugLine(Record KVSPSAInvoice Suggestion Line, Text) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnGetFiltersFromInvSugLine(var InvoiceSuggestionLine: Record "KVSPSAInvoice Suggestion Line"; var OwnFilterTextArray: Text):
[EventSubscriber(ObjectType::Report, Report::"KVSPSACreateInvoiceSugLines", 'KVSPSAOnGetFiltersFromInvSugLine', '', false, false)]
local procedure DoSomethingKVSPSAOnGetFiltersFromInvSugLine(var InvoiceSuggestionLine: Record "KVSPSAInvoice Suggestion Line"; var OwnFilterTextArray: Text)
begin
end;
KVSPSAOnSetOwnEmptyFilterErrorExist(Boolean, Text) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnSetOwnEmptyFilterErrorExist(var OwnFilterShouldBefilled: Boolean; var OwnFilterTextArray: Text):
[EventSubscriber(ObjectType::Report, Report::"KVSPSACreateInvoiceSugLines", 'KVSPSAOnSetOwnEmptyFilterErrorExist', '', false, false)]
local procedure DoSomethingKVSPSAOnSetOwnEmptyFilterErrorExist(var OwnFilterShouldBefilled: Boolean; var OwnFilterTextArray: Text)
begin
end;