JP2008181406A - Replenishment article ejection device, method, and computer program - Google Patents

Replenishment article ejection device, method, and computer program Download PDF

Info

Publication number
JP2008181406A
JP2008181406A JP2007015216A JP2007015216A JP2008181406A JP 2008181406 A JP2008181406 A JP 2008181406A JP 2007015216 A JP2007015216 A JP 2007015216A JP 2007015216 A JP2007015216 A JP 2007015216A JP 2008181406 A JP2008181406 A JP 2008181406A
Authority
JP
Japan
Prior art keywords
replenishment
information
price
slip
date
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
JP2007015216A
Other languages
Japanese (ja)
Other versions
JP4717838B2 (en
Inventor
Kazunori Miyata
和典 宮田
Kazuhisa Iwamoto
和久 岩本
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 JP2007015216A priority Critical patent/JP4717838B2/en
Publication of JP2008181406A publication Critical patent/JP2008181406A/en
Application granted granted Critical
Publication of JP4717838B2 publication Critical patent/JP4717838B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To dispense ordered merchandise at a price in delivery. <P>SOLUTION: A replenishment article dispenser stores the identification information of merchandise replenished as an inventory, replenishment information showing the replenishment date and available quantity of the replenished merchandise and price information showing the correspondence between the replenishment date and the price of the merchandise. The replenishment article dispenser receives the input of the identification information and order reception quantity of the merchandise whose order has been received according to the registration data of an estimated order reception slip, and retrieves replenishment information based on the identification information of the merchandise whose input has been received, and selects the replenishment merchandise to be dispensed until the total of the quantity of the dispensed merchandise reaches the order reception quantity in the ascending order of the replenishment date. Then, the information of the price corresponding to the replenishment date of the selected replenishment merchandise to be dispensed is read from the price information, and sales order reception slip data for dispensing the merchandise are generated by using each of prices read according to the replenishment dates of the replenishment merchandise to be dispensed whose replenishment dates are different. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、補充品払出装置及び方法、ならびに、コンピュータプログラムに関する。   The present invention relates to a replenishment item dispensing apparatus and method, and a computer program.

従来、製造メーカなどから納入された商品を顧客へ払い出す時には、その商品の払い出し時点における商品価格を適用していた。しかし、一般的に商品の価格は時間が経過するにつれて価格は下がっていく傾向がある。そのため、顧客から商品納入指示を受けて納入された商品を払い出すときなどには、その顧客から払い出し指示があった時点ではなく、商品が納入された時点での価格を適用したいとの要望があった。   Conventionally, when a product delivered from a manufacturer or the like is delivered to a customer, the product price at the time of delivery of the product is applied. However, in general, the price of a product tends to decrease as time passes. For this reason, when a product delivered in response to a product delivery instruction from a customer is requested, there is a request to apply the price at the time the product is delivered, not at the time when the customer issues a delivery instruction. there were.

一方、特許文献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

上記の特許文献では、販売時期における価格を用いて請求額を計算したり、既購入者への還元額を算出したりすることは行っているが、1つの払出指示によって払い出した商品が異なる時期に補充され、かつ、補充時期によって商品価格が異なる場合、その商品の補充時期における価格を用いて商品を払い出すことは行っていない。   In the above-mentioned patent document, the invoice amount is calculated using the price at the time of sale, or the return amount to the already purchased person is calculated, but the product paid out by one payout instruction is different If the product price varies depending on the replenishment time, the product is not paid out using the price at the replenishment time of the product.

本発明は、このような事情に鑑みてなされたものであり、商品が納入された時点での価格を適用して受注した商品を払い出すことができる補充品払出装置及び方法、ならびに、コンピュータプログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, and a replenishment item dispensing apparatus and method, and a computer program, which can dispense an ordered product by applying a price at the time when the product is delivered. The purpose is to provide.

上記した課題を解決するために本発明は、在庫として補充した商品の識別情報、当該補充商品の補充日及び払出可能数量を示す補充情報、ならびに、補充日と商品の価格との対応付けを示す価格情報を記憶する記憶手段(5、5a)と、受注した商品の識別情報及び受注数量の情報の入力を受ける入力手段(3)と、前記入力手段(3)が入力を受けた商品の識別情報により前記補充情報を検索し、補充日が古い順に、払出した当該商品の数量の合計が前記受注数量に達するまで、払出対象の補充商品を選択する払出対象選択手段(44)と、前記払出対象選択手段(44)が選択した払出対象の補充商品の補充日に対応した価格の情報を前記価格情報から読み出す価格取得手段(45)と、補充日の異なる払出対象の補充商品について、前記価格取得手段(45)が当該補充商品の補充日に対応して読み出した価格をそれぞれ用いて商品を払い出すための伝票データを生成する伝票生成手段(46、49)と、を備えることを特徴とする補充品払出装置(1、1a)である。   In order to solve the above-described problems, the present invention shows identification information of a product replenished as stock, replenishment information indicating a replenishment date and a payable quantity of the replenished product, and correspondence between the replenishment date and the price of the product Storage means (5, 5a) for storing price information, input means (3) for receiving identification information of ordered products and order quantity information, and identification of products received by the input means (3) The replenishment information is searched by information, and the replenishment date selection means (44) for selecting the replenishment product to be dispensed until the total quantity of the commodities dispensed reaches the order quantity in order from the oldest replenishment date, The price acquisition means (45) that reads from the price information the price information corresponding to the replenishment date of the replenishment product to be dispensed selected by the object selection means (44), The price acquisition means (45) includes slip generation means (46, 49) for generating slip data for paying out the goods using the prices read in correspondence with the replenishment date of the supplementary goods. The replenishment item dispensing device (1, 1a).

また、本発明は、上述する補充品払出装置(1、1a)であって、前記伝票生成手段(46、49)は、払出対象の補充商品の数量及びその価格の情報を含んだ伝票データを、前記価格取得手段(45)が読み出した価格が同じ補充商品毎に生成する、ことを特徴とする。   Further, the present invention is the above-described supplement product dispensing device (1, 1a), wherein the slip generation means (46, 49) stores slip data including information on the quantity and price of supplement products to be paid out. The price read by the price acquisition means (45) is generated for each supplement product having the same price.

また、本発明は、上述する補充品払出装置(1、1a)であって、前記伝票生成手段(46、49)は、補充日と当該補充日に補充された払出対象の補充商品の数量との情報を示す明細データを含んだ伝票データを生成する、ことを特徴とする。   Further, the present invention is the above-described replenishment item dispensing device (1, 1a), wherein the slip generation means (46, 49) includes a replenishment date and a quantity of replenishment items to be dispensed replenished on the replenishment date. The slip data including the detailed data indicating the information is generated.

また、本発明は、上述する補充品払出装置(1、1a)であって、前記補充情報は、取引先の情報をさらに含み、前記入力手段(3)は、さらに取引先の情報の入力を受け、前記払出対象選択手段(44)は、前記入力手段(3)が入力を受けた商品の識別情報及び取引先の情報により前記補充情報を検索し、在庫数量の合計が前記受注数量に達するまで補充日が古い順に払出対象の補充商品を選択する、ことを特徴とする。   Further, the present invention is the above-described replenishment item dispensing device (1, 1a), wherein the replenishment information further includes business partner information, and the input means (3) further inputs business partner information. Upon receipt, the payout object selection means (44) searches the replenishment information based on the product identification information and the supplier information received by the input means (3), and the total stock quantity reaches the order quantity. The replenishment items to be paid out are selected in the order from the oldest replenishment date until.

また、本発明は、上述する補充品払出装置(1,1a)であって、前記伝票生成手段(46、49)は、伝票データとして販売用の受注伝票データまたは出荷伝票データを生成する、ことを特徴とする。   Also, the present invention is the above-described replenishment item dispensing device (1, 1a), wherein the slip generation means (46, 49) generates sales order slip data or shipping slip data as slip data. It is characterized by.

また、本発明は、補充品払出装置(1、1a)に用いられる補充品払出方法であって、前記補充品払出装置(1、1a)は、在庫として補充した商品の識別情報、当該補充商品の補充日及び払出可能数量を示す補充情報、ならびに、補充日と商品の価格との対応付けを示す価格情報を記憶する記憶手段(5、5a)を備えており、前記補充品払出装置(1、1a)において、入力手段(3)が、受注した商品の識別情報及び受注数量の情報の入力を受ける過程(S210、S310)と、払出対象選択手段(44)が、前記入力手段(3)によって入力を受けた商品の識別情報により、前記補充情報を検索し、補充日が古い順に、払出した当該商品の数量の合計が前記受注数量に達するまで、払出対象の補充商品を選択する過程(S230、S330)と、価格取得手段(45)が、前記払出対象選択手段(44)により選択された払出対象の補充商品の補充日に対応した価格の情報を前記価格情報から読み出す過程(S240、S340)と、伝票生成手段(46、49)が、補充日の異なる払出対象の補充商品について、前記価格取得手段(45)により当該補充商品の補充日に対応して読み出された価格をそれぞれ用いて商品を払い出すための伝票データを生成する過程(S250〜S280、S350〜S380)と、を有することを特徴とする補充品払出方法である。   The present invention also relates to a replenishment item dispensing method used for the replenishment item dispensing device (1, 1a), wherein the replenishment item dispensing device (1, 1a) includes identification information of a commodity replenished as inventory, the replenishment item Storage means (5, 5a) for storing replenishment information indicating the replenishment date and the quantity that can be dispensed, and price information indicating the association between the replenishment date and the price of the product, and the replenishment item dispensing device (1 1a), the input means (3) receives the input of the identification information of the ordered product and the order quantity information (S210, S310), and the payout target selection means (44) is the input means (3). The process of searching for the replenishment information based on the identification information of the product received by the step of selecting the replenishment product to be dispensed until the total quantity of the dispensed product reaches the order quantity in order from the oldest replenishment date ( S230, 330), and the price acquisition means (45) reads from the price information price information corresponding to the replenishment date of the replenishment item to be paid out selected by the payout target selection means (44) (S240, S340). The slip generation means (46, 49) uses the prices read out by the price acquisition means (45) corresponding to the replenishment date of the replenishment product for the replenishment products to be paid out with different replenishment dates. A method of generating slip data for paying out a product (S250 to S280, S350 to S380).

また、本発明は、補充品払出装置(1、1a)として用いられるコンピュータを、在庫として補充した商品の識別情報、当該補充商品の補充日及び払出可能数量を示す補充情報、ならびに、補充日と商品の価格との対応付けを示す価格情報を記憶する記憶手段(5、5a)、受注した商品の識別情報及び受注数量の情報の入力を受ける入力手段(3)、前記入力手段(3)が入力を受けた商品の識別情報により前記補充情報を検索し、補充日が古い順に、払出した当該商品の数量の合計が前記受注数量に達するまで、払出対象の補充商品を選択する払出対象選択手段(44)、前記払出対象選択手段(44)が選択した払出対象の補充商品の補充日に対応した価格の情報を前記価格情報から読み出す価格取得手段(45)、補充日の異なる払出対象の補充商品について、前記価格取得手段(45)が当該補充商品の補充日に対応して読み出した価格をそれぞれ用いて商品を払い出すための伝票データを生成する伝票生成手段(46、49)、として機能させることを特徴とするコンピュータプログラムである。
なお、本欄において参照している「(符号)」は、後述する欄(発明を実施するための最良の形態)において対応する構成を例示するのみで、何ら特許請求の範囲の各請求項の解釈を限定するものではない。
Further, the present invention provides a computer used as the supplementary item dispensing device (1, 1a), the identification information of the commodity supplemented as inventory, the supplementary information indicating the supplementary date and the quantity that can be dispensed, and the supplementary date. Storage means (5, 5a) for storing price information indicating the correspondence with the price of the product, input means (3) for receiving the input of the identification information of the ordered product and information on the order quantity, The replenishment information selection means for retrieving the replenishment information from the input product identification information and selecting the replenishment product to be dispensed until the total quantity of the dispensed products reaches the order quantity in order of oldest replenishment date (44), price acquisition means (45) for reading price information corresponding to the replenishment date of the replenishment item to be dispensed selected by the payout object selection means (44) from the price information; A slip generation means (46, 49) for generating slip data for paying out a product using the price read by the price acquisition means (45) corresponding to the replenishment date of the supplementary product for each target supplementary product. , 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.

上記発明によれば、在庫商品の価格が入庫された時期によって異なる場合、商品を販売するときには、その商品が入庫されたときの価格を用いて販売を行うための伝票、例えば、販売受注伝票や出荷伝票などを作成することができる。このとき、どの取引先向けに入庫された商品であるかを管理し、納入指示を受けた取引先に対してのみ、指示された時期に在庫商品を払出すこともできる。また、販売受注伝票や出荷伝票などの伝票作成の際、補充時期における価格が同じものをまとめて複数の伝票に分けて作成したり、伝票内で補充日毎に明細を作成することもできる。   According to the above invention, when the price of a stock product varies depending on when it is received, when the product is sold, a slip for selling using the price when the product is received, such as a sales order slip, Shipping slips can be created. At this time, it is possible to manage which merchant the product is received for, and pay out the stock product at the instructed time only to the business partner who has received the delivery instruction. Also, when creating a voucher such as a sales order voucher or a shipping voucher, the same price at the time of replenishment can be created and divided into a plurality of vouchers, or details can be created for each replenishment date in the voucher.

以下、図面を参照し、この発明の実施形態について説明する。   Embodiments of the present invention will be described below with reference to the drawings.

[第1の実施形態]
まず、本発明の第1の実施形態を説明する。
図1は、本実施形態による補充品払出装置1の処理概要を示す図である。
顧客から在庫なしの商品Aについて600個の納入指示があり、4月1日に100個、4月5日に200個が価格100円として補充され、4月7日に300個が価格90円として補充されたとする。
そして、4月10日に500個の商品Aの払出指示を行う見積り受注伝票が発生した場合、補充品払出装置1は、日付の古い納入品の在庫から順に払出しを行う。これにより、補充品払出装置1は、4月1日に補充された在庫から100個、4月5日に補充された在庫から200個を補充時の価格100円で払出す販売受注伝票と、4月7日に補充された在庫から200個を補充時の価格90円で払出す伝票との2つの販売受注伝票を生成する。なお、4月1日に補充された100個と4月5日に補充された200個は、1つの販売受注伝票内での異なる明細行となる。また、出荷伝票及び請求伝票は、販売受注伝票それぞれに対応して生成される。
[First Embodiment]
First, a first embodiment of the present invention will be described.
FIG. 1 is a diagram showing an outline of processing of the replenishment item dispensing apparatus 1 according to the present embodiment.
There is an instruction for delivery of 600 items out of stock from the customer. 100 items will be replenished on April 1st and 200 items will be replenished on April 5th with a price of 100 yen. Assuming that
When an estimated order slip for issuing an instruction to pay out 500 products A is generated on April 10, the replenishment item payout device 1 pays out in order starting from the stock of the delivery items with the oldest date. As a result, the replenishment item dispensing apparatus 1 has a sales order slip for paying 100 pieces from the stock replenished on April 1 and 200 pieces from the stock replenished on April 5 at a replenishment price of 100 yen, Two sales order slips are generated: a slip that pays out 200 pieces from the stock replenished on April 7 at a replenishment price of 90 yen. In addition, 100 pieces supplemented on April 1 and 200 pieces supplemented on April 5 are different detail lines in one sales order slip. The shipping slip and billing slip are generated corresponding to each sales order slip.

図2は、本実施形態による補充品払出装置1の構成を示すブロック図であり、本発明と関係する機能ブロックのみ抽出して示してある。補充品払出装置1は、制御手段2、入力手段3、伝票処理手段4、記憶手段5、出力手段6を備える。
制御手段2は、CPU(central processing unit)及び各種メモリから構成され、各部の制御や、データの一時的な格納や、データの転送等を行う。入力手段3は、キーボードやマウスなどであり、操作者が入力した情報を取得する。あるいは、記録媒体から情報を読み取ったり、ネットワークを介して接続されるコンピュータ装置から情報の入力を受けることでもよい。出力手段6は、ディスプレイなどに画像を表示したり、プリンタなどにより情報を印刷したりする。あるいは、ネットワークを介して接続されるコンピュータ装置へ情報を送信することでもよい。記憶手段5は、データベースであり、補充伝票データ、見積り受注伝票データ、販売受注伝票データなどの各種伝票データや、商品の価格を示すデータである価格マスタ、補充された在庫商品を示すデータである補充情報などを記憶する。
FIG. 2 is a block diagram showing the configuration of the replenishment item dispensing apparatus 1 according to the present embodiment, in which only functional blocks related to the present invention are extracted and shown. The replenishment item dispensing apparatus 1 includes a control unit 2, an input unit 3, a slip processing unit 4, a storage unit 5, and an output unit 6.
The control means 2 is composed of a CPU (central processing unit) 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 6 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 is various slip data such as supplementary slip data, estimated order slip data, and sales order slip data, a price master that is data indicating the price of a product, and data that indicates a supplemented stock product. Store supplementary information.

伝票処理手段4は、各種伝票の生成や登録を行い、補充伝票処理手段41、見積り受注伝票処理手段42、販売受注伝票処理手段43を備える。
補充伝票処理手段41は、補充伝票データの登録及び補充情報の更新を行う。見積り受注伝票処理手段42は、見積り受注伝票データの生成、登録、出力を行う。販売受注伝票処理手段43は、販売受注伝票データの生成、登録、出力を行う。販売受注伝票処理手段43は、払出対象選択手段44、価格取得手段45、及び、伝票生成手段46を備える。払出対象選択手段44は、受注に対して払出対象となる補充商品を選択する。価格取得手段45は、払出対象の補充商品が補充されたときの価格を取得する。伝票生成手段46は、価格別の販売受注伝票データを作成する。
The slip processing means 4 generates and registers various slips, and includes a supplementary slip processing means 41, an estimated order slip processing means 42, and a sales order slip processing means 43.
The supplement slip processing means 41 registers supplement slip data and updates supplement information. The estimated order slip processing means 42 generates, registers, and outputs estimated order slip data. The sales order slip processing means 43 generates, registers, and outputs sales order slip data. The sales order slip processing means 43 includes a payout object selection means 44, a price acquisition means 45, and a slip generation means 46. The payout object selection means 44 selects the replenishment product that is the payout object for the received order. The price acquisition unit 45 acquires the price when the supplementary product to be paid out is supplemented. The slip generation means 46 creates sales order slip data by price.

次に、本実施形態による補充品払出装置1に用いられるデータについて説明する。
図3は、本実施形態による補充伝票データのデータ構成を示す図である。補充伝票データは、企業、補充伝票番号、明細の情報を含む。企業の情報は、補充された商品がどの企業向けであるかの取引先を示す。補充伝票番号の情報は、補充伝票を一意に特定する。明細の情報は、補充商品の品目、補充数量、補充日の情報を示し、適宜繰り返されうる。
Next, data used for the replenishment item dispensing apparatus 1 according to the present embodiment will be described.
FIG. 3 is a diagram showing a data configuration of supplementary slip data according to the present embodiment. The supplementary slip data includes information on the company, supplementary slip number, and details. The company information indicates a business partner to whom the replenished product is directed. The information on the supplementary slip number uniquely identifies the supplementary slip. The information of the details indicates information of the supplementary product, the supplementary quantity, and the supplementary date, and can be repeated as appropriate.

図4は、本実施形態による見積り受注伝票データのデータ構成を示す図である。見積り受注伝票データは、企業、受注伝票番号、合計価格、明細の情報を含む。企業の情報は、どの企業からの受注であるかの取引先を示す。受注伝票番号の情報は、見積り受注伝票を一意に特定する。合計価格の情報は、受注時の商品価格(単価)を使用したときの参考合計価格を示す。明細の情報は、受注した商品の品目、受注数量、受注時の価格、払出日の情報を示し、適宜繰り返されうる。   FIG. 4 is a diagram showing a data configuration of estimated order slip data according to the present embodiment. The estimated order slip data includes information on the company, order slip number, total price, and details. The company information indicates a business partner from which company the order is received. The order slip number information uniquely identifies the estimated order slip. The total price information indicates a reference total price when the product price (unit price) at the time of ordering is used. The information of the details indicates the item of the ordered product, the order quantity, the price at the time of the order, and the payout date information, and can be repeated as appropriate.

図5は、本実施形態による販売受注伝票データのデータ構成を示す図である。販売受注伝票データは、企業、受注伝票番号、見積り番号、合計価格、明細の情報を含む。企業の情報は、どの企業からの受注であるかの取引先を示す。受注伝票番号の情報は、販売受注伝票を一意に特定する。見積り番号の情報は、どの見積り受注伝票に対して当該販売受注伝票が発生したかを一意に特定し、見積り受注伝票の受注伝票番号を用いることができる。合計価格の情報は、補充時の商品価格を使用したときの合計価格を示し、この合計価格が実際の請求額となる。明細の情報は、払い出した商品の品目、払出数量、払出し対象の補充商品が補充されたときの商品価格、補充日及び補充伝票番号の情報を示し、適宜繰り返されうる。   FIG. 5 is a diagram showing a data configuration of sales order slip data according to the present embodiment. The sales order slip data includes company, order slip number, estimate number, total price, and item information. The company information indicates a business partner from which company the order is received. The order slip number information uniquely identifies the sales order slip. The estimate number information uniquely identifies for which estimate order slip the sales order slip has occurred, and can use the order number of the estimate order slip. The information on the total price indicates the total price when the commodity price at the time of replenishment is used, and this total price becomes the actual billing amount. The information of the details indicates information on the item of the item that has been paid out, the amount to be paid out, the price of the product when the supplementary product to be paid out is supplemented, the date of replenishment, and the supplementary slip number, and can be repeated as appropriate.

図6は、本実施形態による補充情報のデータ構成を示す図である。補充情報は、企業、品目、補充日、補充数量、払出済数量、補充伝票番号の情報を含む。企業の情報は、補充商品がどの企業向けであるかの取引先を示す。品目の情報は、補充商品の品目を示す。補充日の情報は、商品が補充された日を示す。補充数量の情報は、補充された補充製品の数量を示す。払出済数量の情報は、補充数量から取り崩して払出された数量を示す。補充伝票番号は、どの補充伝票により補充された商品であるかを特定する。   FIG. 6 is a diagram showing a data structure of supplement information according to the present embodiment. The replenishment information includes information on a company, an item, a replenishment date, a replenishment quantity, a dispensed quantity, and a replenishment slip number. The company information indicates a business partner to whom the supplementary product is directed. The item information indicates the item of the supplement product. The information on the replenishment date indicates the date on which the product is replenished. The replenishment quantity information indicates the quantity of replenished product that has been replenished. The information on the paid-out quantity indicates the quantity that has been withdrawn from the replenishment quantity. The replenishment slip number specifies which replenishment slip the product is replenished with.

図7は、本実施形態による価格マスタのデータ構成を示す図である。価格マスタは、商品毎に、補充時期と、その補充時期における当該商品の価格との対応付けを示すデータである。   FIG. 7 is a diagram showing a data configuration of the price master according to the present embodiment. The price master is data indicating the association between the replenishment time and the price of the product at the replenishment time for each product.

次に、本実施形態による補充品払出装置1の処理手順について説明する。
図8は、本実施形態による補充品払出装置1における補充伝票登録処理の処理フローを示す図である。
まず、補充品払出装置1は、入力手段3により、補充伝票登録データの入力を受ける(ステップS110)。すると、伝票処理手段4の補充伝票処理手段41は、入力された補充伝票登録データから取得した補充伝票番号の情報と、企業の情報と、品目、補充数量及び補充日の情報からなる明細の情報とから補充伝票データを生成して記憶手段5に書き込む(ステップS120)。なお、補充伝票登録データに補充伝票番号が含まれない場合、補充伝票処理手段41にて補充伝票番号を割り当てる。さらに、補充伝票処理手段41は、生成された補充伝票データから取得した企業、品目、補充日、補充数量、補充伝票番号の情報と、「0個」を設定した払出済み数量の情報とから補充情報を生成して記憶手段5に書き込む(ステップS130)。
Next, a processing procedure of the replenishment item dispensing apparatus 1 according to the present embodiment will be described.
FIG. 8 is a diagram showing a process flow of the supplement slip registration process in the supplement product dispensing apparatus 1 according to the present embodiment.
First, the replenishment item dispensing apparatus 1 receives input of replenishment slip registration data by the input means 3 (step S110). Then, the replenishment slip processing means 41 of the slip processing means 4 has information on the details including the information on the replenishment slip number acquired from the input replenishment slip registration data, the company information, the item, the replenishment quantity and the replenishment date information. Then, supplementary slip data is generated and written in the storage means 5 (step S120). If the supplementary slip registration data does not include a supplementary slip number, the supplementary slip processing means 41 assigns a supplementary slip number. Further, the replenishment slip processing means 41 replenishes from the information of the company, item, replenishment date, replenishment quantity, replenishment slip number acquired from the generated replenishment slip data, and the information of the dispensed quantity set to “0”. Information is generated and written in the storage means 5 (step S130).

図9は、本実施形態による補充品払出装置1における払出処理の処理フローを示す図である。
まず、補充品払出装置1は、入力手段3により見積り受注伝票登録データの入力を受ける(ステップS210)。見積り受注伝票処理手段42は、入力された見積り受注伝票登録データ内の各品目の情報をキーにして、当該品目の現在日における価格の情報を記憶手段5内の価格マスタから読み出すと、見積り受注伝票データを生成する。見積り受注伝票データ内の受注伝票番号、企業の情報にはそれぞれ、見積り受注伝票登録データから取得した受注伝票番号、企業の情報を設定する。なお、見積り受注伝票登録データに受注伝票番号が含まれない場合、見積り受注伝票処理手段42にて受注伝票番号を割り当てる。また、見積り受注伝票データ内の明細の情報には、見積り受注伝票登録データから取得した各品目、当該品目の受注数量及び払出日の情報と、当該品目をキーにして記憶手段5内の価格マスタから読み出した現在日における価格の情報とを設定し、見積り受注伝票データ内の合計価格の情報には、各品目について受注数量と現在日における価格とを乗算した金額の合計を設定する。見積り受注伝票処理手段42は、生成した見積り受注伝票データを基に見積り受注伝票を印刷するとともに、当該見積り受注伝票データを記憶手段5に書き込む(ステップS220)。
FIG. 9 is a diagram showing a processing flow of the payout process in the supplement supply device 1 according to the present embodiment.
First, the replenishment item dispensing apparatus 1 receives input of estimated order slip registration data by the input means 3 (step S210). The estimated order slip processing means 42 reads the price information of the current date of the item from the price master in the storage means 5 by using the information of each item in the input estimated order slip registration data as a key. Generate slip data. The order slip number and the company information acquired from the estimated order slip registration data are respectively set in the order slip number and the company information in the estimated order slip data. When the estimated order slip registration data does not include the order slip number, the estimated order slip processing means 42 assigns the order slip number. Further, the item information in the estimated order slip data includes each item acquired from the estimated order slip registration data, information on the order quantity and delivery date of the item, and the price master in the storage means 5 using the item as a key. The price information as of the current date read from is set, and the total price information in the estimated order slip data is set to the sum of the amounts obtained by multiplying the order quantity and the price as of the current date for each item. The estimated order slip processing means 42 prints the estimated order slip based on the generated estimated order slip data and writes the estimated order slip data in the storage means 5 (step S220).

例えば、入力された見積り受注伝票登録データに、企業「X社」、品目「商品A」、受注数量「500個」、払出日「4/10」の情報が含まれており、見積り受注伝票処理手段42は、受注伝票番号「201」を割り当てたとする。さらに、見積り受注伝票処理手段42は、品目「商品A」と現在日「4/9」とをキーにして価格マスタ(図7参照)から価格「90円」を読み出す。この場合、見積り受注伝票処理手段42は、企業「X社」と、受注伝票番号「201」と、品目「商品A」、受注数量「500個」、価格「90円」及び払出日「4/10」からなる明細と、合計価格「4500円」(=受注数量「500個」×価格「90円」)とが設定された見積り受注伝票データ(図4参照)を生成する。   For example, the input estimate order slip registration data includes information on the company “Company X”, the item “product A”, the order quantity “500”, and the withdrawal date “4/10”. Assume that the means 42 assigns the order slip number “201”. Further, the estimated order slip processing means 42 reads the price “90 yen” from the price master (see FIG. 7) using the item “product A” and the current date “4/9” as keys. In this case, the estimated order slip processing means 42 has the company “Company X”, the order slip number “201”, the item “product A”, the order quantity “500”, the price “90 yen”, and the withdrawal date “4 / Estimated order slip data (see FIG. 4) in which the details consisting of “10” and the total price “4500 yen” (= order quantity “500 pieces” × price “90 yen”) are set.

次に、販売受注伝票処理手段43の払出対象選択手段44は、見積り受注伝票データ内の明細の情報で示される各品目について以下のように払出処理を行う(ステップS230)。つまり販売受注伝票処理手段43は、品目の情報をキーにして記憶手段5内の補充情報を検索し、補充数量が払出数量に達していない補充情報の中から最も古い補充日のものを選択する。払出対象選択手段44は、選択した補充情報で示される在庫数量(払出されていない数量)と、見積り受注伝票データ内の明細の情報に含まれる当該品目の受注数量とを比較する。なお、在庫数量は、補充数量から払出済数量を減算することで算出される。在庫数量が受注数量と同じか多い場合は、特定した補充情報内の払出済数量の情報を、現在の払出済数量に受注数量を加算した数量により書き換える。
一方、在庫数量が受注数量より少ない場合は、特定した補充情報内の払出済数量を補充数量と同じ数量により書き換えて、在庫数量を全て払出す。そして、再び、補充数量が払出数量に達していない補充情報の中から最も古い補充日のものを選択し、まだ払い出しが行われていない受注数量分について在庫を払い出すことを繰り返すことにより、受注数量に達するまで古い補充日から順に補充商品を払出して払出済数量を更新する。
Next, the payout object selection means 44 of the sales order slip processing means 43 performs payout processing as follows for each item indicated by the detailed information in the estimated order slip data (step S230). That is, the sales order slip processing means 43 searches the replenishment information in the storage means 5 using the item information as a key, and selects the replenishment information whose replenishment quantity has not reached the dispensed quantity and having the oldest replenishment date. . The payout object selection means 44 compares the stock quantity (the quantity not paid out) indicated by the selected replenishment information with the order quantity of the item included in the detailed information in the estimated order slip data. The inventory quantity is calculated by subtracting the paid-out quantity from the replenishment quantity. When the stock quantity is equal to or larger than the order quantity, the information on the dispensed quantity in the specified replenishment information is rewritten with the quantity obtained by adding the order quantity to the current dispensed quantity.
On the other hand, if the inventory quantity is smaller than the order quantity, the dispensed quantity in the specified supplement information is rewritten with the same quantity as the supplement quantity, and the entire inventory quantity is dispensed. Then, by selecting the oldest replenishment date from the replenishment information whose replenishment quantity has not reached the dispensed quantity, and repeating the stock removal for the ordered quantity that has not yet been dispensed, Until the quantity is reached, the replenished goods are dispensed in order from the old replenishment date to update the dispensed quantity.

例えば、商品Aの受注数量が「500個」であり、商品Aの補充数量が払出数量に達していない補充情報(図6参照)のうち、最も古い補充日が「4/1」、このときの補充数量が「100個」、払出済数量が「0個」であったとする。この場合、受注数量「500個」と、補充日「4/1」の在庫数量「100個」(=補充数量「100個」−払出済数量「0個」)を比較すると、在庫数量は受注数量より少ない。よって、払出対象選択手段44は、補充日「4/1」に対応した払出済数量を、補充数量と同じ「100個」に書き換える。これにより、補充日「4/1」の在庫商品「100個」全てが払出され、まだ払出しが行われていない受注数量は「400個」となる。   For example, the order quantity of the product A is “500”, and the replenishment date (see FIG. 6) in which the replenishment quantity of the product A has not reached the payout quantity is “4/1”. Suppose that the replenishment quantity is “100” and the paid-out quantity is “0”. In this case, when the order quantity “500 pieces” is compared with the inventory quantity “100 pieces” on the replenishment date “4/1” (= replenishment quantity “100 pieces” −dispensed quantity “0 pieces”), Less than quantity. Therefore, the payout object selection means 44 rewrites the paid-out quantity corresponding to the replenishment date “4/1” to “100” which is the same as the replenishment quantity. As a result, all the stock items “100” on the replenishment date “4/1” are paid out, and the order quantity not yet paid out becomes “400”.

続いて、払出対象選択手段44は、再び、補充数量が払出数量に達していない補充情報の中から最も古い補充日のものを選択する。払出対象選択手段44の選択した補充情報の補充日が「4/5」、このときの補充数量が「200個」、払出済数量が「0個」であったとする。この場合、まだ払出しが行われていない受注数量「400個」と、補充日「4/5」の在庫数量「200個」(=補充数量「200個」−払出済数量「0個」)を比較すると、在庫数量は受注数量より少ない。よって、払出対象選択手段44は、補充日「4/5」に対応した払出済数量を、補充数量と同じ「200個」に書き換える。これにより、補充日「4/5」の在庫商品「200個」全てが払出され、まだ払出しが行われていない受注数量は「200個」となる。   Subsequently, the payout object selection means 44 again selects the one with the oldest replenishment date from the replenishment information whose replenishment quantity has not reached the payout quantity. Assume that the replenishment date of the replenishment information selected by the payout object selection means 44 is “4/5”, the replenishment quantity at this time is “200”, and the dispensed quantity is “0”. In this case, the order quantity “400” that has not been paid out, and the inventory quantity “200” on the replenishment date “4/5” (= replenishment quantity “200” −paid off quantity “0”) are used. By comparison, the inventory quantity is less than the order quantity. Therefore, the payout object selection means 44 rewrites the payout quantity corresponding to the replenishment date “4/5” to “200” which is the same as the replenishment quantity. As a result, all the stock items “200” on the replenishment date “4/5” are paid out, and the order quantity not yet paid out becomes “200”.

さらに、払出対象選択手段44は、補充数量が払出数量に達していない補充情報の中から最も古い補充日のものを選択する。払出対象選択手段44の選択した補充情報の補充日が「4/7」、このときの補充数量が「300個」、払出済数量が「0個」であったとする。この場合、まだ払出しが行われていない受注数量「200個」と、補充日「4/7」の在庫数量「300個」(=補充数量「300個」−払出済数量「0個」)を比較すると、在庫数量は受注数量より多い。よって、払出対象選択手段44は、補充日「4/7」に対応した払出済数量を、現在の払出済数量「0個」にまだ払出しが行われていない受注数量「200個」を加算した数量「200個」に書き換える。これにより、補充日「4/7」の在庫商品のうち「200個」が払出され、全ての受注数量についての払出しが完了する。   Further, the payout object selection means 44 selects the replenishment date with the oldest replenishment date from the replenishment information whose replenishment quantity has not reached the payout quantity. Assume that the replenishment date of the replenishment information selected by the payout object selection means 44 is “4/7”, the replenishment quantity at this time is “300”, and the dispensed quantity is “0”. In this case, the order quantity “200” that has not yet been paid out and the inventory quantity “300” on the replenishment date “4/7” (= replenishment quantity “300” −dispensed quantity “0”) In comparison, the inventory quantity is larger than the order quantity. Therefore, the payout target selection means 44 adds the paid-out quantity corresponding to the replenishment date “4/7” to the current paid-out quantity “0” and the received order quantity “200” that has not yet been paid out. Rewrite the quantity to “200”. As a result, “200” of the stock items on the replenishment date “4/7” are paid out, and the payout for all received orders is completed.

価格取得手段45は、払出対象の各品目について、品目と、ステップS230において払出対象として選択した各補充情報内の補充日とをキーにして、払出対象の補充商品の補充日における価格を記憶手段5内の価格マスタからから読み出す(ステップS240)。上記の例では、商品Aについて、価格マスタ(図7参照)から、補充日「4/1」が含まれる期間の価格「100円」、補充日「4/5」が含まれる期間の価格「100円」、補充日「4/7」が含まれる期間の価格「90円」が読み出される。   For each item to be paid out, the price acquisition means 45 stores the price on the replenishment date of the replenishment item to be dispensed, using the item and the replenishment date in each replenishment information selected as the payout object in step S230 as a key. 5 is read from the price master within 5 (step S240). In the above example, for the product A, the price “100 yen” for the period including the replenishment date “4/1” and the price “for the period including the replenishment date“ 4/5 ”from the price master (see FIG. 7)“ The price “90 yen” for the period including “100 yen” and the replenishment date “4/7” is read out.

伝票生成手段46は、新たな販売受注伝票データを作成する(ステップS250)。この販売受注伝票データには、入力手段3により入力されるか、伝票生成手段46にて新たに割り当てた伝票番号を設定した受注伝票番号と、ステップS220において生成した見積り受注伝票データの受注伝票番号を設定した見積り番号と、当該見積り受注伝票データから取得した企業の情報とが含まれる。   The slip generation means 46 creates new sales order slip data (step S250). In this sales order slip data, the order slip number entered by the input means 3 or newly assigned by the slip generation means 46, and the order slip number of the estimated order slip data generated in step S220. And the information of the company acquired from the estimated order slip data.

伝票生成手段46は、まだ販売受注伝票データに明細として追加していない払出し対象の補充商品の中で、最も古い補充日の補充商品についての明細の情報を、ステップS250において生成した販売受注伝票データに追加する(ステップS260)。続いて、伝票生成手段46は、まだ明細として追加されていない払出対象の補充商品があるかにより、販売受注伝票データ作成終了かを判断する(ステップS270)。まだ明細として追加されていない払出対象の補充商品があるため、販売受注伝票データの作成が未終了であると判断した場合(ステップS270:NO)、まだ明細として追加していない中で最も古い補充日に対応した補充商品の価格が、現在作成中の販売受注伝票データに最後に追加した当該補充商品の価格と異なるかを判断する(ステップS280)。同じ価格であるか、あるいは、現在作成中の販売受注伝票データへの当該補充商品についての最初の明細の情報の登録である場合(ステップS280:NO)、ステップS260へ戻り、明細として追加していない払出し対象の補充商品の中で最も古い補充日の補充商品についての明細の情報を、現在作成中の販売受注伝票データへ追加する。一方、異なる価格の場合は(ステップS280:YES)、ステップS250へ戻り、新たな販売受注伝票データを作成し、まだ販売受注伝票データに明細として追加していない払出し対象の補充商品の中で、最も古い補充日の補充商品についての明細の情報を、この新たに生成した販売受注伝票データに追加する。   The slip generation means 46 generates the sales order slip data generated in step S250 for the details of the supplementary products with the oldest replenishment date among the supplementary products to be dispensed that have not yet been added to the sales order slip data. (Step S260). Subsequently, the slip generation means 46 determines whether or not the sales order slip data creation is completed depending on whether there is a supplementary product to be paid out that has not yet been added as a detail (step S270). Since there is a supplementary product to be withdrawn that has not yet been added as a detail, if it is determined that the creation of sales order slip data has not been completed (step S270: NO), the oldest supplement that has not yet been added as a detail It is determined whether the price of the supplementary product corresponding to the day is different from the price of the supplementary product added last to the sales order slip data currently being created (step S280). If the prices are the same or if the information of the first item about the supplementary product is registered in the sales order slip data currently being created (step S280: NO), the process returns to step S260 and added as a item. The information on the details of the replenishment product with the oldest replenishment date among the replenishment products not to be paid out is added to the sales order slip data currently being created. On the other hand, if the price is different (step S280: YES), the process returns to step S250 to create new sales order slip data, and among the replenishment products to be paid out that have not yet been added to the sales order slip data, Details of the replenishment product with the oldest replenishment date are added to the newly generated sales order slip data.

上記を繰り返し、伝票生成手段46が、全ての払出対象の補充製品についての明細の情報を生成したため、販売受注伝票データの作成を終了したと判断した場合(ステップS270:YES)、生成した全ての販売受注伝票データそれぞれから販売受注伝票を印刷するとともに、これら全ての販売受注伝票データを記憶手段5に記憶する(ステップS290)。   Repeating the above, when the slip generation means 46 has generated the detailed information about all the supplementary products to be paid out, and determines that the creation of the sales order slip data has been completed (step S270: YES), all the generated A sales order slip is printed from each of the sales order slip data, and all the sales order slip data is stored in the storage means 5 (step S290).

例えば、上記に示す受注伝票番号「201」の見積り受注伝票の場合、品目「商品A」の受注数量「500個」については、補充日「4/1」、価格「100円」の補充商品を「100個」、補充日「4/5」、価格「100円」の補充商品を「200個」、補充日「4/7」、価格「90円」の補充商品を「200個」払い出している。この場合、まず、伝票生成手段46は、新たに割り当てた受注伝票番号「2011」、見積り受注伝票データの受注伝票番号「201」を設定した見積り番号、当該見積り受注伝票データから取得した企業「X社」の情報が含まれる販売受注伝票データを生成する。そして、伝票生成手段46は、最も古い補充日「4/1」の補充商品についての明細の情報、すなわち、品目「商品A」、払出数量「100個」、価格「100円」、補充日「4/1」、補充伝票番号「101」からなる明細の情報を、受注伝票番号「2011」の販売受注伝票データに追加する。なお、補充伝票番号は、企業、品目、補充日に対応して記憶手段5内の補充情報から読み出したものである。   For example, in the case of the estimated order slip with the order slip number “201” shown above, for the order quantity “500” of the item “product A”, a supplement product with a replenishment date “4/1” and a price “100 yen” is used. “100”, replenishment date “4/5”, price “100 yen” replenishment product “200”, replenishment date “4/7”, price “90 yen” replenishment product “200” Yes. In this case, the slip generation unit 46 firstly sets the newly assigned order slip number “2011”, the estimate number in which the order slip number “201” of the estimated order slip data is set, and the company “X” acquired from the estimated order slip data. Sales order slip data including information on “company” is generated. Then, the slip generation means 46 provides details of the supplementary product with the oldest supplementary date “4/1”, that is, the item “Product A”, the dispensed quantity “100”, the price “100 yen”, the supplementary date “ 4/1 ”and supplementary slip number“ 101 ”are added to sales order slip data of order slip number“ 2011 ”. The replenishment slip number is read from the replenishment information in the storage means 5 corresponding to the company, item, and replenishment date.

次に、伝票生成手段46は、まだ明細として追加していない中で最も古い補充日「4/5」に対応した商品Aの価格「100円」が、作成中の販売受注伝票データに商品Aについて最後に追加した明細の情報で示される補充日「4/1」の価格「100円」と同じであるため、この補充日「4/5」の補充商品についての明細の情報、すなわち、品目「商品A」、払出数量「200個」、価格「100円」、補充日「4/5」、補充伝票番号「102」からなる明細の情報を、受注伝票番号「2011」の販売受注伝票データに追加する。   Next, the slip generation unit 46 adds the price “100 yen” of the product A corresponding to the oldest replenishment date “4/5” that has not yet been added as a detail to the sales order slip data being created. Because the price is the same as the price “100 yen” on the replenishment date “4/1” indicated by the information on the last added item, the item information on the replenishment product on the replenishment date “4/5”, that is, the item The sales order slip data of the order slip number “2011” includes the information of the item consisting of “product A”, the dispensed quantity “200 pieces”, the price “100 yen”, the replenishment date “4/5”, and the supplement slip number “102”. Add to.

続いて、伝票生成手段46は、まだ明細として追加していない中で最も古い補充日「4/7」に対応した商品Aの価格「90円」が、作成中の販売受注伝票データに商品Aについて最後に追加した明細の情報で示される補充日「4/5」の価格「100円」とは異なるため、新たな販売受注伝票データを作成すべきと判断する。そこで、伝票生成手段46は、現在作成している受注伝票番号「2011」の販売受注伝票データに合計価格「3000円」(=価格「100円」×(補充日「4/1」の払出数量「100個」+補充日「4/5」の払出数量「200個」))の情報を書き込んだ後、新たに割り当てた受注伝票番号「2012」、見積り受注伝票データの受注伝票番号「201」を設定した見積り番号、当該見積り受注伝票データから取得した企業「X社」の情報とが含まれる販売受注伝票データを生成する。そして、まだ明細として追加していない最も古い補充日「4/7」の補充商品についての明細の情報、すなわち、品目「商品A」、払出数量「200個」、価格「90円」、補充日「4/7」、補充伝票番号「103」からなる明細の情報を、受注伝票番号「2012」の販売受注伝票データに追加する。   Subsequently, the slip generation unit 46 adds the price “90 yen” of the product A corresponding to the oldest replenishment date “4/7” that has not been added as a detail to the sales order slip data being created. Because the price is different from the price “100 yen” of the replenishment date “4/5” indicated by the last added detail information, it is determined that new sales order slip data should be created. Accordingly, the slip generation means 46 adds the total price “3000 yen” (= price “100 yen” × (replenishment date “4/1”) to the sales order slip data of the order slip number “2011” that is currently created. Information of “100 pieces” + dispensed date “4/5” payout quantity “200 pieces”)), and newly assigned order slip number “2012”, estimated order slip data order slip number “201”. Sales order slip data including the estimate number for which the information “company X” is acquired from the estimated order slip data is generated. Then, information on the details of the replenishment product of the oldest replenishment date “4/7” that has not yet been added as a detail, that is, the item “product A”, the dispensed quantity “200”, the price “90 yen”, the replenishment date The information of the details including “4/7” and the supplementary slip number “103” is added to the sales order slip data of the order slip number “2012”.

