JP4638450B2 - Transaction apparatus, slip generation method, and computer program - Google Patents

Transaction apparatus, slip generation method, and computer program Download PDF

Info

Publication number
JP4638450B2
JP4638450B2 JP2007012952A JP2007012952A JP4638450B2 JP 4638450 B2 JP4638450 B2 JP 4638450B2 JP 2007012952 A JP2007012952 A JP 2007012952A JP 2007012952 A JP2007012952 A JP 2007012952A JP 4638450 B2 JP4638450 B2 JP 4638450B2
Authority
JP
Japan
Prior art keywords
billing
price
slip
date
product
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.)
Active
Application number
JP2007012952A
Other languages
Japanese (ja)
Other versions
JP2008181236A (en
Inventor
和典 宮田
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.)
SAP SE
Original Assignee
SAP SE
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 SAP SE filed Critical SAP SE
Priority to JP2007012952A priority Critical patent/JP4638450B2/en
Publication of JP2008181236A publication Critical patent/JP2008181236A/en
Application granted granted Critical
Publication of JP4638450B2 publication Critical patent/JP4638450B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、取引装置、伝票生成方法、及び、コンピュータプログラムに関する。   The present invention relates to a transaction apparatus, a slip generation method, and a computer program.

会社間で発生した取引の請求は、月締めなど1ヶ月単位でまとめて行われるが、締めまでの1ヶ月間の中で商品の価格が変更になった場合、締めの時点での価格を用いてその月の請求を行うことが多い。しかし、従来の取引装置では、請求が発生した時点で請求伝票が日々起票されるため、請求伝票には、当該請求伝票が起票された時点の価格が用いられる。また、取引装置での月次請求は、その月の請求伝票を単にまとめるものであり、その際に、新しい価格を引用することはない。そこで、締めまでの間に価格の変更が発生した場合、差分の価格を払い戻すための値差伝票を発生させることが考えられるが、これでは単純な請求伝票の積み上げと、実際の月次請求との金額が合わなくなるため、“請求伝票の積上げ=月次請求”を求めるお客様には、一旦生成された請求伝票の取消しと再請求伝票の生成とを、人手によるハンド処理にて対応していた。   Bills for transactions that occur between companies are billed together in units of one month, such as a monthly closing, but if the price of a product changes during the one month until the closing, the price at the time of closing is used. In many cases. However, in the conventional transaction apparatus, since the billing slip is drafted every day when billing occurs, the price when the billing slip is drafted is used as the billing slip. In addition, the monthly billing at the transaction device is merely a compilation of billing slips for the month, and no new price is quoted at that time. Therefore, if a price change occurs before closing, it may be possible to generate a value difference slip to reimburse the difference price, but this is a simple billing stack and actual monthly billing. Because the amount of money will not match, customers who request “accumulation of billing slips = monthly billing” handled cancellation of billing slips once generated and generation of rebilling slips by hand processing by hand. .

一方、特許文献1には、医療品の請求金額を、販売時期が公示前の医療品については公示前の価格を用いて、販売時期が公示後の医療品については公示後の価格を用いて計算する技術について記載されている。
また、特許文献2には、販売開始時点から現時点までの商品の販売価格の履歴を保持しておき、商品の現時点の販売価格と過去の販売価格との差額を算出し、各々の差額に応じて過去の商品の購入者に対する払い戻し額を決定する技術について記載されている。
また、特許文献3には、販売開始後、販売価格可能が低下すると、改定後の販売価格を算出する。この販売価格可能価格と改定後の販売価格の差分を既購入者へ還元する技術について記載されている。
特開2006−277683号公報 特開2004−94360号公報 特開2002−183570号公報
On the other hand, Patent Document 1 uses the billing amount of a medical product, the pre-publication price for a medical product whose sales date is before public announcement, and the post-publication price for a medical product whose sales date has been publicized. The calculation technique is described.
Patent Document 2 keeps a history of sales prices of products from the start of sales to the present, calculates the difference between the current sales price of the product and the past sales price, and according to each difference The technology to determine the refund amount for purchasers of past products is described.
Further, in Patent Document 3, after the start of sales, when the possible sales price decreases, the revised sales price is calculated. It describes a technique for returning the difference between the sales price possible price and the revised sales price to the purchaser.
JP 2006-277683 A JP 2004-94360 A JP 2002-183570 A

上記の特許文献では、販売時期における価格を用いて請求額を計算したり、既購入者への還元額を算出したりすることは行っているが、月締めなど所定期間毎の請求をまとめて行う場合、締めまでの期間内において商品の価格が変更されたときに自動で、その締めまでの期間内にすでに旧価格によって作成された請求伝票をキャンセルするための伝票を作成した上で、変更後の価格を用いて新たに請求伝票を生成しなおすことは行っていない。   In the above-mentioned patent document, the amount of charge is calculated using the price at the time of sale or the amount of return to the already purchased person is calculated. If you do so, automatically change the price of the product within the period until closing, create a voucher for canceling the billing slip already created with the old price within the period until closing, and then change A new bill is not generated again using the later price.

本発明は、このような事情に鑑みてなされたものであり、月締めによる請求を行う場合、締めまでの期間内において商品の価格が変更されたときに、旧価格によって作成済みの請求伝票を破棄し、変更後の価格を用いて新たに請求を行うための伝票を生成することができる取引装置、伝票生成方法、及び、コンピュータプログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, and when billing by monthly closing, when the price of a product is changed within the period until closing, a billing slip that has been created with the old price is displayed. It is an object of the present invention to provide a transaction apparatus, a slip generation method, and a computer program that can generate a slip for discarding and newly charging using the changed price.

