RetailTransactionPaymentTrans::existCashDocId_RU Method
Determines whether a payment with the specified cash order number exists.
Syntax
server public static boolean existCashDocId_RU(RetailStoreId _storeId, RCashDocId _cashDocId)
Run On
Server
Parameters
- _storeId
Type: RetailStoreId Extended Data Type
The retail store number identifier.
- _cashDocId
Type: RCashDocId Extended Data Type
Disbursement slip number.
Return Value
Type: boolean
true if a payment exist; false otherwise.
Exceptions
Exception | Condition |
---|---|
Error | Throws error in case cash office is not specified for the store. |