Zum Hauptinhalt springen

updateDocFileStatus

updateDocFileStatus(docFile, code, success): void

Updates a specific status code on a document file. If the status code doesn't exist and success is false, it will be added. If the status code exists, its success state will be updated.

Parameters

docFile

ptpInvoice

The document file to update.

code

StatusCode

The status code to add or update.

success

boolean

The success state to set for the status code.

Returns

void