上記した課題を解決するために本発明は、請求対象の商品の識別及び価格と請求伝票の起票日を示す日付との情報を少なくとも含む請求伝票データ、及び、商品の販売価格と前記販売価格が適用される期間とを示す価格情報を記憶する記憶手段(5)と、前記価格情報へ商品の変更後の販売価格と、前記変更後の販売価格が適用される期間とが書き込まれ、書き込まれた前記期間が現在日または現在日以降の日にちを含んでいる場合に、価格が変更された商品の識別が含まれ、かつ、販売価格の変更から所定日まで遡った日付が含まれる請求伝票データを特定する遡及対象選択手段(71)と、前記遡及対象選択手段(71)が特定した請求伝票データによる請求を取り消すための請求伝票データを生成するとともに、特定した請求伝票データ内の販売価格が変更された前記商品の価格を前記価格情報に書き込まれた当該商品の変更後の販売価格に変更した請求伝票データを生成する請求伝票生成手段(73)と、を備えることを特徴とする取引装置(1)である。 In order to solve the above-described problems, the present invention provides billing slip data including at least information on the identification and price of a billing product and a date indicating the date of billing slip, and the sales price of the product and the sales price. Storage means (5) for storing price information indicating a period during which the product is applied, a sales price after the change of the product, and a period during which the sales price after the change is applied are written in the price information. A billing document that contains the identification of the product whose price has been changed and the date that goes back to the specified date from the change in sales price, if the above-mentioned period includes the current date or a date after the current date The retroactive object selecting means (71) for specifying data and the billing slip data for canceling the billing by the billing slip data specified by the retroactive object selecting means (71) are generated and the specified billing slip data The price of the commodity selling price is changed in the inner, be provided with a billing document generation means (73) for generating a billing document data that have changed sales price after the change of the product written on the price information Is a transaction apparatus (1) characterized by

また、本発明は、上述する取引装置(1)であって、前記遡及対象選択手段(71)が特定した請求伝票データの識別と、価格変更対象の商品の識別と、変更された価格の差分との情報を含む遡及伝票データを生成する遡及伝票生成手段(72)をさらに備え、前記請求伝票生成手段(73)は、前記遡及伝票生成手段(72)が生成した前記遡及伝票データに含まれる請求伝票データの識別により前記請求伝票データを特定し、特定した前記請求伝票データによる請求を取り消すための請求伝票データを生成するとともに、特定した請求伝票データ内の販売価格が変更された前記商品の価格を、前記価格情報に書き込まれた当該商品の変更後の販売価格に変更した請求伝票データを生成する、ことを特徴とする。 Further, the present invention is the transaction apparatus (1) described above, wherein the billing slip data identified by the retroactive object selection means (71), the identification of the product whose price is to be changed, and the difference between the changed prices And retroactive slip generation means (72) for generating retroactive slip data including the information, and the billing slip generation means (73) is included in the retroactive slip data generated by the retroactive slip generation means (72). The billing slip data is identified by identifying the billing slip data, billing slip data for canceling the billing by the identified billing slip data is generated, and the sales price in the identified billing slip data is changed. Billing slip data in which the price is changed to the sales price after the change of the product written in the price information is generated .

また、本発明は、上述する取引装置(1)であって、前記所定日は、前回の請求締め日の翌日であることを特徴とする。   Moreover, this invention is transaction apparatus (1) mentioned above, Comprising: The said predetermined day is a day after the last billing closing date, It is characterized by the above-mentioned.

また、本発明は、取引装置(1)に用いられる伝票生成方法であって、前記取引装置(1)は、請求対象の商品の識別及び価格と請求伝票の起票日を示す日付との情報を少なくとも含む請求伝票データ、及び、商品の販売価格と前記販売価格が適用される期間とを示す価格情報を記憶する記憶手段(5)を備えており、前記取引装置(1)において、遡及対象選択手段(71)が、前記価格情報へ商品の変更後の販売価格と、前記変更後の販売価格が適用される期間とが書き込まれ、書き込まれた前記期間が現在日または現在日以降の日にちを含んでいる場合に、価格が変更された商品の識別が含まれ、かつ、販売価格の変更から所定日まで遡った日付が含まれる請求伝票データを特定する過程(S130)と、請求伝票生成手段(73)が、前記遡及対象選択手段(71)によって特定した請求伝票データによる請求を取り消すための請求伝票データを生成するとともに、特定した請求伝票データ内の販売価格が変更された前記商品の価格を前記価格情報に書き込まれた当該商品の変更後の販売価格に変更した請求伝票データを生成する過程(S240、S250)と、を備えることを特徴とする伝票生成方法である。 Further, the present invention is a slip generation method used for a transaction apparatus (1), wherein the transaction apparatus (1) is information on identification and price of a product to be billed and a date indicating a draft date of a billing slip. And storage means (5) for storing price information indicating the sales price of the product and the period during which the sales price is applied , and in the transaction apparatus (1), The selection means (71) writes the sales price after the change of the product and the period during which the sales price after the change is applied to the price information, and the written period is the current date or a date after the current date. if it contains, price include changes identification of the product, and a process (S130) for specifying the billing document data including the date back from changing the sales price to a predetermined date, billing generation Means (73) It generates the billing document data for canceling the billing by the billing document data specified by the retrospective target selection means (71), the price of the commodity sales prices of the identified billing document data has changed, the price information And a process (S240, S250) for generating billing slip data that has been changed to the sales price after the change of the product written in (2).

