KVSADVAdvanceChainMgtSales#
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 Sales Header) : Text#
procedure GetAdvanceChainFilterStringForDocument(DocumentHeader: Record "Sales Header"): Text
OpenCVLedgerEntriesForAdvanceChain(Text) :#
procedure OpenCVLedgerEntriesForAdvanceChain(AdvanceChainNoFilter: Text):
Events#
OnBeforeUpdateAdvanceChainNoForDocumentLineModification(Record Sales Line, Record Sales Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAdvanceChainNoForDocumentLineModification(var DocumentLine: Record "Sales Line"; var xRecDocumentLine: Record "Sales Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvanceChainMgtSales", 'OnBeforeUpdateAdvanceChainNoForDocumentLineModification', '', false, false)]
local procedure DoSomethingOnBeforeUpdateAdvanceChainNoForDocumentLineModification(var DocumentLine: Record "Sales Line"; var xRecDocumentLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;
OnBeforeUpdateAdvanceChainNoForDocumentHeaderModification(Record Sales Header, Record Sales Header, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAdvanceChainNoForDocumentHeaderModification(var Document: Record "Sales Header"; var xRecDocument: Record "Sales Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvanceChainMgtSales", 'OnBeforeUpdateAdvanceChainNoForDocumentHeaderModification', '', false, false)]
local procedure DoSomethingOnBeforeUpdateAdvanceChainNoForDocumentHeaderModification(var Document: Record "Sales Header"; var xRecDocument: Record "Sales 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::"KVSADVAdvanceChainMgtSales", '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::"KVSADVAdvanceChainMgtSales", 'OnBeforeCheckAdvancedPostedAdvanceDocsExistForAdvanceChain', '', false, false)]
local procedure DoSomethingOnBeforeCheckAdvancedPostedAdvanceDocsExistForAdvanceChain(AdvanceChainNo: Integer; var PostedAdvanceDocsExist: Boolean; var IsHandled: Boolean)
begin
end;