JP2001312541A - Method for submitting bill, submitting device and storage medium - Google Patents

Method for submitting bill, submitting device and storage medium

Info

Publication number
JP2001312541A
JP2001312541A JP2000131624A JP2000131624A JP2001312541A JP 2001312541 A JP2001312541 A JP 2001312541A JP 2000131624 A JP2000131624 A JP 2000131624A JP 2000131624 A JP2000131624 A JP 2000131624A JP 2001312541 A JP2001312541 A JP 2001312541A
Authority
JP
Japan
Prior art keywords
master
sales
billing
date
closing 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.)
Pending
Application number
JP2000131624A
Other languages
Japanese (ja)
Inventor
Takakiyo Kawamoto
隆清 川本
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.)
NEC Nexsolutions Ltd
Original Assignee
NEC Nexsolutions Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Nexsolutions Ltd filed Critical NEC Nexsolutions Ltd
Priority to JP2000131624A priority Critical patent/JP2001312541A/en
Publication of JP2001312541A publication Critical patent/JP2001312541A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method for submitting bill, in the case where the alteration of closing day is requested, in a very short time, saving the labor for alteration processing. SOLUTION: At the time of sales, a billing flag indicating sales day, sales proceeds and if the billing will be submitted this time or next time, is written into a sales master 5. Then, at billing time, if the alteration of closing day is requested, the altered closing date is written into a client information database 6. After the closing date is written, a billing master 7 is produced from each data in the sales master 5, and, based on a sales day and a billing flag in the sales master 5 and the closing date in the client information database 6, the closing date is written into the billing master 7. Then, based on each data and the closing date in the billing master 7, a bill is submitted.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、締日変更があっ
た場合の処理を短時間に、かつ手間をかけずに行うこと
ができる請求書発行方法及び発行装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an invoicing method and an invoicing apparatus capable of performing a process when a closing date is changed in a short time and without trouble.

【0002】[0002]

【従来の技術】ある種の業界においては、売上が計上さ
れた時点で売上データが書き込まれた売上マスタがコン
ピュータの記憶装置に作成され、得意先の締日が過ぎた
時点においてその売上マスタに基づいて1ヶ月分の請求
マスタが上記記憶装置に作成される。そして、作成され
た請求マスタに基づいて請求書の発行が行われる。図6
は上述した売上マスタの一例を示す図である。この図に
示す例においては、2月27日、3月1日、3月5日、
3月15日に各々スーツ、セータ、ネクタイ、スラック
スの売上があり、また、各得意先の締日がいずれも3月
20日であった場合である。係員は、売上がある毎に日
付け、締日、得意先コード、品名、金額を各々コンピュ
ータのキーボードから入力する。これにより、図に示す
売上マスタがコンピュータの記憶装置に作成される。こ
こで、締日とは、得意先が指定する請求締めの日であ
り、例えば、20日あるいは月末等が指定される。そし
て、20日が締日の場合は、21日に、前月の21日か
ら今月の20日までの売上のそれぞれについて請求マス
タが作成され、作成された請求マスタに基づいて1ヶ月
分の請求をまとめた請求書発行が行われる。
2. Description of the Related Art In some industries, a sales master on which sales data is written is created in a storage device of a computer when sales are recorded, and the sales master is created when the closing date of a customer has passed. Based on this, a billing master for one month is created in the storage device. Then, an invoice is issued based on the created invoice master. FIG.
Is a diagram showing an example of the sales master described above. In the example shown in this figure, February 27, March 1, March 5,
Suits, sweaters, ties, and slacks were sold on March 15 and the closing date of each customer was March 20. The clerk inputs a date, a closing date, a customer code, a product name, and an amount from the keyboard of the computer each time there is sales. Thereby, the sales master shown in the figure is created in the storage device of the computer. Here, the closing date is a billing closing date specified by the customer, for example, 20th or end of month. If the 20th is a closing day, a billing master is created on the 21st for each of the sales from the 21st of the previous month to the 20th of this month, and a one-month billing is performed based on the created billing master. A consolidated invoice is issued.

【0003】[0003]

【発明が解決しようとする課題】ところで、年末や決算
期においては、得意先が締日変更を指示してくる場合が
ある。例えば、通常時の締日が20日である得意先が3
月だけ締日を月末にしてくれるように指示してくる。こ
のような場合、従来は、売上マスタの締日を全部手動で
直す必要があった。例えば、図6の例において、得意先
コードJS0015の得意先が締日を3月31日に変更
してきた場合、売上NO.0001と0004の売上デ
ータの締日を3月20日から3月31日に変更する必要
があった。そして、このデータ変更に多くの時間と手間
がかかると共に、操作ミスにより、請求データに間違い
が発生する問題があった。また、一括締日変更プログラ
ムを作成して締日変更を行う場合もあるが、この場合、
プログラムの作成に時間と手間がかかる問題があった。
この発明は、このような事情を考慮してなされたもの
で、その目的は、締日変更の要求があった場合におい
て、変更処理を手間をかけず、極めて短時間に行うこと
ができる請求書発行方法及び発行装置を提供することに
ある。
However, at the end of the year or at the end of the fiscal year, there are cases where a customer instructs to change the closing date. For example, if the customer with a normal closing date of 20
You will be instructed to close the month by the end of the month. In such a case, conventionally, it was necessary to manually correct all the closing dates of the sales master. For example, in the example of FIG. 6, when the customer of the customer code JS0015 changes the closing date to March 31, the sales number is changed. It was necessary to change the closing date of the sales data of 0001 and 0004 from March 20 to March 31. This data change takes a lot of time and effort, and there is a problem that an erroneous operation causes an error in the billing data. In some cases, a closing date change program may be created to change the closing date. In this case,
There was a problem that it took time and effort to create a program.
The present invention has been made in view of such circumstances, and a purpose thereof is to make it possible to perform a change process in a very short time without a hassle when a request for changing the closing date is made. An issue method and an issue device are provided.

