KVSKBAItemSubscribers#
Events#
OnBeforeAdditionalChecksOnBeforePostingItemJnlFromProduction(Record Item Journal Line, Boolean, Boolean) :#
Summary: Integration event that allows customization before additional checks during item journal posting from production.
[IntegrationEvent(false, false)]
local procedure OnBeforeAdditionalChecksOnBeforePostingItemJnlFromProduction(var ItemJournalLine: Record "Item Journal Line"; var SkipAdditionalChecks: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAItemSubscribers", 'OnBeforeAdditionalChecksOnBeforePostingItemJnlFromProduction', '', false, false)]
local procedure DoSomethingOnBeforeAdditionalChecksOnBeforePostingItemJnlFromProduction(var ItemJournalLine: Record "Item Journal Line"; var SkipAdditionalChecks: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
ItemJournalLine: Item journal line being posted from productionSkipAdditionalChecks: Variable indicating whether to skip additional checksIsHandled: Variable indicating whether a subscriber has handled the operation
Remarks: Set SkipAdditionalChecks to true to bypass additional production posting validations. Set IsHandled to true to completely skip standard processing.
KVSKBAOnBeforeVerifyOnInventory(Record Item Ledger Entry, Boolean, Boolean) :#
Summary: Integration event that allows customization before verifying item inventory availability.
[IntegrationEvent(false, false)]
local procedure KVSKBAOnBeforeVerifyOnInventory(var ItemLedgerEntry: Record "Item Ledger Entry"; var IsHandled: Boolean; var GlobalIsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAItemSubscribers", 'KVSKBAOnBeforeVerifyOnInventory', '', false, false)]
local procedure DoSomethingKVSKBAOnBeforeVerifyOnInventory(var ItemLedgerEntry: Record "Item Ledger Entry"; var IsHandled: Boolean; var GlobalIsHandled: Boolean)
begin
end;
Parameters:
ItemLedgerEntry: Item ledger entry being verified for inventory availabilityIsHandled: Variable indicating whether a subscriber has handled the verificationGlobalIsHandled: Variable indicating whether the global verification should be skipped
Remarks: Set IsHandled to true to skip local inventory verification. Set GlobalIsHandled to true to skip all inventory verification including standard processing.