また、本発明は、取引装置(1)として用いられるコンピュータを、請求対象の商品の識別及び価格と請求伝票の起票日を示す日付との情報を少なくとも含む請求伝票データ、及び、商品の販売価格と前記販売価格が適用される期間とを示す価格情報を記憶する記憶手段(5)、前記価格情報へ商品の変更後の販売価格と、前記変更後の販売価格が適用される期間とが書き込まれ、書き込まれた前記期間が現在日または現在日以降の日にちを含んでいる場合に、価格が変更された商品の識別が含まれ、かつ、販売価格の変更から所定日まで遡った日付が含まれる請求伝票データを特定する遡及対象選択手段(71)、前記遡及対象選択手段(71)が特定した請求伝票データによる請求を取り消すための請求伝票データを生成するとともに、特定した請求伝票データ内の販売価格が変更された前記商品の価格を前記価格情報に書き込まれた当該商品の変更後の販売価格に変更した請求伝票データを生成する請求伝票生成手段(73)、として機能させることを特徴とするコンピュータプログラムである。
なお、本欄において参照している「(符号)」は、後述する欄(発明を実施するための最良の形態)において対応する構成を例示するのみで、何ら特許請求の範囲の各請求項の解釈を限定するものではない。
Further, the present invention provides a computer used as a transaction apparatus (1) for billing slip data including at least information on the identification and price of a billing product and a date indicating the date of billing slip, and sales of the product. Storage means (5) for storing price information indicating a price and a period during which the sales price is applied, a sales price after the product is changed to the price information, and a period during which the sales price after the change is applied written, when the period written contains the current date or the current day later date, price include changes identification of the product, and the date that going back from changing the sales price to a predetermined date retrospective object selecting means for identifying a billing document data included (71), together with the retrospective target selection means (71) generates a billing document data for canceling the request under the specified billing document data, Boss was billing prices of the goods selling price is changed in the data, billing generation means for generating a billing document data that have changed sales price after the change of the product written on the price information (73) , A computer program characterized by functioning as
It should be noted that “(sign)” referred to in this column only exemplifies a corresponding configuration in a column (the best mode for carrying out the invention) to be described later, and does not indicate any claim in the claims. The interpretation is not limited.

上記発明によれば、月次請求の締めの期間までに商品の価格変更があったときに、前月の締め以降に変更前の価格を用いて起票した請求伝票を取消す伝票データ、及び、変更後の新たな価格を用いて請求を行う伝票データを自動で生成することができる。これは、お客様が、”請求伝票の積上げ=月次請求”を求める場合や、外部システムが1日単位での伝票データが必要であったり、差分価格のみの伝票データでは、どの請求伝票がキャンセルされたかの対応付けができない場合に特に有効である。   According to the above invention, when there is a change in the price of the product by the closing period of the monthly billing, the slip data for canceling the billing slip issued using the price before the change after the closing of the previous month, and the change It is possible to automatically generate slip data for billing using a later new price. This is because when a customer requests "accumulation of billing slips = monthly billing", when the external system requires slip data in units of one day, or when slip data with only a differential price is canceled This is particularly effective when it is not possible to associate them.

以下、図面を参照し、この発明の実施形態について説明する。
図1は、本実施形態による取引装置1の処理概要を示す図である。
月末締めで請求を行う場合、取引装置1の保持する価格マスタに対して、商品の販売価格の変更が登録されると、取引装置1は、販売価格が変更された商品についての請求が含まれる請求伝票のうち、当月内に生成された請求伝票を遡及対象として特定し、差額分の遡及伝票のデータを作成する。取引装置1は、日々発生する伝票データを利用するシステム(例えば、営業/経理システム)への毎日の発生伝票のデータ送信処理にあたり、遡及伝票により特定される遡及対象の請求伝票を取り消すための赤伝票を生成するとともに、新たな価格を用いて新たに生成した請求伝票である黒伝票を生成し、これら生成した赤伝票及び黒伝票のデータを、その日の発生した各種伝票のデータとあわせて送信する。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a diagram showing a processing outline of the transaction apparatus 1 according to the present embodiment.
When billing is performed at the end of the month, if a change in the sales price of the product is registered for the price master held by the transaction device 1, the transaction device 1 includes a charge for the product whose sales price has been changed. Among billing slips, billing slips generated within the current month are identified as retroactive objects, and retroactive slip data for the difference is created. The transaction apparatus 1 uses red for canceling a retroactive billing slip specified by the retroactive slip in the data transmission processing of the daily generated slip to a system (for example, sales / accounting system) using slip data generated daily. Generates a voucher, which is a newly generated billing voucher using a new price, and sends the data of the generated red voucher and black voucher together with the data of various vouchers generated on that day. To do.

図2は、本実施形態による取引装置1の構成を示すブロック図であり、本発明と関係する機能ブロックのみ抽出して示してある。取引装置1は、制御手段2、入力手段3、出力手段4、記憶手段5、マスタ管理手段6、伝票処理手段7、伝票送信手段8、及び、通信手段9を備える。
制御手段2は、CPU(central processing unit)及び各種メモリから構成され、各部の制御や、データの一時的な格納や、データの転送等を行う。入力手段3は、キーボードやマウスなどであり、操作者が入力した情報を取得する。あるいは、記録媒体から情報を読み取ったり、ネットワークを介して接続されるコンピュータ装置から情報の入力を受けることでもよい。出力手段4は、ディスプレイなどに画像を表示したり、プリンタなどにより情報を印刷したりする。あるいは、ネットワークを介して接続されるコンピュータ装置へ情報を送信することでもよい。記憶手段5は、データベースであり、受注、発注、請求などの取引に関する各種伝票データや、商品の販売価格を示すデータである価格マスタなどのマスタデータを記憶する。各種伝票データには、請求伝票データ、遡及伝票データ、赤伝票データ、黒伝票データなどが含まれる。通信手段9は、ネットワークを介したデータの送受信を行う。
FIG. 2 is a block diagram showing the configuration of the transaction apparatus 1 according to the present embodiment, and only functional blocks related to the present invention are extracted and shown. The transaction apparatus 1 includes control means 2, input means 3, output means 4, storage means 5, master management means 6, slip processing means 7, slip transmission means 8, and communication means 9.
The control means 2 comprises a central processing unit (CPU) and various memories, and controls each part, temporarily stores data, transfers data, and the like. The input unit 3 is a keyboard or a mouse, and acquires information input by the operator. Alternatively, information may be read from a recording medium or input of information from a computer device connected via a network. The output unit 4 displays an image on a display or the like, or prints information using a printer or the like. Alternatively, the information may be transmitted to a computer device connected via a network. The storage means 5 is a database, and stores various slip data relating to transactions such as orders, orders, and billings, and master data such as a price master that is data indicating a sales price of a product. The various slip data includes billing slip data, retroactive slip data, red slip data, black slip data, and the like. The communication means 9 transmits / receives data via the network.