【0004】[0004]

【課題を解決するための手段】上記の目的を達成するた
めに、請求項1に記載の発明は、売上時に売上マスタを
作成し、該売上マスタおよび得意先情報データベースか
ら請求マスタを作成し、該請求マスタに基づいて請求書
を発行する請求書発行方法において、売上時において、
売上日、売上金額と共に請求が今回であるか次回である
かを示す請求フラグを売上マスタに書き込み、請求時に
おいて、締日変更がある場合は変更後の締日を前記得意
先情報データベースに書き込み、上記の締日書込み後、
前記売上マスタの各データから請求マスタを作成すると
共に、前記売上マスタの売上日および請求フラグと、前
記得意先情報データベースの締日に基づいて該請求マス
タに締日を書き込み、前記請求マスタの各データおよび
締日に基づいて請求書を発行することを特徴とする。
To achieve the above object, according to the first aspect of the present invention, a sales master is created at the time of sales, and a billing master is created from the sales master and the customer information database. In an invoice issuing method for issuing an invoice based on the invoice master, at the time of sales,
Write a billing flag indicating whether this is the current or next billing date along with the sales date and sales amount in the sales master, and if there is a change in the closing date at the time of billing, write the changed closing date in the customer information database. , After writing the above closing date,
A billing master is created from each data of the sales master, and a closing date is written in the billing master based on a sales date and a billing flag of the sales master and a closing date of the customer information database. It is characterized by issuing invoices based on data and closing date.

【0005】また、請求項2に記載の発明は、請求項1
に記載の請求書発行方法において、上記締日書込み後、
前記売上マスタの各データから請求マスタを作成する際
に、前記売上日および前記請求フラグに基づいて請求書
発行が今回であるか次回であるかを判断し、今回分のみ
について前記請求マスタを作成することを特徴とする。
[0005] Further, the invention according to claim 2 is based on claim 1.
In the invoicing method described in the above, after writing the above closing date,
When a billing master is created from each data of the sales master, it is determined whether the invoice is issued this time or the next based on the sales date and the billing flag, and the billing master is created only for this time. It is characterized by doing.

【0006】また、請求項3に記載の発明は、売上日、
売上金額と共に請求が今回であるか次回であるかを示す
請求フラグが書き込まれる売上マスタと、得意先情報と
締日が書き込まれる得意先情報データベースと、請求デ
ータが書き込まれる請求マスタと、前記売上マスタの売
上日および請求フラグと、前記得意先情報データベース
の締日に基づいて前記請求マスタに締日を書き込む書込
手段と、前記請求マスタの各データおよび締日に基づい
て請求書を発行する請求書発行手段とを具備することを
特徴とする請求書発行装置である。また、請求項4に記
載の発明は、請求項3に記載の請求書発行装置におい
て、前記書込手段は、前記売上マスタの所定のデータを
前記請求マスタへ書き込む際に、前記売上日および前記
請求フラグに基づいて請求書発行が今回であるか次回で
あるかを判断し、今回分のみについて前記請求マスタに
書き込むことを特徴とする。
[0006] Further, the invention according to claim 3 is characterized in that:
A sales master in which a billing flag indicating whether this is the current or next billing together with the sales amount is written; a customer information database in which customer information and a closing date are written; a billing master in which billing data is written; Writing means for writing a closing date to the billing master based on the sales date and billing flag of the master, a closing date in the customer information database, and issuing a bill based on each data and closing date of the billing master And a bill issuing device. According to a fourth aspect of the present invention, in the bill issuing device according to the third aspect, the writing means writes the predetermined date of the sales master to the billing master and the sales date and the date. It is characterized in that it is determined whether the invoice is issued this time or the next time based on the invoice flag, and only the current invoice is written in the invoice master.

【0007】また、請求項5に記載の発明は、売上時に
売上マスタを作成し、該売上マスタおよび得意先情報デ
ータベースから請求マスタを作成し、該請求マスタに基
づいて請求書を発行するプログラムを記憶したコンピュ
ータ読み取り可能な記録媒体であって、売上時におい
て、係員によって入力された売上日、売上金額および請
求が今回であるか次回であるかを示す請求フラグを売上
マスタに書き込み、請求時において、締日変更がある場
合に係員によって入力された変更後の締日を前記得意先
情報データベースに書き込み、上記の締日書込み後、前
記売上マスタの各データから請求マスタを作成すると共
に、前記売上マスタの売上日および請求フラグと、前記
得意先情報データベースの締日に基づいて該請求マスタ
に締日を書き込み、前記請求マスタの各データおよび締
日に基づいて請求書を発行することを特徴とするプログ
ラムを記録したコンピュータ読み取り可能な記録媒体で
ある。
According to a fifth aspect of the present invention, there is provided a program for creating a sales master upon sales, creating a billing master from the sales master and the customer information database, and issuing a bill based on the billing master. A computer-readable recording medium that stores therein, at the time of sales, writes a sales date, a sales amount, and a billing flag indicating whether the billing is the current or next time entered in the sales master in the sales master. When there is a change in the closing date, the changed closing date entered by the attendant is written in the customer information database, and after writing the closing date, a billing master is created from each data of the sales master, and the sales Write the closing date to the billing master based on the sales date and billing flag of the master and the closing date of the customer information database, Serial is a respective data and a computer-readable recording medium that stores a program and issues a bill based on the closing date of billing master.

