Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds the FiscalDocument_BR that was last posted for the specified Customer Account.
Syntax
client server public static FiscalDocument_BR findLastPostedFiscalDocumentForCustomer(
CustAccount _custAccount,
FiscalDocDirection_BR _direction,
[boolean _forupdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _custAccount
Type: CustAccount Extended Data Type
The Customer Account for which we want to find the last posted FiscalDocument_BR record.
- _direction
Type: FiscalDocDirection_BR Enumeration
The direction of the FiscalDocument_BR record.
- _forupdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
The concurrency model option to use when reading the record; optional.
Return Value
Type: FiscalDocument_BR Table
A record in the FiscalDocument_BR table; otherwise, an empty record.