Skip to content

KVSTRDCheckItemSalesListing#

Events#

KVSTRDOnBeforeCalcItemExclusiveForCustNo(Record Sales Line, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeCalcItemExclusiveForCustNo(SalesLine: Record "Sales Line"; var ItemExclusiveForCustNo: Code[20]; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCheckItemSalesListing", 'KVSTRDOnBeforeCalcItemExclusiveForCustNo', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeCalcItemExclusiveForCustNo(SalesLine: Record "Sales Line"; var ItemExclusiveForCustNo: Code[20]; var isHandled: Boolean)
begin
end;

KVSTRDOnBeforeCheckCountry(Record Sales Header, Record Sales Line, Code[20], Integer, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeCheckCountry(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; ItemCategoryCodeInHierarchy: Code[20]; NoOfItemCategoryLevels: Integer; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCheckItemSalesListing", 'KVSTRDOnBeforeCheckCountry', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeCheckCountry(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; ItemCategoryCodeInHierarchy: Code[20]; NoOfItemCategoryLevels: Integer; var isHandled: Boolean)
begin
end;

KVSTRDOnBeforeLoadItemCategories(Record Sales Line, Code[20], Integer, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeLoadItemCategories(SalesLine: Record "Sales Line"; var ItemCategoryCodeInHierarchy: Code[20]; var NoOfItemCategoryLevels: Integer; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCheckItemSalesListing", 'KVSTRDOnBeforeLoadItemCategories', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeLoadItemCategories(SalesLine: Record "Sales Line"; var ItemCategoryCodeInHierarchy: Code[20]; var NoOfItemCategoryLevels: Integer; var isHandled: Boolean)
begin
end;

KVSTRDOnBeforeCheckSalesLine(Record Sales Line, Boolean) :#

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

KVSTRDOnGetItemSalesListingOnBeforeItemSalRestrictionIsEmptyCheck(Record KVSTRDItemSalRestriction, Record Sales Line, Integer, Code[20], Code[20], Date) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnGetItemSalesListingOnBeforeItemSalRestrictionIsEmptyCheck(var ItemSalRestriction: Record "KVSTRDItemSalRestriction"; SalesLine: Record "Sales Line"; ItemCategoryLevel: Integer; ItemCategoryCode: Code[20]; CustomerNo: Code[20]; DateToCheck: Date): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCheckItemSalesListing", 'KVSTRDOnGetItemSalesListingOnBeforeItemSalRestrictionIsEmptyCheck', '', false, false)]
local procedure DoSomethingKVSTRDOnGetItemSalesListingOnBeforeItemSalRestrictionIsEmptyCheck(var ItemSalRestriction: Record "KVSTRDItemSalRestriction"; SalesLine: Record "Sales Line"; ItemCategoryLevel: Integer; ItemCategoryCode: Code[20]; CustomerNo: Code[20]; DateToCheck: Date)
begin
end;