【0008】また、請求項6に記載の発明は、請求項5
に記載のコンピュータ読み取り可能な記録媒体におい
て、前記売上マスタの各データから請求マスタを作成す
る際に、前記売上日および前記請求フラグに基づいて請
求書発行が今回であるか次回であるかを判断し、今回分
のみについて前記請求マスタを作成することを特徴とす
る。
[0008] The invention described in claim 6 is the invention according to claim 5.
In the computer-readable recording medium according to the above, when creating a billing master from each data of the sales master, it is determined whether the invoice is issued this time or next time based on the sales date and the billing flag Then, the billing master is created only for this time.

【0009】[0009]

【発明の実施の形態】以下、図面を参照しこの発明の実
施の形態について説明する。図1はこの発明の第1の実
施の形態による請求書発行装置の構成を示すブロック図
である。この図において、符号1はサーバであり、LA
N(ローカルエリア・ネットワーク)2を介して複数の
クライアント3,3・・・と接続されている。サーバ1
には、記憶装置4が接続されており、この記憶装置4に
売上マスタ5、得意先情報データベース6、請求マスタ
7が作成されている。図2は売上マスタ5および請求マ
スタ7の構成例を示す図である。この図に示すように、
売上マスタには、売上NO.、日付け、請求フラグ、得
意先コード、品名、金額、請求済フラグ等が書き込ま
れ、また、請求マスタには、請求先、締日、請求日、売
上金額、入金金額等が書き込まれる。また、得意先情報
データベースは得意先に関する情報、すなわち、名称、
住所、電話番号、FAX番号等が書き込まれると共に、
その得意先の請求の締日が書き込まれる。一方、クライ
アント3,3・・・には、データ入力装置および請求書
発行装置が設けられている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the bill issuing device according to the first embodiment of the present invention. In this figure, reference numeral 1 denotes a server, and LA
Are connected to a plurality of clients 3 via an N (local area network) 2. Server 1
Is connected to a storage device 4 in which a sales master 5, a customer information database 6, and a billing master 7 are created. FIG. 2 is a diagram showing a configuration example of the sales master 5 and the billing master 7. As shown in this figure,
The sales master contains the sales number. , Date, billing flag, customer code, product name, amount, billed flag, etc., and the billing master, billing date, closing date, billing date, sales amount, deposit amount, etc. are written in the billing master. In addition, the customer information database stores information on customers, that is, names,
Address, telephone number, fax number, etc. are written,
The closing date of the customer's claim is entered. On the other hand, the clients 3, 3,... Are provided with a data input device and a bill issuing device.

【0010】このような構成において、売上時には、ク
ライアント3において、売上入力が行われる。図3はこ
の売上入力の過程を示すフローチャートであり、係員が
売上入力の画面を開くと、売上NO.がサーバ1からL
AN2を介して送信され、日付けと共に表示される(ス
テップSa1)。ここで、係員は得意先コード、品名、
売上金額等を入力する(ステップSa2)。図2の例に
おいては、係員が、2月27日に得意先コード「JS0
015」、品名「スーツ」、金額「530,000」を入力す
る。次に、係員は、請求が今回の請求か次回の請求かを
判断する(ステップSa3)。そして、今回の請求であ
れば、請求フラグとして”0”を書き込み(ステップS
a4)、また、次回の請求であれば、請求フラグとし
て”1”を書き込む(ステップSa5)。なお、請求フ
ラグはデフォルトで”0”が書き込まれており、したが
って、実際の処理においては”1”の場合のみ書き込み
が行われる。また、この請求フラグは通常”0”が書き
込まれ、特別の事情があって請求を次回に延ばす場合の
み”1”が書き込まれる。
In such a configuration, at the time of sales, the client 3 inputs sales. FIG. 3 is a flowchart showing this sales input process. When the clerk opens the sales input screen, the sales NO. Is L from server 1
It is transmitted via AN2 and displayed with the date (step Sa1). Here, the clerk has the customer code, product name,
The sales amount and the like are input (step Sa2). In the example of FIG. 2, the clerk sends the customer code “JS0
015 ", product name" suit ", and amount" 530,000 ". Next, the clerk determines whether the request is the current request or the next request (step Sa3). If it is the current request, "0" is written as the request flag (step S).
a4) If it is the next billing, "1" is written as a billing flag (step Sa5). Note that "0" is written in the billing flag by default, and therefore, writing is performed only in the case of "1" in actual processing. The request flag is usually set to "0", and "1" is written only when the request is postponed next time due to special circumstances.

