Table of Contents

KVSKBAPEPPOL30SalesIterator

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

Procedures

GetNextPostedHeaderAsSalesHeader(RecordRef, Record Sales Header) : Boolean

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

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

Parameters:

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

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

GetNextPostedLineAsSalesLine(RecordRef, Record Sales Line) : Boolean

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

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

Parameters:

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

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