JP2022138006A - Discount allocation device, discount allocation method, and discount allocation program - Google Patents

Discount allocation device, discount allocation method, and discount allocation program Download PDF

Info

Publication number
JP2022138006A
JP2022138006A JP2021037769A JP2021037769A JP2022138006A JP 2022138006 A JP2022138006 A JP 2022138006A JP 2021037769 A JP2021037769 A JP 2021037769A JP 2021037769 A JP2021037769 A JP 2021037769A JP 2022138006 A JP2022138006 A JP 2022138006A
Authority
JP
Japan
Prior art keywords
discount
rental
master
classification
customer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2021037769A
Other languages
Japanese (ja)
Other versions
JP7538748B2 (en
Inventor
康義 大神
Yasuyoshi Ogami
尚 山▲崎▼
Nao Yamazaki
剛光 上野
Takemitsu Ueno
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Obic Co Ltd
Original Assignee
Obic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Obic Co Ltd filed Critical Obic Co Ltd
Priority to JP2021037769A priority Critical patent/JP7538748B2/en
Publication of JP2022138006A publication Critical patent/JP2022138006A/en
Application granted granted Critical
Publication of JP7538748B2 publication Critical patent/JP7538748B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

To provide a discount allocation device, a discount allocation method, and a discount allocation program for facilitating early submission of a bill and allowing creation of a correct bill.SOLUTION: A discount allocation device acquires, from a place master, a linking method section for every combination of a customer and an operating place present on an allocation table, acquires, from a discount rate mater, a linking discount rate for every method section and every item combination according to every method section, adds up the amount on the allocation table in a unit of item combination for every method section and every item combination according to every method section, calculates a discount value by multiplying the discount rate by the add-up amount for every method section and every item combination according to every method section, generates a discount allocation record in which the discount value is linked to the item combinations for every method section and every item combination according to every method section, and stores the discount allocation record in the allocation table.SELECTED DRAWING: Figure 1

Description

本発明は、値引計上装置、値引計上方法および値引計上プログラムに関する。 The present invention relates to a discounting device, a discounting method, and a discounting program.

特許文献1には、売上データを基に算出した共同企業体へ請求する金額を含み、かつ、売上データに含まれる売上金額から共同企業体へ請求する金額を引いた金額を値引金額として含む請求データを生成する技術が開示されている。 Patent Document 1 includes the amount billed to the joint venture calculated based on the sales data, and the amount obtained by subtracting the amount billed to the joint venture from the sales amount included in the sales data is included as the discount amount. Techniques for generating billing data are disclosed.

特開2020-134976号公報Japanese Patent Application Laid-Open No. 2020-134976

ところで、建設機材または資材等をレンタルする建設機材・資材レンタル業では、値引という業務が発生する。また、建設機材・資材レンタル業では、請求書が現場責任者に送付されることもあり、その請求書に対する値引交渉も各現場責任者と行うこともあるうえ、同じ得意先であっても値引率および計算方法が多様となる。さらに、建設機材・資材レンタル業は、レンタル関連に関して、「レンタル料」、「基本料」、「補償料」および「運賃」というように売上する分類ごとに値引率が異なる場合がある。 By the way, in the construction equipment/materials rental business that rents construction equipments or materials, a business of discounting occurs. Also, in the construction equipment and material rental business, invoices are sometimes sent to site managers, and discount negotiations on the invoices may be conducted with each site manager. Discount rates and calculation methods are diversified. Furthermore, in the construction equipment/materials rental business, there are cases where the discount rate differs for each sales category, such as "rental fee", "basic fee", "compensation fee" and "fare".

しかしながら、上述した特許文献1では、担当者が値引契約を1件ずつ理解し、定価で売上額を計算した後、分類ごとに金額合計を算出し、値引率を乗じて値引額を1現場ずつ算出する必要があり、膨大な時間を要するうえ、計算間違いが生じることで請求トラブルとなる場合が発生するという問題点があった。 However, in Patent Document 1 described above, the person in charge understands the discount contracts one by one, calculates the sales amount at the fixed price, calculates the total amount for each category, and multiplies the discount rate to reduce the discount amount to one site. It is necessary to calculate one by one, which takes an enormous amount of time. In addition, there is a problem that billing troubles may occur due to calculation errors.

本発明は、上記に鑑みてなされたものであって、請求書提出の早期化を図るとともに、正確な請求書を作成することができる値引計上装置、値引計上方法および値引計上プログラムを提供することを目的とする。 The present invention has been made in view of the above, and provides a discount calculation device, a discount calculation method, and a discount calculation program capable of speeding up the submission of invoices and creating accurate invoices. intended to provide

上述した課題を解決し、目的を達成するために、本発明に係る値引計上装置は、制御部を備える値引計上装置であって、貸出商品の売上または請求の金額を、得意先、稼働場所、その他項目と紐付けて管理する計上テーブルと、得意先と貸出商品の稼働場所の組み合わせ別に、値引額の計算方法を識別するための方法区分を管理する場所マスタと、方法区分に応じた、得意先および稼働場所を含む項目組み合わせ別に、値引率を管理する、複数の方法区分それぞれに用意された値引率マスタと、にアクセス可能であり、前記制御部は、前記計上テーブルに存在する得意先と稼働場所の組み合わせ別に、前記場所マスタから、紐付く方法区分を取得する区分取得手段と、前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記値引率マスタから、紐付く値引率を取得する値引率取得手段と、前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記計上テーブルの金額を、項目組み合わせ単位に集計する集計手段と、前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記取得した値引率と前記集計した集計額を掛け合わせて値引額を計算する計算手段と、前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記計算した値引額を項目組み合わせと紐付けた値引計上レコードを生成する生成手段と、前記生成した値引計上レコードを前記計上テーブルに格納する格納手段と、備えること、を特徴とする。 In order to solve the above-described problems and achieve the object, a discount accounting device according to the present invention is a discount accounting device comprising a control unit, wherein sales of rental products or invoiced amounts are A recording table that manages locations and other items linked to each other, a location master that manages method classifications for identifying discount calculation methods for each combination of customers and rental product operating locations, and a location master that manages method classifications , a discount rate master prepared for each of a plurality of method classifications, which manages discount rates for each combination of items including customers and operating locations; Classification acquiring means for acquiring the associated method class from the location master for each combination of destination and work place, and for each of the acquired method classes and for each item combination corresponding to each method class, from the discount rate master, discount rate acquisition means for acquiring the associated discount rate; aggregating means for aggregating the amounts in the accounting table for each item combination for each of the acquired method categories and for each item combination according to each method category; Calculation means for calculating a discount amount by multiplying the obtained discount rate by the aggregated total amount for each of the acquired method categories and for each item combination according to each method category, and for each of the acquired method categories, and , generating means for generating a discount recording record in which the calculated discount amount is associated with the item combination for each item combination according to each method classification; and storage means for storing the generated discount recording record in the accounting table. and providing.

また、本発明に係る値引計上方法は、制御部を備える値引計上装置で実行される値引計上方法であって、貸出商品の売上または請求の金額を、得意先、稼働場所、その他項目と紐付けて管理する計上テーブルと、得意先と貸出商品の稼働場所の組み合わせ別に、値引額の計算方法を識別するための方法区分を管理する場所マスタと、方法区分に応じた、得意先および稼働場所を含む項目組み合わせ別に、値引率を管理する、複数の方法区分それぞれに用意された値引率マスタと、にアクセス可能であり、前記制御部で実行される、前記計上テーブルに存在する得意先と稼働場所の組み合わせ別に、前記場所マスタから、紐付く方法区分を取得する区分取得手ステップと、前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記値引率マスタから、紐付く値引率を取得する値引率取得ステップと、前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記計上テーブルの金額を、項目組み合わせ単位に集計する集計ステップと、前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記取得した値引率と前記集計した集計額を掛け合わせて値引額を計算する計算ステップと、前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記計算した値引額を項目組み合わせと紐付けた値引計上レコードを生成する生成ステップと、前記生成した値引計上レコードを前記計上テーブルに格納する格納ステップと、を含むこと、を特徴とする。 Further, the discount recording method according to the present invention is a discount recording method executed by a discount recording device having a control unit, wherein the sales of rental products or the invoiced amount are calculated according to the customer, the place of operation, and other items. , a location master that manages method classifications for identifying discount calculation methods for each combination of customer and rental product operating location, and a customer and A discount rate master prepared for each of a plurality of method classifications, which manages discount rates for each item combination including an operating location, and a customer present in the accounting table, which is executed by the control unit. For each combination of and operating place, from the location master, a class acquisition step of acquiring a linked method class, and for each of the acquired method classes and for each item combination according to each method class, from the discount rate master, a discount rate acquisition step of acquiring the associated discount rate; an aggregating step of aggregating the amounts in the calculation table for each item combination for each of the acquired method categories and for each item combination according to each method category; a calculating step of calculating a discount amount by multiplying the obtained discount rate by the aggregated total amount for each of the acquired method categories and for each item combination according to each method category; and for each of the acquired method categories, and , a generating step of generating a discount recording record in which the calculated discount amount is associated with the item combination for each item combination according to each method classification; and a storing step of storing the generated discount recording record in the accounting table. and

また、本発明に係る値引計上プログラムは、制御部を備える値引計上装置で実行される計上売上プログラムであって、貸出商品の売上または請求の金額を、得意先、稼働場所、その他項目と紐付けて管理する計上テーブルと、得意先と貸出商品の稼働場所の組み合わせ別に、値引額の計算方法を識別するための方法区分を管理する場所マスタと、方法区分に応じた、得意先および稼働場所を含む項目組み合わせ別に、値引率を管理する、複数の方法区分それぞれに用意された値引率マスタと、にアクセス可能であり、前記制御部で実行される、前記計上テーブルに存在する得意先と稼働場所の組み合わせ別に、前記場所マスタから、紐付く方法区分を取得する区分取得手ステップと、前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記値引率マスタから、紐付く値引率を取得する値引率取得ステップと、前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記計上テーブルの金額を、項目組み合わせ単位に集計する集計ステップと、前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記取得した値引率と前記集計した集計額を掛け合わせて値引額を計算する計算ステップと、前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記計算した値引額を項目組み合わせと紐付けた値引計上レコードを生成する生成ステップと、前記生成した値引計上レコードを前記計上テーブルに格納する格納ステップと、を含むこと、を特徴とする。 Further, a discount recording program according to the present invention is a recording sales program executed by a discount recording device having a control unit, wherein sales of rental products or invoiced amounts are recorded as customers, operating locations, and other items. Accounting table that manages by linking, location master that manages the method classification for identifying the discount amount calculation method for each combination of customer and rental product operation location, customer and operation according to the method classification A discount rate master prepared for each of a plurality of method categories that manages discount rates for each combination of items including locations; A classification obtaining step of obtaining a method classification to be linked from the location master for each combination of operating locations; an aggregating step of aggregating the amounts in the calculation table for each item combination for each of the acquired method categories and for each item combination according to each method category; a calculation step of calculating a discount amount by multiplying the obtained discount rate by the aggregated total amount for each method classification obtained and for each item combination according to each method classification, and for each of the obtained method classifications, and A generating step of generating a discount recording record in which the calculated discount amount is associated with the item combination for each item combination according to each method classification; and a storing step of storing the generated discount recording record in the accounting table. , and

本発明によれば、請求書提出の早期化を図るとともに、正確な請求書を作成することができるという効果を奏する。 ADVANTAGE OF THE INVENTION According to this invention, while aiming at early submission of a claim, an exact claim can be produced.

図1は、実施形態に係る値引計上装置の構成の一例を示すブロック図での概要を示す模式図である。FIG. 1 is a schematic diagram showing an overview in a block diagram showing an example of the configuration of the discounting device according to the embodiment. 図2は、商品マスタにおける商品マスタテーブルの一例を示す図である。FIG. 2 is a diagram showing an example of a product master table in the product master. 図3は、レンタル基本情報マスタにおけるレンタル基本情報マスタテーブルの一例を示す図である。FIG. 3 is a diagram showing an example of a basic rental information master table in the basic rental information master. 図4は、場所マスタにおける場所マスタテーブルの一例を示す図である。FIG. 4 is a diagram showing an example of a location master table in the location master. 図5は、値引率マスタにおけるレンタル得意先場所別値引率マスタテーブルの一例を示す図である。FIG. 5 is a diagram showing an example of a discount rate master table by rental customer location in the discount rate master. 図6は、値引率マスタにおけるレンタル得意先場所契約分類別値引率マスタテーブルの一例を示す図である。FIG. 6 is a diagram showing an example of a discount rate master table by rental customer location contract classification in the discount rate master. 図7は、レンタル得意先場所品種契約分類別値引率マスタテーブルの一例を示す図である。FIG. 7 is a diagram showing an example of a discount rate master table by rental customer location product type contract classification. 図8は、契約分類テーブルの一例を示す図である。FIG. 8 is a diagram showing an example of a contract classification table. 図9は、実施形態に係る値引計上装置が実行する処理の概要を示すフローチャートである。FIG. 9 is a flowchart showing an outline of processing executed by the discounting device according to the embodiment. 図10は、レンタル出庫データテーブルの一例を示す図である。FIG. 10 is a diagram showing an example of a rental delivery data table. 図11は、レンタル出庫データテーブルの別の場所名の一例を示す図である。FIG. 11 is a diagram showing another example of location names in the rental delivery data table. 図12は、レンタル入庫データテーブルの一例を示す図である。FIG. 12 is a diagram showing an example of a rental warehousing data table. 図13は、レンタル入庫データテーブルの別の場所名の一例を示す図である。FIG. 13 is a diagram showing an example of another location name in the rental storage data table. 図14は、値引前のレンタル売上明細データテーブルの一例を示す図である。FIG. 14 is a diagram showing an example of the rental sales detail data table before discount. 図15は、自動値引単位区分が全体の場合に値引計上装置が出力装置に表示させるレンタル売上明細画面の一例を示す図である。FIG. 15 is a diagram showing an example of a rental sales detail screen displayed on the output device by the discount accounting device when the automatic discount unit classification is the whole. 図16は、自動値引単位区分が全体の場合に値引計上装置が生成する値引明細データテーブルの一例を示す図である。FIG. 16 is a diagram showing an example of a discount detail data table generated by the discount accounting device when the automatic discount unit classification is all. 図17は、自動値引単位区分が全体の場合に値引計上装置が生成する請求明細データテーブルの一例を示す図である。FIG. 17 is a diagram showing an example of a billing statement data table generated by the discount accounting device when the automatic discount unit classification is all. 図18は、自動値引単位区分が契約分類の場合に値引計上装置が出力装置に表示させるレンタル売上明細画面の一例を示す図である。FIG. 18 is a diagram showing an example of a rental sales detail screen displayed on the output device by the discount recording device when the automatic discount unit classification is the contract classification. 図19は、自動値引単位区分が品種契約分類の場合に値引計上装置が生成する値引明細データテーブルの一例を示す図である。FIG. 19 is a diagram showing an example of a discount detail data table generated by the discount accounting device when the automatic discount unit classification is product type contract classification. 図20は、自動値引単位区分が契約分類の場合に値引計上装置が生成する請求明細データテーブルの一例を示す図である。FIG. 20 is a diagram showing an example of a billing statement data table generated by the discount accounting device when the automatic discount unit classification is contract classification. 図21は、自動値引単位区分が品種契約分類の場合に値引計上装置が出力装置に表示させるレンタル売上明細画面の一例を示す図である。FIG. 21 is a diagram showing an example of a rental sales detail screen displayed on the output device by the discount recording device when the automatic discount unit classification is product type contract classification. 図22は、自動値引単位区分が品種契約分類の場合に値引計上装置が生成する値引明細データテーブルの一例を示す図である。FIG. 22 is a diagram showing an example of a discount detail data table generated by the discount accounting device when the automatic discount unit classification is product type contract classification. 図23は、自動値引単位区分が品種契約分類の場合に値引計上装置が生成する請求明細データテーブルの一例を示す図である。FIG. 23 is a diagram showing an example of a billing detail data table generated by the discount accounting device when the automatic discount unit classification is product type contract classification.

以下に、本発明に係る値引計上装置、休止設定管理方法および休止設定管理プログラムの実施形態を、図面に基づいて詳細に説明する。なお、本実施形態により本発明が限定されるものではない。 Embodiments of a discounting device, a holiday setting management method, and a holiday setting management program according to the present invention will be described below in detail with reference to the drawings. It should be noted that the present invention is not limited by this embodiment.

[1.構成]
本実施形態に係る値引計上装置の構成の一例について、図1等を参照して説明する。図1は、値引計上装置の構成の一例を示すブロック図での概要を示す模式図である。
[1. Constitution]
An example of the configuration of the discounting device according to the present embodiment will be described with reference to FIG. 1 and the like. FIG. 1 is a schematic diagram showing an overview in a block diagram showing an example of the configuration of a discounting device.

図1に示す値引計上装置100は、市販のデスクトップ型パーソナルコンピュータである。なお、値引計上装置100は、デスクトップ型パーソナルコンピュータのような据置型情報処理装置に限らず、市販されているノート型パーソナルコンピュータ、PDA(Personal Digital Assistants)、スマートフォン、タブレット型パーソナルコンピュータなどの携帯型情報処理装置であってもよい。 The discounting device 100 shown in FIG. 1 is a commercially available desktop personal computer. Note that the discounting device 100 is not limited to a stationary information processing device such as a desktop personal computer, and may be a portable device such as a commercially available notebook personal computer, PDA (Personal Digital Assistants), a smart phone, or a tablet personal computer. type information processing device.

値引計上装置100は、制御部102と、通信インターフェース部104と、記憶部106と、入出力インターフェース部108と、を備えている。値引計上装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。 The discounting device 100 includes a control section 102 , a communication interface section 104 , a storage section 106 and an input/output interface section 108 . Each unit included in the discounting device 100 is communicably connected via an arbitrary communication path.

通信インターフェース部104は、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、値引計上装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と、通信回線と、を介してデータを通信する機能を有する。ここで、ネットワーク300は、値引計上装置100と、サーバ200と、を相互に通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。なお、記憶部106に格納されるデータは、例えばサーバ200に格納されてもよい。 The communication interface unit 104 communicably connects the discounting device 100 to the network 300 via a communication device such as a router and a wired or wireless communication line such as a dedicated line. The communication interface unit 104 has a function of communicating data with another device via a communication line. Here, the network 300 has a function of connecting the discounting device 100 and the server 200 so that they can communicate with each other, and is, for example, the Internet or a LAN (Local Area Network). Note that the data stored in the storage unit 106 may be stored in the server 200, for example.

入出力インターフェース部108には、入力装置112と、出力装置114と、が接続されている。出力装置114には、モニタ(家庭用テレビを含む)の他、スピーカやプリンタを用いることができる。入力装置112には、キーボード、マウス、およびマイクの他、マウスと協働してポインティングデバイス機能を実現するモニタを用いることができる。なお、以下では、出力装置114をモニタ114とし、入力装置112をキーボード112またはマウス112として記載する場合がある。 An input device 112 and an output device 114 are connected to the input/output interface section 108 . The output device 114 can be a monitor (including a home television), a speaker, or a printer. The input device 112 can be a keyboard, a mouse, a microphone, or a monitor that cooperates with the mouse to provide a pointing device function. Note that, hereinafter, the output device 114 may be referred to as the monitor 114 and the input device 112 may be referred to as the keyboard 112 or the mouse 112 .

記憶部106には、各種のデータベース、テーブルおよびファイルなどが格納される。記憶部106には、OS(Operating System)と協働してCPU(Central Processing Unit)に命令を与えて各種処理を行うためのコンピュータプログラムが記録される。記憶部106として、例えば、RAM(Random Access Memory)・ROM(Read Only Memory)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、および光ディスク等を用いることができる。記憶部106は、商品マスタ106aと、レンタル基本情報マスタ106bと、場所マスタ106cと、値引率マスタ106dと、を記憶している。 The storage unit 106 stores various databases, tables, files, and the like. The storage unit 106 stores a computer program for performing various processes by giving commands to a CPU (Central Processing Unit) in cooperation with an OS (Operating System). As the storage unit 106, for example, memory devices such as RAM (Random Access Memory) and ROM (Read Only Memory), fixed disk devices such as hard disks, flexible disks, and optical disks can be used. The storage unit 106 stores a product master 106a, a rental basic information master 106b, a location master 106c, and a discount rate master 106d.

商品マスタ106aは、貸出商品としてのレンタル商品ごとに、商品名、契約区分、契約区分名、品種および品種名を紐付けて管理する。 The product master 106a links and manages the product name, contract category, contract category name, product type, and product name for each rental product as a rental product.

図2は、商品マスタ106aにおける商品マスタテーブルの一例を示す図である。図2に示す商品マスタテーブルT1には、貸出商品としての商品コードを、商品名、契約区分、契約区分名、品種および品種名を紐付けて管理されている。具体的には、商品マスタテーブルT1には、貸出商品としての商品コード「NEBIKI」を、商品名「値引」、契約区分「90」、契約区分名「値引」、品種「900」および品種名「値引」を紐付けて管理されている。さらに、商品マスタテーブルT1には、貸出商品としての商品コード「RENTAL01」を、商品名「レンタル商品01」、契約区分「1」、契約区分名「日極」、品種「100」および品種名「外壁用品」を紐付けて管理されている。 FIG. 2 is a diagram showing an example of a product master table in the product master 106a. In the product master table T1 shown in FIG. 2, a product code as a rental product is managed in association with a product name, contract category, contract category name, product type, and product name. Specifically, in the product master table T1, the product code "NEBIKI" as the rental product is stored as the product name "discount", the contract category "90", the contract category name "discount", the product type "900", and the product type "900". It is managed by linking the name "Discount". Furthermore, in the product master table T1, the product code "RENTAL01" as the rental product is stored as the product name "rental product 01", the contract category "1", the contract category name "Nichigoku", the product type "100", and the product name " Exterior wall supplies" are linked and managed.

レンタル基本情報マスタ106bは、値引計算時の商品コードを管理する。 The basic rental information master 106b manages product codes for discount calculation.

図3は、レンタル基本情報マスタ106bにおけるレンタル基本情報マスタテーブルの一例を示す図である。図3に示すレンタル基本情報マスタテーブルT2には、値引計算時の自動値引商品コードが管理されている。具体的には、レンタル基本情報マスタテーブルT2には、値引計算時の自動値引商品コード「NEBIKI」が管理されている。 FIG. 3 is a diagram showing an example of a basic rental information master table in the basic rental information master 106b. In the basic rental information master table T2 shown in FIG. 3, the automatic discount product code at the time of discount calculation is managed. Specifically, the basic rental information master table T2 manages the automatic discount product code "NEBIKI" at the time of discount calculation.

場所マスタ106cは、得意先と貸出商品の稼働場所の組み合わせ別に、値引額の計算方法を識別するための方法区分を管理する。具体的には、場所マスタ106cは、貸出商品としてのレンタル商品の稼働場所ごとに、自動値引単位区分を紐付けて管理する。 The location master 106c manages method categories for identifying discount amount calculation methods for each combination of customer and rental product operating location. Specifically, the location master 106c links and manages the automatic discount unit classification for each operating location of the rental product as the rental product.

図4は、場所マスタ106cにおける場所マスタテーブルの一例を示す図である。図4に示す場所マスタテーブルT3には、出商品の貸出商品の稼働場所としての得意先コード、場所コード(現場コード)、場所名(現場名)および自動値引単位区分を紐付けて管理されている。具体的には、場所マスタテーブルT3には、貸出商品としてのレンタル商品の稼働場所としての得意先コード「TOK001」、場所コード「GEN0001」、場所名「現場名0001」および自動値引単位区分「0:全体」を紐付けて管理している。ここで、自動値引単位区分「0:全体」は、売上明細の全体の金額全体から設定した値引率で値引くものである。自動値引単位区分「1:契約分類」は、契約分類の金額毎に設定した値引率で値引くものである。自動値引単位区分「2:品種契約分類」は、品種分類の金額毎に設定した値引率で値引くものである。 FIG. 4 is a diagram showing an example of a location master table in the location master 106c. In the location master table T3 shown in FIG. 4, customer codes, location codes (site codes), location names (site names) and automatic discount unit divisions are linked and managed as operating locations for the products to be sold and to be lent. ing. Specifically, the location master table T3 contains customer code "TOK001", location code "GEN0001", location name "site name 0001", and automatic discount unit division " 0: All” is linked and managed. Here, the automatic discount unit classification "0: whole" is discounted at a set discount rate from the entire amount of the sales details. The automatic discount unit classification "1: contract classification" is discounted at a discount rate set for each amount of contract classification. The automatic discount unit classification "2: Product type contract classification" is for discounting at a discount rate set for each amount of product type.

値引率マスタ106dは、値引額の計算方法を識別するための方法区分に応じた、得意先および稼働場所を含む項目組み合わせ別に、値引率を、複数の方法区分の各々を管理する。具体的には、値引率マスタ106dは、レンタル得意先場所別値引率マスタと、レンタル得意先場所契約分類別値引率マスタと、レンタル得意先場所品種契約分類別値引率マスタと、を有する。 The discount rate master 106d manages the discount rate for each of a plurality of method classifications for each item combination including the customer and the place of work according to the method classification for identifying the calculation method of the discount amount. Specifically, the discount rate master 106d has a discount rate master by rental customer location, a discount rate master by rental customer location contract classification, and a discount rate master by rental customer location product type contract classification.

図5は、値引率マスタ106dにおけるレンタル得意先場所別値引率マスタテーブルの一例を示す図である。図5に示すレンタル得意先場所別値引率マスタテーブルT4には、得意先コード、場所コード(現場コード)、適用開始日、適用終了日および値引率を紐付けて管理されている。具体的には、レンタル得意先場所別値引率マスタテーブルT4には、得意先コード「TOK001」、場所コード「GEN0001」、適用開始日「2000/01/01」および値引率「10.0%」を紐付けて管理されている。 FIG. 5 is a diagram showing an example of a discount rate master table by rental customer location in the discount rate master 106d. A customer code, a location code (site code), an application start date, an application end date, and a discount rate are linked and managed in the discount rate master table T4 by rental customer location shown in FIG. Specifically, the discount rate master table T4 by rental customer location includes customer code "TOK001", location code "GEN0001", application start date "2000/01/01", and discount rate "10.0%". are linked and managed.

図6は、値引率マスタ106dにおけるレンタル得意先場所契約分類別値引率マスタテーブルの一例を示す図である。図6に示すレンタル得意先場所契約分類別値引率マスタテーブルT5には、得意先コード、場所コード、契約分類、運用開始日、適用終了日および値引率を紐付けて管理されている。具体的には、レンタル得意先場所契約分類別値引率マスタテーブルT5には、得意先コード「TOK001」、場所コード「GEN0002」、契約分類「10:レンタル」、運用開始日「2000/01/01」、値引率「10.0%」と紐付けて管理されている。 FIG. 6 is a diagram showing an example of a discount rate master table by rental customer location contract classification in the discount rate master 106d. In the discount rate master table T5 by rental customer location contract classification shown in FIG. 6, the customer code, location code, contract classification, operation start date, application end date, and discount rate are linked and managed. Specifically, the discount rate master table T5 by rental customer location contract classification includes customer code "TOK001", location code "GEN0002", contract classification "10: rental", operation start date "2000/01/01" ”, and the discount rate “10.0%”.

図7は、レンタル得意先場所品種契約分類別値引率マスタテーブルの一例を示す図である。図7に示すレンタル得意先場所品種契約分類別値引率マスタテーブルT6には、得意先コード、場所コード、品種、契約分類、運用開始日、適用終了日および値引率を紐付けて管理されている。具体的には、レンタル得意先場所品種契約分類別値引率マスタテーブルT6には、得意先コード「TOK001」、場所コード「GEN0003」、品種「100:外壁用品」、契約分類「10:レンタル」、運用開始日「2000/01/01」、値引率「5.0%」と紐付けて管理されている。 FIG. 7 is a diagram showing an example of a discount rate master table by rental customer location product type contract classification. In the discount rate master table T6 by rental customer location product type contract classification shown in FIG. 7, customer code, location code, product type, contract classification, operation start date, application end date, and discount rate are linked and managed. . Specifically, the discount rate master table T6 by rental customer location product type contract classification includes customer code "TOK001", location code "GEN0003", product type "100: Exterior wall supplies", contract classification "10: rental", It is managed in association with the operation start date “2000/01/01” and the discount rate “5.0%”.

図8は、契約分類テーブルの一例を示す図である。図8に示す契約分類テーブルT7には、契約分類コードおよび契約分類名を紐付けて管理されている。具体的には、契約分類テーブルT7には、契約分類コード「10」および契約分類名「レンタル」を紐付けて管理されている。 FIG. 8 is a diagram showing an example of a contract classification table. Contract classification codes and contract classification names are linked and managed in the contract classification table T7 shown in FIG. Specifically, in the contract classification table T7, the contract classification code "10" and the contract classification name "rental" are linked and managed.

このように値引率マスタ106dは、値引額の計算方法を識別するための方法区分に応じた、得意先および稼働場所を含む項目組み合わせ別に、値引率を、複数の方法区分の各々を管理する。 In this way, the discount rate master 106d manages the discount rate for each of a plurality of method classifications for each item combination including the customer and the place of work according to the method classification for identifying the calculation method of the discount amount.

図1に戻り、値引計上装置100の構成の説明を続ける。
制御部102は、値引計上装置100を統括的に制御するCPU等である。制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。制御部102は、区分取得部102aと、値引率取得部102bと、集計部102cと、計算部102dと、生成部102eと、格納部102fと、を備える。
Returning to FIG. 1, the description of the configuration of the discounting device 100 is continued.
The control unit 102 is a CPU or the like that controls the discount calculating device 100 in an integrated manner. The control unit 102 has an internal memory for storing a control program such as an OS, a program defining various processing procedures, required data, and the like, and performs various information processing based on these stored programs. Run. The control unit 102 includes a category acquisition unit 102a, a discount rate acquisition unit 102b, a counting unit 102c, a calculation unit 102d, a generation unit 102e, and a storage unit 102f.

区分取得部102aは、計上テーブルに存在する得意先と稼働場所の組み合わせ別に、前記場所マスタから、紐付く方法区分を取得する。 The class acquisition unit 102a acquires a method class associated with each combination of customer and work place existing in the accounting table from the location master.

値引率取得部102bは、区分取得部102aが取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、値引率マスタから、紐付く値引率を取得する。 The discount rate acquisition unit 102b acquires the associated discount rate from the discount rate master for each method category acquired by the category acquisition unit 102a and for each item combination corresponding to each method category.

集計部102cは、区分取得部102aが取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、計上テーブルの金額を、項目組み合わせ単位に集計する。また、集計部102cは、得意先の請求日毎に、請求日の計上テーブルの金額を項目組み合わせ単位に集計する。 The tabulation unit 102c tabulates the amount of money in the calculation table for each item combination for each method category acquired by the category acquisition unit 102a and for each item combination corresponding to each method category. In addition, the tabulation unit 102c tabulates the amounts in the billing date recording table for each item combination for each billing date of the customer.

計算部102dは、区分取得部102aが取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、値引率取得部102bが取得した値引率と集計部102cが集計した集計額を掛け合わせて値引額を計算する。また、計算部102dは、得意先の請求日毎に値引額を計算する。 The calculation unit 102d multiplies the discount rate acquired by the discount rate acquisition unit 102b and the aggregate amount aggregated by the aggregation unit 102c for each method category acquired by the category acquisition unit 102a and for each item combination according to each method category. to calculate the discount amount. The calculation unit 102d also calculates the discount amount for each billing date of the customer.

生成部102eは、区分取得部102aが取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、計算部102dが計算した値引額を項目組み合わせと紐付けた値引計上レコードを生成する。また、生成部102eは、得意先の請求日毎に値引計上レコードを生成する。 The generation unit 102e generates a discount record in which the discount amount calculated by the calculation unit 102d is associated with the item combination for each method category acquired by the category acquisition unit 102a and for each item combination corresponding to each method category. . The generation unit 102e also generates a discount record for each billing date of the customer.

格納部102fは、生成部102eが生成した値引計上レコードを計上テーブルに格納する。また、格納部102fは、得意先の請求日毎に生成部102eが生成した値引計上レコードを請求日毎の計上テーブルに格納する。 The storage unit 102f stores the discount calculation record generated by the generation unit 102e in the calculation table. In addition, the storage unit 102f stores the discount accounting record generated by the creating unit 102e for each billing date of the customer in the accounting table for each billing date.

[2.値引計上装置100が実行する処理]
次に、値引計上装置100が実行する処理について説明する。図9は、値引計上装置100が実行する処理の概要を示すフローチャートである。
[2. Processing executed by the discounting device 100]
Next, processing executed by the discounting device 100 will be described. FIG. 9 is a flow chart showing an overview of the process executed by the discounting device 100. As shown in FIG.

図9に示すように、まず、値引計上装置100は、オペレータによる入力装置112の操作に応じて、商品マスタ106aを設定し(ステップS101)、レンタル基本情報マスタ106bを設定する(ステップS102)。具体的には、値引計上装置100は、オペレータによる入力装置112の操作に応じて、図2に示す商品マスタテーブルT1およびレンタル基本情報マスタテーブルT2を設定する。 As shown in FIG. 9, first, the discount calculating device 100 sets the product master 106a (step S101) and sets the basic rental information master 106b (step S102) according to the operation of the input device 112 by the operator. . Specifically, the discount calculating device 100 sets the commodity master table T1 and the basic rental information master table T2 shown in FIG. 2 according to the operation of the input device 112 by the operator.

続いて、値引計上装置100は、オペレータによる入力装置112の操作に応じて、場所マスタ106cを設定する(ステップS103)。具体的には、値引計上装置100は、オペレータによる入力装置112の操作に応じて、図4に示す場所マスタテーブルT3を設定する。 Subsequently, the discount calculating device 100 sets the location master 106c according to the operation of the input device 112 by the operator (step S103). Specifically, the discount calculating device 100 sets the place master table T3 shown in FIG. 4 according to the operation of the input device 112 by the operator.

続いて、商品の値引単位が全体である場合(ステップS104:Yes)、値引計上装置100は、後述するステップS105へ移行する。これに対して、商品の値引単位が全体であない場合(ステップS104:No)、値引計上装置100は、後述するステップS106へ移行する。 Subsequently, if the discount unit for the product is the entire product (step S104: Yes), the discount calculating device 100 proceeds to step S105, which will be described later. On the other hand, if the discount unit for the product is not the entire product (step S104: No), the discount calculating device 100 proceeds to step S106, which will be described later.

ステップS105において、値引計上装置100は、オペレータによる入力装置112の操作に応じて、レンタル得意先場所別値引率マスタ(図5を参照)を設定する。ステップS105の後、値引計上装置100は、後述するステップS107へ移行する。 In step S105, the discount calculating device 100 sets the discount rate master for each rental customer location (see FIG. 5) according to the operation of the input device 112 by the operator. After step S105, the discount calculating device 100 proceeds to step S107, which will be described later.

ステップS106において、値引計上装置100は、オペレータによる入力装置112の操作に応じて、レンタル得意先場所契約分類別値引率マスタ(図6を参照)を設定する。ステップS106の後、値引計上装置100は、後述するステップS107へ移行する。なお、値引計上装置100は、オペレータによる入力装置112の操作に応じて、レンタル得意先場所品種契約分類別値引率マスタ(図7を参照)を設定してもよい。 In step S106, the discount calculating device 100 sets the discount rate master by rental customer location contract classification (see FIG. 6) according to the operation of the input device 112 by the operator. After step S106, the discount calculating device 100 proceeds to step S107, which will be described later. Note that the discount calculation device 100 may set a discount rate master by rental customer location product type contract classification (see FIG. 7) according to the operation of the input device 112 by the operator.

ステップS105またはステップS106の後、値引計上装置100は、オペレータによる入力装置112の操作に応じて、レンタル出庫データを生成するレンタル出庫入力処理を行う(ステップS107)。 After step S105 or step S106, the discount calculating device 100 performs rental delivery input processing for generating rental delivery data according to the operation of the input device 112 by the operator (step S107).

図10は、レンタル出庫データテーブルの一例を示す図である。図11は、レンタル出庫データテーブルの別の場所名の一例を示す図である。図10に示すレンタル出庫データテーブルT8および図11に示すレンタル出庫データテーブルT9の各々には、出庫番号、得意先コード、場所コード、場所名(現場名)、レンタル出庫日、明細行、商品コード、商品名および数量を紐付けて管理されている。具体的には、図10に示すレンタル出庫データテーブルT8には、出庫番号「SYK0000000001」、得意先コード「TOK001」、場所コード「GEN0001」、場所名(現場名)「現場名001」、レンタル出庫日「2020/12/01」、明細行「1」、商品コード「RENTAL01」、商品名「レンタル商品01」および数量「10」を紐付けて管理されている。 FIG. 10 is a diagram showing an example of a rental delivery data table. FIG. 11 is a diagram showing another example of location names in the rental delivery data table. Rental delivery data table T8 shown in FIG. 10 and rental delivery data table T9 shown in FIG. , product name and quantity are linked and managed. Specifically, in the rental delivery data table T8 shown in FIG. Date "2020/12/01", item line "1", product code "RENTAL01", product name "rental product 01" and quantity "10" are linked and managed.

続いて、値引計上装置100は、オペレータによる入力装置112の操作に応じて、レンタル入庫データを生成するレンタル入庫入力処理を行う(ステップS108)。 Subsequently, the discounting apparatus 100 performs a rental receipt input process for generating rental receipt data according to the operation of the input device 112 by the operator (step S108).

図12は、レンタル入庫データテーブルの一例を示す図である。図13は、レンタル入庫データテーブルの別の場所名の一例を示す図である。図12に示すレンタル入庫データテーブルT10および図13に示すレンタル入庫データテーブルT11の各々には、出庫番号、得意先コード、場所コード、場所名(現場名)、レンタル出庫日、明細行、商品コード、商品名および数量を紐付けて管理されている。具体的には、図12に示すレンタル入庫データテーブルT10には、出庫番号「NYK0000000001」、得意先コード「TOK001」、場所コード「GEN0001」、場所名(現場名)「現場名001」、レンタル出庫日「2020/12/20」、明細行「1」、商品コード「RENTAL02」、商品名「レンタル商品02」および数量「5」を紐付けて管理されている。なお、図12を示すレンタル入庫データテーブルT10および図13を示すレンタル入庫データテーブルT11では、出庫している商品が12/20および12/25に入庫された状態を示す。 FIG. 12 is a diagram showing an example of a rental warehousing data table. FIG. 13 is a diagram showing an example of another location name in the rental storage data table. The rental receipt data table T10 shown in FIG. 12 and the rental receipt data table T11 shown in FIG. , product name and quantity are linked and managed. Specifically, the rental receipt data table T10 shown in FIG. Date "2020/12/20", item line "1", product code "RENTAL02", product name "rental product 02", and quantity "5" are linked and managed. In addition, the rental storage data table T10 shown in FIG. 12 and the rental storage data table T11 shown in FIG.

その後、値引計上装置100は、請求日が到来する毎に、レンタル出庫データおよびレンタル入力データを基に、場所毎(現場毎)のレンタル売上明細データを生成し、このレンタル売上明細データに値引を反映したレンタル売上明細データを生成するレンタル売上計上処理を行う(ステップS109)。具体的には、値引計上装置100は、対象請求期間内に貸出中の貸出商品(レンタル商品)に関して、出庫データおよび入庫データを紐付けたレンタル売上明細データの生成を行う。なお、レンタル売上計上処理の詳細は、後述する。ステップS109の後、値引計上装置100は、本処理を終了する。 After that, every time the billing date arrives, the discounting apparatus 100 generates rental sales detail data for each location (for each site) based on the rental delivery data and the rental input data. A rental sales accounting process for generating rental sales detail data reflecting the discount is performed (step S109). Specifically, the discounting apparatus 100 generates rental sales detail data that associates outgoing data and incoming data with respect to the rental product (rental product) that is being rented during the target billing period. The details of the rental sales recording process will be described later. After step S109, the discounting device 100 terminates this process.

[3.レンタル売上計上処理の詳細]
次に、レンタル売上計上処理の詳細について説明する。図14は、値引前のレンタル売上明細データテーブルの一例を示す図である。図14に示す計上テーブルとしてのレンタル売上明細データテーブルT12には、得意先コード、場所コード(現場コード)、商品コード、商品名、品種、契約分類、数量、レンタル開始日、レンタル終了日、日数、単価および金額を紐付けて管理されている。具体的には、レンタル売上明細データテーブルT12には、得意先コード「TOK001」、場所コード(現場コード)「GEN0001」、商品コード「RENTAL01」、商品名「レンタル商品01」、品種「100:外壁用品」、契約分類「10:レンタル」、数量「10」、レンタル開始日「2020/12/01」、レンタル終了日「2020/12/25」、日数「25」、単価「100」および金額「25,000」を紐付けて管理されている。
[3. Details of rental sales recording process]
Next, the details of the rental sales recording process will be described. FIG. 14 is a diagram showing an example of the rental sales detail data table before discount. The rental sales detail data table T12 as a recording table shown in FIG. 14 includes customer code, location code (site code), product code, product name, product type, contract classification, quantity, rental start date, rental end date, number of days. , unit price and amount are linked and managed. Specifically, the rental sales detail data table T12 includes customer code "TOK001", location code (site code) "GEN0001", product code "RENTAL01", product name "rental product 01", product type "100: outer wall Goods", contract category "10: rental", quantity "10", rental start date "2020/12/01", rental end date "2020/12/25", number of days "25", unit price "100" and amount " 25,000” are linked and managed.

また、以下においては、図14において、商品コード「RENTAL01」では、レンタル開始日をレンタル出庫日(レンタル開始日=レンタル出庫日)、レンタル終了日をレンタル入庫日(図14では、2020/12/25)として説明する。さらに、商品コード「RENTAL01」では、(1)レンタル料の明細を請求日数とし、(2)基本料の明細を初回請求項時に出庫数量×単価で計上する。ここで、請求日数は、稼働日数12/01~12/25の25日とする。 14, for the product code "RENTAL01", the rental start date is the rental delivery date (rental start date = rental delivery date), and the rental end date is the rental delivery date (in FIG. 25). Furthermore, for the product code "RENTAL01", (1) the details of the rental fee are set as the number of days billed, and (2) the details of the basic fee are calculated by multiplying the delivery quantity by the unit price at the time of the first billing. Here, the billing days are assumed to be 25 working days from 12/01 to 12/25.

また、図14において、商品コード「RENTAL02」では、レンタル開始日をレンタル出庫日(レンタル開始日=レンタル出庫日)、レンタル終了日をレンタル入庫日(図14では、2020/12/20)として説明する。さらに、商品コード「RENTAL02」では、(1)レンタル料の明細を請求日数とし、(2)基本料の明細を初回請求項時に出庫数量×単価で計上する。ここで、請求日数は、稼働日数12/01~12/20の20日とする。 In FIG. 14, for the product code "RENTAL02", the rental start date is the rental delivery date (rental start date = rental delivery date), and the rental end date is the rental entry date (2020/12/20 in FIG. 14). do. Furthermore, for the product code "RENTAL02", (1) the details of the rental fee are set as the number of days billed, and (2) the details of the basic fee are calculated by multiplying the delivery quantity by the unit price at the time of the first billing. Here, the billing days are assumed to be 20 working days from 12/01 to 12/20.

さらに、図14において、商品コード「UNTIN01」では、初回請求時に1×単価で計上する。 Further, in FIG. 14, for the product code "UNTIN01", the unit price is calculated at 1*unit price at the first billing.

[3-1.自動値引単位区分が全体の場合の値引計算]
次に、自動値引単位区分が全体の場合(自動値引単位区分=0:全体)に、値引計上装置100が行う値引計算について説明する。
[3-1. Discount calculation when automatic discount unit classification is whole]
Next, discount calculation performed by the discount calculating device 100 when the automatic discount unit classification is whole (automatic discount unit classification=0: whole) will be described.

図15は、自動値引単位区分が全体の場合に値引計上装置100が出力装置114に表示させるレンタル売上明細画面の一例を示す図である。図15に示すレンタル売上明細画面P1には、レンタル売上明細データテーブルT13と、値引額データテーブルT14と、が含まれる。 FIG. 15 is a diagram showing an example of a rental sales detail screen displayed on the output device 114 by the discount accounting device 100 when the automatic discount unit classification is whole. The rental sales detail screen P1 shown in FIG. 15 includes a rental sales detail data table T13 and a discount amount data table T14.

レンタル売上明細データテーブルT13は、上述した図14のレンタル売上明細データテーブルT12と同様のため、詳細な説明を省略する。 Since the rental sales detail data table T13 is the same as the rental sales detail data table T12 of FIG. 14 described above, detailed description thereof will be omitted.

値引額データテーブルT14には、現在合計金額、値引率および値引額を紐付けて管理されている。具体的には、値引額データテーブルT14には、レンタル売上明細データテーブルT13の金額の現在合計金額「100,000」、現在合計金額に乗じる値引率「10%」および現在合計金額に値引率を乗じた値引額「-10,000」(100,000×0.1=10,000)を紐付けて管理されている。 In the discount amount data table T14, the current total amount, the discount rate, and the discount amount are linked and managed. Specifically, in the discount amount data table T14, the current total amount "100,000" of the amounts in the rental sales detail data table T13, the discount rate "10%" by which the current total amount is multiplied, and the discount rate for the current total amount. The multiplied discount amount "-10,000" (100,000 x 0.1 = 10,000) is linked and managed.

図16は、自動値引単位区分が全体の場合に値引計上装置100が生成する値引明細データテーブルの一例を示す図である。図16に示す値引計上レコードとしての値引明細データテーブルT15には、得意先コード、場所コード(現場コード)、商品コード、商品名、品種、契約分類、数量、レンタル開始日、レンタル終了日、日数および金額を紐付けて管理されている。具体的には、値引明細データテーブルT15には、得意先コード「TOK001」、場所コード(現場コード)「GEN0001」、商品コード「NEBIKI」、商品名「値引」、品種「900:値引」、契約分類「19:値引」、数量「1」、レンタル開始日「-」、レンタル終了日「-」、日数および金額「-10,000」を紐付けて管理されている。 FIG. 16 is a diagram showing an example of a discount detail data table generated by the discount calculating device 100 when the automatic discount unit classification is all. The discount detail data table T15 as a discount recording record shown in FIG. 16 includes customer code, location code (site code), product code, product name, product type, contract classification, quantity, rental start date, and rental end date. , number of days and amount of money. Specifically, the discount detail data table T15 contains customer code "TOK001", location code (site code) "GEN0001", product code "NEBIKI", product name "discount", product type "900: discount ', contract classification '19: discount', quantity '1', rental start date '-', rental end date '-', number of days and amount '-10,000'.

図17は、自動値引単位区分が全体の場合に値引計上装置100が生成する請求明細データテーブルの一例を示す図である。図17に示す請求明細データテーブルT16には、得意先コード、場所コード(現場コード)、商品コード、商品名、品種、契約分類、数量、レンタル開始日、レンタル終了日、日数および金額を紐付けて管理されている。さらに、請求明細データテーブルT16には、値引前の状態のレンタル売上明細データテーブルT13の内容に加えて(項目(1)~(5))、値引明細データテーブルT15の内容が付加されている(項目(6))。具体的には、請求明細データテーブルT16の項目(6)には、特意先コード「TOK001」、場所コード(現場コード)「GEN0001」、商品コード「NEBIKI」、商品名「値引」、品種「900:値引」、契約分類「19:値引」、数量「1」、レンタル開始日「-」、レンタル終了日「-」、日数「-」および金額「-10,000」が追加されている。 FIG. 17 is a diagram showing an example of a billing statement data table generated by the discount accounting device 100 when the automatic discount unit classification is all. Customer code, location code (site code), product code, product name, product type, contract classification, quantity, rental start date, rental end date, number of days, and amount are linked to the invoice detail data table T16 shown in FIG. managed by Further, in addition to the contents of the rental sales detail data table T13 before the discount (items (1) to (5)), the contents of the discount detail data table T15 are added to the billing detail data table T16. (Item (6)). Specifically, item (6) of the billing detail data table T16 includes the customer code "TOK001", location code (site code) "GEN0001", product code "NEBIKI", product name "discount", product type " 900: discount”, contract category “19: discount”, quantity “1”, rental start date “-”, rental end date “-”, number of days “-” and amount “-10,000” are added. there is

これにより、値引計上装置100は、請求日が到来する毎に、レンタル出庫データおよびレンタル入力データを基に、場所毎(現場毎)のレンタル売上明細データを生成し、このレンタル売上明細データに値引を反映したレンタル売上明細データを生成することができるので、請求書提出の早期化を図るとともに、正確な請求書を作成することができる。 As a result, every time the billing date arrives, the discount accounting device 100 generates rental sales detail data for each location (for each site) based on the rental delivery data and the rental input data. Since rental sales detail data reflecting discounts can be generated, bill submission can be accelerated and accurate bills can be created.

即ち、値引計上装置100は、レンタル売上計上処理において、区分取得部102aが計上テーブルとしてのレンタル売上明細データテーブルT13に存在する得意先(得意先コード)と稼働場所(場所コード)との組み合わせ別に、場所マスタ106cから、紐付く方法区分(自動値引単位区分=0:全体)を取得する。 That is, in the rental sales recording process, the discount recording device 100 selects a combination of a customer (customer code) and an operation place (location code) that exist in the rental sales detail data table T13 as a recording table by the category acquisition unit 102a. Separately, from the location master 106c, the method classification (automatic discount unit classification = 0: whole) is acquired.

続いて、値引計上装置100は、値引率取得部102bが区分取得部102aによって取得された方法区分(自動値引単位区分=0:全体)に、且つ、方法区分(自動値引単位区分=0:全体)に応じた項目組み合わせ別に、値引率マスタ106d(レンタル得意先場所別値引率マスタ)から、紐付く値引率(10%)を取得し、集計部102cが区分取得部102aが取得した方法区分(自動値引単位区分=0:全体)に、且つ、各方法区分に応じた項目組み合わせ別に、計上テーブルとしてのレンタル売上明細データテーブルT13の金額を、項目組み合わせ単位に集計する(例えば図15の値引額データテーブルT14)。 Subsequently, the discount calculating device 100 selects the method category (automatic discount unit category=0: whole) acquired by the discount rate acquiring unit 102a by the discount rate acquiring unit 102a, and the method category (automatic discount unit category= 0: Overall), the linked discount rate (10%) is acquired from the discount rate master 106d (discount rate master by rental customer location), and the aggregation unit 102c acquires the classification acquisition unit 102a. For each method category (automatic discount unit category = 0: all) and for each item combination corresponding to each method category, the amounts in the rental sales detail data table T13 as a recording table are totaled for each item combination (for example, 15 discount amount data table T14).

その後、値引計上装置100は、計算部102dが区分取得部102aによって取得された取得した方法区分別(自動値引単位区分=0:全体)に、且つ、方法区分に応じた項目組み合わせ別に、値引率取得部102bが取得した値引率(10%)と集計部102cが集計した集計額(10,0000)を掛け合わせて値引額(-10,000)を計算し(例えば図15の値引額データテーブルT14を参照)、生成部102eが区分取得部102aによって取得された方法区分(自動値引単位区分=0:全体)に、且つ、方法区分に応じた項目組み合わせ別に、計算部102dが計算した値引額(-10,000)を項目組み合わせと紐付けた値引計上レコードである値引明細データテーブルT15(図16を参照)を生成する。 After that, the discount calculation device 100, for each method category (automatic discount unit category = 0: whole) acquired by the calculation unit 102d by the category acquisition unit 102a, and for each item combination according to the method category, The discount rate (10%) acquired by the discount rate acquiring unit 102b is multiplied by the aggregate amount (10,0000) aggregated by the aggregation unit 102c to calculate the discount amount (-10,000) (for example, the discount amount in FIG. 15 data table T14), the calculation unit 102d calculates the A discount detail data table T15 (see FIG. 16), which is a discount recording record that links the discount amount (-10,000) with the item combination, is generated.

最後に、値引計上装置100は、格納部102fが生成部102eによって生成された値引計上レコードである値引明細データテーブルT15を計上テーブルであるレンタル売上明細データテーブルT13に格納した請求明細データテーブルT16を生成して出力装置114へ出力する。 Finally, the discount accounting device 100 stores the discount detail data table T15, which is the discount accounting record generated by the generating unit 102e, in the rental sales detail data table T13, which is the accounting table. A table T16 is generated and output to the output device 114. FIG.

[3-2.自動値引単位区分が品種契約分類の場合の値引計算]
次に、自動値引単位区分が品種契約分類の場合に、値引計上装置100が行う値引計算(自動値引単位区分=1:契約分類)について説明する。
[3-2. Discount calculation when the automatic discount unit classification is product contract classification]
Next, the discount calculation (automatic discount unit classification=1: contract classification) performed by the discount calculation device 100 when the automatic discount unit classification is product type contract classification will be described.

図18は、自動値引単位区分が契約分類の場合に値引計上装置100が出力装置114に表示させるレンタル売上明細画面の一例を示す図である。図18に示すレンタル売上明細画面P2には、レンタル売上明細データテーブルT17と、値引額データテーブルT18と、が含まれる。 FIG. 18 is a diagram showing an example of a rental sales detail screen displayed on the output device 114 by the discount accounting device 100 when the automatic discount unit classification is contract classification. The rental sales detail screen P2 shown in FIG. 18 includes a rental sales detail data table T17 and a discount amount data table T18.

レンタル売上明細データテーブルT17は、上述した図14のレンタル売上明細データテーブルT12と同様のため、詳細な説明を省略する。 Since the rental sales detail data table T17 is the same as the rental sales detail data table T12 of FIG. 14 described above, detailed description thereof will be omitted.

値引額データテーブルT18には、契約分類、契約分類計、値引率および値引額を紐付けて管理されている。具体的には、値引額データテーブルT18には、契約分類「10:レンタル」、契約分類計「55,000」、値引率「10%」および値引額「-5,500」(55,00×0.1=5,500)を紐付けて管理されている。 In the discount amount data table T18, contract classification, contract classification total, discount rate and discount amount are linked and managed. Specifically, the discount amount data table T18 contains contract classification “10: rental”, contract classification total “55,000”, discount rate “10%”, and discount amount “-5,500” (55,00× 0.1=5,500) are linked and managed.

図19は、自動値引単位区分が品種契約分類の場合に値引計上装置100が生成する値引明細データテーブルの一例を示す図である。図19に示す値引明細データテーブルT19には、得意先コード、場所コード(現場コード)、商品コード、商品名、品種、契約分類、数量、レンタル開始日、レンタル終了日、日数および金額を紐付けて管理され、かつ、契約分類毎に管理されている。具体的には、値引明細データテーブルT19には、得意先コード「TOK001」、場所コード(現場コード)「GEN0001」、商品コード「NEBIKI」、商品名「値引」、品種「900:値引」、契約分類「10:レンタル」、数量「1」、レンタル開始日「-」、レンタル終了日「-」、日数および金額「-5,500」を紐付けて管理されている。さらに、値引明細データテーブルT19には、得意先コード「TOK001」、場所コード(現場コード)「GEN0001」、商品コード「NEBIKI」、商品名「値引」、品種「900:値引」、契約分類「11:基本」、数量「1」、レンタル開始日「-」、レンタル終了日「-」、日数および金額「-3,750」を紐付けて管理されている。即ち、値引明細データテーブルT19には、値引額を契約分類と紐付けられている。 FIG. 19 is a diagram showing an example of a discount detail data table generated by the discount accounting device 100 when the automatic discount unit classification is product type contract classification. In the discount detail data table T19 shown in FIG. 19, the customer code, location code (site code), product code, product name, product type, contract classification, quantity, rental start date, rental end date, number of days, and amount are linked. and managed by contract classification. Specifically, the discount detail data table T19 contains customer code "TOK001", location code (site code) "GEN0001", product code "NEBIKI", product name "discount", product type "900: discount ', contract classification '10: rental', quantity '1', rental start date '-', rental end date '-', number of days and amount '-5,500'. Further, the discount detail data table T19 contains customer code "TOK001", location code (site code) "GEN0001", product code "NEBIKI", product name "discount", product type "900: discount", contract Classification "11: basic", quantity "1", rental start date "-", rental end date "-", number of days and amount "-3,750" are linked and managed. That is, the discount amount is associated with the contract classification in the discount detail data table T19.

図20は、自動値引単位区分が契約分類の場合に値引計上装置100が生成する請求明細データテーブルの一例を示す図である。図20に示す請求明細データテーブルT20には、得意先コード、場所コード(現場コード)、商品コード、商品名、品種、契約分類、数量、レンタル開始日、レンタル終了日、日数および金額を紐付けて管理されている。さらに、請求明細データテーブルT20には、値引前の状態のレンタル売上明細データテーブルT17の内容に加えて、値引額データテーブルT18の内容が付加されている。具体的には、請求明細データテーブルT20には、項目「6」に、得意先コード「TOK001」、場所コード(現場コード)「GEN0001」、商品コード「NEBIKI」、商品名「値引」、品種「900:値引」、契約分類「10:レンタル」、数量「1」、レンタル開始日「-」、レンタル終了日「-」、日数および金額「-5,500」を紐付けて管理されている。さらに、請求明細データテーブルT20には、項目「7」に、値引明細データテーブルT19には、得意先コード「TOK001」、場所コード(現場コード)「GEN0001」、商品コード「NEBIKI」、商品名「値引」、品種「900:値引」、契約分類「11:基本料」、数量「1」、レンタル開始日「-」、レンタル終了日「-」、日数および金額「-3,750」を紐付けて管理されている。 FIG. 20 is a diagram showing an example of a billing statement data table generated by the discount accounting device 100 when the automatic discount unit classification is the contract classification. Customer code, location code (site code), product code, product name, product type, contract classification, quantity, rental start date, rental end date, number of days, and amount are linked to the invoice detail data table T20 shown in FIG. managed by Further, the billing statement data table T20 includes the content of the discount amount data table T18 in addition to the content of the rental sales statement data table T17 before the discount. Specifically, the billing detail data table T20 includes, in item "6", customer code "TOK001", location code (site code) "GEN0001", product code "NEBIKI", product name "discount", product type "900: discount", contract type "10: rental", quantity "1", rental start date "-", rental end date "-", number of days and amount "-5,500" are linked and managed there is Further, the billing details data table T20 has item "7", and the discount details data table T19 has customer code "TOK001", location code (site code) "GEN0001", product code "NEBIKI", product name "discount", product type "900: discount", contract type "11: basic fee", quantity "1", rental start date "-", rental end date "-", number of days and amount "-3,750" are linked and managed.

即ち、値引計上装置100は、レンタル売上計上処理において、区分取得部102aが計上テーブルとしてのレンタル売上明細データテーブルT13に存在する得意先(得意先コード)と稼働場所(場所コード)との組み合わせ別に、場所マスタ106cから、紐付く方法区分(自動値引単位区分=1:契約分類)を取得する。 That is, in the rental sales recording process, the discount recording device 100 selects a combination of a customer (customer code) and an operation place (location code) that exist in the rental sales detail data table T13 as a recording table by the category acquisition unit 102a. Separately, from the place master 106c, the method classification (automatic discount unit classification=1: contract classification) is acquired.

続いて、値引計上装置100は、値引率取得部102bが区分取得部102aによって取得された方法区分(自動値引単位区分=1:契約分類)に、且つ、方法区分(自動値引単位区分=1:契約分類)に応じた項目組み合わせ別に、値引率マスタ106d(図6のレンタル得意先場所契約分類別値引率マスタテーブルT5を参照)から、契約分類毎に紐付く値引率(10%,15%)を取得し、集計部102cが区分取得部102aが取得した方法区分(自動値引単位区分=1:契約分類)に、且つ、各方法区分に応じた項目組み合わせ別に、計上テーブルとしてのレンタル売上明細データテーブルT13の金額を、項目組み合わせ単位に集計する(例えば図18の値引額データテーブルT18)。 Subsequently, the discount calculating device 100 selects the method category (automatic discount unit category=1: contract category) acquired by the category acquiring unit 102a, and the method category (automatic discount unit category = 1: contract classification), the discount rate (10%, 15%) is obtained, and the aggregating unit 102c classifies the method classification (automatic discount unit classification = 1: contract classification) obtained by the classification obtaining unit 102a, and for each item combination according to each method classification, as a calculation table The amounts in the rental sales detail data table T13 are totaled for each item combination (for example, the discount amount data table T18 in FIG. 18).

その後、値引計上装置100は、計算部102dが区分取得部102aによって取得された取得した方法区分別(自動値引単位区分=1:契約分類)に、且つ、方法区分に応じた項目組み合わせ別に、値引率取得部102bが取得した契約分類毎の値引率(10%、15%)と集計部102cが集計した契約分類毎の集計額(55,000、25,000)を掛け合わせて値引額(-5,500、-3,750)を計算し(例えば図18の値引額データテーブルT18を参照)、生成部102eが区分取得部102aによって取得された方法区分(自動値引単位区分=1:契約分類)に、且つ、方法区分に応じた項目組み合わせ別に、計算部102dが計算した値引額(-5,500、-3,750)を項目組み合わせと紐付けた値引計上レコードである値引明細データテーブルT19(図19を参照)を生成する。 After that, the discount calculation device 100 calculates by the method classification (automatic discount unit classification = 1: contract classification) acquired by the calculation unit 102d by the classification acquisition unit 102a, and by the item combination according to the method classification , the discount rate obtained by multiplying the discount rate (10%, 15%) for each contract classification acquired by the discount rate acquisition unit 102b by the aggregate amount (55,000, 25,000) for each contract classification aggregated by the aggregation unit 102c to obtain the discount amount (-5,500, -3,750) is calculated (see, for example, the discount amount data table T18 in FIG. 18), and the generating unit 102e determines the method category (automatic discount unit category=1 : Contract classification) and for each item combination according to the method classification, the discount amount (-5,500, -3,750) calculated by the calculation unit 102d is linked with the item combination. A statement data table T19 (see FIG. 19) is generated.

最後に、値引計上装置100は、格納部102fが生成部102eによって生成された値引計上レコードである値引明細データテーブルT19を計上テーブルであるレンタル売上明細データテーブルT17に格納した請求明細データテーブルT20(図20を参照)を生成して出力装置114へ出力する。 Finally, the discount accounting apparatus 100 stores the discount detail data table T19, which is the discount accounting record generated by the generating unit 102e, in the rental sales detail data table T17, which is the accounting table. A table T20 (see FIG. 20) is generated and output to the output device 114. FIG.

[3-3.自動値引単位区分が品種契約分類の場合の値引計算]
次に、自動値引単位区分が品種契約分類の場合の値引計算(自動値引単位区分=2:品種契約分類)について説明する。
[3-3. Discount calculation when the automatic discount unit classification is product type contract classification]
Next, discount calculation when the automatic discount unit classification is product type contract classification (automatic discount unit classification=2: product type contract classification) will be described.

図21は、自動値引単位区分が品種契約分類の場合に値引計上装置100が出力装置114に表示させるレンタル売上明細画面の一例を示す図である。図21に示すレンタル売上明細画面P3には、レンタル売上明細データテーブルT21と、値引額データテーブルT22と、が含まれる。 FIG. 21 is a diagram showing an example of a rental sales detail screen displayed on the output device 114 by the discount accounting device 100 when the automatic discount unit classification is product type contract classification. The rental sales detail screen P3 shown in FIG. 21 includes a rental sales detail data table T21 and a discount amount data table T22.

レンタル売上明細データテーブルT21は、上述した図14のレンタル売上明細データテーブルT12と同様のため、詳細な説明を省略する。 Since the rental sales detail data table T21 is the same as the rental sales detail data table T12 of FIG. 14 described above, detailed description thereof will be omitted.

値引額データテーブルT22には、品種、契約分類、品種契約分類計、値引率および値引額を紐付けて管理されている。具体的には、値引額データテーブルT22には、品種「100:外壁用品」、契約分類「10:レンタル」、契約分類計「25,000」、値引率「5%」および値引額「-1,250」(2,00×0.05=1,250)を紐付けて管理されている。 In the discount amount data table T22, the product type, contract classification, product type contract classification total, discount rate, and discount amount are linked and managed. Specifically, the discount amount data table T22 includes product type "100: Exterior wall products", contract classification "10: rental", contract classification total "25,000", discount rate "5%", and discount amount "-1". , 250” (2,00×0.05=1,250) are linked and managed.

図22は、自動値引単位区分が品種契約分類の場合に値引計上装置100が生成する値引明細データテーブルの一例を示す図である。図22に示す値引明細データテーブルT23には、得意先コード、場所コード(現場コード)、商品コード、商品名、品種、契約分類、数量、レンタル開始日、レンタル終了日、日数および金額を紐付けて管理され、かつ、契約分類毎に管理されている。具体的には、値引明細データテーブルT23には、項目「6」に、得意先コード「TOK001」、場所コード(現場コード)「GEN0001」、商品コード「NEBIKI」、商品名「値引」、品種「100:外壁用品値引」、契約分類「10:レンタル」、数量「1」、レンタル開始日「-」、レンタル終了日「-」、日数および金額「-1,250」を紐付けて管理されている。即ち、値引明細データテーブルT23には、値引額を品種および契約分類の組み合わせと紐付けられている。 FIG. 22 is a diagram showing an example of a discount detail data table generated by the discount accounting device 100 when the automatic discount unit classification is product type contract classification. Customer code, location code (site code), product code, product name, product type, contract classification, quantity, rental start date, rental end date, number of days, and amount are linked to the discount detail data table T23 shown in FIG. and managed by contract classification. Specifically, in the discount detail data table T23, item "6" includes customer code "TOK001", location code (site code) "GEN0001", product code "NEBIKI", product name "discount", Type "100: Exterior wall product discount", contract type "10: Rental", quantity "1", rental start date "-", rental end date "-", number of days and amount "-1,250" managed. That is, in the discount detail data table T23, the discount amount is associated with the combination of product type and contract classification.

図23は、自動値引単位区分が品種契約分類の場合に値引計上装置100が生成する請求明細データテーブルの一例を示す図である。図23に示す請求明細データテーブルT24には、得意先コード、場所コード(現場コード)、商品コード、商品名、品種、契約分類、数量、レンタル開始日、レンタル終了日、日数および金額を紐付けて管理されている。さらに、請求明細データテーブルT24には、値引前の状態のレンタル売上明細データテーブルT21の内容に加えて、値引明細データテーブルT23の内容が付加されている。具体的には、請求明細データテーブルT24には、項目「6」~項目「9」に、得意先コード「TOK001」、場所コード(現場コード)「GEN0003」、商品コード「NEBIKI」、商品名「値引」、品種「100:外壁用品、200:足場用品」、契約分類「10:レンタル料、11:基本料」、数量「1」、レンタル開始日「-」、レンタル終了日「-」、日数および金額「-1,250、-500、-3,000、-2,250」を紐付けて管理されている。さらに、請求明細データテーブルT24には、項目「7」に、得意先コード「TOK001」、場所コード(現場コード)「GEN0003」、商品コード「NEBIKI」、商品名「値引」、品種「100:外壁用品」、契約分類「10:レンタル料」、数量「1」、レンタル開始日「-」、レンタル終了日「-」、日数および金額「-500」を紐付けて管理されている。 FIG. 23 is a diagram showing an example of a billing statement data table generated by the discount accounting device 100 when the automatic discount unit classification is product type contract classification. Customer code, location code (site code), product code, product name, product type, contract classification, quantity, rental start date, rental end date, number of days, and amount are linked to the invoice detail data table T24 shown in FIG. managed by Furthermore, in addition to the contents of the rental sales detail data table T21 before the discount, the contents of the discount detail data table T23 are added to the billing detail data table T24. Specifically, in the billing detail data table T24, item "6" to item "9" include customer code "TOK001", location code (site code) "GEN0003", product code "NEBIKI", product name " Discount", Product type "100: Exterior wall supplies, 200: Scaffolding supplies", Contract classification "10: Rental fee, 11: Basic fee", Quantity "1", Rental start date "-", Rental end date "-", The number of days and amount of money "-1,250, -500, -3,000, -2,250" are linked and managed. Further, in the billing detail data table T24, item "7" includes customer code "TOK001", location code (site code) "GEN0003", product code "NEBIKI", product name "discount", product type "100: Exterior wall product", contract category "10: rental fee", quantity "1", rental start date "-", rental end date "-", number of days and amount "-500" are linked and managed.

即ち、値引計上装置100は、レンタル売上計上処理において、区分取得部102aが計上テーブルとしてのレンタル売上明細データテーブルT13に存在する得意先(得意先コード)と稼働場所(場所コード)との組み合わせ別に、場所マスタ106cから、紐付く方法区分(自動値引単位区分=2:品種契約分類)を取得する。 That is, in the rental sales recording process, the discount recording device 100 selects a combination of a customer (customer code) and an operation place (location code) that exist in the rental sales detail data table T13 as a recording table by the category acquisition unit 102a. Separately, from the location master 106c, the linking method classification (automatic discount unit classification=2: product contract classification) is obtained.

続いて、値引計上装置100は、値引率取得部102bが区分取得部102aによって取得された方法区分(自動値引単位区分=2:品種契約分類)に、且つ、方法区分(自動値引単位区分=2:品種契約分類)に応じた項目組み合わせ別に、値引率マスタ106d(図7のレンタル得意先場所品種契約分類別値引率マスタテーブルT6を参照)から、紐付く品種契約分類毎の値引率(5%、10%、15%)を取得し、集計部102cが区分取得部102aが取得した方法区分(自動値引単位区分=2:品種契約分類)に、且つ、各方法区分に応じた項目組み合わせ別に、計上テーブルとしてのレンタル売上明細データテーブルT13の金額を、項目組み合わせ単位に集計する(例えば図21の値引額データテーブルT22)。 Subsequently, the discount calculating device 100 selects the method category (automatic discount unit category=2: product contract category) acquired by the category acquiring unit 102a, and the method category (automatic discount unit Classification = 2: product contract classification) for each item combination according to the discount rate for each linked product contract classification from the discount rate master 106d (see the discount rate master table T6 by rental customer location product contract classification in FIG. 7) (5%, 10%, 15%) are acquired, and the aggregation unit 102c acquires the method classification (automatic discount unit classification = 2: product contract classification) acquired by the classification acquisition unit 102a, and according to each method classification For each item combination, the amounts in the rental sales detail data table T13 as a recording table are tabulated for each item combination (for example, the discount amount data table T22 in FIG. 21).

その後、値引計上装置100は、計算部102dが区分取得部102aによって取得された取得した方法区分別(自動値引単位区分=2:品種契約分類)に、且つ、方法区分に応じた項目組み合わせ別に、値引率取得部102bが取得した品種契約分類毎の値引率(5%、10%、15%)と集計部102cが集計した集計額(25,000、10,000、30,000、15,000、20,000)を掛け合わせて値引額(-1,250、-500、-3,000、-2,250)を計算し(例えば図21の値引額データテーブルT22を参照)、生成部102eが区分取得部102aによって取得された方法区分(自動値引単位区分=2:品種契約分類)に、且つ、方法区分に応じた項目組み合わせ別に、計算部102dが計算した品種契約分類毎の値引額(-1,250、-500、-3,000、-2,250)を項目組み合わせと紐付けた値引計上レコードである値引明細データテーブルT23(図22を参照)を生成する。 After that, the discount calculation device 100 calculates the item combination according to the method category (automatic discount unit category = 2: product contract category) acquired by the category acquisition unit 102a and the method category. Separately, the discount rate (5%, 10%, 15%) for each product type contract classification acquired by the discount rate acquiring unit 102b and the aggregated amount (25,000, 10,000, 30,000, 15%) aggregated by the aggregation unit 102c. , 000, 20,000) to calculate the discount amount (-1,250, -500, -3,000, -2,250) (see, for example, the discount amount data table T22 in FIG. 21), and generate The unit 102e obtains the method classification (automatic discount unit classification=2: product contract classification) acquired by the classification acquisition unit 102a, and for each item combination according to the method classification, for each product contract classification calculated by the calculation unit 102d. A discount detail data table T23 (see FIG. 22), which is a discount record in which discount amounts (-1,250, -500, -3,000, -2,250) are associated with item combinations, is generated.