マスタ管理手段6は、記憶手段5内のマスタデータ、例えば、価格マスタを更新する。伝票処理手段7は、取引に関する各種伝票データの生成や記憶手段5への登録を行い、遡及対象選択手段71、遡及伝票生成手段72、及び、請求伝票生成手段73を備える。遡及対象選択手段71は、価格マスタの販売価格が変更された場合に、この販売価格が変更された商品の請求が含まれる遡及対象の請求伝票データを選択する。遡及伝票生成手段72は、遡及伝票データを生成する。請求伝票生成手段73は、遡及伝票データと、当該遡及伝票データで示される遡及対象の請求伝票データとから赤伝票データ、黒伝票データを生成する。伝票送信手段8は、所定の期間、ここでは、1日に発生した伝票データを記憶手段5から読み出し、日々発生する伝票データを利用する営業/経理システム10へ読み出した伝票データを送信するよう指示する。   The master management means 6 updates the master data in the storage means 5, for example, the price master. The slip processing means 7 generates various slip data relating to the transaction and registers it in the storage means 5, and includes a retroactive object selection means 71, a retroactive slip generation means 72, and a billing slip generation means 73. When the sales price of the price master is changed, the retroactive object selection means 71 selects the retroactive object billing document data including the invoice of the product whose sales price has been changed. The retroactive slip generation means 72 generates retroactive slip data. The billing slip generation means 73 generates red slip data and black slip data from the retroactive slip data and the retroactive billing slip data indicated by the retroactive slip data. The slip transmission means 8 reads the slip data generated for a predetermined period, here one day, from the storage means 5 and instructs the sales / accounting system 10 using the slip data generated every day to transmit the read slip data. To do.

次に、取引装置1に用いられるデータについて説明する。
図3は、請求伝票データのデータ構成を示す図である。請求伝票データは、企業、請求伝票番号、注文番号、日付、明細の情報を含む。企業の情報は、どの企業向けの請求伝票であるかの取引先を示す。請求伝票番号の情報は、請求伝票を一意に特定する伝票番号を示す。注文番号の情報は、当該請求伝票データを生成する元となった受注を特定し、受注伝票の伝票番号を用いることができる。日付の情報は、請求伝票の起票日を示す。明細の情報は、請求対象の商品の品目、数量、価格の情報からなり、適宜繰り返され得る。
なお、黒伝票データ、赤伝票データも請求伝票データと同様のデータ構成であるが、赤伝票データ、黒伝票データの場合は、さらに、赤伝票あるいは黒伝票であることを示す情報が付加される。
Next, data used for the transaction apparatus 1 will be described.
FIG. 3 is a diagram showing a data structure of billing slip data. The billing slip data includes company, billing slip number, order number, date, and details. The company information indicates a business partner as to which company the billing slip is for. The billing slip number information indicates a slip number that uniquely identifies the billing slip. The order number information can identify the order from which the billing slip data is generated and use the slip number of the order slip. The date information indicates the draft date of the billing slip. The information of the details includes information on the item, quantity, and price of the product to be billed, and can be repeated as appropriate.
The black slip data and the red slip data have the same data structure as the billing slip data. However, in the case of the red slip data and the black slip data, information indicating that the red slip data or the black slip data is further added. .

図4は、価格マスタのデータ構成を示す図である。価格マスタは、商品の識別としての品目の情報と、当該商品の販売価格を示す価格の情報と、当該価格が適用される期間の情報との対応付けを示すデータである。   FIG. 4 is a diagram showing a data structure of the price master. The price master is data indicating correspondence between item information as product identification, price information indicating a sales price of the product, and information on a period in which the price is applied.

図5は、遡及伝票データのデータ構成を示す図である。遡及伝票データは、企業、遡及伝票番号、日付、請求伝票番号、品目、及び、差分価格の情報を含む。企業の情報は、どの企業向けの遡及伝票であるかの取引先を示す。遡及伝票番号は、当該遡及伝票を一意に特定する伝票番号を示す。日付の情報は、当該遡及伝票の起票日を示す。請求伝票番号の情報は、当該遡及伝票データの生成元となった請求伝票を特定し、請求伝票番号を用いることができる。品目の情報は、販売価格が変更された商品を特定する。差分価格の情報は、変更前と変更後の商品の販売価格の差分を示す。   FIG. 5 is a diagram showing a data structure of retroactive slip data. The retroactive slip data includes information on the company, retroactive slip number, date, billing slip number, item, and differential price. The enterprise information indicates a business partner to whom the enterprise is a retroactive slip. The retroactive slip number indicates a slip number that uniquely identifies the retroactive slip. The date information indicates the date of drafting the retroactive slip. The billing slip number information can identify the billing slip that has generated the retroactive slip data and use the billing slip number. The item information specifies a product whose sales price has been changed. The difference price information indicates the difference between the sales price of the product before and after the change.