伝票生成手段46は、全ての払出対象の補充製品についての明細の情報を生成したため、現在作成している受注伝票番号「2012」の見積り受注伝票データに合計価格「1800円」(=価格「90円」×(補充日「4/7」の払出数量「200個」))の情報を書き込み、販売受注伝票データ(図5参照)の作成を終了する。   Since the slip generation means 46 has generated detailed information about all the supplementary products to be paid out, the total price “1800 yen” (= price “90” is added to the estimated order slip data of the order slip number “2012” that is currently created. The information of “yen” × (payout quantity “4/7” payout quantity “200”)) is written, and the creation of sales order slip data (see FIG. 5) is terminated.

[第2の実施形態]
次に、本発明の第2の実施形態を説明する。
図10は、本実施形態による補充品払出装置1aの処理概要を示す図である。
顧客から在庫なしの商品Aについて600個の納入指示があり、4月1日に100個、4月5日に200個が価格100円として補充され、4月7日に300個が価格90円として補充されたとする。
そして、4月10日に500個の商品Aの払出指示を行う受注伝票が発生した場合、補充品払出装置1aは、日付の古い納入品の在庫から順に払出しを行う。これにより、補充品払出装置1aは、4月1日に補充された在庫から100個、4月5日に補充された在庫から200個を補充時の価格100円で払出す出荷伝票と、4月7日に補充された在庫から200個を補充時の価格90円で払出す出荷伝票との2つの出荷伝票を生成する。なお、4月1日に補充された100個と4月5日に補充された200個は、1つの出荷伝票内での異なる明細行となる。また、請求伝票は、受注伝票それぞれに対応して生成され、基となった出荷伝票内の価格を用いて金額が算出される。
[Second Embodiment]
Next, a second embodiment of the present invention will be described.
FIG. 10 is a diagram showing a processing outline of the replenishment item dispensing apparatus 1a according to the present embodiment.
There is an instruction for delivery of 600 items out of stock from the customer. 100 items will be replenished on April 1st and 200 items will be replenished on April 5th with a price of 100 yen. Assuming that
Then, when an order slip for issuing an instruction to pay out 500 products A is generated on April 10, the supplementary goods payout device 1a pays out in order from the stock of the delivered goods with the oldest date. As a result, the replenishment item dispensing device 1a pays out 100 pieces from the stock replenished on April 1 and 200 pieces from the stock replenished on April 5 at a replenishment price of 100 yen, and 4 Two shipping slips are generated including a shipping slip that pays out 200 pieces from the stock replenished on the 7th of month at a price of 90 yen at the time of replenishment. Note that 100 items replenished on April 1 and 200 items replenished on April 5 are different detail lines in one shipping slip. The billing slip is generated corresponding to each order slip, and the amount is calculated using the price in the shipping slip as a basis.