最後に、値引計上装置100は、格納部102fが生成部102eによって生成された値引計上レコードである値引明細データテーブルT23を計上テーブルであるレンタル売上明細データテーブルT21に格納した請求明細データテーブルT24(図23を参照)を生成して出力装置114へ出力する。 Finally, the discount accounting apparatus 100 stores the discount detail data table T23, which is the discount accounting record generated by the generating unit 102e, in the rental sales detail data table T21, which is the accounting table. A table T24 (see FIG. 23) is generated and output to the output device 114. FIG.

以上説明した実施形態によれば、格納部102fが生成部102eによって生成された値引計上レコードを計上テーブルに格納するため、請求書提出の早期化を図るとともに、正確な請求書を作成することができる。 According to the embodiment described above, since the storage unit 102f stores the discount accounting record generated by the generating unit 102e in the accounting table, it is possible to speed up invoice submission and create an accurate invoice. can be done.

また、実施形態によれば、値引率マスタ106dが得意先場所別値引率マスタと、得意先場所契約分類値引率マスタと、得意先場所品種契約分類マスタと、を含むため、得意先に応じた内容で、請求書提出の早期化を図るとともに、正確な請求書を作成することができる。 Further, according to the embodiment, since the discount rate master 106d includes the discount rate master by customer location, the contract classification discount rate master by customer location, and the contract classification master by customer location, In terms of content, it is possible to accelerate the submission of invoices and create accurate invoices.