【0011】次に、係員がデータ入力終了のキーを押す
と、クライアント3において上記の過程で入力されたデ
ータがサーバ1へ送られ、売上マスタ5に書き込まれる
(ステップSa6)。次に、2月28日に再び売り上げ
があると、上記と同様に、係員が、まず、得意先コード
「JG0221」、品名「セータ」、金額「220,000」
を入力する。次に、係員は、請求が今回の請求か次回の
請求かを判断し、今回の請求であれば、請求フラグとし
て”0”を書き込む。以下、売上がある毎に上記の処理
が繰り返される。
Next, when the clerk presses the data input end key, the data input in the above process in the client 3 is sent to the server 1 and written in the sales master 5 (step Sa6). Next, when there is a sales again on February 28, in the same manner as above, the clerk firstly receives the customer code “JG0221”, the product name “Seta”, and the amount “220,000”.
Enter Next, the clerk determines whether the request is the current request or the next request, and if the request is the current request, writes “0” as the request flag. Hereinafter, each time there is sales, the above processing is repeated.

【0012】このように、上記実施の形態による請求書
発行装置においては、従来のものにおいて売上マスタに
締日が書き込まれていたが(図5参照)、これに代え
て、請求フラグが書き込まれるようになっている。次
に、請求ファイル作成処理について説明する。図4はこ
の請求ファイル作成処理の過程を示すフローチャートで
ある。係員はこの請求ファイル作成処理に先だって、ま
ず、得意先の締日の変更があるか否かを確認する(ステ
ップSb1)。そして、締日変更がある場合は、得意先
情報データベース6の締日を変更する(ステップSb
2)。例えば、従来の締日が20日であれば、21日に
この請求ファイル作成処理を行うが、もし、締日変更が
あって、月末の31日になった場合は、21日の請求フ
ァイル作成処理を中止し、翌月の月初めにこの処理を行
う。係員は、この請求ファイル作成処理に先だって、ま
ず、得意先情報データベース6の締日変更を行う。
As described above, in the invoicing device according to the above-described embodiment, the closing date is written in the sales master in the conventional device (see FIG. 5), but a billing flag is written instead. It has become. Next, a billing file creation process will be described. FIG. 4 is a flowchart showing the process of the billing file creation process. Prior to the billing file creation process, the clerk first checks whether there is a change in the customer's closing date (step Sb1). If there is a change in the closing date, the closing date in the customer information database 6 is changed (step Sb).
2). For example, if the conventional closing date is 20 days, this billing file creation processing is performed on 21st, but if the closing date is changed and the 31st end of the month is reached, the billing file creation on 21st is performed. The processing is stopped, and this processing is performed at the beginning of the next month. Prior to the billing file creation process, the clerk first changes the closing date of the customer information database 6.

【0013】次に、係員が、得意先名と何月分かを入力
し、データ転送指示を行うと、サーバ1がこれを受け、
得意先情報データベース6から締日を読み出し、この締
日に基づいて売上マスタ5から対象となるレコードを選
び出す。すなわち、売上マスタ5の請求済フラグが”
0”(未請求)のもので、日付けが締日より前のものを
選び、そのレコードの得意先コード、売上金額等を読み
出し、請求マスタ7へ転送する(ステップSb3)。そ
して、売上マスタ5の請求フラグが”0”のデータにつ
いては、今月の締日を請求マスタ7の締日欄に書き込み
(ステップSb5)、請求フラグが”1”のデータにつ
いては、来月の締日を請求マスタ7の締日欄に書き込む
(ステップSb6)。
Next, when the clerk inputs the name of the customer and the number of months, and issues a data transfer instruction, the server 1 receives the instruction,
The closing date is read from the customer information database 6, and a target record is selected from the sales master 5 based on the closing date. That is, the invoice completion flag of the sales master 5 is "
0 ”(not invoiced), the date of which is before the closing date is selected, the customer code, sales amount, etc. of the record are read and transferred to the billing master 7 (step Sb3). For the data having the billing flag of "0", the closing date of this month is written in the closing date column of the billing master 7 (step Sb5), and for the data having the billing flag of "1", the closing date of next month is billed. The data is written in the closing date column of the master 7 (step Sb6).

【0014】図2の例においては、まず、得意先コード
「JS0015」の得意先の売上、すなわち、売上N
O.0001、0003、0006、0008を選び出
し、請求先として売上マスタの得意先コード「JS00
15」を書き込み、売上金額として売上マスタ5の「金
額」を書き込む。次に、売上NO.0001,000
6,0008については請求フラグが”0”であるの
で、今月の締日3月31日を書き込み、売上NO.00
03については請求フラグが”1”であるので、来月の
締日4月20日を書き込む。以下、得意先コード「JG
0221」、「JH1125」についても同様の処理を
行う。
In the example of FIG. 2, first, the sales of the customer having the customer code "JS0015", that is, the sales N
O. 0001, 0003, 0006, 0008 are selected and the customer code "JS00" of the sales master is set as the billing destination.
15 ", and the" amount "of the sales master 5 is written as the sales amount. Next, the sales NO. 0001,000
Since the billing flag is “0” for 6,0008, the closing date of this month, March 31, is written, and the sales NO. 00
For 03, the billing flag is "1", so the closing date of April 20 of the next month is written. The customer code "JG
0221 ”and“ JH1125 ”.