図11は、本実施形態による補充品払出装置1aの構成を示すブロック図であり、本発明と関係する機能ブロックのみ抽出して示してある。この図において、図2に示す第1の実施形態による補充品払出装置1と同一の部分には同一の符号を付し、その説明を省略する。この図に示す補充品払出装置1aが第1の実施形態による補充品払出装置1と異なる点は、伝票処理手段4の代わりに伝票処理手段4aを、記憶手段5の代わりに記憶手段5aを備えている点である。   FIG. 11 is a block diagram showing the configuration of the replenishment item dispensing apparatus 1a according to the present embodiment, in which only functional blocks related to the present invention are extracted and shown. In this figure, the same parts as those in the replenishment item dispensing apparatus 1 according to the first embodiment shown in FIG. The supplementary item dispensing apparatus 1a shown in this figure is different from the supplementary item dispensing apparatus 1 according to the first embodiment in that a slip processing unit 4a is provided instead of the slip processing unit 4 and a storage unit 5a is provided instead of the storage unit 5. It is a point.

記憶手段5aは、データベースであり、補充伝票データ、受注伝票データ、出荷伝票データなどの各種伝票データや、商品の価格を示すデータである価格マスタ、補充された在庫商品を示すデータである補充情報などを記憶する。なお、補充伝票データ、補充情報、価格マスタは、第1の実施形態と同様のデータ(図3、図6、図7参照)である。   The storage means 5a is a database, and includes various slip data such as supplement slip data, order slip data, and shipping slip data, a price master that is data indicating the price of the product, and supplement information that is data indicating the supplemented stock product. Memorize etc. The replenishment slip data, replenishment information, and price master are the same data as in the first embodiment (see FIGS. 3, 6, and 7).