また、実施形態によれば、得意先の請求日毎に、格納部102fが生成部102eによって生成された値引計上レコードを計上テーブルに格納するため、請求時に値引契約を得意先または場所毎に把握する必要がないため、請求書提出の早期化を図るとともに、正確な請求書を作成することができるうえ、得意先からの信頼度を向上させることができる。 Further, according to the embodiment, the storage unit 102f stores the discount recording record generated by the generating unit 102e in the recording table for each customer billing date. Since there is no need to grasp the information, it is possible to submit invoices earlier, create accurate invoices, and improve the reliability of customers.

なお、実施形態では、計算部102dが値引額に対して端数処理を行ってもよい。例えば、計算部102dは、値引額に対して100円単位、10円単位等で切り捨て処理、切上げ処理および四捨五入処理等を行ってもよい。 In addition, in the embodiment, the calculation unit 102d may perform fractional processing on the discount amount. For example, the calculation unit 102d may round down, round up, or round off the discount amount in units of 100 yen, 10 yen, or the like.

また、実施形態では、貸出商品としての建設機械・資材のレンタルにおいて商社を経由して取引する場合を考慮し、商社に対しての請求を場所(現場)に請求する正規の価格より、口銭料を値引いた金額で請求するようにしてもよい。この場合、値引計上装置100は、値引率マスタ106dに貸出商品を得意先へ貸し出す商社別に口銭率を管理する口銭マスタを記憶させ、値引率取得部102bが値引率マスタ106dから、商社に紐付く口銭率を取得し、集計部102cが格納した計上テーブルの金額を、項目組み合わせ単位に集計し、計算部102dが格納した計上テーブルに対して集計した集計額と取得した口銭率を掛け合わせて商社の値引額を計算し、生成部102eが商社の値引額を得意先と紐付けた商社値引計上レコードを生成し、格納部102fが生成した商社値引計上レコードを計上テーブルに格納してもよい。これにより、口銭値引を反映した請求書を早期に作成することができるとともに、正確な請求書を作成することができる。 In addition, in the embodiment, in consideration of the case where the transaction is made via a trading company in the rental of construction machinery and materials as a rental product, the commission fee may be billed at a discounted price. In this case, the discount calculation device 100 causes the discount rate master 106d to store a commission master for managing the commission rate for each trading company that lends out the loaned product to the customer, and the discount rate acquisition unit 102b obtains the discount rate from the discount rate master 106d, which is linked to the trading company. Acquire the commission rate attached, aggregate the amounts in the accounting table stored by the aggregation unit 102c for each item combination, and multiply the aggregated amount for the accounting table stored by the calculation unit 102d by the acquired commission rate The trading company discount amount is calculated, the generating unit 102e generates a trading company discount recording record in which the trading company discount amount is linked to the customer, and the storage unit 102f stores the generated trading company discount recording record in the accounting table. good too. As a result, it is possible to quickly create a bill reflecting the commission discount, and to create an accurate bill.