【0015】このようにして、売上マスタ7を作成した
係員は、次に、請求書発行指示を入力する。サーバ1は
この指示を受け、請求マスタ7から締日が今月のものを
選び、請求書用データを作成し、クライアント3へ送付
する。これにより、クライアント3において請求書が発
行される。また、サーバ1は請求書を発行したレコード
について、売上マスタ5の請求済フラグに”1”を書き
込む。このように、上記実施の形態によれば、締日変更
があった場合においても、得意先情報データベースの締
日を変更するだけでよく、従来に比較し極めて簡単に対
応することができる。
The clerk who has created the sales master 7 in this manner inputs a billing instruction. The server 1 receives this instruction and selects the one with the closing date of this month from the billing master 7, creates billing data, and sends it to the client 3. Thereby, a bill is issued in the client 3. Further, the server 1 writes “1” in the billing completed flag of the sales master 5 for the record that issued the bill. As described above, according to the above-described embodiment, even when the closing date is changed, it is only necessary to change the closing date of the customer information database, and it is possible to deal with it very easily as compared with the related art.

【0016】次に、この発明の第2の実施形態について
説明する。この第2の実施形態による請求書発行装置の
構成は上述した第1の実施形態の構成(図1参照)と同
じであり、また、売上げ入力時の処理も同じである(図
3参照)。異なる点は請求マスタ7の作成処理(図4)
である。以下、この処理を図5を参照して説明する。係
員はこの請求ファイル作成処理に先だって、まず、得意
先の締日の変更があるか否かを確認し(ステップSc
1)、締日変更がある場合は、得意先情報データベース
6の締日を変更する(ステップSc2)。この処理は、
図4の場合と同じである。次に、係員が、得意先名と何
月分かを入力し、データ転送指示を行うと、サーバ1が
これを受け、得意先情報データベース6から締日を読み
出し、この締日に基づいて売上マスタ5から対象となる
レコードを選び出す。
Next, a second embodiment of the present invention will be described. The configuration of the bill issuing device according to the second embodiment is the same as the configuration of the above-described first embodiment (see FIG. 1), and the processing at the time of inputting the sales is also the same (see FIG. 3). The difference is that the billing master 7 is created (FIG. 4).
It is. Hereinafter, this processing will be described with reference to FIG. Prior to the billing file creation process, the attendant first checks whether there is a change in the customer's closing date (step Sc).
1) If there is a change in the closing date, the closing date in the customer information database 6 is changed (step Sc2). This process
This is the same as in FIG. Next, the clerk inputs the name of the customer and the number of months, and issues a data transfer instruction. The server 1 receives the data, reads the closing date from the customer information database 6, and stores the sales date based on the closing date. A target record is selected from the master 5.

【0017】すなわち、サーバ1は、まず、売上マスタ
5の各レコードの中で請求済フラグが”0”(未請求)
のものを選び出し、選び出した各レコードについて、順
次、以下の処理を行う。まず、日付けが今月度であるか
否かを判断する(ステップSc3)。この判断は、得意
先情報データベース6から、先月の締日を読み出し、レ
コードの日付けが先月の締日の翌日から今月の締日まで
の間の日付けであるか否かをチェックすることによって
行う。そして、この判断結果が「YES」(日付けが今
月度)であった場合は、次に、請求フラグが”0”であ
るか否かを判断する(ステップSc4)。そして、この
判断結果が「YES」であった場合は、ステップSc5
へ進み、レコードの得意先コード、売上金額等を読み出
し、請求マスタ7へ転送し、次いで、今月の締日を請求
マスタ7の締日欄に書き込む(ステップSc6)。
That is, the server 1 first sets the billed flag to “0” (not billed) in each record of the sales master 5.
The following processing is sequentially performed for each selected record. First, it is determined whether or not the date is this month (step Sc3). This judgment is made by reading the closing date of the last month from the customer information database 6 and checking whether or not the date of the record is a date between the day after the closing date of the last month and the closing date of the current month. Do. If the result of this determination is "YES" (the date is this month), it is next determined whether or not the billing flag is "0" (step Sc4). If the result of this determination is "YES", the flow proceeds to step Sc5.
Then, the customer code, sales amount, etc. of the record are read and transferred to the billing master 7, and then the closing date of this month is written in the closing date column of the billing master 7 (step Sc6).

【0018】次に、ステップSc7へ進み、請求済フラ
グが”0”の全レコードについて処理が終了したか否か
を判断し、その判断結果が「NO」の場合はステップS
c3へ戻り、次のレコードについて日付けが今月度であ
るか否かを判断する。そしてこの判断結果が「YES」
であり、次のステップSc4の判断結果が「NO」(請
求フラグが”1”)であった場合はステップSc5、S
c6をジャンプしてステップSc7へ進む。すなわち、
レコードの日付けが今月度でも、請求フラグが”1”の
場合は、売上げデータの転送を行わない。
Then, the process proceeds to a step Sc7, in which it is determined whether or not the processing has been completed for all the records whose billing flag is "0". If the determination result is "NO", the process proceeds to a step S7.
Returning to c3, it is determined whether or not the date of the next record is this month. And this judgment result is “YES”
If the result of the determination in the next step Sc4 is "NO" (the billing flag is "1"), steps Sc5 and S5 are executed.
Jump to c6 and go to step Sc7. That is,
Even if the date of the record is this month, if the billing flag is “1”, the sales data is not transferred.

