KVSKBAAddSalesLineAutoPostMgmt#
Events#
OnAfterInitAssocItemJournalLine(Record Item Journal Line, Record Sales Header, Record Sales Line, Record Purch. Rcpt. Header) :#
[IntegrationEvent(false, false)]
local procedure OnAfterInitAssocItemJournalLine(var ItemJournalLine: Record "Item Journal Line"; SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnAfterInitAssocItemJournalLine', '', false, false)]
local procedure DoSomethingOnAfterInitAssocItemJournalLine(var ItemJournalLine: Record "Item Journal Line"; SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; PurchRcptHeader: Record "Purch. Rcpt. Header")
begin
end;
OnAfterUpdateSalesLineForAddSalesLineAutoPost(Record Sales Line, Record Sales Header, Record Purch. Rcpt. Header, Code[20], Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnAfterUpdateSalesLineForAddSalesLineAutoPost(var SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header"; PurchRcptHeader: Record "Purch. Rcpt. Header"; ShptDocumentNo: Code[20]; PrintLine: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnAfterUpdateSalesLineForAddSalesLineAutoPost', '', false, false)]
local procedure DoSomethingOnAfterUpdateSalesLineForAddSalesLineAutoPost(var SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header"; PurchRcptHeader: Record "Purch. Rcpt. Header"; ShptDocumentNo: Code[20]; PrintLine: Boolean)
begin
end;
OnBeforeGetCountryCode(Record Sales Header, Record Sales Line, Code[10], Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeGetCountryCode(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var CountryRegionCode: Code[10]; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforeGetCountryCode', '', false, false)]
local procedure DoSomethingOnBeforeGetCountryCode(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var CountryRegionCode: Code[10]; var IsHandled: Boolean)
begin
end;
OnBeforePurchPostOnPostCombineSalesOrderShipmentOnAfterProcessDropShptPostBuffer(Record Drop Shpt. Post. Buffer, Record Sales Shipment Line, Record Purch. Rcpt. Header, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforePurchPostOnPostCombineSalesOrderShipmentOnAfterProcessDropShptPostBuffer(var TempDropShptPostBuffer: Record "Drop Shpt. Post. Buffer"; SalesShptLine: Record "Sales Shipment Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforePurchPostOnPostCombineSalesOrderShipmentOnAfterProcessDropShptPostBuffer', '', false, false)]
local procedure DoSomethingOnBeforePurchPostOnPostCombineSalesOrderShipmentOnAfterProcessDropShptPostBuffer(var TempDropShptPostBuffer: Record "Drop Shpt. Post. Buffer"; SalesShptLine: Record "Sales Shipment Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"; var IsHandled: Boolean)
begin
end;
OnPurchPostOnPostCombineSalesOrderShipmentOnAfterProcessDropShptPostBufferOnAfterSetFilterSalesLine(Record Sales Line, Record Drop Shpt. Post. Buffer, Record Sales Shipment Line, Record Purch. Rcpt. Header) :#
[IntegrationEvent(false, false)]
local procedure OnPurchPostOnPostCombineSalesOrderShipmentOnAfterProcessDropShptPostBufferOnAfterSetFilterSalesLine(var SalesLine: Record "Sales Line"; var TempDropShptPostBuffer: Record "Drop Shpt. Post. Buffer"; SalesShptLine: Record "Sales Shipment Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnPurchPostOnPostCombineSalesOrderShipmentOnAfterProcessDropShptPostBufferOnAfterSetFilterSalesLine', '', false, false)]
local procedure DoSomethingOnPurchPostOnPostCombineSalesOrderShipmentOnAfterProcessDropShptPostBufferOnAfterSetFilterSalesLine(var SalesLine: Record "Sales Line"; var TempDropShptPostBuffer: Record "Drop Shpt. Post. Buffer"; SalesShptLine: Record "Sales Shipment Line"; PurchRcptHeader: Record "Purch. Rcpt. Header")
begin
end;
OnBeforeChangeQtyOnPurchPostOnPostCombineSalesOrderShipmentOnAfterProcessDropShptPostBuffer(Record Sales Line, Record Drop Shpt. Post. Buffer, Record Sales Shipment Line, Record Purch. Rcpt. Header, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeChangeQtyOnPurchPostOnPostCombineSalesOrderShipmentOnAfterProcessDropShptPostBuffer(SalesLine: Record "Sales Line"; var TempDropShptPostBuffer: Record "Drop Shpt. Post. Buffer"; SalesShptLine: Record "Sales Shipment Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"; var ChangeQty: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforeChangeQtyOnPurchPostOnPostCombineSalesOrderShipmentOnAfterProcessDropShptPostBuffer', '', false, false)]
local procedure DoSomethingOnBeforeChangeQtyOnPurchPostOnPostCombineSalesOrderShipmentOnAfterProcessDropShptPostBuffer(SalesLine: Record "Sales Line"; var TempDropShptPostBuffer: Record "Drop Shpt. Post. Buffer"; SalesShptLine: Record "Sales Shipment Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"; var ChangeQty: Boolean)
begin
end;
OnBeforeInitItemJournalLine(Record Item Journal Line, Record Sales Header, Record Sales Line, Record Purch. Rcpt. Header) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeInitItemJournalLine(var ItemJournalLine: Record "Item Journal Line"; SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforeInitItemJournalLine', '', false, false)]
local procedure DoSomethingOnBeforeInitItemJournalLine(var ItemJournalLine: Record "Item Journal Line"; SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; PurchRcptHeader: Record "Purch. Rcpt. Header")
begin
end;
OnBeforeMappingSalesLineTypetoASLLineType(Enum Sales Line Type, Enum KVSKBAASLLineType, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeMappingSalesLineTypetoASLLineType(SalesLineType: Enum "Sales Line Type"; var ReturnKVSKBAASLLineType: Enum "KVSKBAASLLineType"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforeMappingSalesLineTypetoASLLineType', '', false, false)]
local procedure DoSomethingOnBeforeMappingSalesLineTypetoASLLineType(SalesLineType: Enum "Sales Line Type"; var ReturnKVSKBAASLLineType: Enum "KVSKBAASLLineType"; var IsHandled: Boolean)
begin
end;
OnBeforePostItemLine(Record Sales Header, Record Sales Line, Record Purch. Rcpt. Header, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforePostItemLine(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforePostItemLine', '', false, false)]
local procedure DoSomethingOnBeforePostItemLine(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"; var IsHandled: Boolean)
begin
end;
OnBeforeUpdateSalesLineForAddSalesLineAutoPost(Record Sales Line, Record Sales Header, Record Purch. Rcpt. Header, Code[20], Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateSalesLineForAddSalesLineAutoPost(var SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header"; PurchRcptHeader: Record "Purch. Rcpt. Header"; ShptDocumentNo: Code[20]; PrintLine: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforeUpdateSalesLineForAddSalesLineAutoPost', '', false, false)]
local procedure DoSomethingOnBeforeUpdateSalesLineForAddSalesLineAutoPost(var SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header"; PurchRcptHeader: Record "Purch. Rcpt. Header"; ShptDocumentNo: Code[20]; PrintLine: Boolean; var IsHandled: Boolean)
begin
end;
OnBeforeWhsePostShipmentOnInitSourceDocumentHeaderOnBeforeValidatePostingDate(Record Sales Header, Record Warehouse Shipment Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeWhsePostShipmentOnInitSourceDocumentHeaderOnBeforeValidatePostingDate(var SalesHeader: Record "Sales Header"; var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforeWhsePostShipmentOnInitSourceDocumentHeaderOnBeforeValidatePostingDate', '', false, false)]
local procedure DoSomethingOnBeforeWhsePostShipmentOnInitSourceDocumentHeaderOnBeforeValidatePostingDate(var SalesHeader: Record "Sales Header"; var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean)
begin
end;
OnWhsePostShipmentOnInitSourceDocumentHeaderOnBeforeValidatePostingDateOnAfterSetFilterSalesLine(Record Sales Header, Record Sales Line, Record Warehouse Shipment Line) :#
[IntegrationEvent(false, false)]
local procedure OnWhsePostShipmentOnInitSourceDocumentHeaderOnBeforeValidatePostingDateOnAfterSetFilterSalesLine(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; WarehouseShipmentLine: Record "Warehouse Shipment Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnWhsePostShipmentOnInitSourceDocumentHeaderOnBeforeValidatePostingDateOnAfterSetFilterSalesLine', '', false, false)]
local procedure DoSomethingOnWhsePostShipmentOnInitSourceDocumentHeaderOnBeforeValidatePostingDateOnAfterSetFilterSalesLine(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; WarehouseShipmentLine: Record "Warehouse Shipment Line")
begin
end;
OnBeforeChangeQtyOnSalesLineForAutoPostShipment(Record Sales Header, Record Sales Line, Record Warehouse Shipment Line, Record KVSKBAAddSalesLineForAutoPost, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeChangeQtyOnSalesLineForAutoPostShipment(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; WarehouseShipmentLine: Record "Warehouse Shipment Line"; KVSKBAAddSalesLineForAutoPost: Record "KVSKBAAddSalesLineForAutoPost"; var ChangeQty: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforeChangeQtyOnSalesLineForAutoPostShipment', '', false, false)]
local procedure DoSomethingOnBeforeChangeQtyOnSalesLineForAutoPostShipment(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; WarehouseShipmentLine: Record "Warehouse Shipment Line"; KVSKBAAddSalesLineForAutoPost: Record "KVSKBAAddSalesLineForAutoPost"; var ChangeQty: Boolean)
begin
end;
OnBeforeWhsePostReceiptOnInitSourceDocumentHeaderOnBeforeValidatePostingDate(Record Sales Header, Record Warehouse Receipt Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeWhsePostReceiptOnInitSourceDocumentHeaderOnBeforeValidatePostingDate(var SalesHeader: Record "Sales Header"; var WarehouseReceiptLine: Record "Warehouse Receipt Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforeWhsePostReceiptOnInitSourceDocumentHeaderOnBeforeValidatePostingDate', '', false, false)]
local procedure DoSomethingOnBeforeWhsePostReceiptOnInitSourceDocumentHeaderOnBeforeValidatePostingDate(var SalesHeader: Record "Sales Header"; var WarehouseReceiptLine: Record "Warehouse Receipt Line"; var IsHandled: Boolean)
begin
end;
OnWhsePostReceiptOnInitSourceDocumentHeaderOnBeforeValidatePostingDateOnAfterSetFilterSalesLine(Record Sales Header, Record Sales Line, Record Warehouse Receipt Line) :#
[IntegrationEvent(false, false)]
local procedure OnWhsePostReceiptOnInitSourceDocumentHeaderOnBeforeValidatePostingDateOnAfterSetFilterSalesLine(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; WarehouseReceiptLine: Record "Warehouse Receipt Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnWhsePostReceiptOnInitSourceDocumentHeaderOnBeforeValidatePostingDateOnAfterSetFilterSalesLine', '', false, false)]
local procedure DoSomethingOnWhsePostReceiptOnInitSourceDocumentHeaderOnBeforeValidatePostingDateOnAfterSetFilterSalesLine(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; WarehouseReceiptLine: Record "Warehouse Receipt Line")
begin
end;
OnBeforeChangeQtyOnSalesLineForAutoPostReceipt(Record Sales Header, Record Sales Line, Record Warehouse Receipt Line, Record KVSKBAAddSalesLineForAutoPost, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeChangeQtyOnSalesLineForAutoPostReceipt(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; WarehouseReceiptLine: Record "Warehouse Receipt Line"; KVSKBAAddSalesLineForAutoPost: Record "KVSKBAAddSalesLineForAutoPost"; var ChangeQty: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforeChangeQtyOnSalesLineForAutoPostReceipt', '', false, false)]
local procedure DoSomethingOnBeforeChangeQtyOnSalesLineForAutoPostReceipt(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; WarehouseReceiptLine: Record "Warehouse Receipt Line"; KVSKBAAddSalesLineForAutoPost: Record "KVSKBAAddSalesLineForAutoPost"; var ChangeQty: Boolean)
begin
end;
OnBeforeWhseActivityPostOnModifySalesHeader(Record Sales Header, Record Warehouse Activity Header) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeWhseActivityPostOnModifySalesHeader(var SalesHeader: Record "Sales Header"; WarehouseActivityHeader: Record "Warehouse Activity Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforeWhseActivityPostOnModifySalesHeader', '', false, false)]
local procedure DoSomethingOnBeforeWhseActivityPostOnModifySalesHeader(var SalesHeader: Record "Sales Header"; WarehouseActivityHeader: Record "Warehouse Activity Header")
begin
end;
OnBeforeChangeQtyOnSalesLineForAutoPostWhseActivity(Record Sales Header, Record Sales Line, Record Warehouse Activity Header, Record KVSKBAAddSalesLineForAutoPost, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeChangeQtyOnSalesLineForAutoPostWhseActivity(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; WarehouseActivityHeader: Record "Warehouse Activity Header"; KVSKBAAddSalesLineForAutoPost: Record "KVSKBAAddSalesLineForAutoPost"; var ChangeQty: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforeChangeQtyOnSalesLineForAutoPostWhseActivity', '', false, false)]
local procedure DoSomethingOnBeforeChangeQtyOnSalesLineForAutoPostWhseActivity(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; WarehouseActivityHeader: Record "Warehouse Activity Header"; KVSKBAAddSalesLineForAutoPost: Record "KVSKBAAddSalesLineForAutoPost"; var ChangeQty: Boolean)
begin
end;
OnWhseActivityPostOnModifySalesHeaderOnAfterSetFilterSalesLine(Record Sales Header, Record Sales Line, Record Warehouse Activity Header) :#
[IntegrationEvent(false, false)]
local procedure OnWhseActivityPostOnModifySalesHeaderOnAfterSetFilterSalesLine(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; WarehouseActivityHeader: Record "Warehouse Activity Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnWhseActivityPostOnModifySalesHeaderOnAfterSetFilterSalesLine', '', false, false)]
local procedure DoSomethingOnWhseActivityPostOnModifySalesHeaderOnAfterSetFilterSalesLine(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; WarehouseActivityHeader: Record "Warehouse Activity Header")
begin
end;
OnBeforeCheckAutoPostNonInvViaWhse(Record Sales & Receivables Setup, Record Sales & Receivables Setup, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckAutoPostNonInvViaWhse(var SalesReceivablesSetup: Record "Sales & Receivables Setup"; var xSalesReceivablesSetup: Record "Sales & Receivables Setup"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAAddSalesLineAutoPostMgmt", 'OnBeforeCheckAutoPostNonInvViaWhse', '', false, false)]
local procedure DoSomethingOnBeforeCheckAutoPostNonInvViaWhse(var SalesReceivablesSetup: Record "Sales & Receivables Setup"; var xSalesReceivablesSetup: Record "Sales & Receivables Setup"; var IsHandled: Boolean)
begin
end;