Table of Contents

KVSKBAPEPPOL30ServicesIterator

Implements #e1966889b5fb4fdaa84cea71b590e1a9#"PEPPOL Posted Document Iterator" . Summary: Codeunit for iterating over posted service documents in the KUMAVISION base PEPPOL 3.0 format.

Procedures

GetNextPostedHeaderAsSalesHeader(RecordRef, Record Sales Header) : Boolean

Summary: Retrieves the next posted service header and converts it to a service header record.

procedure GetNextPostedHeaderAsSalesHeader(var PostedRecRef: RecordRef; var SalesHeader: Record "Sales Header"): Boolean

Parameters:

  • PostedRecRef: The record reference to the posted service header.
  • SalesHeader: The service header record to populate.

Returns: True if a posted service header was found; otherwise, false.

GetNextPostedLineAsSalesLine(RecordRef, Record Sales Line) : Boolean

Summary: Retrieves the next posted service line and converts it to a service line record.

procedure GetNextPostedLineAsSalesLine(var PostedLineRecRef: RecordRef; var SalesLine: Record "Sales Line"): Boolean

Parameters:

  • PostedLineRecRef: The record reference to the posted service line.
  • SalesLine: The service line record to populate.

Returns: True if a posted service line was found; otherwise, false.