伝票処理手段4aは、各種伝票の生成や登録を行い、補充伝票処理手段41、受注伝票処理手段47、出荷伝票処理手段48を備える。
補充伝票処理手段41は、第1の実施形態と同様である。受注伝票処理手段47は、受注伝票データの生成、登録、出力を行う。出荷伝票処理手段48は、払出対象選択手段44、価格取得手段45、及び、伝票生成手段49を備える。払出対象選択手段44、及び、価格取得手段45は、第1の実施形態と同様である。伝票生成手段49は、価格別の出荷伝票データを作成する。
The slip processing means 4a generates and registers various slips, and includes a supplementary slip processing means 41, an order slip processing means 47, and a shipping slip processing means 48.
The supplementary slip processing means 41 is the same as that in the first embodiment. The order slip processing means 47 generates, registers, and outputs order slip data. The shipping slip processing means 48 includes a payout object selection means 44, a price acquisition means 45, and a slip generation means 49. The payout object selection means 44 and the price acquisition means 45 are the same as those in the first embodiment. The slip generation means 49 creates shipping slip data for each price.

図12は、本実施形態による受注伝票データのデータ構成を示す図である。受注伝票データは、企業、受注伝票番号、明細の情報を含む。企業の情報は、どの企業からの受注であるかの取引先を示す。受注伝票番号の情報は、受注伝票を一意に特定する。明細の情報は、受注した商品の品目、受注数量、払出日の情報を示し、適宜繰り返されうる。   FIG. 12 is a diagram showing a data configuration of order slip data according to the present embodiment. The order slip data includes company, order slip number, and item information. The company information indicates a business partner from which company the order is received. The information on the order slip number uniquely identifies the order slip. The information on the details indicates information on the item for which the order has been received, the order quantity, and the payout date, and may be repeated as appropriate.

