Skip to content

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;