Skip to content

KVSMEDWhseGetBinContent#

Procedures#

SetTransferJournalInfo(Code[10], Code[10]) :#

Summary: Sets the item journal template name and batch name to be used when creating transfer or item journal lines.

procedure SetTransferJournalInfo(JnlTemplateNamePar: Code[10]; JnlBatchNamePar: Code[10]): 

Parameters:

  • JnlTemplateNamePar: The name of the item journal template to use for the journal lines.
  • JnlBatchNamePar: The name of the item journal batch to use for the journal lines.

Events#

OnBeforeInsertTransferLineOnCreateSingleTransferJnlLine(Record Item Journal Line) :#

Summary: Integration event raised before a new transfer or item journal line is inserted during bin content processing. Allows subscribers to modify the journal line before it is written to the database.

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertTransferLineOnCreateSingleTransferJnlLine(var TransferJnlLine: Record "Item Journal Line"): 
[EventSubscriber(ObjectType::Report, Report::"KVSMEDWhseGetBinContent", 'OnBeforeInsertTransferLineOnCreateSingleTransferJnlLine', '', false, false)]
local procedure DoSomethingOnBeforeInsertTransferLineOnCreateSingleTransferJnlLine(var TransferJnlLine: Record "Item Journal Line")
begin
end;

Parameters:

  • TransferJnlLine: The item journal line that is about to be inserted. Modifications made by subscribers are persisted.