W155: Delete timeline note
Removes a single timeline note. Triggered from Sales Order Detail timeline section. Provided as an escape hatch for accidental adds; notes are append-only by convention.
Steps
-
Load the note. Call
SalesOrders.getTimelineNoteById; unknown ids raiseNotFoundError(no silent no-op). -
Delete the note. Call
SalesOrders.deleteTimelineNote(noteId).
Returns
Nothing.
Business rules
- Notes are append-only by convention. This delete exists only for accidental adds; there is no audit trail of deleted notes today.
Errors
NotFoundError. The note was not found.