Skip to content

KVSTRDSalesOutItemMgt#

Events#

KVSTRDOnBeforeCheckPurchaseLineForItemSalesOut(Record Purchase Line, Boolean) :#

Summary: This event is raised before checking if the item in the given purchase line is marked for sales out.

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeCheckPurchaseLineForItemSalesOut(PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDSalesOutItemMgt", 'KVSTRDOnBeforeCheckPurchaseLineForItemSalesOut', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeCheckPurchaseLineForItemSalesOut(PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • PurchaseLine: The purchase line to check.
  • isHandled: Specifies if the event has been handled. If set to true, the default logic will not be executed.

KVSTRDOnBeforeCheckSalesLineForItemSalesOut(Record Sales Line, Boolean) :#

Summary: This event is raised before checking if the item in the given sales line is marked for sales out.

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeCheckSalesLineForItemSalesOut(SalesLine: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDSalesOutItemMgt", 'KVSTRDOnBeforeCheckSalesLineForItemSalesOut', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeCheckSalesLineForItemSalesOut(SalesLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • SalesLine: The sales line to check.
  • isHandled: Specifies if the event has been handled. If set to true, the default logic will not be executed.