KVSKBAVATRateChangeConversion#
Obsolete
This Element will be removed or changed with a future Version of the App.
Procedures#
UpdateTable(Integer, Boolean, Boolean) :#
procedure UpdateTable(TableID: Integer; ConvertVATProdPostingGroup: Boolean; ConvertGenProdPostingGroup: Boolean):
GetNextPurchaseLineNo(Record Purchase Line, Integer) : Boolean#
procedure GetNextPurchaseLineNo(PurchaseLine: Record "Purchase Line"; var NextLineNo: Integer): Boolean
GetNextSalesLineNo(Record Sales Line, Integer) : Boolean#
procedure GetNextSalesLineNo(SalesLine: Record "Sales Line"; var NextLineNo: Integer): Boolean
GetNextServiceLineNo(Record Service Line, Integer) : Boolean#
procedure GetNextServiceLineNo(ServiceLine: Record "Service Line"; var NextLineNo: Integer): Boolean
Events#
OnAddNewPurchaseLineOnBeforeOldPurchaseLineModify(Record Purchase Line, Record Purchase Line, Code[20], Code[20]) :#
[IntegrationEvent(false, false)]
local procedure OnAddNewPurchaseLineOnBeforeOldPurchaseLineModify(var OldPurchaseLine: Record "Purchase Line"; var NewPurchaseLine: Record "Purchase Line"; VATProdPostingGroup: Code[20]; GenProdPostingGroup: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnAddNewPurchaseLineOnBeforeOldPurchaseLineModify', '', false, false)]
local procedure DoSomethingOnAddNewPurchaseLineOnBeforeOldPurchaseLineModify(var OldPurchaseLine: Record "Purchase Line"; var NewPurchaseLine: Record "Purchase Line"; VATProdPostingGroup: Code[20]; GenProdPostingGroup: Code[20])
begin
end;
OnAddNewSalesLineOnBeforeOldSalesLineModify(Record Sales Line, Record Sales Line, Code[20], Code[20]) :#
[IntegrationEvent(false, false)]
local procedure OnAddNewSalesLineOnBeforeOldSalesLineModify(var OldSalesLine: Record "Sales Line"; var NewSalesLine: Record "Sales Line"; VATProdPostingGroup: Code[20]; GenProdPostingGroup: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnAddNewSalesLineOnBeforeOldSalesLineModify', '', false, false)]
local procedure DoSomethingOnAddNewSalesLineOnBeforeOldSalesLineModify(var OldSalesLine: Record "Sales Line"; var NewSalesLine: Record "Sales Line"; VATProdPostingGroup: Code[20]; GenProdPostingGroup: Code[20])
begin
end;
OnAddNewServiceLineOnBeforeOldServiceLineModify(Record Service Line, Record Service Line, Code[20], Code[20]) :#
[IntegrationEvent(false, false)]
local procedure OnAddNewServiceLineOnBeforeOldServiceLineModify(var OldServiceLine: Record "Service Line"; var NewServiceLine: Record "Service Line"; VATProdPostingGroup: Code[20]; GenProdPostingGroup: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnAddNewServiceLineOnBeforeOldServiceLineModify', '', false, false)]
local procedure DoSomethingOnAddNewServiceLineOnBeforeOldServiceLineModify(var OldServiceLine: Record "Service Line"; var NewServiceLine: Record "Service Line"; VATProdPostingGroup: Code[20]; GenProdPostingGroup: Code[20])
begin
end;
OnAfterUpdateTables(Record VAT Rate Change Setup) :#
[IntegrationEvent(false, false)]
local procedure OnAfterUpdateTables(var VATRateChangeSetup: Record "VAT Rate Change Setup"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnAfterUpdateTables', '', false, false)]
local procedure DoSomethingOnAfterUpdateTables(var VATRateChangeSetup: Record "VAT Rate Change Setup")
begin
end;
OnAfterConvert(Record VAT Rate Change Setup) :#
[IntegrationEvent(false, false)]
local procedure OnAfterConvert(var VATRateChangeSetup: Record "VAT Rate Change Setup"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnAfterConvert', '', false, false)]
local procedure DoSomethingOnAfterConvert(var VATRateChangeSetup: Record "VAT Rate Change Setup")
begin
end;
OnAfterAreTablesSelected(Record VAT Rate Change Setup, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnAfterAreTablesSelected(var VATRateChangeSetup: Record "VAT Rate Change Setup"; var Result: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnAfterAreTablesSelected', '', false, false)]
local procedure DoSomethingOnAfterAreTablesSelected(var VATRateChangeSetup: Record "VAT Rate Change Setup"; var Result: Boolean)
begin
end;
OnBeforeCheckPurchaseLinePartlyShipped(Record Purchase Line, Text[250], Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckPurchaseLinePartlyShipped(var PurchaseLine: Record "Purchase Line"; var DescriptionTxt: Text[250]; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnBeforeCheckPurchaseLinePartlyShipped', '', false, false)]
local procedure DoSomethingOnBeforeCheckPurchaseLinePartlyShipped(var PurchaseLine: Record "Purchase Line"; var DescriptionTxt: Text[250]; var IsHandled: Boolean)
begin
end;
OnBeforeCheckSalesLinePartlyShipped(Record Sales Line, Text[250], Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckSalesLinePartlyShipped(var SalesLine: Record "Sales Line"; var DescriptionTxt: Text[250]; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnBeforeCheckSalesLinePartlyShipped', '', false, false)]
local procedure DoSomethingOnBeforeCheckSalesLinePartlyShipped(var SalesLine: Record "Sales Line"; var DescriptionTxt: Text[250]; var IsHandled: Boolean)
begin
end;
OnBeforeConvert(Record VAT Rate Change Setup) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeConvert(var VATRateChangeSetup: Record "VAT Rate Change Setup"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnBeforeConvert', '', false, false)]
local procedure DoSomethingOnBeforeConvert(var VATRateChangeSetup: Record "VAT Rate Change Setup")
begin
end;
OnBeforeFinishConvert(Record VAT Rate Change Setup) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeFinishConvert(var VATRateChangeSetup: Record "VAT Rate Change Setup"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnBeforeFinishConvert', '', false, false)]
local procedure DoSomethingOnBeforeFinishConvert(var VATRateChangeSetup: Record "VAT Rate Change Setup")
begin
end;
OnBeforeOnRun(Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeOnRun(var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnBeforeOnRun', '', false, false)]
local procedure DoSomethingOnBeforeOnRun(var IsHandled: Boolean)
begin
end;
OnBeforeUpdateGLAccount(Record G/L Account, Record VAT Rate Change Setup, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateGLAccount(var GLAccount: Record "G/L Account"; var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnBeforeUpdateGLAccount', '', false, false)]
local procedure DoSomethingOnBeforeUpdateGLAccount(var GLAccount: Record "G/L Account"; var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean)
begin
end;
OnBeforeUpdateItem(Record Item, Record VAT Rate Change Setup, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateItem(var Item: Record "Item"; var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnBeforeUpdateItem', '', false, false)]
local procedure DoSomethingOnBeforeUpdateItem(var Item: Record "Item"; var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean)
begin
end;
OnBeforeUpdateResource(Record Resource, Record VAT Rate Change Setup, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateResource(var Resource: Record "Resource"; var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnBeforeUpdateResource', '', false, false)]
local procedure DoSomethingOnBeforeUpdateResource(var Resource: Record "Resource"; var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean)
begin
end;
OnBeforeUpdateSales(Record VAT Rate Change Setup, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateSales(var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnBeforeUpdateSales', '', false, false)]
local procedure DoSomethingOnBeforeUpdateSales(var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean)
begin
end;
OnBeforeUpdateTable(Integer, Boolean, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateTable(TableID: Integer; ConvertVATProdPostingGroup: Boolean; ConvertGenProdPostingGroup: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnBeforeUpdateTable', '', false, false)]
local procedure DoSomethingOnBeforeUpdateTable(TableID: Integer; ConvertVATProdPostingGroup: Boolean; ConvertGenProdPostingGroup: Boolean; var IsHandled: Boolean)
begin
end;
OnBeforeUpdatePurchase(Record VAT Rate Change Setup, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdatePurchase(var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnBeforeUpdatePurchase', '', false, false)]
local procedure DoSomethingOnBeforeUpdatePurchase(var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean)
begin
end;
OnBeforeUpdateServPriceAdjDetail(Record VAT Rate Change Setup, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateServPriceAdjDetail(var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnBeforeUpdateServPriceAdjDetail', '', false, false)]
local procedure DoSomethingOnBeforeUpdateServPriceAdjDetail(var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean)
begin
end;
OnBeforeUpdateService(Record VAT Rate Change Setup, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateService(var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnBeforeUpdateService', '', false, false)]
local procedure DoSomethingOnBeforeUpdateService(var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean)
begin
end;
OnAfterAddNewSalesLine(Record Sales Line, Record Sales Line) :#
[IntegrationEvent(false, false)]
local procedure OnAfterAddNewSalesLine(var OldSalesLine: Record "Sales Line"; var NewSalesLine: Record "Sales Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnAfterAddNewSalesLine', '', false, false)]
local procedure DoSomethingOnAfterAddNewSalesLine(var OldSalesLine: Record "Sales Line"; var NewSalesLine: Record "Sales Line")
begin
end;
OnAfterAddNewPurchaseLine(Record Purchase Line, Record Purchase Line) :#
[IntegrationEvent(false, false)]
local procedure OnAfterAddNewPurchaseLine(var OldPurchaseLine: Record "Purchase Line"; var NewPurchaseLine: Record "Purchase Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAVATRateChangeConversion", 'OnAfterAddNewPurchaseLine', '', false, false)]
local procedure DoSomethingOnAfterAddNewPurchaseLine(var OldPurchaseLine: Record "Purchase Line"; var NewPurchaseLine: Record "Purchase Line")
begin
end;