TCashUser = class(TPersistent)

function CanDoOperation(const OperationID: integer): boolean;

Determines whether the current user of the station can perform the operation
@OperationID — an ID of (rkoXXX) type operation
@return — a check result 

function ConfirmOperation(const OperationID: integer): boolean;

Determines whether the current user of the station can perform the operation. If not, the «Operation Confirmation» form opens
@OperationID — an ID of (rkoXXX) type operation
@return — a check result

function CanUseObject(ReferentItem: TReferentItem): boolean;

Determines whether the ReferentItem object can be used at the moment. The function comprises checks for various types of use (belonging to trade groups for the corresponding elements, the possibility of use, etc.)
@ReferentItem — an item of reference
@return — a check result 

property Ident : TIdent read GetIdent;

An ID of the employee registered at the station

  • No labels