図13は、本実施形態による出荷伝票データのデータ構成を示す図である。出荷伝票データは、企業、出荷伝票番号、受注伝票番号、明細の情報を含む。企業の情報は、どの企業向けの出荷であるかの取引先を示す。出荷伝票番号の情報は、出荷伝票を一意に特定する。受注伝票番号の情報は、どの受注伝票に対して当該出荷伝票が発生したかを特定する。明細の情報は、払出し対象の商品の品目、払出数量、払出し対象の補充商品が補充されたときの商品価格、補充日及び補充伝票番号の情報を示す。この商品価格は、請求金額の算出に用いられる価格となる。   FIG. 13 is a diagram showing a data structure of the shipping slip data according to the present embodiment. The shipping slip data includes company, shipping slip number, order slip number, and item information. The enterprise information indicates a business partner to whom the enterprise is shipped. The shipping slip number information uniquely identifies the shipping slip. The information on the order slip number specifies for which order slip the shipping slip is generated. The information of the details indicates information on the item of the item to be paid out, the quantity to be paid out, the product price when the supplementary product to be paid out is replenished, the replenishment date, and the supplementary slip number. This product price is the price used for calculating the billing amount.

次に、本実施形態による補充品払出装置1aの処理手順について説明する。本実施形態による補充品払出装置1aにおける補充伝票登録処理については、第1の実施形態による補充伝票登録処理(図8参照)と同様である。   Next, the processing procedure of the replenishment item dispensing apparatus 1a according to the present embodiment will be described. The supplementary slip registration process in the supplementary item dispensing apparatus 1a according to the present embodiment is the same as the supplementary slip registration process (see FIG. 8) according to the first embodiment.

