KVSKBAPEPPOL30ServiceValidat
Implements #e1966889b5fb4fdaa84cea71b590e1a9#"PEPPOL30 Validation" . Summary: Codeunit for validating service documents in the KUMAVISION base PEPPOL 3.0 format.
Procedures
OnRun
procedure OnRun(Rec: Record "#437dbf0e84ff417a965ded2bb9650972#Service Header")
ValidateDocument(Variant) :
Summary: Validates a service document header against PEPPOL 3.0 requirements.
procedure ValidateDocument(RecordVariant: Variant):
Parameters:
RecordVariant: The service credit memo header record to validate.
Remarks: The validation is delegated to the PEPPOL app codeunit "PEPPOL30 Service Validation".
ValidateDocumentLines(Variant) :
Summary: Validates all service document lines against PEPPOL 3.0 requirements.
procedure ValidateDocumentLines(RecordVariant: Variant):
Parameters:
RecordVariant: The service credit memo header record whose lines should be validated.
Remarks: Line validation is performed by the custom implementation KVSKBAPEPPOL30ServiceValidImpl.
ValidateDocumentLine(Variant) :
Summary: Validates a single service document line against PEPPOL 3.0 requirements.
procedure ValidateDocumentLine(RecordVariant: Variant):
Parameters:
RecordVariant: The service credit memo line record to validate.
Remarks: Line validation is performed by the custom implementation KVSKBAPEPPOL30ServiceValidImpl.
ValidatePostedDocument(Variant) :
Summary: Validates a posted service document against PEPPOL 3.0 requirements.
procedure ValidatePostedDocument(RecordVariant: Variant):
Parameters:
RecordVariant: The posted service document record to validate.
Remarks: Posted document validation is performed by the custom implementation KVSKBAPEPPOL30ServiceValidImpl.
ValidateLineTypeAndDescription(Variant) : Boolean
Summary: Validates the service line type and description.
procedure ValidateLineTypeAndDescription(RecordVariant: Variant): Boolean
Parameters:
RecordVariant: The service line record to validate.
Returns: True if the line type or description is invalid; otherwise, false.
Remarks: The validation is delegated to the PEPPOL app codeunit "PEPPOL30 Service Validation".