【0019】次に、ステップSc3の判断結果が「N
O」の場合はステップSc8へ進み、日付けが前月度で
あるか否かを判断する。この判断は、得意先情報データ
ベース6から、先々月の締日を読み出し、レコードの日
付けが先々月の締日の翌日から先月の締日までの間の日
付けであるか否かをチェックすることによって行う。そ
して、この判断結果が「YES」(日付けが先月度)で
あった場合は、次に、請求フラグが”1”であるか否か
を判断する(ステップSc9)。そして、この判断結果
が「YES」であった場合は、ステップSc5へ進み、
レコードの得意先コード、売上金額等を読み出し、請求
マスタ7へ転送し、次いで、今月の締日を請求マスタ7
の締日欄に書き込む(ステップSc6)。この処理によ
って、先月の売上げで請求日の繰り延べがあったレコー
ドの請求マスタ転送が行われる。なお、ステップSc
8、Sc9の判断が「NO」であった場合はステップS
c5,Sc6の処理は行われず、ステップSc7へ進
む。
Next, the result of the determination in step Sc3 is "N
In the case of "O", the process proceeds to step Sc8, and it is determined whether or not the date is the previous month. In this determination, the closing date of the previous month is read from the customer information database 6 and it is checked whether or not the date of the record is a date between the day following the closing date of the previous month and the closing date of the previous month. By doing. If the result of this determination is "YES" (the date is last month), it is next determined whether or not the billing flag is "1" (step Sc9). If the result of this determination is “YES”, the flow proceeds to step Sc5,
The customer code, sales amount, etc. of the record are read and transferred to the billing master 7, and then the closing date of this month is set to the billing master 7.
(Step Sc6). By this processing, the billing master transfer of the record in which the billing date was postponed due to the sales in the last month is performed. Step Sc
8. If the determination in Sc9 is "NO", step S
The process of c5 and Sc6 is not performed, and the process proceeds to step Sc7.

【0020】このように、上記実施形態によれば、請求
が翌月に延期されたケース、すなわち、請求フラグが”
1”のケースについて、その月の締めの時に第1の実施
形態のように売上マスタ5から請求マスタ7へ移すとい
うことはせず、売上マスタ5に残しておく。そして、次
の月に請求マスタ7へ移して請求書の発行を行う。これ
により、例外的に締日変更が複数月連続して起こった場
合においても、請求マスタ7の締日を手動で変更する必
要がない利点が得られる。
As described above, according to the above embodiment, the case where the billing is postponed to the next month, that is, the billing flag is set to “
In the case of "1", the sales master 5 does not move from the sales master 5 to the billing master 7 at the end of the month as in the first embodiment, but remains in the sales master 5. The billing is performed in the next month. The invoice is issued by transferring to the master 7. Thus, even if the closing date changes exceptionally for a plurality of consecutive months, there is an advantage that it is not necessary to manually change the closing date of the billing master 7. Can be

【0021】なお、図1におけるサーバ1およびクライ
アント3の各処理はコンピュータ読み取り可能な記憶媒
体に記憶されたプログラムにしたがって行われる。ここ
で、「コンピュータ読み取り可能な記憶媒体」とは、フ
ロッピイディスク、光磁気ディスク、半導体ROM、C
D−ROM等の可搬媒体、コンピュータシステムに内蔵
されるハードディスク等の記憶装置のことを言う。
Each process of the server 1 and the client 3 in FIG. 1 is performed according to a program stored in a computer-readable storage medium. Here, the “computer-readable storage medium” refers to a floppy disk, a magneto-optical disk, a semiconductor ROM,
It refers to a portable medium such as a D-ROM or a storage device such as a hard disk built in a computer system.

【0022】[0022]

【発明の効果】以上説明したように、この発明によれ
ば、売上時において、売上日、売上金額と共に請求が今
回であるか次回であるかを示す請求フラグを売上マスタ
に書き込み、請求時において、締日変更がある場合は変
更後の締日を得意先情報データベースに書き込み、上記
の締日書込み後、売上マスタの各データから請求マスタ
を作成すると共に、売上マスタの売上日および請求フラ
グと、得意先情報データベースの締日に基づいて該請求
マスタに締日を書き込み、請求マスタの各データおよび
締日に基づいて請求書を発行するようにしたので、締日
変更の要求があった場合において、変更処理を手間をか
けず、極めて短時間に行うことができる効果が得られ
る。また、請求項2、4,6に記載の発明によれば、締
日変更が複数月連続して起こった場合においても、請求
マスタの締日を手動で変更する必要がない利点が得られ
る。
As described above, according to the present invention, at the time of sale, a billing flag indicating whether the billing is for the current time or the next time is written in the sales master along with the sales date and the sales amount. If there is a change in the closing date, the changed closing date is written in the customer information database, and after writing the closing date, a billing master is created from each data of the sales master, and the sales date and the billing flag of the sales master are written. Since the closing date is written in the billing master based on the closing date of the customer information database and an invoice is issued based on each data of the billing master and the closing date, when there is a request for changing the closing date In this case, an effect is obtained that the change process can be performed in a very short time without any trouble. Further, according to the second, fourth, and sixth aspects of the invention, there is an advantage that it is not necessary to manually change the closing date of the billing master even when the closing date has been changed continuously for a plurality of months.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明の一実施形態の構成を示すブロック
図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】 同実施形態における売上マスタ5および請求
マスタ7の構成を示す図である。
FIG. 2 is a diagram showing a configuration of a sales master 5 and a billing master 7 in the embodiment.

