Skip to content

KVSADVAdvancePlanMgtPurchase#

Procedures#

GetUnpostedInvoiceNoForAdvancePlanEntry(Record KVSADVAdvance Planning Entry, Code[20]) :#

procedure GetUnpostedInvoiceNoForAdvancePlanEntry(AdvancePlanEntry: Record "KVSADVAdvance Planning Entry"; var InvoiceNo: Code[20]): 

Events#

OnBeforeGetBaseAmountByDocumentLine(Record Purchase Line, Boolean, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeGetBaseAmountByDocumentLine(DocumentLine: Record "Purchase Line"; PricesInclVAT: Boolean; var BaseAmount: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvancePlanMgtPurchase", 'OnBeforeGetBaseAmountByDocumentLine', '', false, false)]
local procedure DoSomethingOnBeforeGetBaseAmountByDocumentLine(DocumentLine: Record "Purchase Line"; PricesInclVAT: Boolean; var BaseAmount: Decimal; var IsHandled: Boolean)
begin
end;

OnBeforeGetBaseAmountByDocumentArchLine(Record Purchase Line Archive, Boolean, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeGetBaseAmountByDocumentArchLine(DocumentLine: Record "Purchase Line Archive"; PricesInclVAT: Boolean; var BaseAmount: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvancePlanMgtPurchase", 'OnBeforeGetBaseAmountByDocumentArchLine', '', false, false)]
local procedure DoSomethingOnBeforeGetBaseAmountByDocumentArchLine(DocumentLine: Record "Purchase Line Archive"; PricesInclVAT: Boolean; var BaseAmount: Decimal; var IsHandled: Boolean)
begin
end;

OnBeforeGetNonDeductibleVATPercentByDocumentLine(Record Purchase Line, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeGetNonDeductibleVATPercentByDocumentLine(PurchaseLine: Record "Purchase Line"; var NonDeductibleVATPercent: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvancePlanMgtPurchase", 'OnBeforeGetNonDeductibleVATPercentByDocumentLine', '', false, false)]
local procedure DoSomethingOnBeforeGetNonDeductibleVATPercentByDocumentLine(PurchaseLine: Record "Purchase Line"; var NonDeductibleVATPercent: Decimal; var IsHandled: Boolean)
begin
end;

OnGetNonDeductibleVATPercentByDocumentArchLine(Record Purchase Line Archive, Boolean, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnGetNonDeductibleVATPercentByDocumentArchLine(PurchaseLineArchive: Record "Purchase Line Archive"; PricesInclVAT: Boolean; var NonDeductibleVATPercent: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvancePlanMgtPurchase", 'OnGetNonDeductibleVATPercentByDocumentArchLine', '', false, false)]
local procedure DoSomethingOnGetNonDeductibleVATPercentByDocumentArchLine(PurchaseLineArchive: Record "Purchase Line Archive"; PricesInclVAT: Boolean; var NonDeductibleVATPercent: Decimal; var IsHandled: Boolean)
begin
end;