Simple Data Types Used in r_keeper 7 Functions and Classes:

The name type corresponds to the Description type

TQuantity Int64 is used for the quantity

TMoney Int64 is used for amounts

TWeight Int64 is used for weight

TSmallWeight Longint

TimeMacro TDateTime

Int2 Smallint

Int4 Longint

Int8 Int64

TRate

TEditType  — Used to call the order editing function, defines the type of editing: insert, delete, or modify an item

etInsert

etRemove

etChange

TVerifyType — In the OnOrderVerify function, that is called before important events, specifies the event/order status.

VtBeforeSave — saving an order

vtBill — bill

vtFirstPay — entering the first payment

vtPrintReceipt — receipt printing

vtDeleteReceipt

vtNewQuickCheck — new quick check

vtAfterReceipt

vtAfterPay

TDrawItemState — element status: open, blocked...

disNone

disOpened

disLocked

disFixed

disPrinted

disPartClosed

disClosed

disDeleted

TChargeSource

chsHuman — Discount is given manually

chsReserved

chsPay — Discount is given on payment

chsAuto                                                Discount is given automatically

chsChangeTip                                      Tips formed by change

chsInterface                                         Discount is given with the PDS card

chsMCR                                               Discount is given with a discount card

chsFiscDeposit                                    Markup used for fiscal deposit of money

chsComboDisc                                    Discount on the difference between the combo price and the price list

chsScript                                              Discount is given using a script

chsMinAmount                                     Markup for the minimum order amount

chsXML                                                Discount is given using XML

chsRoundCurr                                     Discount is given for rounding the currency amount

chsCoupon                                          Coupon — discount is added manually from the list from the interface

chsDelPrepay                                      An undistributed markup is added to the order to repay the prepayment instead of the fiscal deletion of the prepayment receipt

chsPayAsDiscount                              Discount instead of payment

TPayExtraInfo = packed record

InputType: TinputType                         Payment Adding Method

AddByInterface:integer                        ID of the logical interface associated with the payment

CardNum : string[51]                            Card number, possibly corrupted

ExpDate : integer

TransactionID: integer                          The logical transaction number supported by the authorization driver

NeedAskBeforePrint: boolean             Whether to ask the user before printing the receipt (after the signature). It is not written to the database

NeedConfirmAfterPrint: boolean          Whether to call TerminalAfterPrintConfirm/TerminalAfterPrintVoid

AuthCode: ShortString                         Authorization code

Track2 : ShortString

AccountIdent: Int8                                Account number in an external system, or bank authorization terminal ID

Owner : ShortString                             Line

iTerminal: integer

ExtTransactionInfo:ShortString

TransactionStatus:tTransactionStatus

AuthType:tAuType

PayUNI:integer

TerminalPrintDetailIdent:integer ;        starting from version 8, ID of the authorization-related print scheme detail

iCurrency:integer                        ;        starting from version 14

TransactionType:TBankTransactionType              ;                                                         starting from version