---
title: "DiscountCodeRecords (Visma.net Financials)"
description: "\u5272\u5F15\u30B3\u30FC\u30C9\u306E\u8A18\u9332"
language: ja
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/ja/datamodels/vismanet/VismaNet.DiscountCode.DiscountCodeRecords
original: https://documentation.invantive.eu/en/datamodels/vismanet/VismaNet.DiscountCode.DiscountCodeRecords
updated: 2026-12-04T04:47:07Z
license: https://documentation.invantive.eu/ja/
---

# DiscountCodeRecords: Visma.net Financials Discount Code Records

`read only` `REST`

- カタログ：`VismaNet`
- スキーマ: `DiscountCode`
- Label: Discount Code Records

Get a range of discount codes - ScreenId=AR209000

データの取得のみ可能です。

## APIソース

- エンドポイント: `/v1/discountCode`
- 作戦名：`get /v1/discountCode`

## 性能特性

| 特徴 | 値 |
|---|---:|
| 平均アクセス遅延（ms） | 155 |
| 全件スキャンの毎分行数 | 29,100 |
| ポイントクエリの毎分行数 | 387 |

結果はクライアント側でキャッシュすることができます。

## パラメータ

| 名前 | データ型 | 必須 | デフォルト | ドキュメント |
|---|---|:---:|---|---|
| `createdDateTime` | `` | [ ] |  | This value, generated by the system, indicates the creation date and time.Use it to retrieve all records that have been created since that time, up to the present.Accepted format: * ```yyyy-MM-dd``` * ```yyyy-MM-dd HH:mm:ss``` * ```yyyy-MM-dd HH:mm:ss.FFF``` * ```yyyy-MM-ddTHH:mm:ss``` * ```yyyy-MM-ddTHH:mm:ss.FFF```  _Note:_ __CreatedDateTime__ and __CreatedDateTimeCondition__ are __mutually inclusive__. |
| `createdDateTimeCondition` | `` | [ ] |  | This value represents the condition to be applied when retrieving records.Accepted values (without the single quotes): * '&gt;' for greater than * '&lt;' for less than * '&gt;=' for greater than or equal * '&lt;=' for less than or equal  _Note:_ __CreatedDateTime__ and __CreatedDateTimeCondition__ are __mutually inclusive__. |
| `discountCode` | `` | [ ] |  |  |
| `lastModifiedDateTime` | `` | [ ] |  |  |
| `lastModifiedDateTimeCondition` | `` | [ ] |  | System retrieved information for state/condition. |

## 表の列

テーブル `DiscountCodeRecords` の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|:---:|---|---|
| `COMPANY_CODE` | `varchar2(30)` | 会社コード | [x] | writable | Partition code, segmenting the data. |
| `COMPANY_NAME` | `varchar2(240)` | 会社名 | [x] | writable | Name of the partition. |
| `applicableTo` | `varchar2` | itgen_vnet_applicableto | [ ] | 書き込み可能, `applicableTo` | Mandatory field: Discount codes table &gt; Applicable to &gt; The entity to which the discount may be applied.Applicable To values:  CU - Customer, CI - Customer and Item, CP - Customer and Item Price Class, CE - Customer Price Class, PI - Customer Price Class and Item, PP - Customer Price Class and Item Price Class, CB - Customer and Branch, PB - Customer Price Class and Branch, WH - Warehouse, WI - Warehouse and Item, WC - Warehouse and Customer, WP - Warehouse and Item Price Class, WE - Warehouse and Customer Price Class, BR - Branch, IN - Item, IE - Item Price Class, UN - Unconditional |
| `applyToDeferredRevenue` | `char` | itgen_vnet_applytodeferredrevenue | [ ] | 書き込み可能, `applyToDeferredRevenue` | Discount codes table &gt; Apply to deferred revenue &gt; A check box that (if selected) indicates that a discount should be applied to a component price while computing a deferred revenue for the component. |
| `autoNumbering` | `char` | itgen_vnet_autonumbering | [ ] | 書き込み可能, `autoNumbering` | Discount codes table &gt; Auto numbering &gt; A check box that you select to use auto-numbering for generating IDs for series based on this discount code. |
| `createdDateTime` | `datetime` | 作成されました | [ ] | 書き込み可能, `createdDateTime` | System generated value. |
| `description` | `varchar2` | 説明 | [ ] | 書き込み可能, `description` |  |
| `discountCode` | `varchar2` | 割引コード | [ ] | 書き込み可能, `discountCode` |  |
| `discountType` | `varchar2` | itgen_vnet_discounttype | [ ] | 書き込み可能, `discountType` | DiscountType: L - Line, G - Group, D - Document |
| `errorInfo` | `varchar2` | エラーメッセージ | [ ] | 書き込み可能, `errorInfo` |  |
| `excludeFromDiscountableAmount` | `char` | itgen_vnet_excludefromdiscountableamount | [ ] | 書き込み可能, `excludeFromDiscountableAmount` | Discount codes table &gt; Exclude from discountable amount &gt; A check box that (if selected) indicates that the line amount is excluded from the amount that is the base for any applicable Group or Document discount. |
| `lastModifiedDateTime` | `datetime` | 最終更新日 | [ ] | 書き込み可能, `lastModifiedDateTime` | System generated value. |
| `lastNumber` | `varchar2` | itgen_vnet_lastnumber | [ ] | 書き込み可能, `lastNumber` | Discount codes table &gt; Last number &gt; The last ID used for the series if series IDs are auto-numbered. |
| `manual` | `char` | itgen_vnet_manual | [ ] | 書き込み可能, `manual` | Discount codes table &gt; Manual &gt; A check box that (if selected) indicates that this discount is excluded from automatic searches for the best available discount. |
| `metadata_maxPageSize` | `int64` | メタデータの最大ページサイズ | [ ] | 書き込み可能, `metadata.maxPageSize` |  |
| `metadata_totalCount` | `int64` | 合計数 | [ ] | 書き込み可能, `metadata.totalCount` |  |
| `pageNumber` | `int32` | ページ番号 | [ ] | プラットフォーム上のフィルター、書き込み可能、`::ancestor.pageNumber` |  |
| `pageSize` | `int32` | ページサイズ | [ ] | プラットフォーム上のフィルター、書き込み可能、`::ancestor.pageSize` |  |
| `skipDocumentDiscounts` | `char` | itgen_vnet_skipdocumentdiscounts | [ ] | 書き込み可能, `skipDocumentDiscounts` | Discount codes table &gt; Skip document discounts &gt; A check box that indicates (if selected) that after this discount has been applied, no other applicable discounts should be applied. |
| `totalCount` | `int64` | 合計数 | [ ] | プラットフォーム上のフィルター、書き込み可能、`::ancestor.totalCount` |  |


## リリース情報

各リリースごとに、ドライバのテーブル、列、属性、および機能にどのような変更があったか：

- [Visma.net Financials](/ja/release-notes/drivers/visma-net-financials)
