KVSMEDInfoRequestStatusLib#
Procedures#
SetStatusCode(Record KVSMEDInfoRequestHeader, Code[20]) :#
Summary: Set the status of the info request header
procedure SetStatusCode(var KVSMEDInfoRequestHeader: Record "KVSMEDInfoRequestHeader"; StatusCode: Code[20]):
Parameters:
KVSMEDInfoRequestHeader
:StatusCode
:
Events#
OnBeforeStatusChangeAuto2InfoOK(Record KVSMEDInfoRequestHeader, Boolean, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChangeAuto2InfoOK(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowErrorPar: Boolean; var Handled: Boolean; var ReturnValue: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChangeAuto2InfoOK', '', false, false)]
local procedure DoSomethingOnBeforeStatusChangeAuto2InfoOK(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowErrorPar: Boolean; var Handled: Boolean; var ReturnValue: Boolean)
begin
end;
OnBeforeStatusChangeAuto2NotNecessary(Code[20], Code[20], Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChangeAuto2NotNecessary(CustomerNo: Code[20]; DocumentNo: Code[20]; var Handled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChangeAuto2NotNecessary', '', false, false)]
local procedure DoSomethingOnBeforeStatusChangeAuto2NotNecessary(CustomerNo: Code[20]; DocumentNo: Code[20]; var Handled: Boolean)
begin
end;
OnBeforeStatusChangeAuto2OutstandingRelated(Record KVSMEDInfoRequestHeader, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChangeAuto2OutstandingRelated(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowError: Boolean; var Handled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChangeAuto2OutstandingRelated', '', false, false)]
local procedure DoSomethingOnBeforeStatusChangeAuto2OutstandingRelated(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowError: Boolean; var Handled: Boolean)
begin
end;
OnBeforeStatusChangeAuto2NotOKRelated(Record KVSMEDInfoRequestHeader, Code[20], Boolean, Record KVSMEDInfoRequestHeader, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChangeAuto2NotOKRelated(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; StatusCode: Code[20]; ShowError: Boolean; var TempInfoRequestHeader: Record "KVSMEDInfoRequestHeader" temporary; var Handled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChangeAuto2NotOKRelated', '', false, false)]
local procedure DoSomethingOnBeforeStatusChangeAuto2NotOKRelated(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; StatusCode: Code[20]; ShowError: Boolean; var TempInfoRequestHeader: Record "KVSMEDInfoRequestHeader" temporary; var Handled: Boolean)
begin
end;
OnBeforeStatusChangeAuto2OKRelated(Record KVSMEDInfoRequestHeader, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChangeAuto2OKRelated(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowError: Boolean; var Handled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChangeAuto2OKRelated', '', false, false)]
local procedure DoSomethingOnBeforeStatusChangeAuto2OKRelated(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowError: Boolean; var Handled: Boolean)
begin
end;
OnBeforeStatusChange2ReplyOutstanding(Record KVSMEDInfoRequestHeader, Record KVSMEDCommStatusTemplateLine, Boolean, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChange2ReplyOutstanding(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChange2ReplyOutstanding', '', false, false)]
local procedure DoSomethingOnBeforeStatusChange2ReplyOutstanding(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean)
begin
end;
OnBeforeStatusChange2ReplyNotReceived(Record KVSMEDInfoRequestHeader, Record KVSMEDCommStatusTemplateLine, Boolean, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChange2ReplyNotReceived(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChange2ReplyNotReceived', '', false, false)]
local procedure DoSomethingOnBeforeStatusChange2ReplyNotReceived(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean)
begin
end;
OnBeforeStatusChange2ReplyReceived(Record KVSMEDInfoRequestHeader, Record KVSMEDCommStatusTemplateLine, Boolean, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChange2ReplyReceived(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChange2ReplyReceived', '', false, false)]
local procedure DoSomethingOnBeforeStatusChange2ReplyReceived(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean)
begin
end;
OnBeforeStatusChange2ReplyReceivedDirect(Record KVSMEDInfoRequestHeader, Record KVSMEDCommStatusTemplateLine, Boolean, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChange2ReplyReceivedDirect(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChange2ReplyReceivedDirect', '', false, false)]
local procedure DoSomethingOnBeforeStatusChange2ReplyReceivedDirect(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean)
begin
end;
OnBeforeStatusChange2ReplyNotNecessary(Record KVSMEDInfoRequestHeader, Record KVSMEDCommStatusTemplateLine, Boolean, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChange2ReplyNotNecessary(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChange2ReplyNotNecessary', '', false, false)]
local procedure DoSomethingOnBeforeStatusChange2ReplyNotNecessary(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean)
begin
end;
OnBeforeStatusChange2ReplyNotOK(Record KVSMEDInfoRequestHeader, Record KVSMEDCommStatusTemplateLine, Boolean, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChange2ReplyNotOK(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChange2ReplyNotOK', '', false, false)]
local procedure DoSomethingOnBeforeStatusChange2ReplyNotOK(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean)
begin
end;
OnBeforeStatusChange2ReplyOK(Record KVSMEDInfoRequestHeader, Record KVSMEDCommStatusTemplateLine, Boolean, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChange2ReplyOK(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChange2ReplyOK', '', false, false)]
local procedure DoSomethingOnBeforeStatusChange2ReplyOK(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var CommStatusTemplateLine: Record "KVSMEDCommStatusTemplateLine"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean)
begin
end;
OnBeforeStatusChange2ReplyOKFollowing(Record KVSMEDInfoRequestHeader, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChange2ReplyOKFollowing(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowErrorPar: Boolean; var Handled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChange2ReplyOKFollowing', '', false, false)]
local procedure DoSomethingOnBeforeStatusChange2ReplyOKFollowing(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowErrorPar: Boolean; var Handled: Boolean)
begin
end;
OnBeforeStatusChangeFromReplyOKRelated(Record KVSMEDInfoRequestHeader, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChangeFromReplyOKRelated(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowErrorPar: Boolean; var Handled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChangeFromReplyOKRelated', '', false, false)]
local procedure DoSomethingOnBeforeStatusChangeFromReplyOKRelated(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowErrorPar: Boolean; var Handled: Boolean)
begin
end;
OnBeforeStatusChange2ReplyOKInherit(Record KVSMEDInfoRequestHeader, Record KVSMEDInfoRequestHeader, Boolean, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeStatusChange2ReplyOKInherit(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; OldInfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeStatusChange2ReplyOKInherit', '', false, false)]
local procedure DoSomethingOnBeforeStatusChange2ReplyOKInherit(var InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; OldInfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowError: Boolean; var Handled: Boolean; var ReturnValue: Boolean)
begin
end;
OnBeforeSendInfoRequest(Record KVSMEDInfoRequestHeader, Boolean, Boolean, Boolean) :#
Summary: Event triggered before sending an information request.
[IntegrationEvent(false, false)]
local procedure OnBeforeSendInfoRequest(var KVSMEDInfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowError: Boolean; var RequestCURunFailed: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeSendInfoRequest', '', false, false)]
local procedure DoSomethingOnBeforeSendInfoRequest(var KVSMEDInfoRequestHeader: Record "KVSMEDInfoRequestHeader"; ShowError: Boolean; var RequestCURunFailed: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
KVSMEDInfoRequestHeader
: The information request header record.ShowError
: Indicates whether to show errors.RequestCURunFailed
: Indicates if the request CU run failed.IsHandled
: Indicates if the event is handled.
OnBeforeSelectRequestLines(Record KVSMEDInfoRequestHeader, Record KVSMEDInfoRequestLine, Record KVSMEDInfoRequestError, Record KVSMEDCommStatusTemplateLine, Boolean, Boolean) :#
Summary: Event triggered before selecting request lines.
[IntegrationEvent(false, false)]
local procedure OnBeforeSelectRequestLines(KVSMEDInfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var TempInfoRequestLine: Record "KVSMEDInfoRequestLine" temporary; var TempInfoRequestError: Record "KVSMEDInfoRequestError" temporary; var CommStatusTemplateLineVar: Record "KVSMEDCommStatusTemplateLine"; var AllLevels: Boolean; var Handled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeSelectRequestLines', '', false, false)]
local procedure DoSomethingOnBeforeSelectRequestLines(KVSMEDInfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var TempInfoRequestLine: Record "KVSMEDInfoRequestLine" temporary; var TempInfoRequestError: Record "KVSMEDInfoRequestError" temporary; var CommStatusTemplateLineVar: Record "KVSMEDCommStatusTemplateLine"; var AllLevels: Boolean; var Handled: Boolean)
begin
end;
Parameters:
KVSMEDInfoRequestHeader
: The information request header record.TempInfoRequestLine
: The temporary information request line record.TempInfoRequestError
: The temporary information request error record.CommStatusTemplateLineVar
: The communication status template line record.AllLevels
: Indicates if all levels are selected.Handled
: Indicates if the event is handled.
OnBeforeOpenInfoRequestOnChangeStatus2OK(Record KVSMEDInfoRequestHeader, Boolean) :#
Summary: Event triggered before opening the information request on changing status to OK.
[IntegrationEvent(false, false)]
local procedure OnBeforeOpenInfoRequestOnChangeStatus2OK(InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var Handled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestStatusLib", 'OnBeforeOpenInfoRequestOnChangeStatus2OK', '', false, false)]
local procedure DoSomethingOnBeforeOpenInfoRequestOnChangeStatus2OK(InfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var Handled: Boolean)
begin
end;
Parameters:
InfoRequestHeader
: The information request header record.Handled
: Indicates if the event is handled.