図14は、本実施形態による補充品払出装置1aにおける払出処理の処理フローを示す図である。
まず、補充品払出装置1aは、入力手段3により受注伝票登録データの入力を受ける(ステップS310)。受注伝票処理手段47は、受注伝票登録データから取得した受注伝票番号、企業及び明細(各品目とその品目の受注数量及び払出日)の情報を設定した受注伝票データを生成する。なお、受注伝票登録データに受注伝票番号が含まれない場合、受注伝票処理手段47にて受注伝票番号を割り当てる。受注伝票処理手段47は、生成した受注伝票データを基に受注伝票を印刷するとともに、当該受注伝票データを記憶手段5aに書き込む(ステップS320)。例えば、受注伝票処理手段47は、割り当てた受注伝票番号「201」、ならびに、入力された受注伝票登録データから取得した企業「X社」と、品目「商品A」、受注数量「500個」、払出日「4/10」からなる明細の情報とを含む受注伝票データ(図12参照)を生成し、記憶手段5aに書き込む。
FIG. 14 is a diagram showing a processing flow of a payout process in the supplement supply device 1a according to the present embodiment.
First, the replenishment item dispensing device 1a receives the input of the order slip registration data by the input means 3 (step S310). The order slip processing unit 47 generates order slip data in which information on the order slip number, the company, and the details (each item and the order quantity and delivery date of each item) acquired from the order slip registration data is set. When the order slip registration data does not include the order slip number, the order slip processing means 47 assigns the order slip number. The order slip processing means 47 prints the order slip based on the generated order slip data and writes the order slip data in the storage means 5a (step S320). For example, the order slip processing means 47 includes the assigned order slip number “201”, the company “Company X” acquired from the input order slip registration data, the item “product A”, the order quantity “500”, The order slip data (see FIG. 12) including the detailed information including the payout date “4/10” is generated and written in the storage means 5a.

次に、入力手段3により、受注伝票データの受注伝票番号と、出荷伝票の生成指示が入力されると、出荷伝票処理手段48は、入力された受注伝票番号をキーにして記憶手段5a内の受注伝票データを特定する。払出対象選択手段44は、特定された受注伝票データ内の明細の情報で示される各品目について、第1の実施形態のステップS230と同様の処理により、払出処理を行い(ステップS330)、続いて、価格取得手段45は、第1の実施形態のステップS240と同様の処理により、記憶手段5a内の価格マスタからから払出対象の補充商品の補充日における価格を読み出す(ステップS340)。出荷伝票生成対象として受注伝票番号「201」が入力された場合、払出対象選択手段44は、企業「X社」、品目「商品A」の補充情報(図6参照)に対し、補充日「4/1」に対応した払出済数量を「100個」に、補充日「4/5」に対応した払出済数量を「200個」、補充日「4/7」に対応した払出済数量を「200個」に書き換えて更新する。また、価格取得手段45は、品目「商品A」について、補充日「4/1」が含まれる期間の価格「100円」、補充日「4/5」が含まれる期間の価格「100円」、補充日「4/7」が含まれる期間の価格「90円」を価格マスタから読み出す。   Next, when the order slip number of the order slip data and the instruction for generating the shipping slip are input by the input means 3, the shipping slip processing means 48 uses the input order slip number as a key to store in the storage means 5a. Specify sales order slip data. The payout object selection means 44 performs payout processing for each item indicated by the detailed information in the specified order slip data by the same processing as step S230 of the first embodiment (step S330), and then The price acquisition unit 45 reads the price on the replenishment date of the replenishment item to be paid out from the price master in the storage unit 5a by the same process as step S240 of the first embodiment (step S340). When the order slip number “201” is input as the shipping slip generation target, the payout target selection unit 44 sets the replenishment date “4” for the replenishment information (see FIG. 6) of the company “Company X” and the item “Product A”. / 1 ”is the paid-out quantity corresponding to“ 100 ”, the paid-out quantity corresponding to the replenishment date“ 4/5 ”is“ 200 ”, and the paid-out quantity corresponding to the replenishment date“ 4/7 ”is“ Rewrite to "200" and update. Further, the price acquisition means 45 for the item “product A”, the price “100 yen” in the period including the replenishment date “4/1” and the price “100 yen” in the period including the replenishment date “4/5”. The price “90 yen” for the period including the replenishment date “4/7” is read from the price master.

続いて、伝票生成手段49は、新たな出荷伝票データを作成する(ステップS350)。この出荷伝票データには、伝票生成手段49が新たに割り当てた、あるいは、入力手段3により入力された出荷伝票番号の情報と、ステップS330において入力された受注伝票データの受注伝票番号の情報と、当該受注伝票番号により特定された受注伝票データから取得した企業の情報とが含まれる。   Subsequently, the slip generation means 49 creates new shipping slip data (step S350). In this shipping slip data, information of the shipping slip number newly assigned by the slip generating means 49 or inputted by the input means 3, information on the order slip number of the order slip data inputted in step S330, And company information obtained from the order slip data specified by the order slip number.

伝票生成手段49は、まだ出荷伝票データに明細として追加していない払出し対象の補充商品の中で、最も古い補充日の補充商品についての明細の情報を、ステップS350において生成した出荷伝票データに追加する(ステップS360)。続いて、伝票生成手段49は、まだ明細として追加されていない払出対象の補充商品があるかにより、出荷伝票データ作成終了かを判断する(ステップS370)。まだ明細として追加されていない払出対象の補充商品があるため、出荷伝票データの作成が未終了であると判断した場合(ステップS370:NO)、まだ明細として追加していない中で最も古い補充日に対応した補充商品の価格が、現在作成中の出荷伝票データに最後に追加した当該補充商品の価格と異なるかを判断する(ステップS380)。同じ価格であるか、あるいは、現在作成中の出荷伝票データへの当該補充商品についての最初の明細の情報の登録である場合(ステップS380:NO)、ステップS360へ戻り、明細として追加していない払出し対象の補充商品の中で最も古い補充日の補充商品についての明細の情報を、現在作成中の出荷伝票データへ追加する。一方、異なる価格の場合は(ステップS380:YES)、ステップS350へ戻り、新たな出荷伝票データを作成し、まだ出荷伝票データに明細として追加していない払出し対象の補充商品の中で、最も古い補充日の補充商品についての明細の情報を、この新たに生成した出荷伝票データに追加する。   The slip generation means 49 adds the information on the details of the supplementary products with the oldest supplementary date among the supplementary products to be dispensed that have not yet been added to the shipping slip data as details to the shipping slip data generated in step S350. (Step S360). Subsequently, the slip generation unit 49 determines whether or not the shipping slip data creation is completed depending on whether there is a supplementary product to be paid out that has not yet been added as a detail (step S370). Since there is a supplementary product to be dispensed that has not yet been added as a detail, when it is determined that the creation of the shipping slip data has not been completed (step S370: NO), the oldest supplementary date that has not yet been added as a detail It is determined whether the price of the supplementary product corresponding to is different from the price of the supplementary product added last to the shipping slip data currently being created (step S380). If the prices are the same or if the information of the first detail of the supplementary product is registered in the shipping slip data currently being created (step S380: NO), the process returns to step S360 and is not added as a detail. The information of the details about the replenishment product with the oldest replenishment date among the replenishment products to be paid out is added to the shipping slip data currently being created. On the other hand, if the price is different (step S380: YES), the process returns to step S350, new shipping slip data is created, and is the oldest among the supplementary products to be paid out that have not yet been added to the shipping slip data as details. Information of the details about the replenishment product on the replenishment date is added to the newly generated shipping slip data.

上記を繰り返し、伝票生成手段49が、全ての払出対象の補充製品についての明細の情報を生成したため、出荷伝票データ作成を終了したと判断した場合(ステップS370:YES)、生成した全ての出荷伝票データそれぞれから出荷伝票を印刷するとともに、これら全ての出荷伝票データを記憶手段5aに記憶する(ステップS390)。   The above is repeated, and when the slip generation means 49 determines that the creation of the shipping slip data has been completed because the detailed information about all the supplementary products to be paid out has been generated (step S370: YES), all the generated shipping slips The shipping slip is printed from each data, and all the shipping slip data is stored in the storage means 5a (step S390).