【図3】 同実施形態の動作を説明するためのフローチ
ャートである。
FIG. 3 is a flowchart for explaining the operation of the embodiment.

【図4】 同実施形態の動作を説明するためのフローチ
ャートである。
FIG. 4 is a flowchart for explaining the operation of the embodiment.

【図5】 従来の売上マスタの構成を示すブロック図で
ある。
FIG. 5 is a block diagram showing a configuration of a conventional sales master.

【図6】 従来の売上マスタの一例を示す図である。FIG. 6 is a diagram showing an example of a conventional sales master.

【符号の説明】[Explanation of symbols]

1…サーバ、2…LAN、3…クライアント、4…記憶
装置、5…売上マスタ、6…得意先情報データベース、
7…請求マスタ。
DESCRIPTION OF SYMBOLS 1 ... Server, 2 ... LAN, 3 ... Client, 4 ... Storage device, 5 ... Sales master, 6 ... Customer information database,
7 ... Billing master.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 売上時に売上マスタを作成し、該売上マ
スタおよび得意先情報データベースから請求マスタを作
成し、該請求マスタに基づいて請求書を発行する請求書
発行方法において、 売上時において、売上日、売上金額と共に請求が今回で
あるか次回であるかを示す請求フラグを売上マスタに書
き込み、 請求時において、締日変更がある場合は変更後の締日を
前記得意先情報データベースに書き込み、 上記の締日書込み後、前記売上マスタの各データから請
求マスタを作成すると共に、前記売上マスタの売上日お
よび請求フラグと、前記得意先情報データベースの締日
に基づいて該請求マスタに締日を書き込み、 前記請求マスタの各データおよび締日に基づいて請求書
を発行することを特徴とする請求書発行方法。
1. A bill issuing method for creating a sales master at the time of sale, creating a bill master from the sales master and the customer information database, and issuing an invoice based on the bill master. Day, write a billing flag indicating whether this is the current or the next billing with the sales amount in the sales master, At the time of billing, if there is a change in the closing date, write the changed closing date in the customer information database, After writing the closing date, a billing master is created from the data of the sales master, and a closing date is set in the billing master based on the sales date and billing flag of the sales master and the closing date of the customer information database. Writing a bill based on each data of the bill master and a closing date.
【請求項2】 上記締日書込み後、前記売上マスタの各
データから請求マスタを作成する際に、前記売上日およ
び前記請求フラグに基づいて請求書発行が今回であるか
次回であるかを判断し、今回分のみについて前記請求マ
スタを作成することを特徴とする請求項1に記載の請求
書発行方法。
2. After writing the closing date, when creating a billing master from each data of the sales master, it is determined whether the invoice is issued this time or the next time based on the sales date and the billing flag. 2. The bill issuing method according to claim 1, wherein the bill master is created only for this time.
【請求項3】 売上日、売上金額と共に請求が今回であ
るか次回であるかを示す請求フラグが書き込まれる売上
マスタと、 得意先情報と締日が書き込まれる得意先情報データベー
スと、 請求データが書き込まれる請求マスタと、 前記売上マスタの所定のデータを前記請求マスタへ書き
込むと共に、売上マスタの売上日および請求フラグと、
前記得意先情報データベースの締日に基づいて前記請求
マスタに締日を書き込む書込手段と、 前記請求マスタの各データおよび締日に基づいて請求書
を発行する請求書発行手段と、 を具備することを特徴とする請求書発行装置。
3. A sales master in which a billing flag indicating whether this is the current or next billing date is written together with a sales date and a sales amount; a customer information database in which customer information and a closing date are written; A billing master to be written, and while writing predetermined data of the sales master to the billing master, a sales date and a billing flag of the sales master,
Writing means for writing a closing date in the billing master based on the closing date of the customer information database; and bill issuing means for issuing a bill based on each data of the billing master and the closing date. A bill issuing device characterized by the above-mentioned.
【請求項4】 前記書込手段は、前記売上マスタの所定
のデータを前記請求マスタへ書き込む際に、前記売上日
および前記請求フラグに基づいて請求書発行が今回であ
るか次回であるかを判断し、今回分のみについて前記請
求マスタに書き込むことを特徴とする請求項3に記載の
請求書発行装置。
4. The writing means, when writing predetermined data of the sales master to the billing master, determines whether a bill is issued this time or next time based on the sales date and the billing flag. 4. The bill issuing device according to claim 3, wherein the determination is made and only the current time is written to the billing master.
【請求項5】 売上時に売上マスタを作成し、該売上マ
スタおよび得意先情報データベースから請求マスタを作
成し、該請求マスタに基づいて請求書を発行するプログ
ラムを記憶したコンピュータ読み取り可能な記録媒体で
あって、 売上時において、係員によって入力された売上日、売上
金額および請求が今回であるか次回であるかを示す請求
フラグを売上マスタに書き込み、 請求時において、締日変更がある場合に係員によって入
力された変更後の締日を前記得意先情報データベースに
書き込み、 上記の締日書込み後、前記売上マスタの各データから請
求マスタを作成すると共に、前記売上マスタの売上日お
よび請求フラグと、前記得意先情報データベースの締日
に基づいて該請求マスタに締日を書き込み、 前記請求マスタの各データおよび締日に基づいて請求書
を発行することを特徴とするプログラムを記録したコン
ピュータ読み取り可能な記録媒体。
5. A computer-readable recording medium storing a program for generating a sales master upon sales, generating a billing master from the sales master and the customer information database, and issuing a bill based on the billing master. At the time of sales, write the sales date, sales amount, and billing flag indicating whether the bill is the current or next time entered in the sales master in the sales master. Write the changed closing date entered by the customer information database into the customer information database, and after writing the closing date, create a billing master from each data of the sales master, and a sales date and a billing flag of the sales master, The closing date is written in the billing master based on the closing date of the customer information database, and each data and A computer-readable recording medium that stores a program and issues a bill based on the fine closing date.
【請求項6】 前記売上マスタの各データから請求マス
タを作成する際に、前記売上日および前記請求フラグに
基づいて請求書発行が今回であるか次回であるかを判断
し、今回分のみについて前記請求マスタを作成すること
を特徴とする請求項5に記載のコンピュータ読み取り可
能な記録媒体。
6. When a billing master is created from each data of the sales master, it is determined based on the sales date and the billing flag whether the invoice is issued this time or the next time. The computer-readable recording medium according to claim 5, wherein the billing master is created.
JP2000131624A 2000-04-28 2000-04-28 Method for submitting bill, submitting device and storage medium Pending JP2001312541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000131624A JP2001312541A (en) 2000-04-28 2000-04-28 Method for submitting bill, submitting device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000131624A JP2001312541A (en) 2000-04-28 2000-04-28 Method for submitting bill, submitting device and storage medium

