AccountingDistribution::getFirstDistribution Method
Retrieves the first AccountingDistribution record for the specified source document line and source event.
Syntax
client server public static AccountingDistribution getFirstDistribution(SourceDocumentLineRecId _sourceDocumentLine, AccountingEventRecId _accountingEvent)
Run On
Called
Parameters
- _sourceDocumentLine
Type: SourceDocumentLineRecId Extended Data Type
The reference ID of a SourceDocumentLine record.
- _accountingEvent
Type: AccountingEventRecId Extended Data Type
The reference ID of an AccountingEvent record.
Return Value
Type: AccountingDistribution Table
A AccountingEvent record.