次に、取引装置1における遡及請求処理の動作手順について説明する。
図6は、取引装置1における価格変更処理の処理フローを示す図である。
まず、取引装置1の入力手段3により、価格変更対象の品目、変更後の販売価格、当該販売価格が適用される期間の情報が入力される(ステップS110)。マスタ管理手段6は、ステップS110において入力された情報を、記憶手段5内の価格マスタに書き込む(ステップS120)。入力された期間の情報が、現在日か現在日以降の日にちを含んだ期間を示している場合、伝票処理手段7の遡及対象選択手段71は、記憶手段5内に記憶されている請求伝票データのうち、販売価格が変更された品目の情報が含まれ、かつ、日付の情報が前回の請求締め日の翌日以降を示す遡及対象の請求伝票データを全て特定する(ステップS130)。例えば、月末締めであれば、販売価格が変更された品目の情報、及び、当月の日付の情報が含まれる請求伝票データを特定する。
Next, the operation procedure of the retroactive billing process in the transaction apparatus 1 will be described.
FIG. 6 is a diagram showing a processing flow of price change processing in the transaction apparatus 1.
First, information about the price change item, the changed sales price, and the period during which the sales price is applied are input by the input means 3 of the transaction apparatus 1 (step S110). The master management unit 6 writes the information input in step S110 into the price master in the storage unit 5 (step S120). When the input period information indicates the current date or a period including the date after the current date, the retroactive object selection means 71 of the slip processing means 7 stores the billing slip data stored in the storage means 5. Among the items, information on items whose sales price has been changed is included, and all retroactive billing slip data whose date information indicates the day after the previous billing closing date is specified (step S130). For example, in the case of closing at the end of the month, billing slip data including information on items whose sales price has been changed and information on the date of the current month is specified.

遡及伝票生成手段72は、ステップS130において特定された遡及対象の請求伝票データそれぞれについて遡及伝票データを生成し、記憶手段5に登録する(ステップS140)。具体的には、遡及伝票生成手段72は、遡及伝票番号を割り当て、この割り当てた遡及伝票番号の情報と、現在日を設定した日付の情報と、特定された請求伝票データから取得した企業、及び、請求伝票番号の情報と、販売価格が変更された品目の情報、当該品目の変更前と変更後の差分価格の情報とから遡及伝票データを生成する。   The retroactive voucher generating means 72 generates retroactive voucher data for each of the retroactive billing voucher data specified in step S130 and registers it in the storage means 5 (step S140). Specifically, the retroactive slip generation means 72 assigns a retroactive slip number, information on the assigned retroactive slip number, information on the date on which the current date is set, the company acquired from the specified billing slip data, and Then, retroactive slip data is generated from the information on the billing slip number, the information on the item whose sales price has been changed, and the information on the difference price before and after the change of the item.

図7は、取引装置1におけるデータ送信処理の処理フローを示す図である。このデータ送信処理は一定時間毎に起動され、ここでは、1日1回の所定の時間とする。
まず、取引装置1の伝票送信手段8は、記憶手段5を検索し、前回の営業/経理システム10への送信対象となった伝票データより後に生成された1日分の各種伝票データを、伝票データ内に含まれる日付の情報により特定する(ステップS210)。次に、伝票処理手段7の請求伝票生成手段73は、ステップS210において特定された伝票データの中に遡及伝票データが含まれるか否かを判断する(ステップS220)。
FIG. 7 is a diagram showing a processing flow of data transmission processing in the transaction apparatus 1. This data transmission process is started at regular intervals, and here, it is assumed to be a predetermined time once a day.
First, the slip transmission means 8 of the transaction apparatus 1 searches the storage means 5 and stores various slip data for one day generated after the slip data to be transmitted to the previous sales / accounting system 10 as slips. It is specified by the date information included in the data (step S210). Next, the billing slip generation means 73 of the slip processing means 7 determines whether or not the retroactive slip data is included in the slip data specified in step S210 (step S220).

請求伝票生成手段73が、ステップS210において特定された伝票データ内に遡及伝票データが含まれると判断した場合(ステップS220:YES)、全ての遡及伝票データそれぞれについて以下のステップS230〜S250の処理を行う。すなわち、請求伝票生成手段73は、記憶手段5内に記憶されている請求伝票データの中から、遡及伝票データから取得した企業、請求伝票番号、及び、品目の情報をキーとして遡及対象の請求伝票データを特定する(ステップS230)。   When the billing slip generation unit 73 determines that the retroactive slip data is included in the slip data specified in step S210 (step S220: YES), the following steps S230 to S250 are performed for each of the retroactive slip data. Do. That is, the billing slip generation unit 73 uses the information of the company, billing slip number, and item acquired from the retroactive slip data from the billing slip data stored in the storage unit 5 as a retroactive billing slip. Data is specified (step S230).

続いて、請求伝票生成手段73は、ステップS230において特定された遡及対象の請求伝票データそれぞれについて、当該請求伝票データを取り消すための赤伝票データを作成する(ステップS240)。具体的には、遡及対象の請求伝票データから取得した企業、請求伝票番号、注文番号、日付、明細の情報と、赤伝票であること示す情報とから赤伝票データを生成する。   Subsequently, the billing slip generation unit 73 creates red slip data for canceling the billing slip data for each of the retroactive billing slip data specified in step S230 (step S240). Specifically, red slip data is generated from information on the company, billing slip number, order number, date, and details acquired from retroactive billing slip data and information indicating a red slip.