また、実施形態では、生成部102eが自動的に値引計上レコード(例えば値引明細データテーブルT19)を生成していたが、これに限定されることなく、出力装置114によって表示される計上テーブル(例えばレンタル売上明細データテーブルT13)および値引額(例えば図15の値引額データテーブルT14)に対する入力装置114からの操作に応じて、値引計上レコード(例えば値引明細データテーブルT19)を生成してもよい。これにより、オペレータは、計上テーブルおよび値引額の各々を確認した後に、入力装置112を用いて、値引額の入力を行うことができるため、得意先毎または場所(現場)毎に応じた臨機応変の値引を行うことができる。 In addition, in the embodiment, the generation unit 102e automatically generates a discount record (for example, the discount detail data table T19). (for example, rental sales detail data table T13) and discount amounts (for example, discount amount data table T14 in FIG. 15) are operated from the input device 114 to generate a discount recording record (for example, discount detail data table T19). may As a result, the operator can input the discount amount using the input device 112 after confirming each of the accounting table and the discount amount. can be discounted.

[4.国連が主導する持続可能な開発目標(SDGs)への貢献]
本実施形態により、業務効率化や企業の適切な経営判断を推進することに寄与することができるので、SDGsの目標8および9に貢献することが可能となる。
[4. Contribution to the Sustainable Development Goals (SDGs) led by the United Nations]
Since this embodiment can contribute to improving operational efficiency and promoting appropriate management decisions of companies, it is possible to contribute to Goals 8 and 9 of the SDGs.