例えば、上記に示す受注伝票番号「201」の受注伝票の場合、品目「商品A」の受注数量「500個」については、補充日「4/1」、価格「100円」の補充商品を「100個」、補充日「4/5」、価格「100円」の補充商品を「200個」、補充日「4/7」、価格「90円」の補充商品を「200個」払い出している。このとき、まず、伝票生成手段49は、新たに割り当てた出荷伝票番号「301」、受注伝票データの受注伝票番号「201」、当該受注伝票データから取得した企業「X社」の情報が含まれる出荷伝票データを生成する。そして、伝票生成手段49は、最も古い補充日「4/1」の補充商品についての明細の情報、すなわち、品目「商品A」、払出数量「100個」、価格「100円」、補充日「4/1」、補充伝票番号「101」からなる明細の情報を、この出荷伝票番号「301」の出荷伝票データに追加する。なお、補充伝票番号は、企業、品目、補充日に対応して記憶手段5a内の補充情報から読み出したものである。   For example, in the case of the order slip with the order slip number “201” shown above, for the order quantity “500” of the item “product A”, the supplement product with the replenishment date “4/1” and the price “100 yen” is “ "100", replenishment date "4/5", price "100 yen" replenished products "200", replenishment date "4/7", price "90 yen" replenished products "200" . At this time, first, the slip generation means 49 includes the newly assigned shipping slip number “301”, the order slip number “201” of the order slip data, and the information of the company “Company X” acquired from the order slip data. Generate shipping slip data. Then, the slip generation means 49 provides information on the details of the replenishment product with the oldest replenishment date “4/1”, that is, the item “product A”, the dispensed quantity “100”, the price “100 yen”, the replenishment date “ The information of the details including “4/1” and the supplementary slip number “101” is added to the shipping slip data of this shipping slip number “301”. The replenishment slip number is read from the replenishment information in the storage means 5a corresponding to the company, item, and replenishment date.

次に、伝票生成手段49は、まだ明細として追加していない中で最も古い補充日「4/5」に対応した商品Aの価格「100円」が、作成中の出荷伝票データに商品Aについて最後に追加した明細の情報で示される補充日「4/1」の価格「100円」と同じであるため、この補充日「4/5」の補充商品についての明細の情報、すなわち、品目「商品A」、払出数量「200個」、価格「100円」、補充日「4/5」、補充伝票番号「102」からなる明細の情報を、出荷伝票番号「301」の出荷伝票データに追加する。   Next, the slip generation unit 49 stores the price “100 yen” of the product A corresponding to the oldest replenishment date “4/5” that has not yet been added as a detail for the product A in the shipping slip data being created. Since the price is the same as the price “100 yen” on the replenishment date “4/1” indicated by the last added item information, the item information on the replenishment product on the replenishment date “4/5”, that is, the item “ The information of the details consisting of “Product A”, the dispensed quantity “200”, the price “100 yen”, the replenishment date “4/5”, and the replenishment slip number “102” is added to the shipping slip data of the shipping slip number “301”. To do.

続いて、伝票生成手段49は、まだ明細に追加していない中で最も古い補充日「4/7」に対応した商品Aの価格「90円」が、作成中の出荷伝票データに商品Aについて最後に追加した明細の情報で示される補充日「4/5」の価格「100円」とは異なるため、新たな出荷伝票データを作成すべきと判断する。そこで、伝票生成手段49は、新たに出荷伝票番号を割り当て、この割り当てた出荷伝票番号「302」と、受注伝票データの受注伝票番号「201」と、当該受注伝票データから取得した企業「X社」の情報とが含まれる出荷伝票データを新たに生成する。そして、まだ明細として追加していない最も古い補充日「4/7」の補充商品についての明細の情報、すなわち、品目「商品A」、払出数量「200個」、補充日「4/7」、補充伝票番号「103」からなる明細の情報を、出荷伝票番号「302」の出荷伝票データに追加し、出荷伝票データ(図13参照)の作成を終了する。   Subsequently, the slip generation unit 49 adds the price “90 yen” of the product A corresponding to the oldest replenishment date “4/7” that has not been added to the details to the shipping slip data being created for the product A. Since it is different from the price “100 yen” of the replenishment date “4/5” indicated by the last added detail information, it is determined that new shipping slip data should be created. Accordingly, the slip generation means 49 assigns a new shipment slip number, the assigned shipment slip number “302”, the order slip number “201” of the order slip data, and the company “Company X” obtained from the order slip data. ”Is newly generated. Then, information on the details of the replenishment product of the oldest replenishment date “4/7” that has not yet been added as a detail, that is, the item “product A”, the dispensed quantity “200”, the replenishment date “4/7”, Information of the details consisting of the supplementary slip number “103” is added to the shipping slip data of the shipping slip number “302”, and the creation of the shipping slip data (see FIG. 13) is finished.

以上説明した実施形態によれば、補充品払出装置は、在庫商品の価格が入庫された時期によって異なる場合、商品を販売するときには、その商品が入庫されたときの価格を用いて販売を行うための伝票、例えば、販売受注伝票や出荷伝票などを作成することができる。このとき、どの取引先向けに入庫された商品であるかを管理し、納入指示を受けた取引先に対してのみ、指示された時期に在庫商品を払出すこともできる。また、販売受注伝票や出荷伝票などの伝票作成の際、補充時期における価格が同じものをまとめて複数の伝票に分けて作成したり、伝票内で補充日毎に明細を作成することもできる。   According to the embodiment described above, the replenishment item dispensing device performs sales using the price when the product is received when the product is sold when the price of the stock product varies depending on the time when the product is received. For example, a sales order slip or a shipping slip can be created. At this time, it is possible to manage which merchant the product is received for, and pay out the stock product at the instructed time only to the business partner who has received the delivery instruction. Also, when creating a voucher such as a sales order voucher or a shipping voucher, the same price at the time of replenishment can be created and divided into a plurality of vouchers, or details can be created for each replenishment date in the voucher.

なお、上述の補充品払出装置1、1aは、内部にコンピュータシステムを有している。そして、上述した伝票処理手段4、4aの動作の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータシステムが読み出して実行することによって、上記処理が行われる。ここでいうコンピュータシステムとは、OSや周辺機器等のハードウェアを含むものである。   In addition, the above-mentioned supplementary goods dispensing apparatus 1 and 1a have a computer system inside. The operation process of the slip processing means 4 and 4a described above is stored in a computer-readable recording medium in the form of a program, and the above-described processing is performed by the computer system reading and executing this program. . 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.

本発明の第1の実施形態による補充品払出装置の処理概要を示す図である。It is a figure which shows the process outline | summary of the supplementary goods delivery apparatus by the 1st Embodiment of this invention. 第1の実施形態による補充品払出装置の機能ブロック図である。It is a functional block diagram of the supplement supply apparatus by 1st Embodiment. 第1の実施形態による補充伝票データのデータ構成を示す図である。It is a figure which shows the data structure of the supplementary slip data by 1st Embodiment. 第1の実施形態による見積り受注伝票データのデータ構成を示す図である。It is a figure which shows the data structure of the estimated order slip data by 1st Embodiment. 第1の実施形態による販売受注伝票データのデータ構成を示す図である。It is a figure which shows the data structure of the sales order slip data by 1st Embodiment. 第1の実施形態による補充情報のデータ構成を示す図である。It is a figure which shows the data structure of the supplement information by 1st Embodiment. 第1の実施形態による価格マスタのデータ構成を示す図である。It is a figure which shows the data structure of the price master by 1st Embodiment. 第1の実施形態による補充品払出装置における補充伝票登録処理の処理フローを示す図である。It is a figure which shows the processing flow of the supplementary slip registration process in the supplementary goods delivery apparatus by 1st Embodiment. 第1の実施形態による補充品払出装置における払出処理の処理フローを示す図である。It is a figure which shows the processing flow of the payout process in the supplement supply apparatus by 1st Embodiment. 本発明の第2の実施形態による補充品払出装置の処理概要を示す図である。It is a figure which shows the process outline | summary of the supplementary goods delivery apparatus by the 2nd Embodiment of this invention. 第2の実施形態による補充品払出装置の機能ブロック図である。It is a functional block diagram of the supplement supply apparatus by 2nd Embodiment. 第2の実施形態による受注伝票データのデータ構成を示す図である。It is a figure which shows the data structure of the order slip data by 2nd Embodiment. 第2の実施形態による出荷伝票データのデータ構成を示す図である。It is a figure which shows the data structure of the shipping slip data by 2nd Embodiment. 第2の実施形態による補充品払出装置における払出処理の処理フローを示す図である。It is a figure which shows the processing flow of the payout process in the supplement supply apparatus by 2nd Embodiment.

符号の説明Explanation of symbols

1、1a…補充品払出装置
2…制御手段
3…入力手段
4、4a…伝票処理手段
5、5a…記憶手段
6…出力手段
41…補充伝票処理手段
42…見積り受注伝票処理手段
43…販売受注伝票処理手段
44…払出対象選択手段
45…価格取得手段
46、49…伝票生成手段
47…受注伝票処理手段
48…出荷伝票処理手段
DESCRIPTION OF SYMBOLS 1, 1a ... Supplementary goods delivery apparatus 2 ... Control means 3 ... Input means 4, 4a ... Slip processing means 5, 5a ... Storage means 6 ... Output means 41 ... Replenishment slip processing means 42 ... Estimated order slip processing means 43 ... Sales order Slip processing means 44... Payout object selection means 45... Price acquisition means 46 and 49. Slip generation means 47.

Claims (7)