さらに、請求伝票生成手段73は、ステップS230において特定された全ての遡及対象の請求伝票データそれぞれについて、新たな販売価格を用いた請求伝票データである黒伝票データを作成する(ステップS250)。具体的には、遡及対象の請求伝票データから取得した企業、請求伝票番号、注文番号、日付、明細内の品目及び数量の情報と、販売価格が変更された品目については当該請求伝票データの明細から取得した当該品目の価格の情報、販売価格が変更された品目については当該品目の変更後の販売価格を示す価格の情報と、黒伝票であること示す情報とから黒伝票データを生成する。なお、変更後の商品の価格は、遡及対象の請求伝票データで示される販売価格と、請求伝票データで使用されている販売価格との差分から算出される。請求伝票生成手段73は、生成した黒伝票データ、及び、赤伝票データを記憶手段5に書き込む。   Further, the billing slip generation unit 73 creates black slip data that is billing slip data using a new sales price for all the billing slip data to be retroactively identified in step S230 (step S250). Specifically, the company, billing slip number, order number, date, item and quantity information in the details obtained from retroactive billing slip data, and the details of the billing slip data for items whose sales price has been changed The black slip data is generated from the information on the price of the item acquired from the above, the price information indicating the sales price after the change of the item, and the information indicating that the item is a black slip. Note that the price of the product after the change is calculated from the difference between the sales price indicated in the retroactive billing slip data and the sales price used in the billing slip data. The bill slip generation means 73 writes the generated black slip data and red slip data into the storage means 5.

伝票送信手段8は、ステップS210において特定した全ての伝票データと、ステップS240において生成された赤伝票データ、及び、ステップS250において生成された黒伝票データとを、通信手段9を介して接続される営業/経理システム10へ送信する(ステップS260)。   The slip transmitting means 8 connects all the slip data specified in step S210, the red slip data generated in step S240, and the black slip data generated in step S250 via the communication means 9. It transmits to the sales / accounting system 10 (step S260).

なお、ステップS220において、請求伝票生成手段73が、特定された伝票データ内に遡及伝票データが含まれないと判断した場合(ステップS220:NO)、伝票送信手段8は、ステップS210において特定したこれらの伝票データを営業/経理システム10へ送信する(ステップS260)。   In step S220, when the billing slip generation means 73 determines that the retroactive slip data is not included in the specified slip data (step S220: NO), the slip transmission means 8 determines those specified in step S210. Is sent to the sales / accounting system 10 (step S260).

上記実施の形態によれば、取引装置1は、月次請求の締めの期間までに商品の価格変更があったときに、前月の締め以降に変更前の価格を用いて起票した請求伝票を取消す赤伝票データ、及び、変更後の新たな価格を用いて請求を行う黒伝票データを自動で生成し、営業/経理システム10など、1日単位での伝票データが必要な外部システムへ引き渡す。これは、特に、お客様が、”請求伝票の積上げ=月次請求”を求める場合や、外部システムが、差分価格の伝票データでは、どの請求伝票がキャンセルされたかの対応付けができない場合に有効である。   According to the above embodiment, when the transaction device 1 has changed the price of the product before the closing period of the monthly billing, the transaction device 1 can issue the billing slip issued using the price before the change since the closing of the previous month. Red voucher data to be canceled and black voucher data to be charged using the new price after the change are automatically generated and delivered to an external system such as the sales / accounting system 10 that requires daily voucher data. This is especially effective when the customer requests “accumulation of billing slips = monthly billing” or when the external system cannot associate which billing slip is canceled with slip data of differential price. .

なお、上述の取引装置1は、内部にコンピュータシステムを有している。そして、上述したマスタ管理手段6、伝票処理手段7、及び、伝票送信手段8の動作の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータシステムが読み出して実行することによって、上記処理が行われる。ここでいうコンピュータシステムとは、OSや周辺機器等のハードウェアを含むものである。   In addition, the above-mentioned transaction apparatus 1 has a computer system inside. The operation processes of the master management means 6, slip processing means 7 and slip transmission means 8 described above are stored in a computer-readable recording medium in the form of a program, which is read by the computer system. By executing this, the above processing is performed. The computer system here includes an OS and hardware such as peripheral devices.

また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

本発明の一実施の形態による取引装置の処理概要を示す図である。It is a figure which shows the process outline | summary of the transaction apparatus by one embodiment of this invention. 同実施形態による取引装置の機能ブロック図である。It is a functional block diagram of the transaction apparatus by the same embodiment. 同実施形態による請求伝票データのデータ構成を示す図である。It is a figure which shows the data structure of the billing slip data by the embodiment. 同実施形態による価格マスタのデータ構成を示す図である。It is a figure which shows the data structure of the price master by the embodiment. 同実施形態による遡及伝票データのデータ構成を示す図である。It is a figure which shows the data structure of retroactive slip data by the embodiment. 同実施形態による取引装置における価格変更処理の処理フローを示す図である。It is a figure which shows the processing flow of the price change process in the transaction apparatus by the embodiment. 同実施形態による取引装置におけるデータ送信処理の処理フローを示す図である。It is a figure which shows the processing flow of the data transmission process in the transaction apparatus by the embodiment.

符号の説明Explanation of symbols

1…取引装置
2…制御手段
3…入力手段
4…出力手段
5…記憶手段
6…マスタ管理手段
7…伝票処理手段
8…伝票送信手段
9…通信手段
10…営業/経理システム
71…遡及対象選択手段
72…遡及伝票生成手段
73…請求伝票生成手段
DESCRIPTION OF SYMBOLS 1 ... Transaction apparatus 2 ... Control means 3 ... Input means 4 ... Output means 5 ... Storage means 6 ... Master management means 7 ... Invoice processing means 8 ... Invoice transmission means 9 ... Communication means 10 ... Sales / accounting system 71 ... Retroactive object selection Means 72 ... Retroactive slip generation means 73 ... Billing slip generation means

Claims (5)

