TemporaryTransactions
仮販売取引情報を取得、更新、登録、削除します。
Columns
| Name | Type | ReadOnly | References | Description |
| TransactionHeadId [KEY] | Integer | True |
仮販売取引ID | |
| AdjustmentDateTime | Datetime | False | ||
| AdjustmentMile | Integer | False | ||
| AdjustmentMileDivision | String | False | ||
| AdjustmentMileValue | Integer | False | ||
| Amount | Integer | False |
取引明細の返品以外の数量の合計 (取引明細区分が2返品以外の数量) | |
| AuthDate | Date | False | ||
| AuthNumber | String | False | ||
| Barcode | String | False |
バーコード | |
| CancelDateTime | Datetime | False | ||
| CancelDivision | String | False |
取引の取消を識別する区分。 (0:通常、1取消) | |
| CancelSlipNumber | String | False | ||
| CardCompany | String | False | ||
| Carriage | Integer | False | ||
| CashTotal | Integer | False | ||
| Change | Integer | False | ||
| Commission | Integer | False | ||
| CostTotal | Decimal | False |
明細の原価計の合計 | |
| CouponDiscount | Integer | False | ||
| CreditDivision | String | False | ||
| CreditTotal | Integer | False | ||
| CurrentMile | Integer | False | ||
| Customer | String | False | ||
| CustomerCode | String | False | ||
| CustomerGroupId | Integer | False |
客層ID。客層セクションIDが1の客層IDを設定。 | |
| CustomerGroupId2 | Integer | False |
客層ID2。客層セクションIDが2の客層IDを設定。 | |
| CustomerGroupId3 | Integer | False |
客層ID3。客層セクションIDが3の客層IDを設定。 | |
| CustomerGroupId4 | Integer | False |
客層ID4。客層セクションIDが4の客層IDを設定。 | |
| CustomerGroupId5 | Integer | False |
客層ID5。客層セクションIDが5の客層IDを設定。 | |
| CustomerGroups | String | False | ||
| CustomerId | Long | False |
会員毎に付与するID。 | |
| CustomerPinCode | String | False | ||
| CustomerRank | String | False | ||
| Denomination | String | False | ||
| Deposit | Integer | False | ||
| DepositCash | Integer | False | ||
| DepositCredit | Integer | False | ||
| DiscountRoundingDivision | String | False | ||
| DisposeDivision | String | False | ||
| DisposeServerTransactionHeadId | Integer | False | ||
| EarnMile | Integer | False | ||
| EnterDateTime | Datetime | False | ||
| ExchangeTicketNo | String | False | ||
| GiftReceiptValidDays | Integer | False | ||
| GuestNumbers | Integer | False | ||
| GuestNumbersFemale | Integer | False | ||
| GuestNumbersMale | Integer | False | ||
| GuestNumbersUnknown | Integer | False | ||
| InTaxSalesTotal | Integer | False | ||
| Memo | String | False | ||
| MileageDivision | String | False | ||
| MileageLabel | String | False | ||
| NetTaxFreeConsumableTaxExclude | Integer | False | ||
| NetTaxFreeConsumableTaxInclude | Integer | False | ||
| NetTaxFreeGeneralTaxExclude | Integer | False | ||
| NetTaxFreeGeneralTaxInclude | Integer | False | ||
| NewPoint | Integer | False |
取引で付与されるポイント。 合計 * ポイント付与率 | |
| NonSalesTargetAmount | Integer | False | ||
| NonSalesTargetCostTotal | Decimal | False | ||
| NonSalesTargetInTaxTotal | Integer | False | ||
| NonSalesTargetOutTaxTotal | Integer | False | ||
| NonSalesTargetReturnAmount | Integer | False | ||
| NonSalesTargetTaxFreeTotal | Integer | False | ||
| NonSalesTargetTotal | Integer | False | ||
| NonTaxSalesTotal | Integer | False | ||
| OutTaxSalesTotal | Integer | False | ||
| PaymentCount | Integer | False | ||
| Point | Integer | False |
取引前のポイント。※ ポイント値の直接入力は9桁まで可能です。ただし、ポイントの加算により9桁を超える値が発生することもあり得ます。 | |
| PointDiscount | Integer | False |
使用ポイント * ポイント還元率。 | |
| PointGivingDivision | String | False | ||
| PointGivingUnit | Decimal | False | ||
| PointGivingUnitPrice | Integer | False | ||
| PointSpendDivision | String | False | ||
| ReceiptMemo | String | False | ||
| ReturnAmount | String | False |
取引明細の返品の数量の合計 (取引明細区分が2返品の数量) | |
| ReturnSales | String | False | ||
| RoundingDivision | String | False |
販売時の合計金額の端数を丸めるか否かを設定する。00:なし、11:一の位を四捨五入、12:一の位を切捨、13:一の位を切上、21:十の位を四捨五入、22:十の位を切捨、23:十の位を切上、31:百の位を四捨五入、32:百の位を切捨、33:百の位を切上、41:千の位を四捨五入、42:千の位を切捨、43:千の位を切上、99:手入力 | |
| RoundingPrice | Integer | False |
端数値引額 | |
| SalesHeadDivision | String | False | ||
| SequentialNumber | Integer | False |
連番 | |
| SellDivision | String | False | ||
| SlipNumber | String | False | ||
| SpendPoint | Integer | False |
取引で使用したポイント。 | |
| Staff | String | False | ||
| StaffCode | String | False | ||
| StaffId | Integer | False |
販売員ID(スタッフID) | |
| StaffName | String | False |
AppAccessToken(pos.staffs:read) | |
| Status | String | False |
仮販売のステータス。(0:通常、1:完了、2:取消) | |
| Store | String | False | ||
| StoreCode | String | False | ||
| StoreId | Integer | False |
店舗毎に付与するID。 | |
| Subtotal | Integer | False |
取引明細の値引き後小計の合計。 | |
| SubtotalDiscountDivision | String | False |
小計値引き/割引時に指定された区分を設定。管理画面->設定->販売設定->値引区分/割引区分のページで確認できるID。 | |
| SubtotalDiscountPrice | Integer | False |
小計の値引き金額を設定。 | |
| SubtotalDiscountRate | Integer | False |
小計の割引を設定 (単位%) デフォルトは未設定。設定された場合、小計値引は必須。※小計値引率から小計値引は計算しないため小計値引に値引額を設定してください。 | |
| SubtotalForDiscount | String | False |
取引明細の割引値引対象区分が対象の小計金額 | |
| SumDate | Date | False | ||
| SumDivision | String | False | ||
| Tags | String | False | ||
| TaxExclude | Integer | False |
外税商品計 * 10 / 100。※税率が10%の場合 ※小数点以下は税の丸め方式で指定の通り | |
| TaxFreeSalesDivision | String | False | ||
| TaxInclude | Integer | False |
内税商品計 / 110 * 10。※税率が10%の場合 ※小数点以下は税の丸め方式で指定の通り | |
| TaxRate | Decimal | False | ||
| TaxRounding | String | False | ||
| TerminalId | Integer | False |
店舗の端末毎に付与するID。 | |
| TerminalTranDateTime | Datetime | False |
端末で設定された取引日時。 | |
| TerminalTranId | Integer | False |
端末で設定された取引ID。 | |
| TipCash | String | False | ||
| TipCredit | String | False | ||
| Total | Integer | False |
小計 - 小計値引き - ポイント値引き + 端数値引額 + 外税額 - 免税額 を設定 | |
| TotalMile | Integer | False | ||
| TotalPoint | Integer | False |
取引後のポイント 現在ポイント + 付与ポイント - 使用ポイント。※ ポイント値の直接入力は9桁まで可能です。ただし、ポイントの加算により9桁を超える値が発生することもあり得ます。 | |
| TransactionDateTime | Datetime | False |
取引日時。サーバーに送信された日時。販売日時は端末取引日時を参照。 | |
| TransactionHeadDivision | String | False |
取引を識別する区分。(1:通常、2:入金、3:出金、4:預かり金、 5:預かり金返金、6:ポイント加算、7:ポイント減算、8:ポイント失効、10:取置き、13:マイル加算、14:マイル減算、15:バリューカード入金、16:領収証) | |
| TransactionUuid | String | False | ||
| UnitBargainDiscountsubtotal | Integer | False | ||
| UnitDiscountsubtotal | Integer | False |
単品値引き小計:取引明細の単品値引き計の合計と商品バンドル値引按分の合計を合算した値。※ 取引明細区分が2:返品の取引明細のとき、単品値引き計及び商品バンドル値引按分は符号反転して計算されます。(例: ある取引明細の取引明細区分が2、単品値引き計が50円、商品バンドル値引按分が12円の場合、単品値引き計は-50円、商品バンドル値引按分は-12円として計算されます。)※ 以下の商品区分を持つ取引明細については、単品値引き計及び商品バンドル値引按分が0として計算されます。4:バンドル (親)、5:セット売り(親)、6:簡易セット(親)、8:バンドル値引(子) ※ ウェイターから生成された仮販売取引では、本項目が0になります。 | |
| UnitNonDiscountsubtotal | Integer | False |
取引明細の、値引き前計の合計。明細より自動算出。※管理画面の取引履歴CSVで対応する項目: 単価値引き前小計 | |
| UnitStaffDiscountsubtotal | Integer | False | ||
| UpdDateTime | Datetime | False | ||
| Details | String | False |
仮販売取引明細 |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| WithCustomer | String |
会員情報を付加するか(付加する場合はall, しない場合はnone) |
| WithCustomerGroups | String |
客層情報を付加するか(付加する場合はall, しない場合はnone) |
| WithStore | String |
店舗情報を付加するか(付加する場合はall, しない場合はnone) |
| WithStaff | String |
スタッフ情報を付加するか(付加する場合はall, しない場合はnone) |