ODBC Driver for Smaregi

Build 26.0.9770

TransactionCoupons

Returns a list of coupons applied to transactions.

ビュー固有の情報

SELECT

本製品 は Smaregi API を使用してWHERE 句条件を処理します。すべてのカラムは=、!=、>、<、>=、<= 演算子によるサーバー側フィルタリングをサポートし、文字列型のカラムはLIKE もサポートします。IN 演算子、およびdate/datetime 型のカラムに対するLIKE 演算子は、クライアント側で処理されます。

例えば、次のクエリはサーバー側で処理されます:

SELECT * FROM TransactionCoupons WHERE TransactionHeadId = 1

Columns

Name Type References Description
TransactionCouponId [KEY] Long ID assigned to each transaction coupon
TerminalTranCouponId [KEY] Long Terminal transaction coupon ID
TransactionHeadId [KEY] Long

TransactionHeads.TransactionHeadId

ID given to each transaction
TerminalTranId [KEY] Long Terminal transaction ID
CouponId [KEY] Long Coupon ID managed by smartphone register
CouponName String Name of the Coupon
SerialNumber String The coupon serial number.
AwardType String The type of Coupon
AwardValue Decimal Discount amount, discount rate, etc. What the value represents depends on the privilege type
DiscountPrice Decimal The discount price.
AdjustmentValue Decimal The Adjustment points/mile.
CouponOfflineDivision String The Coupon Offline Classification.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770