Publications (1)

Publication Number Publication Date
JP2001312541A true JP2001312541A (en) 2001-11-09

Family

ID=18640489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000131624A Pending JP2001312541A (en) 2000-04-28 2000-04-28 Method for submitting bill, submitting device and storage medium

Country Status (1)

Country Link
JP (1) JP2001312541A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007034746A (en) * 2005-07-27 2007-02-08 Sap Ag Invoice grouping device, invoice grouping method, and invoice grouping program
JP2008165524A (en) * 2006-12-28 2008-07-17 Sap Ag Accounting system, accounting method, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06325057A (en) * 1993-05-10 1994-11-25 Toppan Moore Co Ltd Bill issuing method
JPH1040320A (en) * 1996-07-25 1998-02-13 Fujitsu Ltd Method and device for processing credit account claim

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06325057A (en) * 1993-05-10 1994-11-25 Toppan Moore Co Ltd Bill issuing method
JPH1040320A (en) * 1996-07-25 1998-02-13 Fujitsu Ltd Method and device for processing credit account claim

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007034746A (en) * 2005-07-27 2007-02-08 Sap Ag Invoice grouping device, invoice grouping method, and invoice grouping program
JP2008165524A (en) * 2006-12-28 2008-07-17 Sap Ag Accounting system, accounting method, and program
JP4662913B2 (en) * 2006-12-28 2011-03-30 エスアーペー アーゲー Accounting system, accounting method, and program

Similar Documents

Publication Publication Date Title
CA2594573C (en) Method and system for providing annotations of a digital work
CA2684955C (en) Providing annotations of a digital work
JP5210148B2 (en) BOOKING METHOD, INFORMATION PROCESSING DEVICE, AND BOOKING PROGRAM
JP2001312541A (en) Method for submitting bill, submitting device and storage medium
JP3914614B2 (en) Accounting equipment
JP3929824B2 (en) Computer-readable storage medium storing accounting processing apparatus and automatic journalizing program
JP6850160B2 (en) Payroll processing device, payroll correction processing method, and payroll correction processing program
JP7474041B2 (en) Accrued expense transfer device, incurred expense transfer method, and incurred expense transfer program
JP2019101802A (en) Data display device, data display method, and data display program
JP4819135B2 (en) Detail data aggregation device, detail data aggregation program, and detail data aggregation method
JP3942697B2 (en) Accounting processing form changing apparatus and computer-readable recording medium recording accounting processing form changing program
JPH11296578A (en) Accounting processor, transaction data input device, and regressive correcting method for error data
JP3030299U (en) Accounting information processing device
JPH05334316A (en) Estimated amount contrast statement generating device
JP7377166B2 (en) Accounting processing device, accounting method, and accounting processing program
JP7369251B2 (en) Accounting processing device, accounting method, and accounting processing program
JP3871106B2 (en) Accounting system
JP7481191B2 (en) Clearing operation support device, clearing operation support method, and clearing operation support program
JP2003323536A (en) Input/display screen, method of displaying consumption tax information, consumption tax information display program and memory medium
JP7324162B2 (en) Cost output device, cost output method, and cost output program
JP7352476B2 (en) Payroll processing device, payroll processing method, and payroll processing program
JP2024013346A (en) Credit management system, credit management method, and credit management program
JP2020155048A (en) Device, program, and method for supporting operation
JP2024048113A (en) Store daily report management device, store daily report management method, and store daily report management program
JP2024004189A (en) Depreciation simulation device, depreciation simulation method, and depreciation simulation program

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040106