請求対象の商品の識別及び価格と請求伝票の起票日を示す日付との情報を少なくとも含む請求伝票データ、及び、商品の販売価格と前記販売価格が適用される期間とを示す価格情報を記憶する記憶手段と、
前記価格情報へ商品の変更後の販売価格と、前記変更後の販売価格が適用される期間とが書き込まれ、書き込まれた前記期間が現在日または現在日以降の日にちを含んでいる場合に、価格が変更された商品の識別が含まれ、かつ、販売価格の変更から所定日まで遡った日付が含まれる請求伝票データを特定する遡及対象選択手段と、
前記遡及対象選択手段が特定した請求伝票データによる請求を取り消すための請求伝票データを生成するとともに、特定した請求伝票データ内の販売価格が変更された前記商品の価格を前記価格情報に書き込まれた当該商品の変更後の販売価格に変更した請求伝票データを生成する請求伝票生成手段と、
を備えることを特徴とする取引装置。
Billing slip data including at least information on the identification and price of the product to be billed and a date indicating the date of start of the billing slip, and price information indicating the sales price of the product and the period during which the sales price is applied Storage means for
When the sales price after the change of the product and the period to which the sales price after the change is applied are written in the price information, and the written period includes the current date or a date after the current date , A retroactive object selection means for identifying billing document data that includes the identification of the product whose price has been changed and includes a date that goes back to a predetermined date from the change in the sales price;
Billing slip data for canceling the billing by the billing slip data specified by the retroactive object selection means is generated, and the price of the product whose sales price in the specified billing slip data is changed is written in the price information. Billing slip generation means for generating billing slip data changed to the sales price after the change of the product,
A transaction apparatus comprising:
前記遡及対象選択手段が特定した請求伝票データの識別と、価格変更対象の商品の識別と、変更された価格の差分との情報を含む遡及伝票データを生成する遡及伝票生成手段をさらに備え
前記請求伝票生成手段は、前記遡及伝票生成手段が生成した前記遡及伝票データに含まれる請求伝票データの識別により前記請求伝票データを特定し、特定した前記請求伝票データによる請求を取り消すための請求伝票データを生成するとともに、特定した請求伝票データ内の販売価格が変更された前記商品の価格を、前記価格情報に書き込まれた当該商品の変更後の販売価格に変更した請求伝票データを生成する、
ことを特徴とする請求項1に記載の取引装置。
Retroactive slip generation means for generating retroactive slip data including information on identification of billing slip data identified by the retroactive object selection means, identification of a product whose price is to be changed, and a difference between changed prices ;
The billing slip generation means specifies the billing slip data by identifying billing slip data included in the retroactive slip data generated by the retroactive slip generation means, and a billing slip for canceling the billing by the specified billing slip data Generating billing data in which the price of the product whose sales price has been changed in the specified billing slip data is changed to the sales price after the change of the product written in the price information.
The transaction apparatus according to claim 1.
前記所定日は、前回の請求締め日の翌日であることを特徴とする請求項1または請求項2に記載の取引装置。   The transaction apparatus according to claim 1, wherein the predetermined date is the next day of the last billing closing date. 取引装置に用いられる伝票生成方法であって、
前記取引装置は、
請求対象の商品の識別及び価格と請求伝票の起票日を示す日付との情報を少なくとも含む請求伝票データ、及び、商品の販売価格と前記販売価格が適用される期間とを示す価格情報を記憶する記憶手段を備えており、
前記取引装置において、
遡及対象選択手段が、前記価格情報へ商品の変更後の販売価格と、前記変更後の販売価格が適用される期間とが書き込まれ、書き込まれた前記期間が現在日または現在日以降の日にちを含んでいる場合に、価格が変更された商品の識別が含まれ、かつ、販売価格の変更から所定日まで遡った日付が含まれる請求伝票データを特定する過程と、
請求伝票生成手段が、前記遡及対象選択手段によって特定した請求伝票データによる請求を取り消すための請求伝票データを生成するとともに、特定した請求伝票データ内の販売価格が変更された前記商品の価格を前記価格情報に書き込まれた当該商品の変更後の販売価格に変更した請求伝票データを生成する過程と、
を備えることを特徴とする伝票生成方法。
A slip generation method used for a transaction apparatus,
The transaction device
Billing slip data including at least information on the identification and price of the product to be billed and a date indicating the date of start of the billing slip, and price information indicating the sales price of the product and the period during which the sales price is applied Storage means for
In the transaction apparatus,
The retroactive object selection means writes the sales price after the change of the product and the period to which the sales price after the change is applied to the price information, and the written period is the current date or a date after the current date. If the containing, prices include changes identification of the product, and a step of identifying a billing document data including the date back from changing the sales price to a predetermined date,
The billing slip generation means generates billing slip data for canceling the billing by the billing slip data specified by the retroactive object selection means, and the price of the product whose sales price in the specified billing slip data is changed , A process of generating billing slip data changed to the sales price after the change of the product written in the price information;
A slip generation method comprising:
取引装置として用いられるコンピュータを、
請求対象の商品の識別及び価格と請求伝票の起票日を示す日付との情報を少なくとも含む請求伝票データ、及び、商品の販売価格と前記販売価格が適用される期間とを示す価格情報を記憶する記憶手段、
前記価格情報へ商品の変更後の販売価格と、前記変更後の販売価格が適用される期間とが書き込まれ、書き込まれた前記期間が現在日または現在日以降の日にちを含んでいる場合に、価格が変更された商品の識別が含まれ、かつ、販売価格の変更から所定日まで遡った日付が含まれる請求伝票データを特定する遡及対象選択手段、
前記遡及対象選択手段が特定した請求伝票データによる請求を取り消すための請求伝票データを生成するとともに、特定した請求伝票データ内の販売価格が変更された前記商品の価格を前記価格情報に書き込まれた当該商品の変更後の販売価格に変更した請求伝票データを生成する請求伝票生成手段、
として機能させることを特徴とするコンピュータプログラム。
A computer used as a transaction device
Billing slip data including at least information on the identification and price of the product to be billed and a date indicating the date of start of the billing slip, and price information indicating the sales price of the product and the period during which the sales price is applied Storage means,
When the sales price after the change of the product and the period to which the sales price after the change is applied are written in the price information, and the written period includes the current date or a date after the current date , price include changes identification of the product, and, retrospectively object selecting means for identifying a billing document data including the date back from changing the sales price to a predetermined date,
Billing slip data for canceling the billing by the billing slip data specified by the retroactive object selection means is generated, and the price of the product whose sales price in the specified billing slip data is changed is written in the price information. Billing slip generation means for generating billing slip data changed to the sales price after the change of the product,
A computer program that functions as a computer program.
JP2007012952A 2007-01-23 2007-01-23 Transaction apparatus, slip generation method, and computer program Active JP4638450B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007012952A JP4638450B2 (en) 2007-01-23 2007-01-23 Transaction apparatus, slip generation method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007012952A JP4638450B2 (en) 2007-01-23 2007-01-23 Transaction apparatus, slip generation method, and computer program

