LedgerRCOADtoRCM_RU.baseChecksum Method
This method calculated checksum for RCM code.
Syntax
private int baseChecksum(RCM_RU _rcm, [int _counter])
Run On
Called
Parameters
- _rcm
Type: RCM_RU Extended Data Type
The RCM code for calculating checksum.
- _counter
Type: int
The start character position. This parameter is optional.
Return Value
Type: int
The unprepared checksum for RCM code.
Exceptions
Exception | Condition |
---|---|
Error | Used throw operation if character position less than equal 0 or greater than length of the RCM code. |