また、本実施形態により、廃棄ロス削減や、ペーパレス・電子化を推進することに寄与することができるので、SDGsの目標12、13および15に貢献することが可能となる。 In addition, the present embodiment can contribute to the reduction of disposal loss and the promotion of paperless and computerization.

また、本実施形態により、統制、ガバナンス強化に寄与することができるので、SDGsの目標16に貢献することが可能となる。 In addition, since this embodiment can contribute to strengthening control and governance, it is possible to contribute to Goal 16 of the SDGs.

[5.他の実施形態]
本発明は、上述した実施形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
[5. Other embodiments]
The present invention may be implemented in various different embodiments other than the embodiments described above within the scope of the technical idea described in the claims.

例えば、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。 For example, among the processes described in the embodiments, all or part of the processes described as being automatically performed can be manually performed, or all of the processes described as being manually performed Alternatively, some can be done automatically by known methods.

また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。 In addition, unless otherwise specified, the processing procedures, control procedures, specific names, information including parameters such as registration data and search conditions for each process, screen examples, and database configurations shown in this specification and drawings can be changed arbitrarily.

また、値引計上装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。 Also, with respect to the discounting device 100, each component shown in the figure is functionally conceptual, and does not necessarily need to be physically configured as shown in the figure.

例えば、値引計上装置100が備える処理機能、特に制御部にて行われる各処理機能については、その全部または任意の一部を、CPUおよび当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。なお、プログラムは、本実施形態で説明した処理を情報処理装置に実行させるためのプログラム化された命令を含む一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じて値引計上装置100に機械的に読み取られる。すなわち、ROMまたはHDD(Hard Disk Drive)などの記憶部などには、OSと協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。 For example, the processing functions of the discounting device 100, particularly the processing functions performed by the control unit, are implemented in whole or in part by a CPU and a program interpreted and executed by the CPU. Alternatively, it may be implemented as hardware using wired logic. The program is recorded on a non-temporary computer-readable recording medium containing programmed instructions for causing the information processing apparatus to execute the processing described in this embodiment, and is discounted as necessary. It is read mechanically by the device 100 . That is, a storage unit such as a ROM or HDD (Hard Disk Drive) stores a computer program for giving commands to the CPU in cooperation with the OS to perform various processes. This computer program is executed by being loaded into the RAM and constitutes a control section in cooperation with the CPU.

