Skip to content

KVSFCYInventoryPostingTest#

Events#

OnAfterCheckDimension(Record Item Journal Line, Record Item Journal Template, Boolean) :#

Summary: Event after checking dimensions for item journal line.

[IntegrationEvent(false, false)]
local procedure OnAfterCheckDimension(ItemJournalLine: Record "Item Journal Line"; ItemJnlTemplate: Record "Item Journal Template"; QtyError: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYInventoryPostingTest", 'OnAfterCheckDimension', '', false, false)]
local procedure DoSomethingOnAfterCheckDimension(ItemJournalLine: Record "Item Journal Line"; ItemJnlTemplate: Record "Item Journal Template"; QtyError: Boolean)
begin
end;

Parameters:

  • ItemJournalLine: Item journal line record.
  • ItemJnlTemplate: Item journal template record.
  • QtyError: True if there is a quantity error.

OnAfterCheckItemJnLLine(Record Item Journal Line, Record Item, Integer, Text[250]) :#

Summary: Event after checking item journal line.

[IntegrationEvent(false, false)]
local procedure OnAfterCheckItemJnLLine(ItemJournalLine: Record "Item Journal Line"; Item: Record "Item"; var ErrorCounter: Integer; var ErrorText: Text[250]): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYInventoryPostingTest", 'OnAfterCheckItemJnLLine', '', false, false)]
local procedure DoSomethingOnAfterCheckItemJnLLine(ItemJournalLine: Record "Item Journal Line"; Item: Record "Item"; var ErrorCounter: Integer; var ErrorText: Text[250])
begin
end;

Parameters:

  • ItemJournalLine: Item journal line record.
  • Item: Item record.
  • ErrorCounter: Error counter variable.
  • ErrorText: Error text array.

OnBeforeItemJournalLineOnAfterGetRecord(Record Item Journal Line, Integer, Text[250]) :#

Summary: Event before processing item journal line after get record.

[IntegrationEvent(false, false)]
local procedure OnBeforeItemJournalLineOnAfterGetRecord(ItemJournalLine: Record "Item Journal Line"; var ErrorCounter: Integer; var ErrorText: Text[250]): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYInventoryPostingTest", 'OnBeforeItemJournalLineOnAfterGetRecord', '', false, false)]
local procedure DoSomethingOnBeforeItemJournalLineOnAfterGetRecord(ItemJournalLine: Record "Item Journal Line"; var ErrorCounter: Integer; var ErrorText: Text[250])
begin
end;

Parameters:

  • ItemJournalLine: Item journal line record.
  • ErrorCounter: Error counter variable.
  • ErrorText: Error text array.