AccountingEvent::getLastEvent Method
Retrieves the last AccountingEvent record for the specified source document header.
Syntax
client server public static AccountingEvent getLastEvent(SourceDocumentHeaderRecId _sourceDocumentHeader)
Run On
Called
Parameters
- _sourceDocumentHeader
Type: SourceDocumentHeaderRecId Extended Data Type
The source document header ID to which the accounting event refers.The source document header ID which the accounting event refers to.
Return Value
Type: AccountingEvent Table
A AccountingEvent record.