AccountingEvent::createAccountingEvent Method
Creates a AccountingEvent record.
Syntax
client server public static AccountingEventRecId createAccountingEvent(
AccountingEventType _eventType,
SourceDocumentHeaderRecId _sourceDocumentHeader,
OperationsTax _ledgerCategory,
AccountingDate _accountingDate,
[AccountingEventId _eventID])
Run On
Called
Parameters
- _eventType
Type: AccountingEventType Enumeration
The source document event type of the accounting event.
- _sourceDocumentHeader
Type: SourceDocumentHeaderRecId Extended Data Type
The source document header ID to which the accounting event refers.
- _ledgerCategory
Type: OperationsTax Enumeration
The ledger category of the accounting event.
- _accountingDate
Type: AccountingDate Extended Data Type
The accounting date for the accounting event.
- _eventID
Type: AccountingEventId Extended Data Type
The event ID of the accounting event.
Return Value
Type: AccountingEventRecId Extended Data Type
The record ID of the accounting event.