Publications (2)

Publication Number Publication Date
JP2008181236A JP2008181236A (en) 2008-08-07
JP4638450B2 true JP4638450B2 (en) 2011-02-23

Family

ID=39725110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007012952A Active JP4638450B2 (en) 2007-01-23 2007-01-23 Transaction apparatus, slip generation method, and computer program

Country Status (1)

Country Link
JP (1) JP4638450B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5927985B2 (en) * 2012-02-28 2016-06-01 富士通株式会社 Aggregation program, aggregation device, and aggregation method
JP6119101B2 (en) * 2012-02-28 2017-04-26 富士通株式会社 Aggregation device, aggregation method, and aggregation system
JP5941366B2 (en) * 2012-08-02 2016-06-29 株式会社富士通マーケティング Unit price setting device, unit price setting method, and unit price setting program
JP5918116B2 (en) * 2012-12-13 2016-05-18 株式会社日立製作所 Retroactive unit price correction system and method
JP2016170777A (en) * 2015-03-12 2016-09-23 株式会社オービック Selling information device, amount retroaction method and amount retroaction program
JP6409888B2 (en) * 2017-02-01 2018-10-24 富士通株式会社 Aggregation device and aggregation program
JP6923408B2 (en) * 2017-09-27 2021-08-18 株式会社オービック Retroactive unit price correction device, retroactive unit price correction method, and retroactive unit price correction program
JP7336003B2 (en) 2018-09-04 2023-08-30 株式会社オービック Unit Price Retroactive Processing Device, Unit Price Retroactive Processing Method and Unit Price Retroactive Processing Program
JP7092622B2 (en) * 2018-09-04 2022-06-28 株式会社オービック Unit price retroactive processing device, unit price retroactive processing method and unit price retroactive processing program
CN111680983A (en) * 2020-06-15 2020-09-18 山东理工职业学院 Automatic accounting document generating device for database
JP7316710B1 (en) 2022-09-30 2023-07-28 株式会社スカイダイニング Accounting control device and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11184940A (en) * 1997-12-20 1999-07-09 Ricoh Co Ltd Slip processor and storage medium
JP2001222666A (en) * 2000-02-08 2001-08-17 Ricoh Co Ltd System and method for charging management, and computer-readable recording medium with program making computer implement the method recorded thereon
JP2006277421A (en) * 2005-03-30 2006-10-12 Ul Systems Inc Slip information exchange device and slip information exchange method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11184940A (en) * 1997-12-20 1999-07-09 Ricoh Co Ltd Slip processor and storage medium
JP2001222666A (en) * 2000-02-08 2001-08-17 Ricoh Co Ltd System and method for charging management, and computer-readable recording medium with program making computer implement the method recorded thereon
JP2006277421A (en) * 2005-03-30 2006-10-12 Ul Systems Inc Slip information exchange device and slip information exchange method

Also Published As

Publication number Publication date
JP2008181236A (en) 2008-08-07

Similar Documents

Publication Publication Date Title
JP4638450B2 (en) Transaction apparatus, slip generation method, and computer program
US7188137B2 (en) System and method for distributing advertisements to a plurality of users based upon advertisement user attributes and advertisement provider attributes
TW565773B (en) Access charge server, access charge method, and recording medium
JP5687791B1 (en) Coupon management system and coupon management program
JP5686663B2 (en) Tax-free processing system and method
JP5686664B2 (en) Tax-free processing system and method
JP5542236B1 (en) Coupon management system and coupon management program
KR20190069382A (en) Systems, devices, and methods for capture and management of point-of-sale transaction-related data
JP2014225217A (en) Proxy settlement server and settlement system
JP5719414B2 (en) After-service management system, server, method, and program
US20140278902A1 (en) Return Processing Systems And Methods For A Price Comparison System
JP6329111B2 (en) Product data processing apparatus and program
JP7440109B2 (en) Business management system
JP2001265997A (en) Advertisement data operating system, its program recording medium and transmitting medium
US11593799B2 (en) Message-less B2B transaction processing
JP6690037B2 (en) Sales data processor, program and electronic receipt system
JP4077547B2 (en) Reward point management method
JP2018045446A (en) Settlement system, method and program
US20080288340A1 (en) System and method for providing a pre-paid rebate card
JP7280060B2 (en) Batch payment management server, payment information generation method and program
JP2018120626A (en) Commodity data processing device and program
JP2019197446A (en) Coupon issuing system
JP2001265998A (en) Sales data processor and its program recording medium
JP7415465B2 (en) Information processing device, information processing method, program and information processing system
WO2022013990A1 (en) Voucher management device, voucher management method, and program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100615

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100819

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: 20101026

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101125

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131203

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4638450

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250