KVSADVAdvanceChainMgtPurch#
Procedures#
CheckAdvancedPostedAdvanceDocsExistForAdvanceChain(Integer) : Boolean#
Summary: The function checks whether there are open invoices or invoices balanced by credit notes for a advance chain.
procedure CheckAdvancedPostedAdvanceDocsExistForAdvanceChain(AdvanceChainNo: Integer): Boolean
Parameters:
AdvanceChainNo
: The advance chain line for which is to be checked.
Returns: Boolean, whether there are open invoices or invoices balanced by credit notes.
GetAdvanceChainFilterStringForDocument(Record Purchase Header) : Text#
procedure GetAdvanceChainFilterStringForDocument(DocumentHeader: Record "Purchase Header"): Text
OpenCVLedgerEntriesForAdvanceChain(Text) :#
procedure OpenCVLedgerEntriesForAdvanceChain(AdvanceChainNoFilter: Text):
Events#
OnBeforeUpdateAdvanceChainNoForDocumentLineModification(Record Purchase Line, Record Purchase Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAdvanceChainNoForDocumentLineModification(var DocumentLine: Record "Purchase Line"; var xRecDocumentLine: Record "Purchase Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvanceChainMgtPurch", 'OnBeforeUpdateAdvanceChainNoForDocumentLineModification', '', false, false)]
local procedure DoSomethingOnBeforeUpdateAdvanceChainNoForDocumentLineModification(var DocumentLine: Record "Purchase Line"; var xRecDocumentLine: Record "Purchase Line"; var IsHandled: Boolean)
begin
end;
OnBeforeUpdateAdvanceChainNoForDocumentHeaderModification(Record Purchase Header, Record Purchase Header, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAdvanceChainNoForDocumentHeaderModification(var Document: Record "Purchase Header"; var xRecDocument: Record "Purchase Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvanceChainMgtPurch", 'OnBeforeUpdateAdvanceChainNoForDocumentHeaderModification', '', false, false)]
local procedure DoSomethingOnBeforeUpdateAdvanceChainNoForDocumentHeaderModification(var Document: Record "Purchase Header"; var xRecDocument: Record "Purchase Header"; var IsHandled: Boolean)
begin
end;
OnBeforeCheckAdvAmount(Integer, Decimal, Code[10], Decimal, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckAdvAmount(AdvanceChainNo: Integer; ActAdvAmt: Decimal; ActCurrCode: Code[10]; ActCurrFactor: Decimal; var Result: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvanceChainMgtPurch", 'OnBeforeCheckAdvAmount', '', false, false)]
local procedure DoSomethingOnBeforeCheckAdvAmount(AdvanceChainNo: Integer; ActAdvAmt: Decimal; ActCurrCode: Code[10]; ActCurrFactor: Decimal; var Result: Boolean; var IsHandled: Boolean)
begin
end;
OnBeforeCheckAdvancedPostedAdvanceDocsExistForAdvanceChain(Integer, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckAdvancedPostedAdvanceDocsExistForAdvanceChain(AdvanceChainNo: Integer; var PostedAdvanceDocsExist: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvanceChainMgtPurch", 'OnBeforeCheckAdvancedPostedAdvanceDocsExistForAdvanceChain', '', false, false)]
local procedure DoSomethingOnBeforeCheckAdvancedPostedAdvanceDocsExistForAdvanceChain(AdvanceChainNo: Integer; var PostedAdvanceDocsExist: Boolean; var IsHandled: Boolean)
begin
end;