在庫として補充した商品の識別情報、当該補充商品の補充日及び払出可能数量を示す補充情報、ならびに、補充日と商品の価格との対応付けを示す価格情報を記憶する記憶手段と、
受注した商品の識別情報及び受注数量の情報の入力を受ける入力手段と、
前記入力手段が入力を受けた商品の識別情報により前記補充情報を検索し、補充日が古い順に、払出した当該商品の数量の合計が前記受注数量に達するまで、払出対象の補充商品を選択する払出対象選択手段と、
前記払出対象選択手段が選択した払出対象の補充商品の補充日に対応した価格の情報を前記価格情報から読み出す価格取得手段と、
補充日の異なる払出対象の補充商品について、前記価格取得手段が当該補充商品の補充日に対応して読み出した価格をそれぞれ用いて商品を払い出すための伝票データを生成する伝票生成手段と、
を備えることを特徴とする補充品払出装置。
Storage means for storing identification information of a product replenished as inventory, replenishment information indicating a replenishment date and a payable quantity of the replenished product, and price information indicating an association between the replenishment date and the price of the product;
An input means for receiving the input of the identification information of the received product and the order quantity information;
The replenishment information is searched based on the identification information of the commodity received by the input means, and the supplementary commodity to be dispensed is selected until the total quantity of the dispensed commodity reaches the order quantity in order of oldest replenishment date. Withdrawal object selection means,
Price acquisition means for reading out price information from the price information corresponding to the replenishment date of the replenishment item to be paid out selected by the payout target selection means;
Slip generating means for generating slip data for paying out the goods using the prices read out in accordance with the replenishment date of the supplementary goods for the supplementary goods to be paid out with different replenishment dates;
A replenishment item dispensing device comprising:
前記伝票生成手段は、払出対象の補充商品の数量及びその価格の情報を含んだ伝票データを、前記価格取得手段が読み出した価格が同じ補充商品毎に生成する、
ことを特徴とする請求項1に記載の補充品払出装置。
The slip generation means generates slip data including information on the quantity and price of supplementary products to be paid out for each supplementary product with the same price read by the price acquisition means.
The replenishment item dispensing device according to claim 1.
前記伝票生成手段は、補充日と当該補充日に補充された払出対象の補充商品の数量との情報を示す明細データを含んだ伝票データを生成する、
ことを特徴とする請求項1に記載の補充品払出装置。
The slip generation means generates slip data including detailed data indicating information on a replenishment date and a quantity of replenishment items to be dispensed replenished on the replenishment date.
The replenishment item dispensing device according to claim 1.
前記補充情報は、取引先の情報をさらに含み、
前記入力手段は、さらに取引先の情報の入力を受け、
前記払出対象選択手段は、前記入力手段が入力を受けた商品の識別情報及び取引先の情報により前記補充情報を検索し、在庫数量の合計が前記受注数量に達するまで補充日が古い順に払出対象の補充商品を選択する、
ことを特徴とする請求項1に記載の補充品払出装置。
The replenishment information further includes business partner information,
The input means further receives the information of the business partner,
The payout object selection means searches the replenishment information based on the product identification information and the supplier information received by the input means, and payout objects in order of old replenishment date until the total stock quantity reaches the order quantity. Select replenishment items for
The replenishment item dispensing device according to claim 1.
前記伝票生成手段は、伝票データとして販売用の受注伝票データまたは出荷伝票データを生成する、
ことを特徴とする請求項1に記載の補充品払出装置。
The slip generation means generates sales order slip data or shipping slip data as slip data.
The replenishment item dispensing device according to claim 1.
補充品払出装置に用いられる補充品払出方法であって、
前記補充品払出装置は、在庫として補充した商品の識別情報、当該補充商品の補充日及び払出可能数量を示す補充情報、ならびに、補充日と商品の価格との対応付けを示す価格情報を記憶する記憶手段を備えており、
前記補充品払出装置において、
入力手段が、受注した商品の識別情報及び受注数量の情報の入力を受ける過程と、
払出対象選択手段が、前記入力手段によって入力を受けた商品の識別情報により、前記補充情報を検索し、補充日が古い順に、払出した当該商品の数量の合計が前記受注数量に達するまで、払出対象の補充商品を選択する過程と、
価格取得手段が、前記払出対象選択手段により選択された払出対象の補充商品の補充日に対応した価格の情報を前記価格情報から読み出す過程と、
伝票生成手段が、補充日の異なる払出対象の補充商品について、前記価格取得手段により当該補充商品の補充日に対応して読み出された価格をそれぞれ用いて商品を払い出すための伝票データを生成する過程と、
を有することを特徴とする補充品払出方法。
A replenishment item dispensing method used in a replenishment item dispensing device,
The replenishment item dispensing device stores identification information of a product replenished as inventory, replenishment information indicating a replenishment date of the replenished product and a quantity that can be paid out, and price information indicating a correspondence between the replenishment date and the price of the product. A storage means,
In the replenishment item dispensing device,
A process in which the input means receives input of the identification information of the ordered product and the information of the ordered quantity;
The payout object selection means searches the replenishment information based on the product identification information input by the input means, and pays out the payout items in order from the oldest replenishment date until the total quantity of the delivered goods reaches the order quantity. Selecting the replenishment item of interest
A process of reading price information from the price information corresponding to the replenishment date of the replenishment item to be paid out selected by the payout target selection means by the price acquisition means;
The slip generating means generates slip data for paying out the goods using the prices read out by the price acquisition means corresponding to the replenishment date of the supplementary goods for the replenishment products with different replenishment dates. The process of
A replenishment item dispensing method characterized by comprising:
補充品払出装置として用いられるコンピュータを、
在庫として補充した商品の識別情報、当該補充商品の補充日及び払出可能数量を示す補充情報、ならびに、補充日と商品の価格との対応付けを示す価格情報を記憶する記憶手段、
受注した商品の識別情報及び受注数量の情報の入力を受ける入力手段、
前記入力手段が入力を受けた商品の識別情報により前記補充情報を検索し、補充日が古い順に、払出した当該商品の数量の合計が前記受注数量に達するまで、払出対象の補充商品を選択する払出対象選択手段、
前記払出対象選択手段が選択した払出対象の補充商品の補充日に対応した価格の情報を前記価格情報から読み出す価格取得手段、
補充日の異なる払出対象の補充商品について、前記価格取得手段が当該補充商品の補充日に対応して読み出した価格をそれぞれ用いて商品を払い出すための伝票データを生成する伝票生成手段、
として機能させることを特徴とするコンピュータプログラム。
A computer used as a replenishment dispensing device,
Storage means for storing identification information of a product replenished as inventory, replenishment information indicating a replenishment date and a payable quantity of the replenished product, and price information indicating an association between the replenishment date and the price of the product,
An input means for receiving input of product identification information and order quantity information;
The replenishment information is searched based on the identification information of the commodity received by the input means, and the supplementary commodity to be dispensed is selected until the total quantity of the dispensed commodity reaches the order quantity in order of oldest replenishment date. Withdrawal object selection means,
Price acquisition means for reading out price information corresponding to the replenishment date of the replenishment item to be paid out selected by the payout target selection means from the price information;
Slip generating means for generating slip data for paying out the goods using the prices read out by the price acquisition means corresponding to the replenishment date of the supplementary goods for the supplementary goods to be paid out having different replenishment dates;
A computer program that functions as a computer program.
JP2007015216A 2007-01-25 2007-01-25 Replenishment item dispensing apparatus and method, and computer program Active JP4717838B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007015216A JP4717838B2 (en) 2007-01-25 2007-01-25 Replenishment item dispensing apparatus and method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007015216A JP4717838B2 (en) 2007-01-25 2007-01-25 Replenishment item dispensing apparatus and method, and computer program

Publications (2)

Publication Number Publication Date
JP2008181406A true JP2008181406A (en) 2008-08-07
JP4717838B2 JP4717838B2 (en) 2011-07-06

Family

ID=39725252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007015216A Active JP4717838B2 (en) 2007-01-25 2007-01-25 Replenishment item dispensing apparatus and method, and computer program

Country Status (1)

Country Link
JP (1) JP4717838B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014032513A (en) * 2012-08-02 2014-02-20 Fujitsu Marketing Ltd Unit price setting device, unit price setting method, and unit price setting program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02282861A (en) * 1989-04-25 1990-11-20 Sanyo Electric Co Ltd Inventory control system
JP2002049794A (en) * 2000-07-31 2002-02-15 Toppan Forms Co Ltd System and method for order entry and placement of merchandise
JP2005166004A (en) * 2003-12-04 2005-06-23 Sap Ag Device and method for order reallocating and computer program
JP2005212911A (en) * 2004-01-27 2005-08-11 Nomura Research Institute Ltd Logistics management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02282861A (en) * 1989-04-25 1990-11-20 Sanyo Electric Co Ltd Inventory control system
JP2002049794A (en) * 2000-07-31 2002-02-15 Toppan Forms Co Ltd System and method for order entry and placement of merchandise
JP2005166004A (en) * 2003-12-04 2005-06-23 Sap Ag Device and method for order reallocating and computer program
JP2005212911A (en) * 2004-01-27 2005-08-11 Nomura Research Institute Ltd Logistics management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014032513A (en) * 2012-08-02 2014-02-20 Fujitsu Marketing Ltd Unit price setting device, unit price setting method, and unit price setting program

Also Published As

Publication number Publication date
JP4717838B2 (en) 2011-07-06

Similar Documents

Publication Publication Date Title
JP4887214B2 (en) Advertisement management system, advertisement management server, and control method thereof
US7734369B2 (en) Systems and methods for purchasing, invoicing and distributing items
JP4638450B2 (en) Transaction apparatus, slip generation method, and computer program
JP5418084B2 (en) Distribution integration support system, ordering support apparatus, inventory management support apparatus, shipping operation support apparatus, ordering support apparatus control program, and logistics integration support method
JP2007188442A (en) Sales management system and method, and computer program
JP2004303015A (en) Information management system and charge calculation method
US20220292561A1 (en) Commodity exchange system, commodity exchange method, and commodity exchange program
JP2007233688A (en) Commodity management system, commodity management device, commodity management method, and commodity management program
JP2001338253A (en) Method and device for electronic commercial transaction
JP4717838B2 (en) Replenishment item dispensing apparatus and method, and computer program
JP7205159B2 (en) Sales management system, sales management method, and computer program for sales management
JP2014021564A (en) Order reception management device, order reception management method and order reception management program
JP6071025B1 (en) Product proxy purchase device
JP3919504B2 (en) Commodity transaction management system, commodity transaction management method and program
JP3832710B2 (en) Information processing apparatus and information processing method
JP2021039725A (en) Commodity exchange system, commodity exchange method, and commodity exchange program
KR20130139424A (en) A management system for an ordering and selling of liquors using the data management system and method thereof
OA20657A (en) Commodity exchange system, commodity exchange method, and commodity exchange program.
KR20180088977A (en) Joint procurement system and service method
JP2010244234A (en) Sales method and trade-in guarantee system
JP2002183532A (en) Order receipt/issuance management system
JP6174549B2 (en) Information processing equipment for mail order sales
GB2593036A (en) Transaction management system and methods
KR20210026885A (en) Book-trading apparatus, system and method using a server to manage the registrantion information of a chain transaction book
JP2002007812A (en) Commodity order placing apparatus, method thereof, recording medium 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

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100928

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110128

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20110202

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110330

R150 Certificate of patent or registration of utility model

Ref document number: 4717838

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140408

Year of fee payment: 3

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