また、このコンピュータプログラムは、値引計上装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。 Also, this computer program may be stored in an application program server connected to the discounting apparatus 100 via any network, and it is possible to download all or part of it as necessary. is.

また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、フレキシブルディスク、光磁気ディスク、ROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable and Programmable Read Only Memory)、CD-ROM(Compact Disk Read Only Memory)、MO(Magneto-Optical disk)、DVD(Digital Versatile Disk)、および、Blu-ray(登録商標) Disc等の任意の「可搬用の物理媒体」を含むものとする。 Also, the program for executing the processing described in this embodiment may be stored in a non-temporary computer-readable recording medium, or may be configured as a program product. Here, the term "recording medium" refers to memory cards, USB (Universal Serial Bus) memories, SD (Secure Digital) cards, flexible disks, magneto-optical disks, ROMs, EPROMs (Erasable Programmable Read Only Memory), EEPROMs (registered (trademark) (Electrically Erasable and Programmable Read Only Memory), CD-ROM (Compact Disk Read Only Memory), MO (Magneto-Optical disk), DVD (Digital Versatile Disk), and Disc (registered trademark) such as Blu- shall include any "portable physical medium".

また、「プログラム」とは、任意の言語または記述方法にて記述されたデータ処理方法であり、ソースコードまたはバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施形態に示した各装置において記録媒体を読み取るための具体的な構成および読み取り手順ならびに読み取り後のインストール手順等については、周知の構成や手順を用いることができる。 A "program" is a data processing method written in any language or writing method, regardless of the format such as source code or binary code. In addition, the "program" is not necessarily limited to a single configuration, but is distributed as multiple modules or libraries, or cooperates with a separate program represented by the OS to achieve its function. including things. It should be noted that well-known configurations and procedures can be used for the specific configuration and reading procedure for reading the recording medium in each device shown in the embodiments, the installation procedure after reading, and the like.

記憶部に格納される各種のデータベース等は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、および、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、および、ウェブページ用ファイル等を格納する。 The various databases stored in the storage unit are storage means such as memory devices such as RAM and ROM, fixed disk devices such as hard disks, flexible disks, and optical disks. It stores programs, tables, databases, files for web pages, and so on.

また、値引計上装置100は、既知のパーソナルコンピュータまたはワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、値引計上装置100は、当該装置に本実施形態で説明した処理を実現させるソフトウェア(プログラムまたはデータ等を含む)を実装することにより実現してもよい。 Further, the discounting device 100 may be configured as an information processing device such as a known personal computer or workstation, or may be configured as the information processing device to which any peripheral device is connected. Further, the discounting device 100 may be implemented by installing software (including programs, data, etc.) that causes the device to implement the processing described in the present embodiment.

さらに、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じてまたは機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。 Furthermore, the specific forms of distribution and integration of devices are not limited to those shown in the figures, and all or part of them can be functionally or physically arranged in arbitrary units according to various additions or functional loads. It can be distributed and integrated. In other words, the embodiments described above may be arbitrarily combined and implemented, or the embodiments may be implemented selectively.

本発明は、建設機材等を貸出するレンタル業界において有用である。 INDUSTRIAL APPLICABILITY The present invention is useful in the rental industry that rents out construction equipment and the like.

100 値引計上装置
102 制御部
102a 区分取得部
102b 値引率取得部
102c 集計部
102d 計算部
102e 生成部
102f 格納部
104 通信インターフェース部
106 記憶部
106a 商品マスタ
106b レンタル基本情報マスタ
106c 場所マスタ
106d 値引率マスタ
108 入出力インターフェース部
112 入力装置
114 出力装置
200 サーバ
300 ネットワーク
100 discount calculation device 102 control unit 102a classification acquisition unit 102b discount rate acquisition unit 102c aggregation unit 102d calculation unit 102e generation unit 102f storage unit 104 communication interface unit 106 storage unit 106a product master 106b rental basic information master 106c location master 106d discount rate Master 108 Input/output interface unit 112 Input device 114 Output device 200 Server 300 Network

Claims (8)

制御部を備える値引計上装置であって、
貸出商品の売上または請求の金額を、得意先、稼働場所、その他項目と紐付けて管理する計上テーブルと、
得意先と貸出商品の稼働場所の組み合わせ別に、値引額の計算方法を識別するための方法区分を管理する場所マスタと、
方法区分に応じた、得意先および稼働場所を含む項目組み合わせ別に、値引率を管理する、複数の方法区分それぞれに用意された値引率マスタと、
にアクセス可能であり、
前記制御部は、
前記計上テーブルに存在する得意先と稼働場所の組み合わせ別に、前記場所マスタから、紐付く方法区分を取得する区分取得手段と、
前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記値引率マスタから、紐付く値引率を取得する値引率取得手段と、
前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記計上テーブルの金額を、項目組み合わせ単位に集計する集計手段と、
前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記取得した値引率と前記集計した集計額を掛け合わせて値引額を計算する計算手段と、
前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記計算した値引額を項目組み合わせと紐付けた値引計上レコードを生成する生成手段と、
前記生成した値引計上レコードを前記計上テーブルに格納する格納手段と、
備えること、
を特徴とする値引計上装置。
A discounting device comprising a control unit,
A recording table that manages sales or billing amounts of rental products in association with customers, operating locations, and other items;
A location master that manages method classifications for identifying discount calculation methods for each combination of customer and rental product operating location,
A discount rate master prepared for each of multiple method classifications that manages the discount rate for each combination of items, including customer and operating location, according to the method classification;
is accessible to
The control unit
Classification acquiring means for acquiring a linking method class from the location master for each combination of customers and operating locations existing in the accounting table;
Discount rate acquisition means for acquiring a linked discount rate from the discount rate master for each of the acquired method categories and for each item combination according to each method category;
Aggregating means for aggregating the amounts in the accounting table for each item combination for each of the acquired method categories and for each item combination according to each method category;
a calculation means for calculating a discount amount by multiplying the obtained discount rate by the aggregated total amount for each of the acquired method categories and for each item combination according to each method category;
generating means for generating a discount recording record in which the calculated discount amount is associated with the item combination for each of the acquired method classifications and for each item combination according to each method classification;
a storage means for storing the generated discount accounting record in the accounting table;
be prepared,
A discounting device characterized by:
前記値引率マスタは、
得意先および稼働場所の組み合わせ毎に引率が設定された得意先場所別値引率マスタと、
得意先、稼働場所および契約分類の組み合わせ毎に値引率が設定された得意先場所契約分類値引率マスタと、
得意先、稼働場所、品種および契約分類の組み合わせ毎に値引率が設定された得意先場所品種契約分類マスタと、
を含むこと、
を特徴する請求項1に記載の値引計上装置。
The discount rate master
A discount rate master for each customer location in which the discount rate is set for each combination of customer and operating location,
Customer location contract classification discount rate master in which discount rate is set for each combination of customer, operating location and contract classification;
A customer location type contract classification master in which a discount rate is set for each combination of customer, operating location, type and contract classification,
including
2. The discounting device of claim 1, wherein:
前記集計手段は、
得意先の請求日毎に、請求日の前記計上テーブルの金額を項目組み合わせ単位に集計し、
前記計算手段は、
得意先の請求日毎に前記値引額を計算し、
前記生成手段は、
得意先の請求日毎に前記値引計上レコードを生成し、
前記格納手段は、
得意先の請求日毎に前記値引計上レコードを前記請求日毎の前記計上テーブルに格納する、
ことを特徴とする請求項1または2に記載の値引計上装置。
The counting means is
For each customer's billing date, aggregate the amounts in the accounting table on the billing date for each item combination,
The calculation means are
Calculate the discount amount for each customer's billing date,
The generating means is
Generate the discount recording record for each customer's billing date,
The storage means
storing the discount accounting record for each customer's billing date in the accounting table for each billing date;
3. A discounting device according to claim 1 or 2, characterized in that:
前記計算手段は、
前記値引額に対して端数処理を行う、
ことを特徴とする請求項1~3のいずれか一つに記載の値引計上装置。
The calculation means are
performing rounding on the discount amount;
The discounting device according to any one of claims 1 to 3, characterized in that:
前記値引率マスタは、
貸出商品を得意先へ貸し出す商社別に口銭率を管理する口銭マスタをさらに含み、
前記値引率取得手段は、
前記値引率マスタから、商社に紐付く口銭率を取得し、
前記集計手段は、
前記格納した前記計上テーブルの金額を、項目組み合わせ単位に集計し、
前記計算手段は、
前記格納した前記計上テーブルに対して集計した集計額と前記取得した口銭率を掛け合わせて商社の値引額を計算し、
前記生成手段は、
前記商社の値引額を得意先と紐付けた商社値引計上レコードを生成し、
前記格納手段は、
前記生成した商社値引計上レコードを前記計上テーブルに格納する、
ことを特徴とする請求項1~4のいずれか一つに記載の値引計上装置。
The discount rate master
It further includes a commission master that manages the commission rate for each trading company that lends the loaned product to customers,
The discount rate acquisition means is
Acquire the commission rate associated with the trading company from the discount rate master,
The counting means is
aggregating the amounts in the stored accounting table for each item combination;
The calculation means are
calculating the discount amount of the trading company by multiplying the total amount calculated with respect to the stored accounting table by the acquired commission rate;
The generating means is
Generate a trading company discount recording record that associates the discount amount of the trading company with the customer,
The storage means
storing the generated trading company discount recording record in the recording table;
The discounting device according to any one of claims 1 to 4, characterized in that:
前記生成手段は、
出力装置が表示する前記計上テーブルおよび前記値引額に対する入力装置からの操作に応じて、前記値引計上レコードを生成する、
ことを特徴とする請求項1~5のいずれか一つに記載の値引計上装置。
The generating means is
Generating the discount record in response to an operation from the input device for the credit table displayed by the output device and the discount amount;
The discounting device according to any one of claims 1 to 5, characterized in that:
制御部を備える値引計上装置で実行される値引計上方法であって、
貸出商品の売上または請求の金額を、得意先、稼働場所、その他項目と紐付けて管理する計上テーブルと、
得意先と貸出商品の稼働場所の組み合わせ別に、値引額の計算方法を識別するための方法区分を管理する場所マスタと、
方法区分に応じた、得意先および稼働場所を含む項目組み合わせ別に、値引率を管理する、複数の方法区分それぞれに用意された値引率マスタと、
にアクセス可能であり、
前記制御部で実行される、
前記計上テーブルに存在する得意先と稼働場所の組み合わせ別に、前記場所マスタから、紐付く方法区分を取得する区分取得手ステップと、
前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記値引率マスタから、紐付く値引率を取得する値引率取得ステップと、
前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記計上テーブルの金額を、項目組み合わせ単位に集計する集計ステップと、
前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記取得した値引率と前記集計した集計額を掛け合わせて値引額を計算する計算ステップと、
前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記計算した値引額を項目組み合わせと紐付けた値引計上レコードを生成する生成ステップと、
前記生成した値引計上レコードを前記計上テーブルに格納する格納ステップと、
を含むこと、
を特徴とする値引計上方法。
A discounting method executed by a discounting device comprising a control unit,
A recording table that manages sales or billing amounts of rental products in association with customers, operating locations, and other items;
A location master that manages method classifications for identifying discount calculation methods for each combination of customer and rental product operating location,
A discount rate master prepared for each of multiple method classifications that manages the discount rate for each combination of items, including customer and operating location, according to the method classification;
is accessible to
executed by the control unit;
a segment acquiring step of acquiring a linking method segment from the location master for each combination of customers and operating locations existing in the accounting table;
a discount rate acquisition step of acquiring the associated discount rate from the discount rate master for each of the acquired method categories and for each item combination according to each method category;
an aggregating step of aggregating the amounts in the accounting table for each item combination for each of the acquired method categories and for each item combination according to each method category;
a calculation step of calculating a discount amount by multiplying the acquired discount rate by the aggregated total amount for each of the acquired method categories and for each item combination according to each method category;
a generation step of generating a discount recording record in which the calculated discount amount is associated with the item combination for each of the acquired method classifications and for each item combination according to each method classification;
a storage step of storing the generated discount accounting record in the accounting table;
including
A discounting method characterized by:
制御部を備える値引計上装置で実行される計上売上プログラムであって、
貸出商品の売上または請求の金額を、得意先、稼働場所、その他項目と紐付けて管理する計上テーブルと、
得意先と貸出商品の稼働場所の組み合わせ別に、値引額の計算方法を識別するための方法区分を管理する場所マスタと、
方法区分に応じた、得意先および稼働場所を含む項目組み合わせ別に、値引率を管理する、複数の方法区分それぞれに用意された値引率マスタと、
にアクセス可能であり、
前記制御部で実行される、
前記計上テーブルに存在する得意先と稼働場所の組み合わせ別に、前記場所マスタから、紐付く方法区分を取得する区分取得手ステップと、
前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記値引率マスタから、紐付く値引率を取得する値引率取得ステップと、
前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記計上テーブルの金額を、項目組み合わせ単位に集計する集計ステップと、
前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記取得した値引率と前記集計した集計額を掛け合わせて値引額を計算する計算ステップと、
前記取得した方法区分別に、且つ、各方法区分に応じた項目組み合わせ別に、前記計算した値引額を項目組み合わせと紐付けた値引計上レコードを生成する生成ステップと、
前記生成した値引計上レコードを前記計上テーブルに格納する格納ステップと、
を含むこと、
を特徴とする値引計上プログラム。
A recorded sales program executed by a discounting device comprising a control unit,
A recording table that manages sales or billing amounts of rental products in association with customers, operating locations, and other items;
A location master that manages method classifications for identifying discount calculation methods for each combination of customer and rental product operating location,
A discount rate master prepared for each of multiple method classifications that manages the discount rate for each combination of items, including customer and operating location, according to the method classification;
is accessible to
executed by the control unit;
a segment acquiring step of acquiring a linking method segment from the location master for each combination of customers and operating locations existing in the accounting table;
a discount rate acquisition step of acquiring the associated discount rate from the discount rate master for each of the acquired method categories and for each item combination according to each method category;
an aggregating step of aggregating the amounts in the accounting table for each item combination for each of the acquired method categories and for each item combination according to each method category;
a calculation step of calculating a discount amount by multiplying the acquired discount rate by the aggregated total amount for each of the acquired method categories and for each item combination according to each method category;
a generation step of generating a discount recording record in which the calculated discount amount is associated with the item combination for each of the acquired method classifications and for each item combination according to each method classification;
a storage step of storing the generated discount accounting record in the accounting table;
including
A discounting program characterized by:
JP2021037769A 2021-03-09 2021-03-09 Discount accounting device, discount accounting method, and discount accounting program Active JP7538748B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021037769A JP7538748B2 (en) 2021-03-09 2021-03-09 Discount accounting device, discount accounting method, and discount accounting program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021037769A JP7538748B2 (en) 2021-03-09 2021-03-09 Discount accounting device, discount accounting method, and discount accounting program

Publications (2)

Publication Number Publication Date
JP2022138006A true JP2022138006A (en) 2022-09-22
JP7538748B2 JP7538748B2 (en) 2024-08-22

Family

ID=83319846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021037769A Active JP7538748B2 (en) 2021-03-09 2021-03-09 Discount accounting device, discount accounting method, and discount accounting program

Country Status (1)

Country Link
JP (1) JP7538748B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005063378A (en) 2003-08-20 2005-03-10 Nec Software Kyushu Ltd Purchase rebate management system and sales rebate management system
JP7060951B2 (en) 2017-12-18 2022-04-27 株式会社オービック Rebate management device, rebate management method, and rebate management program
JP7220091B2 (en) 2019-02-12 2023-02-09 株式会社オービック Billing data generation device, billing data generation method and billing data generation program

Also Published As

Publication number Publication date
JP7538748B2 (en) 2024-08-22

Similar Documents

Publication Publication Date Title
JP2017168087A (en) Expense journalizing automatic generation device, expense journalizing automatic generation method, and expense journalizing automatic generation program
JP2019109672A (en) Rebate management device and rebate management method and rebate management program
JP7220091B2 (en) Billing data generation device, billing data generation method and billing data generation program
JP6974581B1 (en) Fee processing equipment, fee processing methods, and fee processing programs
JP2022138006A (en) Discount allocation device, discount allocation method, and discount allocation program
JP7084800B2 (en) Difference management device, difference management method, and difference management program
JP7290963B2 (en) Money totaling device, money totaling method and money totaling program
JP2019211956A (en) Unit price estimation device, unit price estimation method, and unit price estimation program
JP7308338B1 (en) Business support device, business support method, and business support program
JP7257573B2 (en) Project management device, project detail output method and project detail output program
JP7280931B2 (en) Information processing device, information processing method, and information processing program
JP7534981B2 (en) Hibernation setting management device, hibernation setting management method, and hibernation setting management program
JP7543206B2 (en) Real estate sales management device, real estate sales management method, and real estate sales management program
JP7280777B2 (en) Multiple postage collection prevention work support device, postage multiple collection prevention work support method, and postage multiple collection prevention work support program
JP7122866B2 (en) Business support device, divided amount output method and divided amount output program
JP7458256B2 (en) Inventory management device, inventory management method, and inventory management program
JP7410797B2 (en) Pay-as-you-go charge calculation device, pay-as-you-go charge calculation method, and pay-as-you-go charge calculation program
JP7384706B2 (en) Excess amount reflection device, excess amount reflection method, and excess amount reflection program
JP7198708B2 (en) Costing device, costing method and costing program
JP7538823B2 (en) Sales management device, sales management program, and sales management method
JP7300431B2 (en) Productivity Index Calculation Device, Productivity Index Calculation Method, and Productivity Index Calculation Program
JP7328827B2 (en) Sales/Estimated Cost Calculation Device, Sales/Estimated Cost Calculation Method, and Sales/Estimated Cost Calculation Program
JP2021163464A (en) Physical distribution cost management system, physical distribution cost management method, and physical distribution cost management program
JP2023019485A (en) Transaction management apparatus, transaction management method, and transaction management program
JP2023015921A (en) Deposit processing apparatus, deposit processing method, and deposit processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230914

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240627

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240716

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240809

R150 Certificate of patent or registration of utility model

Ref document number: 7538748

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150