JP7783206B2 - Sales processing device, sales processing method, and sales processing program - Google Patents
Sales processing device, sales processing method, and sales processing programInfo
- Publication number
- JP7783206B2 JP7783206B2 JP2023007627A JP2023007627A JP7783206B2 JP 7783206 B2 JP7783206 B2 JP 7783206B2 JP 2023007627 A JP2023007627 A JP 2023007627A JP 2023007627 A JP2023007627 A JP 2023007627A JP 7783206 B2 JP7783206 B2 JP 7783206B2
- Authority
- JP
- Japan
- Prior art keywords
- sales
- office
- branch
- warehouse
- identification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Description
本発明は、売上処理装置、売上処理方法、及び売上処理プログラムに関する。 The present invention relates to a sales processing device, a sales processing method, and a sales processing program.
例えば、本支店会計を採用する企業がある。本支店会計を採用した場合、実際の商品の動きと財務上の発生が異なるため、工場から得意先へ商品を直接出荷する場合に、財務上の発生に合わせるうえで、一度工場から支店への仮想的な移動処理を行って社内売買データを作成する必要があるため、担当者の作業負荷が大きかった。従来、社内売買データを作成するシステムとして、例えば、特許文献1がある。 For example, some companies use head office/branch accounting. When head office/branch accounting is used, the actual movement of goods differs from the financial occurrence. Therefore, when goods are shipped directly from a factory to a customer, in order to match the financial occurrence, a virtual transfer process from the factory to the branch office must be carried out once to create internal trading data, which places a heavy workload on the person in charge. Patent Document 1, for example, is a conventional system for creating internal trading data.
しかしながら、特許文献1では、本支店会計を採用する場合に、工場から得意先へ商品を直接出荷する際の社内売買の売上処理を簡単かつ担当者に負荷をかけることなく実行することに関して何等記載されていない。 However, Patent Document 1 does not mention anything about how to easily process sales for internal transactions when products are shipped directly from factories to customers without placing a burden on staff when adopting head office/branch accounting.
本発明は、上記問題点に鑑みてなされたものであって、本支店会計を採用する場合に、工場から得意先へ商品を直接出荷する際の社内売買の売上処理を簡単かつ担当者に負荷をかけることなく実行可能な売上処理装置、売上処理方法、及び売上処理プログラムを提供することを目的とする。 The present invention was made in consideration of the above-mentioned problems, and aims to provide a sales processing device, sales processing method, and sales processing program that can easily process sales for internal transactions when products are shipped directly from a factory to a customer, without placing a burden on the person in charge, when head office/branch accounting is adopted.
上述した課題を解決し、目的を達成するために、本発明は、制御部を備え、本支店会計及び本社集中制度を採用する企業の売上処理を行う売上処理装置であって、前記制御部は、倉庫を識別するための倉庫識別情報と、当該倉庫の事業所を識別するための事業所識別情報を関連付けて登録した倉庫マスタと、事業所識別情報と、本社、支店、又は工場を示す本支店区分を関連付けて登録した本支店マスタと、にアクセス可能に構成されており、売上入力画面上でのオペレータの入力操作に応じて、入力される、売上計上する事業所の事業所識別情報をキーとして前記本支店マスタから本支店区分を取得し、取得した本支店区分が「支店」で、かつ、入力される、得意先に出荷する倉庫の倉庫識別情報をキーとして前記倉庫マスタから事業所識別情報を取得し、取得した事業所識別情報をキーとして前記本支店マスタから本支店区分を取得し、取得した本支店区分が「工場」の場合には、前記売上入力画面の入力内容に基づいて、支店についての売上データと共に、工場と本社間及び本社と支店間の社内売買データを自動生成する売上処理手段を備えたことを特徴とする。 To solve the above-mentioned problems and achieve the objectives, the present invention provides a sales processing device equipped with a control unit that processes sales for a company that adopts head office/branch accounting and a centralized accounting system. The control unit is configured to access a warehouse master that associates and registers warehouse identification information for identifying a warehouse with business location identification information for the warehouse, and a head office/branch master that associates and registers business location identification information with a head office/branch office classification indicating a head office, branch office, or factory. In response to input operations by an operator on a sales input screen, the device acquires a head office/branch office classification from the head office/branch office master using the business location identification information of the business location that will record the sales as a key, and if the acquired head office/branch office classification is "branch" and the acquired business location identification information of the warehouse that will ship to the customer is used as a key, the device acquires a head office/branch office classification from the head office/branch office master using the acquired business location identification information as a key. If the acquired head office/branch office classification is "factory," the device is equipped with sales processing means that automatically generates sales data for the branch, as well as internal transaction data between the factory and the head office and between the head office and the branch office, based on the input on the sales input screen.
また、本発明の一態様によれば、前記売上処理手段は、前記取得した本支店区分が「支店」かつ「工場」以外の場合は、売上データのみを作成することにしてもよい。 Furthermore, according to one aspect of the present invention, the sales processing means may create only sales data if the acquired head office/branch office classification is other than "branch office" and "factory."
また、本発明の一態様によれば、前記売上データは、売上番号、事業所識別情報、倉庫識別情報、得意先識別情報、売上日、出荷日、及び通常又は社内売買を示す計上パターン区分を含む売上ヘッダと、売上番号、行番号、商品識別情報、数量、売上単価、売上金額、原価単価、及び原価金額を含む売上明細とで構成されることにしてもよい。 Furthermore, according to one aspect of the present invention, the sales data may be composed of a sales header including a sales number, business establishment identification information, warehouse identification information, customer identification information, sales date, shipping date, and an accounting pattern classification indicating normal or internal sales, and sales details including a sales number, line number, product identification information, quantity, unit sales price, sales amount, unit cost price, and cost amount.
また、本発明の一態様によれば、前記社内売買データは、社内売買番号、移動元の事業所識別情報、移動元の倉庫識別情報、移動先の事業所識別情報、移動先の倉庫識別情報、及び売上番号を含む社内売買ヘッダと、社内売買番号、行番号、商品識別情報、数量、原価単価、及び原価金額を含む社内売買明細とで構成されることにしてもよい。 Furthermore, according to one aspect of the present invention, the internal transaction data may be composed of an internal transaction header including the internal transaction number, source business establishment identification information, source warehouse identification information, destination business establishment identification information, destination warehouse identification information, and sales number, and internal transaction details including the internal transaction number, line number, product identification information, quantity, cost unit price, and cost amount.
また、本発明の一態様によれば、前記制御部は、通常売上又は社内売買毎に、借方科目、借方事業所、貸方科目、貸方事業所、及び金額の種類を含む仕訳パターンを登録した仕訳定義テーブルにアクセス可能に構成されており、前記売上データ及び社内売買データに基づいて、前記仕訳定義テーブルを参照して、工場、本社、支店の仕訳データを作成する仕訳処理手段を備えることにしてもよい。 Furthermore, according to one aspect of the present invention, the control unit may be configured to be able to access a journal entry definition table that registers journal entry patterns including debit items, debit establishments, credit items, credit establishments, and amount types for each regular sales or internal transaction, and may be equipped with a journal entry processing means that references the journal entry definition table and creates journal entry data for factories, headquarters, and branches based on the sales data and internal transaction data.
また、上述した課題を解決し、目的を達成するために、本発明は、制御部を備えた情報処理装置が実行する売上処理方法であって、前記制御部は、倉庫を識別するための倉庫識別情報と、当該倉庫の事業所を識別するための事業所識別情報を関連付けて登録した倉庫マスタと、事業所識別情報と、本社、支店、又は工場を示す本支店区分を関連付けて登録した本支店マスタと、にアクセス可能に構成されており、前記制御部において実行される、売上入力画面上でのオペレータの入力操作に応じて、入力される、売上計上する事業所の事業所識別情報をキーとして前記本支店マスタから本支店区分を取得し、取得した本支店区分が「支店」で、かつ、入力される、得意先に出荷する倉庫の倉庫識別情報をキーとして前記倉庫マスタから事業所識別情報を取得し、取得した事業所識別情報をキーとして前記本支店マスタから本支店区分を取得し、取得した本支店区分が「工場」の場合には、前記売上入力画面の入力内容に基づいて、支店についての売上データと共に、工場と本社間及び本社と支店間の社内売買データを自動生成する売上処理工程を含むことを特徴とする。 In order to solve the above-mentioned problems and achieve the objectives, the present invention provides a sales processing method executed by an information processing device equipped with a control unit. The control unit is configured to be able to access a warehouse master that associates and registers warehouse identification information for identifying a warehouse with business location identification information for identifying the warehouse, and a head office/branch office master that associates and registers business location identification information with a head office/branch office classification indicating a head office, branch office, or factory. The control unit executes a sales processing step that, in response to input operations by an operator on a sales input screen, acquires a head office/branch office classification from the head office/branch office master using the business location identification information of the business location recording the sales as a key; if the acquired head office/branch office classification is "branch office" and the entered warehouse identification information of the warehouse shipping to the customer is used as a key, acquires a head office/branch office classification from the head office/branch office master using the acquired business location identification information as a key; and, if the acquired head office/branch office classification is "factory," automatically generates sales data for the branch office, as well as internal transaction data between the factory and the head office and between the head office and the branch office, based on the input on the sales input screen.
また、上述した課題を解決し、目的を達成するために、本発明は、制御部を備えた情報処理装置に実行させるための売上処理プログラムであって、前記制御部は、倉庫を識別するための倉庫識別情報と、当該倉庫の事業所を識別するための事業所識別情報を関連付けて登録した倉庫マスタと、事業所識別情報と、本社、支店、又は工場を示す本支店区分を関連付けて登録した本支店マスタと、にアクセス可能に構成されており、前記制御部において、売上入力画面上でのオペレータの入力操作に応じて、入力される、売上計上する事業所の事業所識別情報をキーとして前記本支店マスタから本支店区分を取得し、取得した本支店区分が「支店」で、かつ、入力される、得意先に出荷する倉庫の倉庫識別情報をキーとして前記倉庫マスタから事業所識別情報を取得し、取得した事業所識別情報をキーとして前記本支店マスタから本支店区分を取得し、取得した本支店区分が「工場」の場合には、前記売上入力画面の入力内容に基づいて、支店についての売上データと共に、工場と本社間及び本社と支店間の社内売買データを自動生成する売上処理工程を実行するための売上処理プログラムであることを特徴とする。 Furthermore, to solve the above-mentioned problems and achieve the objectives, the present invention provides a sales processing program to be executed by an information processing device equipped with a control unit. The control unit is configured to access a warehouse master that associates and registers warehouse identification information for identifying a warehouse with business location identification information for identifying the warehouse, and a head office/branch office master that associates and registers business location identification information with a head office/branch office classification indicating a head office, branch office, or factory. The control unit, in response to input operations by an operator on a sales input screen, obtains the head office/branch office classification from the head office/branch office master using the business location identification information of the business location recording the sales as a key; if the obtained head office/branch office classification is "branch office" and the input warehouse identification information of the warehouse shipping to the customer is used as a key, obtains the head office/branch office classification from the head office/branch office master using the obtained business location identification information as a key; and if the obtained head office/branch office classification is "factory," executes a sales processing step that automatically generates sales data for the branch office, as well as internal sales data between the factory and the head office and between the head office and the branch office, based on the input on the sales input screen.
本発明によれば、本支店会計を採用する場合に、工場から得意先へ商品を直接出荷する際の社内売買の売上処理を簡単かつ担当者に負荷をかけることなく実行可能になるという効果を奏する。 This invention has the advantage that, when adopting head office/branch accounting, sales processing for internal transactions when goods are shipped directly from the factory to a customer can be performed simply and without placing a burden on the person in charge.
本発明の実施形態を図面に基づいて詳細に説明する。なお、本発明は本実施形態により限定されるものではない。 An embodiment of the present invention will be described in detail with reference to the drawings. However, the present invention is not limited to this embodiment.
[1.概要]
例えば、本支店会計及び本社集中制度を採用する企業がある。「本支店会計」とは、企業が本社のほかに支店を設けた場合に用いる会計制度のことで、支店を複数持つ企業の場合、本支店間の取引または支店相互間の取引が生じるが、これらの内部取引を処理する場合に使用される。本支店会計では、支店に独立採算制をとらせ、本社と支店を別会社と見立てて、本社では支店勘定、支店側では本社勘定を使い、それぞれが損益計算を行うことで、各支店の損益を明確にすることができる。本支店会計は、支店が製造から販売まで一貫して対応している場合に有用である。
[1. Overview]
For example, some companies adopt head office/branch accounting and headquarters centralization systems. "Head office/branch accounting" is an accounting system used when a company has branches in addition to its headquarters. In companies with multiple branches, transactions occur between the head office and branches, and this system is used to process these internal transactions. With head office/branch accounting, branches are made to operate on an independent accounting system, and the headquarters and branches are treated as separate companies. The headquarters uses branch accounts and the branches use head office accounts, and each calculates its own profit and loss, making it possible to clearly show the profit and loss of each branch. Head office/branch accounting is useful when branches handle everything from manufacturing to sales.
「本社集中計算制度」とは、支店間の取引をすべて本社が帳簿に記録する制度であり、実際には本社を介していない支店相互間の取引であっても、本社を経由したとみなして仕訳をするのが特徴である。支店相互間の取引まですべて把握できるのがメリットであるが、本社の記帳作業が煩雑となる。 The "headquarters centralized accounting system" is a system in which the head office records all transactions between branches in its books. Its distinctive feature is that even transactions between branches that do not actually go through the head office are accounted for as if they went through the head office. While this system has the advantage of being able to keep track of all transactions between branches, it also makes the bookkeeping work at the head office cumbersome.
本支店会計を採用した場合、実際の商品の動きと財務上の発生が異なるため、工場から得意先へ商品を直接出荷する場合に、財務上の発生に合わせるうえで、一度工場から支店への仮想的な移動処理を行う必要があるため、担当者の作業(入力)負荷が大きかった。 When branch and head office accounting is adopted, the actual movement of goods differs from the financial occurrence, so when goods are shipped directly from the factory to a customer, a virtual transfer process must be carried out from the factory to the branch office to match the financial occurrence, which places a heavy workload (data entry) on the staff.
そこで、本実施の形態では、本支店会計を採用する場合に、工場から得意先へ商品を直接出荷する際の社内売買の売上処理を簡単かつ担当者に負荷をかけることなく実行可能なシステムを提案する。 In this embodiment, we propose a system that, when adopting head office/branch accounting, can easily process sales for internal transactions when goods are shipped directly from the factory to customers without placing a burden on the person in charge.
図1は、本支店会計を採用した場合の従来(通常)の売上処理を説明するための図である。同図において、(A)は、商品の流れと売上を説明するための図、(B)は、工場の仕訳の例(社内売買)を示す図、(C)は、本社の仕訳の例(社内売買)を示す図、(D)は、支店の仕訳の例(社内売買)を示す図、(E)は、支店の仕訳の例(通常売上)を示す図である。 Figure 1 is a diagram explaining conventional (normal) sales processing when head office/branch accounting is adopted. In the diagram, (A) is a diagram explaining the flow of goods and sales, (B) is a diagram showing an example of factory accounting (internal sales), (C) is a diagram showing an example of head office accounting (internal sales), (D) is a diagram showing an example of branch accounting (internal sales), and (E) is a diagram showing an example of branch accounting (normal sales).
工場から支店へ在庫を移動させる際に、部門間での売買を発生させる。この場合、工場から得意先へ商品を直送する場合には、社内売買のために、移動処理、出荷処理、売上処理をする必要があり、仮想的に支店在庫を設け上記移動をかけてから売上処理が必要となり、担当者の入力負荷や手間が発生していた。 When inventory is transferred from the factory to the branch, a transaction between departments occurs. In this case, when goods are directly shipped from the factory to a customer, transfer processing, shipping processing, and sales processing are required for internal transactions. Virtual branch inventory is created, and the above transfers are carried out before sales processing is performed, which places a burden on staff and increases their input workload.
図2は、本支店会計を採用した場合の本発明の売上処理を説明するための図である。同図において、(A)は、商品の流れと売上を説明するための図、(B)は、工場の仕訳の例(社内売買)を示す図、(C)は、本社の仕訳の例(社内売買)を示す図、(D)は、支店の仕訳の例(社内売買及び通常売上)を示す図である。 Figure 2 is a diagram explaining the sales processing of the present invention when head office/branch accounting is adopted. In the diagram, (A) is a diagram explaining the flow of goods and sales, (B) is a diagram showing an example of accounting entries at the factory (internal transactions), (C) is a diagram showing an example of accounting entries at the head office (internal transactions), and (D) is a diagram showing an example of accounting entries at the branch office (internal transactions and regular sales).
本発明では、工場から得意先へ商品を直送する場合には、売上処理のみで社内売買を計上できるようにした。この場合、支店から得意先へ売上処理を行うが、仮想的に工場と支店間の社内売買の計上を行えるようにした。また、売上を計上する担当者は、実態に沿った売上を入力するだけで、本支店を意識せずに売上を入力することが可能となった。 In this invention, when goods are shipped directly from a factory to a customer, the internal transaction can be recorded simply by sales processing. In this case, sales processing is performed from the branch to the customer, but it is possible to virtually record the internal transaction between the factory and branch. Furthermore, the person in charge of recording sales can simply enter sales that reflect the actual situation, without having to worry about the head office or branch office.
本発明は、例えば、工場や支店を複数有しており、本支店会計を行っているメーカー全般に広く適用可能である。 The present invention can be widely applied to manufacturers in general who have multiple factories and branches and use head office and branch accounting.
[2.構成]
本実施形態に係る売上処理装置100の構成の一例について、図3を参照して説明する。図3は、売上処理装置100の構成の一例を示すブロック図である。
2. Configuration
An example of the configuration of the sales processing device 100 according to this embodiment will be described with reference to Fig. 3. Fig. 3 is a block diagram showing an example of the configuration of the sales processing device 100.
売上処理装置100は、市販のデスクトップ型パーソナルコンピュータである。なお、売上処理装置100は、デスクトップ型パーソナルコンピュータのような据置型情報処理装置に限らず、市販されているノート型パーソナルコンピュータ、PDA(Personal Digital Assistants)、スマートフォン、タブレット型パーソナルコンピュータなどの携帯型情報処理装置であってもよい。 The sales processing device 100 is a commercially available desktop personal computer. Note that the sales processing device 100 is not limited to stationary information processing devices such as desktop personal computers, but may also be portable information processing devices such as commercially available notebook personal computers, PDAs (Personal Digital Assistants), smartphones, and tablet personal computers.
売上処理装置100は、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。売上処理装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。 The sales processing device 100 comprises a control unit 102, a communication interface unit 104, a memory unit 106, and an input/output interface unit 108. Each unit of the sales processing device 100 is connected to each other so that they can communicate with each other via any communication path.
通信インターフェース部104は、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、売上処理装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、売上処理装置100とサーバ200とをに通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。 The communication interface unit 104 communicatively connects the sales processing device 100 to the network 300 via a communication device such as a router and a wired or wireless communication line such as a dedicated line. The communication interface unit 104 has the function of communicating data with other devices via a communication line. Here, the network 300 has the function of communicatively connecting the sales processing device 100 and the server 200, and is, for example, the Internet or a LAN (Local Area Network).
入出力インターフェース部108には、入力装置112および出力装置114が接続されている。出力装置114には、モニタ(タッチパネルを含む)の他、スピーカやプリンタを用いることができる。入力装置112には、キーボード、マウス、およびマイクの他、マウスと協働してポインティングデバイス機能を実現するモニタを用いることができる。なお、以下では、出力装置114をモニタ114またはプリンタ114とし、入力装置112をキーボード112またはマウス112として記載する場合がある。また、「出力」とは、出力装置114で出力すること等をいい、例えば、モニタ114への表示出力やプリンタ114での印刷出力することの他、外部にデータを送信することを含む。 An input device 112 and an output device 114 are connected to the input/output interface unit 108. The output device 114 may be a monitor (including a touch panel), a speaker, or a printer. The input device 112 may be a keyboard, a mouse, a microphone, or a monitor that functions as a pointing device in conjunction with a mouse. Note that, below, the output device 114 may be referred to as the monitor 114 or the printer 114, and the input device 112 may be referred to as the keyboard 112 or the mouse 112. Furthermore, "output" refers to outputting from the output device 114, and includes, for example, display output to the monitor 114, print output from the printer 114, and sending data to an external device.
記憶部106には、各種のデータベース、テーブル、およびファイルなどが格納される。記憶部106には、OS(Operating System)と協働してCPU(Central Processing Unit)に命令を与えて各種処理を行うためのコンピュータプログラムが記録される。記憶部106として、例えば、RAM(Random Access Memory)・ROM(Read Only Memory)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、および光ディスク等を用いることができる。 The storage unit 106 stores various databases, tables, files, and the like. The storage unit 106 stores computer programs that work in conjunction with the OS (Operating System) to issue commands to the CPU (Central Processing Unit) to perform various processes. The storage unit 106 can be, for example, a memory device such as RAM (Random Access Memory) or ROM (Read Only Memory), a fixed disk device such as a hard disk, a flexible disk, or an optical disk.
記憶部106は、事業所マスタ106a、倉庫マスタ106b、本支店マスタ106c、単価マスタ106d、仕訳定義マスタ106e、売上データ106f、社内売買データ106g、及び仕訳テーブル106h等を格納する。 The memory unit 106 stores the business establishment master 106a, warehouse master 106b, head office/branch office master 106c, unit price master 106d, journal entry definition master 106e, sales data 106f, internal sales data 106g, and journal entry table 106h, etc.
図4は、事業所マスタ106aの構成例を示す図である。図5は、倉庫マスタ106bの構成例を示す図である。図6は、本支店マスタ106cの構成例を示す図である。図7は、単価マスタ106dの構成例を示す図である。図8は、仕訳定義マスタ106eの構成例を示す図である。 Figure 4 is a diagram showing an example of the configuration of the business establishment master 106a. Figure 5 is a diagram showing an example of the configuration of the warehouse master 106b. Figure 6 is a diagram showing an example of the configuration of the head office/branch office master 106c. Figure 7 is a diagram showing an example of the configuration of the unit price master 106d. Figure 8 is a diagram showing an example of the configuration of the journal entry definition master 106e.
事業所マスタ106aは、図4に示すように、事業所コード、事業所名を関連付けて登録したテーブル等で構成することができる。事業所マスタ106aは、事業所コードと事業所名を変換する場合に制御部102により参照される。事業所コード及び/又は事業所名を、事業所を識別するための事業所識別情報と称する。同図に示す例では、1行目は、事業所コード「T001」、事業所名「本社」となっている。 As shown in Figure 4, the business establishment master 106a can be configured as a table in which business establishment codes and business establishment names are registered in association with each other. The control unit 102 references the business establishment master 106a when converting business establishment codes and business establishment names. The business establishment code and/or business establishment name are referred to as business establishment identification information for identifying the business establishment. In the example shown in the figure, the first line contains the business establishment code "T001" and the business establishment name "Head Office."
倉庫マスタ106bは、図5に示すように、倉庫コード、倉庫名、及び当該倉庫が属する事業所の事業所コードを関連付けて登録したテーブル等で構成することができる。倉庫マスタ106bは、倉庫コードと倉庫名を変換する際に制御部102により参照される。
倉庫コード及び/又は倉庫名を、倉庫を識別するための倉庫識別情報と称する。同図に示す例では、1行目は、倉庫コード「K0011」、倉庫名「本社倉庫」、事業所コード「T001」となっている。
The warehouse master 106b can be configured as a table or the like in which warehouse codes, warehouse names, and the business establishment codes of the business establishments to which the warehouses belong are associated and registered, as shown in Fig. 5. The warehouse master 106b is referenced by the control unit 102 when converting warehouse codes and warehouse names.
The warehouse code and/or warehouse name are referred to as warehouse identification information for identifying the warehouse. In the example shown in the figure, the first line contains the warehouse code "K0011", the warehouse name "Head Office Warehouse", and the business establishment code "T001".
本支店マスタ106cは、図6に示すように、事業所コード、本支店区分を関連付けて登録したテーブル等で構成することができる。本支店区分は、「0:本社」、「1:支店」、「2:工場」となっている。同図に示す例では、1行目は、事業所コード「T001」、本支店区分「0」となっている。 As shown in Figure 6, the head office/branch office master 106c can be composed of a table that associates and registers business establishment codes and head office/branch office classifications. The head office/branch office classifications are "0: Head Office," "1: Branch Office," and "2: Factory." In the example shown in the figure, the first line contains the business establishment code "T001" and the head office/branch office classification "0."
単価マスタ106dは、図7に示すように、商品コード、本社の原価単価とする標準原価単価、工場の原価単価とする工場原価単価、売上単価を関連付けて登録したテーブル等で構成することができる。商品コード及び/又は商品名を、商品を識別するための商品識別情報と称する。同図に示す例では、1行目は、商品コード「S001」、標準原価単価「180」、工場原価単価「150」、売上単価「220」となっている。なお、記憶部106には、商品コードと商品名を関連づけて登録した不図示の商品マスタが格納されており、商品コードと商品名を変換する際に制御部102により参照される。 As shown in FIG. 7, the unit price master 106d can be configured as a table that associates and registers product codes, standard unit costs that are the unit costs at the head office, factory unit costs that are the unit costs at the factory, and unit sales prices. The product code and/or product name are referred to as product identification information used to identify the product. In the example shown in the same figure, the first line contains the product code "S001", standard unit cost "180", factory unit cost "150", and unit sales price "220". Note that the memory unit 106 stores a product master (not shown) that associates product codes with product names and registers them, and this is referenced by the control unit 102 when converting product codes and product names.
仕訳定義マスタ106eは、売上データ又は社内売買データ毎に使用する仕訳パターンを設定したマスタであり、図8に示すように、データ種(売上データ又は社内売買データ)、借方科目、借方事業所、貸方科目、貸方事業所、金額の種類、計上日、条件値を関連付けて登録したテーブル等で構成することができる。 The journal entry definition master 106e is a master that sets the journal entry pattern to be used for each sales data or internal transaction data, and as shown in Figure 8, can be composed of tables that associate and register data types (sales data or internal transaction data), debit items, debit business locations, credit items, credit business locations, amount types, accounting dates, and condition values.
同図に示す例では、1行目は、データ種「売上」、借方科目「売掛金」、借方事業所「事業所」、貸方科目「売上」、貸方事業所「事業所」、金額「売上金額」、計上日「売上日」、条件値「全て」となっている。2行目は、データ種「社内売買」、借方科目「本支店」、借方事業所「移動先事業所」、貸方科目「内部売上」、貸方事業所「移動元事業所」、金額「原価金額」、計上日「移動日」、条件値「移動元事業所=本社または工場」となっている。3行目は、データ種「社内売買」、借方科目「内部仕入」、借方事業所「移動先事業所」、貸方科目「本支店」、貸方事業所「移動元事業所」、金額「原価金額」、計上日「移動日」、条件値「移動元事業所=本社または支店」となっている。 In the example shown in the figure, the first line has the data type "Sales," debit item "Accounts Receivable," debit location "Location," credit item "Sales," credit location "Location," amount "Sales Amount," accounting date "Sales Date," and condition value "All." The second line has the data type "Internal Sales," debit item "Head Office/Branch," debit location "Destination Location," credit item "Internal Sales," credit location "Source Location," amount "Cost Amount," accounting date "Transfer Date," and condition value "Source Location = Head Office or Factory." The third line has the data type "Internal Sales," debit item "Internal Purchases," debit location "Destination Location," credit account "Head Office/Branch," credit location "Source Location," amount "Cost Amount," accounting date "Transfer Date," and condition value "Source Location = Head Office or Branch."
売上データ106fは、売上ヘッダと売上明細で構成されている。売上ヘッダは、売上番号、事業所コード、倉庫コード、得意先コード、売上日、出荷日、計上パターン区分(0:通常、1:社内売買)を含んでいてもよい。売上明細は、売上番号、行番号、商品コード、数量、売上単価、売上金額、原価単価、原価金額を含んでいてもよい。 Sales data 106f consists of a sales header and sales details. The sales header may include the sales number, business code, warehouse code, customer code, sales date, shipping date, and accounting pattern classification (0: normal, 1: internal sales). The sales details may include the sales number, line number, product code, quantity, sales price, sales amount, cost price, and cost amount.
社内売買データ106gは、社内売買ヘッダと社内売買明細で構成されている。社内売買ヘッダは、社内売買番号、移動元事業所コード、移動元倉庫コード、移動先事業所コード、移動先倉庫コード、売上番号(紐づき伝票番号)を含んでいてもよい。社内売買明細は、社内売買番号、行番号、商品コード、数量、原価単価、原価金額を含んでいてもよい。 Internal trading data 106g consists of an internal trading header and internal trading details. The internal trading header may include the internal trading number, source business code, source warehouse code, destination business code, destination warehouse code, and sales number (linked voucher number). The internal trading details may include the internal trading number, line number, product code, quantity, cost price, and cost amount.
仕訳テーブル106hには、仕訳データが格納される。仕訳データは、仕訳番号、計上日、元伝票番号(売上番号又は社内売買番号)、金額、借方勘定科目、借方事業所、貸方勘定科目、貸方事業所を含んでいてもよい。 Journal data is stored in the journal table 106h. The journal data may include the journal number, accounting date, original document number (sales number or internal transaction number), amount, debit account, debit business, credit account, and credit business.
図3に戻り、制御部102は、売上処理装置100を統括的に制御するCPU等である。制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。 Returning to Figure 3, the control unit 102 is a CPU or the like that provides overall control of the sales processing device 100. The control unit 102 has internal memory for storing control programs such as an OS, programs that define various processing procedures, and required data, and executes various information processing operations based on these stored programs.
制御部102は、記憶部106に格納されている、事業所マスタ106a、倉庫マスタ106b、本支店マスタ106c、単価マスタ106d、仕訳定義マスタ106e、売上データ106f、社内売買データ106g、及び仕訳テーブル106h等にアクセス可能に構成されている。なお、事業所マスタ106a、倉庫マスタ106b、本支店マスタ106c、単価マスタ106d、仕訳定義マスタ106e、売上データ106f、社内売買データ106g、及び仕訳テーブル106h等は、他の場所(例えば、サーバ200)に設けられていてもよく、制御部102がアクセス可能な構成であればよい。 The control unit 102 is configured to be able to access the business establishment master 106a, warehouse master 106b, head office/branch office master 106c, unit price master 106d, journal entry definition master 106e, sales data 106f, internal trading data 106g, and journal entry table 106h, etc., stored in the memory unit 106. The business establishment master 106a, warehouse master 106b, head office/branch office master 106c, unit price master 106d, journal entry definition master 106e, sales data 106f, internal trading data 106g, and journal entry table 106h, etc., may be stored in another location (e.g., server 200), as long as they are accessible by the control unit 102.
制御部102は、機能概念的に、売上処理部102a、仕訳処理部102b、マスタメンテ部102c、及び画面表示制御部102d等を備えている。 In terms of functional concepts, the control unit 102 includes a sales processing unit 102a, an accounting processing unit 102b, a master maintenance unit 102c, and a screen display control unit 102d.
売上処理部102aは、例えば、モニタ114に表示される売上入力画面上でのオペレータに入力操作に応じて、入力される、売上計上する事業所の事業所識別情報をキーとして本支店マスタ106cから本支店区分を取得し、取得した本支店区分が「支店」で、かつ、入力される、得意先に出荷する倉庫の倉庫識別情報をキーとして倉庫マスタ106bから事業所識別情報を取得し、取得した事業所識別情報をキーとして本支店マスタ106cから本支店区分を取得し、取得した本支店区分が「工場」の場合には、売上入力画面の入力内容に応じて、支店についての売上データと共に、工場と本社間及び本社と支店間の社内売買データを生成して、記憶部106に格納する。 For example, in response to input operations by the operator on the sales input screen displayed on monitor 114, the sales processing unit 102a acquires the head office/branch office classification from the head office/branch office master data 106c using the business establishment identification information of the business establishment recording the sales as a key, and if the acquired head office/branch office classification is "branch office" and the input warehouse identification information of the warehouse shipping to the customer is used as a key, the sales processing unit 102a acquires the head office/branch office classification from the head office/branch office master data 106c using the acquired business establishment identification information as a key. If the acquired head office/branch office classification is "factory," the sales processing unit 102a generates sales data for the branch office, as well as internal sales data between the factory and the head office and between the head office and the branch office, in accordance with the input on the sales input screen, and stores this in the memory unit 106.
売上処理部102aは、前記取得した本支店区分が「支店」かつ「工場」以外の場合は、売上データのみを作成することにしてもよい。 The sales processing unit 102a may create only sales data if the acquired head office/branch office classification is neither "branch office" nor "factory."
この場合、売上データは、売上番号、事業所識別情報、倉庫識別情報、得意先識別情報、売上日、出荷日、及び通常又は社内売買を示す計上パターン区分を含む売上ヘッダと、売上番号、行番号、商品識別情報、数量、売上単価、売上金額、原価単価、及び原価金額を含む売上明細とで構成されていてもよい。 In this case, the sales data may consist of a sales header including the sales number, business establishment identification information, warehouse identification information, customer identification information, sales date, shipping date, and accounting pattern classification indicating normal or internal sales, and sales details including the sales number, line number, product identification information, quantity, sales price, sales amount, cost price, and cost amount.
また、社内売買データは、社内売買番号、移動元の事業所識別情報、移動元の倉庫識別情報、移動先の事業所識別情報、移動先の倉庫識別情報、及び売上番号を含む社内売買ヘッダと、社内売買番号、行番号、商品識別情報、数量、原価単価、及び原価金額を含む社内売買明細とで構成されていてもよい。 In addition, the internal transaction data may be composed of an internal transaction header including the internal transaction number, source business establishment identification information, source warehouse identification information, destination business establishment identification information, destination warehouse identification information, and sales number, and internal transaction details including the internal transaction number, line number, product identification information, quantity, cost unit price, and cost amount.
仕訳処理部102bは、売上データ及び社内売買データに基づいて、仕訳定義マスタ106eを参照して、工場、本社、支店の仕訳データを作成して仕訳テーブルに登録する。 The journalization processing unit 102b references the journalization definition master 106e based on sales data and internal transaction data, creates journalization data for factories, headquarters, and branches, and registers it in the journalization table.
マスタメンテ部102cは、モニタ114に表示されるマスタメンテ画面(不図示)上でのオペレータの操作に応じて、事業所マスタ106a、倉庫マスタ106b、本支店マスタ106c、単価マスタ106d、及び仕訳定義マスタ106eに対して、データの入力・追加・変更等の編集を行う。 The master maintenance unit 102c performs editing such as inputting, adding, and changing data in the business establishment master 106a, warehouse master 106b, head office/branch office master 106c, unit price master 106d, and journal entry definition master 106e in response to operator operations on the master maintenance screen (not shown) displayed on the monitor 114.
画面表示制御部102dは、モニタ114に表示する各種画面(例えば、売上入力画面やマスタメンテ画面等)の表示及びその入力を制御する。 The screen display control unit 102d controls the display and input of various screens (e.g., sales input screen, master maintenance screen, etc.) displayed on the monitor 114.
[3.具体例]
図3~図17を参照して、本実施の形態における売上処理装置100の制御部102の処理の具体例を説明する。図8~図17は、本実施の形態に係る売上処理装置100の制御部の処理の具体例を説明するためのサンプルデータを示す図である。以下の説明では、図4~図8の事業所マスタ106a、倉庫マスタ106b、本支店マスタ106c、単価マスタ106d、及び仕訳定義マスタ106eのデータ例を使用して説明する。
3. Specific Examples
Specific examples of processing by the control unit 102 of the sales processing device 100 in this embodiment will be described with reference to Figures 3 to 17. Figures 8 to 17 are diagrams showing sample data for explaining specific examples of processing by the control unit of the sales processing device 100 in this embodiment. The following explanation will be given using data examples of the business establishment master 106a, warehouse master 106b, head office/branch office master 106c, unit price master 106d, and journal entry definition master 106e in Figures 4 to 8.
図9~図17を参照して、売上処理部102aにより実行される売上処理及び仕訳処理部102bにより実行される仕訳作成処理の具体例を説明する。 Referring to Figures 9 to 17, specific examples of sales processing performed by the sales processing unit 102a and journal entry creation processing performed by the journal entry processing unit 102b will be described.
売上処理部102aは、売上処理を実行し、例えば、モニタ114に表示される売上入力画面上でのオペレータに入力操作に応じて、入力される、売上計上する事業所の事業所識別情報をキーとして本支店マスタ106cから本支店区分を取得し、取得した本支店区分が「支店」で、かつ、入力される、得意先に出荷する倉庫の倉庫識別情報をキーとして倉庫マスタ106bから事業所識別情報を取得し、取得した事業所識別情報をキーとして本支店マスタ106cから本支店区分を取得し、取得した本支店区分が「工場」の場合には、売上入力画面の入力内容に応じて、支店についての売上データと共に、工場と本社間及び本社及び支店間の社内売買データを生成して、記憶部106に格納する。 The sales processing unit 102a executes sales processing, and, for example, in response to input operations by the operator on the sales input screen displayed on the monitor 114, acquires the head office/branch office classification from the head office/branch office master data 106c using the business establishment identification information of the business establishment recording the sales as a key, and if the acquired head office/branch office classification is "branch office" and the input warehouse identification information of the warehouse shipping to the customer is used as a key, acquires the head office/branch office classification from the head office/branch office master data 106c using the acquired business establishment identification information as a key, and if the acquired head office/branch office classification is "factory," generates sales data for the branch office as well as internal sales data between the factory and the head office and between the head office and the branch office according to the input on the sales input screen, and stores this in the memory unit 106.
仕訳処理部102bは、仕訳作成処理を実行し、売上データ及び社内売買データに基づいて、仕訳定義マスタ106eを参照して、工場、本社、支店の仕訳データを作成して仕訳テーブルに登録し、また、作成した仕訳データに基づいて、工場、本社、支店の発生仕訳を出力する。 The journal entry processing unit 102b executes the journal entry creation process, and based on sales data and internal transaction data, references the journal entry definition master 106e to create journal entry data for factories, headquarters, and branches, registering this in the journal entry table, and also outputs accrual journal entries for factories, headquarters, and branches based on the created journal entry data.
(社内売買判定のフロー)
まず、図9を参照して、売上処理の社内売買判定のフローを説明する。図9は、売上入力画面500の表示例を示す図である。
(Internal trading decision flow)
First, the flow of determining whether a transaction is an in-house transaction in the sales process will be described with reference to Fig. 9. Fig. 9 is a diagram showing an example of a display of a sales input screen 500.
売上入力画面500は、図9に示すように、伝票情報を入力するための伝票情報入力エリア501と、明細情報を入力するための明細情報入力エリア502と、不図示の登録ボタンと、を備えている。 As shown in Figure 9, the sales input screen 500 includes a voucher information input area 501 for entering voucher information, a detail information input area 502 for entering detail information, and a register button (not shown).
明細情報入力エリア501は、売上計上する事業所の事業所コード、商品を得意先に出荷する倉庫の倉庫コード、得意先コード、売上日、出荷日を入力する欄を備えている。 The detail information input area 501 includes fields for entering the business establishment code for the business establishment where the sales will be recorded, the warehouse code for the warehouse where the goods will be shipped to the customer, the customer code, the sales date, and the shipping date.
明細情報入力エリア502は、商品コード、数量、売上単価、売上金額、標準原価単価、原価金額を入力する欄を備えている。売上単価、標準原価単価は、入力される商品コードをキーとして単価マスタ106dから取得されて自動表示(入力)される。売上金額は、売上単価×入力される数量で自動計算されて自動表示(入力)される。原価金額は、標準原価単価×入力される数量で自動計算されて自動表示(入力)される。 The detailed information input area 502 has fields for entering the product code, quantity, sales price, sales amount, standard cost unit price, and cost amount. The sales price and standard cost unit price are obtained from the unit price master 106d using the entered product code as a key and are automatically displayed (input). The sales amount is automatically calculated as the sales price multiplied by the entered quantity and is automatically displayed (input). The cost amount is automatically calculated as the standard cost unit price multiplied by the entered quantity and is automatically displayed (input).
オペレータは、売上入力画面で必要なデータを入力し、不図示の登録ボタンを押下することで、売上入力画面の入力内容に応じた売上データ及び社内売買データ(以下の条件を満たす場合)が自動作成され、オペレータは、本社を意識することなく売上を入力するだけで済み、オペレータの負荷を低減できる。 The operator enters the necessary data on the sales input screen and presses the registration button (not shown). This automatically creates sales data and internal transaction data (if the following conditions are met) based on the input on the sales input screen. This reduces the operator's workload by allowing them to simply enter sales data without having to worry about the head office.
(1)伝票情報の売上計上する事業所コードをキーとして、本支店マスタ106cから本支店区分を取得する。
(2)伝票情報の商品を出荷する倉庫コードをキーとして、倉庫マスタ106bから事業所コードを取得し、取得した事業所コードをキーとして、本支店マスタ106cから本支店区分を取得する。
(3)(1)、(2)で取得した本支店区分の組み合わせを判定して、社内売買データの作成対象か否かを判定する。(1)の売上事業所の本支店区分が「1:支店」、かつ、(2)の出荷倉庫の事業所の本支店区分が「2:工場」の場合は、社内売買データを作成する。それ以外の場合は、社内売買データを作成しない。すなわち、本支店伝票作成対象の場合に、伝票登録時に工場→本社を経由し、本社→支店への社内売買を行うための伝票(社内売買データ)を作成する。
(1) Using the business establishment code that records the sales in the slip information as a key, the head office/branch office classification is obtained from the head office/branch office master 106c.
(2) Using the warehouse code from which the product is shipped on the slip information as a key, the establishment code is obtained from the warehouse master 106b, and using the obtained establishment code as a key, the head office/branch office classification is obtained from the head office/branch office master 106c.
(3) Determine the combination of head office/branch office classifications obtained in (1) and (2) to determine whether or not internal trading data is to be created. If the head office/branch office classification of the sales office in (1) is "1: Branch" and the head office/branch office classification of the shipping warehouse in (2) is "2: Factory", internal trading data is created. In other cases, internal trading data is not created. In other words, if the head office/branch office slip is to be created, a slip (internal trading data) is created to carry out internal trading from the factory to the head office, and then from the head office to the branch office, when the slip is registered.
(工場直送売上:工場倉庫から得意先に直送する場合)
図10~図15を参照して、工場直送売上の場合を説明する。図10は、売上入力画面500の表示例を示す図である。図11は、作成される売上データ及び社内売買データの例を示す図である。
(Factory direct sales: when products are shipped directly from the factory warehouse to the customer)
The case of direct factory sales will be described with reference to Figures 10 to 15. Figure 10 is a diagram showing an example of the display of a sales input screen 500. Figure 11 is a diagram showing an example of the sales data and intra-company transaction data to be created.
図10に示す売上入力画面500の表示例では、伝票情報入力エリア501では、事業所コード「T100:東京支店」、倉庫コード「K2011:宇都宮A倉庫」、売上日「2022/11/28」、出荷日「2022/11/28」、得意先コード「4468:4468マート」が入力されている。 In the example display of the sales input screen 500 shown in Figure 10, the business establishment code "T100: Tokyo Branch," warehouse code "K2011: Utsunomiya A Warehouse," sales date "2022/11/28," shipping date "2022/11/28," and customer code "4468: 4468 Mart" have been entered in the slip information input area 501.
また、明細情報入力エリア502では、商品コード「S001:焼きたてクロワッサン」、数量「30」が入力され、売上単価「220」、売上金額「6600」、標準原価単価「180」、原価金額「5400」が自動表示されている。 Furthermore, in the detail information input area 502, the product code "S001: Freshly baked croissants" and quantity "30" are entered, and the unit sales price "220", sales amount "6600", standard unit cost "180", and cost amount "5400" are automatically displayed.
(1)売上計上する事業所コード「T100」をキーとして、本支店マスタ106cから本支店区分「1:支店」を取得する。
(2)商品を出荷する倉庫コード「K2011」をキーとして、倉庫マスタ106bから事業所コード「T201」を取得し、取得した事業所コード「T201」をキーとして、本支店マスタ106cから本支店区分「2:工場」を取得する。
(3)(1)の売上事業所の本支店区分が「1:支店」、かつ、(2)の出荷倉庫の事業所の本支店区分が「2:工場」であるので、社内売買とし、社内売買データを作成する。
(1) Using the establishment code "T100" for which sales are to be recorded as a key, the head office/branch office classification "1: Branch office" is obtained from the head office/branch office master 106c.
(2) Using the warehouse code "K2011" from which the goods are shipped as a key, the establishment code "T201" is obtained from the warehouse master 106b, and using the obtained establishment code "T201" as a key, the head office/branch office classification "2: Factory" is obtained from the head office/branch office master 106c.
(3) Since the head office/branch office classification of the sales establishment in (1) is "1: Branch" and the head office/branch office classification of the shipping warehouse establishment in (2) is "2: Factory," this is treated as an internal transaction, and internal transaction data is created.
図11は、図10の売上入力画面の入力内容の場合に作成される売上データ及び社内売買データの例を示している。 Figure 11 shows an example of sales data and internal transaction data created when the sales input screen in Figure 10 is filled in.
図11(A)は、売上データの売上ヘッダのデータ例を示している。売上ヘッダは、売上番号、事業所コード、倉庫コード、得意先コード、売上日、出荷日、計上パターン区分(0:通常、1:社内売買)の項目を備えている。売上番号は、自動採番される。事業所コードは、売上入力画面から入力する。倉庫コードは、売上入力画面から入力する。計上パターン区分は、本支店マスタ106cを参照して、事業所・倉庫の本支店区分を取得し、事業所=「1:支店」かつ倉庫=「2:工場」の組み合わせの場合に、「1:社内売買」をセットし、それ以外は、「0:通常」をセットする。 Figure 11 (A) shows an example of sales header data for sales data. The sales header has the following fields: sales number, business establishment code, warehouse code, customer code, sales date, shipping date, and accounting pattern classification (0: normal, 1: internal sales). The sales number is automatically assigned. The business establishment code is entered on the sales input screen. The warehouse code is entered on the sales input screen. The accounting pattern classification refers to the head office/branch office master 106c to obtain the head office/branch office classification for the business establishment and warehouse. If the business establishment is "1: branch" and the warehouse is "2: factory," the classification is set to "1: internal sales," and otherwise "0: normal" is set.
同図に示す例では、売上番号「U000002」、事業所コード「T100」、倉庫コード「K2011」、得意先コード「4468」、売上日「2022/11/28」、出荷日「2022/11/28」、計上パターン区分「1:社内売買」となっている。 In the example shown in the figure, the sales number is "U000002", business code is "T100", warehouse code is "K2011", customer code is "4468", sales date is "2022/11/28", shipping date is "2022/11/28", and accounting pattern classification is "1: Intra-company sales".
図11(B)は、売上データの売上明細のデータ例示している。売上明細は、売上番号、行番号、商品コード、数量、売上単価、売上金額、原価単価、原価金額の項目を備えている。原価単価は、商品コードをキーとして、単価マスタ106dから標準原価単価を取得して設定し、原価金額は、原価金額=標準原価単価×数量で算出して設定する。同図に示す例では、1行目は、売上番号「U000002」、行番号「1」、商品コード「S001」、数量「30」、売上単価「220」、売上金額「6600」、原価単価「180」、原価金額「5400」となっている。 Figure 11 (B) shows an example of sales details for sales data. The sales details include the following fields: sales number, row number, product code, quantity, unit sales price, sales amount, unit cost price, and cost amount. The unit cost price is set by retrieving the standard unit cost from the unit price master 106d using the product code as a key, and the cost amount is set by calculating cost amount = standard unit cost price x quantity. In the example shown in the figure, the first row has sales number "U000002", row number "1", product code "S001", quantity "30", unit sales price "220", sales amount "6600", unit cost price "180", and cost amount "5400".
図11(C)は、社内売買データの社内売買ヘッダのデータ例を示している。社内売買ヘッダは、社内売買番号、移動元事業所コード、移動元倉庫コード、移動先事業所コード、移動先倉庫コード、売上番号(紐づき伝票番号)の項目を備えている。社内売買番号は、自動採番する。紐づき伝票番号は、売上番号と同じである。社内売上データは、移動元を工場、移動先を本社とした社内売買の第1のレコードと、移動元を本社、移動先を支店とした社内売買の第2のレコードを作成する。 Figure 11 (C) shows an example of the data for the internal transaction header of internal transaction data. The internal transaction header has the following fields: internal transaction number, source business code, source warehouse code, destination business code, destination warehouse code, and sales number (linked voucher number). The internal transaction number is automatically assigned. The linked voucher number is the same as the sales number. For internal sales data, a first record for internal transactions with the source being the factory and the destination being the head office, and a second record for internal transactions with the source being the head office and the destination being a branch office are created.
同図に示す例では、1行目(第1のレコード)は、社内売買番号「S00001」、移動元事業所コード「T201」、移動元倉庫コード「K2011」、移動先事業所コード「T001」、移動先倉庫コード「K0011」、売上番号「U000002」となっている。1行目の移動元事業所コードは、移動元の倉庫コードをキーとして、倉庫マスタ106bから事業所コードを取得して設定する。1行目の移動元倉庫コードは、売上入力画面の倉庫コードを設定する。1行目の移動先事業書コードは、本支店マスタ106cの本支店区分「0:本社」の事業所コードを設定する。1行目の移動先倉庫コードは、倉庫マスタ106bから事業所=本社の倉庫コードを取得して設定する。 In the example shown in the figure, the first line (first record) contains the internal transaction number "S00001," source business code "T201," source warehouse code "K2011," destination business code "T001," destination warehouse code "K0011," and sales number "U000002." The source business code in line 1 is set by retrieving the business code from the warehouse master 106b using the source warehouse code as the key. The source warehouse code in line 1 is set as the warehouse code on the sales input screen. The destination business code in line 1 is set as the business code for the head office/branch office classification "0: Head Office" in the head office/branch office master 106c. The destination warehouse code in line 1 is set by retrieving the warehouse code for the business office = head office from the warehouse master 106b.
2行目(第2のレコード)は、社内売買番号「S00002」、移動元事業所コード「T001」、移動元倉庫コード「K0011」、移動先事業所コード「T100」、移動先倉庫コード「K1011」、売上番号「U000002」となっている。2行目の移動元事業所コードは、1行目の移動先事業所コードを設定する。2行目の移動元倉庫コードは、1行目の移動先倉庫コードを設定する。2行目の移動先事業書コードは、売上入力画面の事業所コードを設定する。2行目の移動先倉庫コードは、2行目の移動先事業所コードをキーとして、倉庫マスタ106bから倉庫コードを取得して設定する。 The second line (second record) contains the internal transaction number "S00002", source business code "T001", source warehouse code "K0011", destination business code "T100", destination warehouse code "K1011", and sales number "U000002". The source business code on line 2 is set to the destination business code on line 1. The source warehouse code on line 2 is set to the destination warehouse code on line 1. The destination business code on line 2 is set to the business code on the sales input screen. The destination warehouse code on line 2 is set by retrieving the warehouse code from warehouse master 106b using the destination business code on line 2 as the key.
図11(D)は、社内売買明細のデータ例を示す図である。社内売買明細は、社内売買番号、行番号、商品コード、数量、原価単価、原価金額の項目を備えている。原価単価は、社内売買ヘッダの移動元事業所コードをキーとして本支店マスタ106cから本支店区分を取得し、商品コードをキーとして、取得した本支店区分に応じて、工場原価単価又は標準原価単価を取得して設定し、さらに、原価金額=工場原価単価又は標準原価単価×数量で算出して設定する。具体的には、移動元の本支店区分が「2:工場」の場合は単価マスタ106dから工場原価単価を取得し、原価金額=工場原価単価×数量を算出する。移動元の本支店区分が「2:本社」の場合は単価マスタ106dから標準原価単価を取得し、原価金額=標準原価単価×数量を算出する。 Figure 11 (D) is a diagram showing example data for an internal transaction statement. The internal transaction statement has fields for the internal transaction number, line number, product code, quantity, cost unit price, and cost amount. The cost unit price is set by obtaining the head office/branch office classification from the head office/branch office master data 106c using the source business code in the internal transaction header as a key, and then obtaining and setting the factory cost unit price or standard cost unit price according to the obtained head office/branch office classification using the product code as a key. The cost amount is then calculated and set as follows: cost unit price = factory cost unit price or standard cost unit price x quantity. Specifically, if the source head office/branch office classification is "2: Factory," the factory cost unit price is obtained from the unit price master data 106d, and cost amount = factory cost unit price x quantity is calculated. If the source head office/branch office classification is "2: Head Office," the standard cost unit price is obtained from the unit price master data 106d, and cost amount = standard cost unit price x quantity is calculated.
同図に示す例では、1行目(第1のレコード)は、社内売買番号「S000001」、行番号「1」、商品コード「S001」、数量「30」、原価単価「150」、原価金額「4500」となっている。具体的には、社内売買ヘッダの移動元事業所コード「T201」をキーとして本支店マスタ106cから本支店区分「2:工場」を取得し、商品コード「S001」をキーとして、単価マスタ106dから工場原価単価「150」を取得して、原価単価に設定し、さらに、原価金額=工場原価単価「150」×数量「30」=4500を算出して設定する。 In the example shown in the figure, the first row (first record) has the internal transaction number "S000001," row number "1," product code "S001," quantity "30," unit cost price "150," and cost amount "4500." Specifically, the source business code "T201" in the internal transaction header is used as a key to obtain the head office/branch office classification "2: Factory" from the head office/branch office master data 106c, and the factory unit cost price "150" is obtained from the unit price master data 106d using the product code "S001" as a key, and set as the unit cost price. Furthermore, the cost amount = factory unit cost price "150" x quantity "30" = 4500 is calculated and set.
2行目(第2のレコード)は、社内売買番号「S000002」、行番号「1」、商品コード「S001」、数量「30」、原価単価「180」、原価金額「5400」となっている。具体的には、社内売買ヘッダの移動元事業所コード「T001」をキーとして本支店マスタ106cから本支店区分「0:本社」を取得し、商品コード「S001」をキーとして、単価マスタ106dから標準原価単価「180」を取得して、原価単価に設定し、さらに、原価金額=標準原価単価「180」×数量「30」=5400を算出して設定する。 The second line (second record) has the internal transaction number "S000002," line number "1," product code "S001," quantity "30," cost unit price "180," and cost amount "5400." Specifically, the internal transaction header's source business code "T001" is used as a key to obtain the head office/branch office classification "0: Head Office" from the head office/branch office master data 106c, and the product code "S001" is used as a key to obtain the standard unit price "180" from the unit price master data 106d, which is set as the cost unit price. Furthermore, the cost amount = standard unit price "180" x quantity "30" = 5400 is calculated and set.
図12は、商品の実際の移動と、商品の財務上の移動を説明するための図である。商品は、実際には、工場から得意先に移動するが、財務上は、支店から得意先の売上データに加えて、工場→本社、本社→支店の社内売買データを作成する。 Figure 12 is a diagram explaining the actual movement of goods and the financial movement of goods. In reality, goods move from the factory to the customer, but financially, in addition to sales data from the branch to the customer, internal sales data from the factory to the head office and from the head office to the branch is created.
仕訳処理部102bは、売上データ及び社内売買データに基づいて、仕訳定義マスタ106eの売上データ用/社内売買データ用の仕訳パターンを参照して、仕訳データを作成して仕訳テーブルに登録する。また、仕訳データに基づいて、工場、本社、支店の発生仕訳を出力する。 The journalization processing unit 102b creates journalization data based on sales data and internal transaction data, references the journalization patterns for sales data/internal transaction data in the journalization definition master 106e, and registers the data in the journalization table. It also outputs accrual journalization for factories, headquarters, and branches based on the journalization data.
図13は、仕訳データの作成を説明するための図である。同図において、(A)は、売上データの売上ヘッダのデータ例、(B)は、売上データの売上明細のデータ例、(C)は、社内売買データの社内売買ヘッダのデータ例、(D)は、社内売買データの社内売買明細のデータ例、(E)は、仕訳定義マスタ106eのデータ例、(F)は、仕訳テーブルのデータ例を示している。(A)~(D)は、図11と同様である。(E)は、図8と同様である。図14は、仕訳テーブルの仕訳データに基づいて出力される、工場、本社、支店の発生仕訳の例を示す図である。図13(F)と図14では、対応関係を示すための番号を付している。 Figure 13 is a diagram for explaining the creation of journal data. In the figure, (A) shows example data for the sales header of sales data, (B) shows example data for the sales details of sales data, (C) shows example data for the internal transaction header of internal transaction data, (D) shows example data for the internal transaction details of internal transaction data, (E) shows example data from the journal definition master 106e, and (F) shows example data from the journal table. (A) to (D) are the same as in Figure 11. (E) is the same as in Figure 8. Figure 14 is a diagram showing example accrual journal entries for factories, headquarters, and branches that are output based on the journal data in the journal table. Numbers are used in Figures 13(F) and 14 to indicate correspondence.
図13において、(E)に示すように、仕訳定義マスタ106eは、データ種(売上データ又は社内売買データ)、借方科目、借方事業所、貸方科目、貸方事業所、金額、計上日、適用する条件値の項目を備えている。1行目は、売上データについての仕訳パターンを示しており、データ種「売上」、借方科目「売掛金」、借方事業所「事業所」、貸方科目「売上」、貸方事業所「事業所」、金額「売上金額」、計上日「売上日」、条件値「全て」となっている。 As shown in (E) in Figure 13, the journal entry definition master 106e has fields for data type (sales data or internal transaction data), debit account, debit business office, credit account, credit business office, amount, accounting date, and applicable condition value. The first line shows the journal entry pattern for sales data, and includes the data type "Sales", debit account "Accounts Receivable", debit business office "Business office", credit account "Sales", credit business office "Business office", amount "Sales amount", accounting date "Sales date", and condition value "All".
2行目は、社内売買データの移動元事業所が本社又は工場の場合の仕訳パターンを示しており、データ種「社内売買」、借方科目「本支店」、借方事業所「移動先事業所」、貸方科目「内部売上」、貸方事業所「移動元事業所」、金額「原価金額」、計上日「移動日」、条件値「移動元事業所=本社または工場」となっている。 The second line shows the accounting pattern when the source business location for internal transaction data is the head office or factory, with the data type "Internal transaction", debit account "Head office/branch", debit business location "Destination business location", credit account "Internal sales", credit business location "Source business location", amount "Cost amount", accounting date "Transfer date", and condition value "Source business location = Head office or factory".
3行目は、社内売買データの移動元事業所が本社又は支店の場合の仕訳パターンを示しており、データ種「社内売買」、借方科目「内部仕入」、借方事業所「移動先事業所」、貸方科目「本支店(本社又は支店)」、貸方事業所「移動元事業所」、金額「原価金額」、計上日「移動日」、条件値「移動元事業所=本社または支店」となっている。 The third line shows the accounting pattern when the source business location for internal transaction data is the head office or branch office, with the data type "Internal transaction", debit account "Internal purchases", debit business location "Destination business location", credit account "Head office/branch (head office or branch)", credit business location "Source business location", amount "Cost amount", accounting date "Transfer date", and condition value "Source business location = head office or branch office".
仕訳データは、仕訳定義マスタ106eのデータ種順に作成する。(F)に示すように、仕訳テーブルの仕訳データは、仕訳番号、計上日、元伝票番号、金額、借方勘定科目、借方事業所、貸方勘定科目、貸方事業所の項目を備えている。1行目は、(A)、(B)の売上データに基づいて、(E)の仕訳定義マスタ106eの1行目の仕訳パターンを参照して作成される。2行目は、(C)、(D)の1行目の社内売買データに基づいて、(E)の仕訳定義マスタ106eの2行目の仕訳パターンを参照して作成される。3行目は、(C)、(D)の2行目の社内売買データに基づいて、(E)の仕訳定義マスタ106eの2行目の仕訳パターンを参照して作成される。4行目は、(C)、(D)の1行目の社内売買データに基づいて、(E)の仕訳定義マスタ106eの3行目の仕訳パターンを参照して作成される。5行目は、(C)、(D)の2行目の社内売買データに基づいて、(E)の仕訳定義マスタ106eの3行目の仕訳パターンを参照して作成される。 Journal data is created in the order of data types in the journal definition master 106e. As shown in (F), the journal data in the journal table has the following fields: journal number, posting date, original document number, amount, debit account, debit business, credit account, and credit business. The first row is created based on the sales data of (A) and (B) and by referencing the journal entry pattern of the first row of the journal entry definition master 106e (E). The second row is created based on the internal trading data of the first row of (C) and (D) and by referencing the journal entry pattern of the second row of the journal entry definition master 106e (E). The third row is created based on the internal trading data of the second row of (C) and (D) and by referencing the journal entry pattern of the second row of the journal entry definition master 106e (E). The fourth row is created based on the internal trading data of the first row of (C) and (D) and by referencing the journal entry pattern of the third row of the journal entry definition master 106e (E). The fifth line is created based on the internal trading data on the second line of (C) and (D) and by referencing the journal entry pattern on the third line of the journal entry definition master 106e (E).
(F)の仕訳テーブルの仕訳データに基づいて、図14に示すような、(A)工場、(B)本社、(C)支店の発生仕訳が出力される。 Based on the journal data in the journal table (F), the accrual journal entries for (A) the factory, (B) the head office, and (C) the branch office are output, as shown in Figure 14.
(通常売上:支店倉庫の在庫を売上処理する場合)
図15~図17を参照して、支店倉庫の在庫を売上処理する場合を説明する。図15は、売上入力画面500の表示例を示す図である。図16は、作成される売上データ及び仕訳データの例を示す図である。(A)は、売上データの売上ヘッダのデータ例、(B)は、売上データの売上明細のデータ例、(E)は、仕訳定義マスタ106eのデータ例、(F)は、仕訳テーブルのデータ例を示している。(F)は、図8と同様である。図17は、仕訳テーブルの仕訳データに基づいて出力される、支店の発生仕訳の例を示す図である。図16(F)と図17では、対応関係を示すために番号を付している。
(Normal sales: When processing sales from inventory in a branch warehouse)
With reference to Figures 15 to 17, sales processing of inventory at a branch warehouse will be described. Figure 15 is a diagram showing an example of the display of the sales input screen 500. Figure 16 is a diagram showing examples of sales data and journal data to be created. (A) shows example data of the sales header of the sales data, (B) shows example data of the sales details of the sales data, (E) shows example data of the journal entry definition master 106e, and (F) shows example data of the journal entry table. (F) is the same as Figure 8. Figure 17 is a diagram showing an example of branch accrual journal entry output based on the journal entry data in the journal entry table. Numbers are assigned between Figures 16(F) and 17 to indicate the correspondence.
図15に示す売上入力画面500の表示例では、伝票情報入力エリア501では、事業所コード「T100:東京支店」、倉庫コード「K1011:東京支店倉庫」、売上日「2022/11/28」出荷日「2022/11/28」、得意先コード「4468:4468マート」が入力されている。 In the example display of the sales input screen 500 shown in Figure 15, the business establishment code "T100: Tokyo Branch", warehouse code "K1011: Tokyo Branch Warehouse", sales date "2022/11/28", shipping date "2022/11/28", and customer code "4468: 4468 Mart" have been entered in the slip information input area 501.
また、明細情報入力エリア502では、商品コード「S001:焼きたてクロワッサン」、数量「30」が入力され、売上単価「220」、売上金額「6600」、標準原価単価「180」、原価金額「5400」が自動表示(入力)されている。 In addition, in the detailed information input area 502, the product code "S001: Freshly baked croissants" and quantity "30" are entered, and the unit sales price "220", sales amount "6600", standard unit cost "180", and cost amount "5400" are automatically displayed (entered).
(1)売上計上する事業所コード「T100」をキーとして、本支店マスタ106cから本支店区分「1:支店」を取得する。
(2)商品を出荷する倉庫コード「K1011」をキーとして、倉庫マスタ106bから事業所コード「T100」を取得し、取得した事業所コード「T100」をキーとして、本支店マスタ106cから本支店区分「1:支店」を取得する。
(3)(1)の売上事業所の本支店区分が「1:支店」、かつ、(2)の出荷倉庫の事業所の本支店区分が「1:支店」であり、売上事業所の本支店区分が「1:支店」、かつ、出荷倉庫の事業所の本支店区分が「2:工場」でないので、通常売上として、売上データのみを作成して社内売買データを作成しない。
(1) Using the establishment code "T100" for which sales are to be recorded as a key, the head office/branch office classification "1: Branch office" is obtained from the head office/branch office master 106c.
(2) Using the warehouse code "K1011" from which the product is shipped as a key, the business establishment code "T100" is obtained from the warehouse master 106b, and using the obtained business establishment code "T100" as a key, the head office/branch office classification "1: Branch office" is obtained from the head office/branch office master 106c.
(3) (1) The head office/branch division of the sales office is "1: Branch" and (2) The head office/branch division of the shipping warehouse is "1: Branch", and the head office/branch division of the sales office is not "1: Branch" and the head office/branch division of the shipping warehouse is not "2: Factory", so only sales data is created as normal sales and internal sales data is not created.
図16は、図15の売上入力画面の入力内容の場合に作成される売上データ及び仕訳データのデータ例を示している。 Figure 16 shows an example of sales data and journal data created when the input content is entered on the sales input screen in Figure 15.
(A)に示すように、売上データの売上ヘッダは、売上番号「U000001」、事業所コード「T100」、倉庫コード「K1011」、得意先コード「4468」、売上日「2022/11/28」、出荷日「2022/11/28」、計上パターン区分「0:通常」となっている。 As shown in (A), the sales header for the sales data is sales number "U000001", business code "T100", warehouse code "K1011", customer code "4468", sales date "2022/11/28", shipping date "2022/11/28", and accounting pattern classification "0: Normal".
(B)に示すように、売上データの売上明細は、売上番号「U000001」、行番号「1」、商品コード「S001」、数量「30」、売上単価「220」、売上金額「6600」、原価単価「180」、原価金額「5400」となっている。 As shown in (B), the sales details for the sales data are: sales number "U000001", row number "1", product code "S001", quantity "30", unit sales price "220", sales amount "6600", unit cost price "180", and cost amount "5400".
計上パターン区分が「0:通常」であるので、(C)、(D)に示すように、社内売買データは作成しない。 Since the accounting pattern classification is "0: Normal," no internal trading data is created, as shown in (C) and (D).
(A)、(B)の売上データに基づいて、(E)の仕訳定義マスタ106eの1行目の仕訳パターンを参照して、(F)に示すような仕訳データを作成して、仕訳テーブルに格納する。(F)の仕訳テーブルの仕訳データに基づいて、図17の(C)に示すような支店の発生仕訳が出力される。 Based on the sales data (A) and (B), the journal entry pattern in the first row of the journal entry definition master 106e (E) is referenced, and journal entry data such as that shown in (F) is created and stored in the journal entry table. Based on the journal entry data in the journal entry table (F), the branch accrual journal entry shown in Figure 17 (C) is output.
以上説明したように、倉庫を識別するための倉庫識別情報と、当該倉庫の事業所を識別するための事業所識別情報を関連付けて登録した倉庫マスタ106bと、事業所識別情報と、本社、支店、又は工場を示す本支店区分を関連付けて登録した本支店マスタ106cと、売上入力画面上でのオペレータの入力操作に応じて、入力される、売上計上する事業所の事業所識別情報をキーとして本支店マスタ106cから本支店区分を取得し、取得した本支店区分が「支店」で、かつ、入力される、得意先に出荷する倉庫の倉庫識別情報をキーとして倉庫マスタ106bから事業所識別情報を取得し、取得した事業所識別情報をキーとして本支店マスタ106cから本支店区分を取得し、取得した本支店区分が「工場」の場合には、売上入力画面の入力内容に基づいて、支店についての売上データと共に、工場と本社間及び本社と支店間の社内売買データを自動生成する売上処理部102aと、を備えているので、本支店会計を採用する場合に、工場から得意先へ商品を直接出荷する際の社内売買の売上処理を簡単かつ担当者に負荷をかけることなく実行することが可能となる。 As described above, the system is provided with the warehouse master 106b in which warehouse identification information for identifying a warehouse and business establishment identification information for identifying the business establishment of the warehouse are registered in association with each other, the head office/branch office master 106c in which the business establishment identification information is registered in association with the head office/branch office classification indicating a head office, a branch office, or a factory, and the sales processing unit 102a which, in response to input operations by an operator on the sales input screen, obtains the head office/branch office classification from the head office/branch office master 106c using the business establishment identification information of the business establishment that will record the sales as a key, and when the obtained head office/branch office classification is "branch office" and the input warehouse identification information of the warehouse that will ship to the customer is used as a key, obtains the head office/branch office classification from the head office/branch office master 106c using the obtained business establishment identification information as a key, and when the obtained head office/branch office classification is "factory," automatically generates, based on the input contents of the sales input screen, sales data for the branch office as well as internal sales data between the factory and the head office and between the head office and the branch office. Therefore, when head office/branch office accounting is adopted, it becomes possible to easily process sales for internal sales when goods are shipped directly from the factory to the customer without placing a burden on the person in charge.
[4.国連が主導する持続可能な開発目標(SDGs)への貢献]
本実施形態により、業務効率化や企業の適切な経営判断を推進することに寄与することができるので、SDGsの目標8及び9に貢献することが可能となる。
[4. Contribution to the United Nations-led Sustainable Development Goals (SDGs)]
This embodiment can contribute to improving business efficiency and promoting appropriate management decisions by companies, thereby contributing to the achievement of SDGs Goals 8 and 9.
また、本実施形態により、廃棄ロス削減や、ペーパレス・電子化を推進することに寄与することができるので、SDGsの目標12、13及び15に貢献することが可能となる。 Furthermore, this embodiment can contribute to reducing waste and promoting paperless and electronic systems, thereby contributing to SDGs goals 12, 13, and 15.
また、本実施形態により、統制、ガバナンス強化に寄与することができるので、SDGsの目標16に貢献することが可能となる。 Furthermore, this embodiment can contribute to strengthening control and governance, thereby contributing to Goal 16 of the SDGs.
[5.他の実施形態]
本発明は、上述した実施形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
5. Other Embodiments
The present invention may be implemented in various different embodiments other than those described above within the scope of the technical concept set forth in the claims.
例えば、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。 For example, among the processes described in the embodiments, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically using known methods.
また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。 In addition, the processing procedures, control procedures, specific names, registered data for each process, information including parameters such as search conditions, screen examples, and database configurations shown in this specification and drawings may be changed as desired unless otherwise specified.
また、売上処理装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。 Furthermore, with regard to the sales processing device 100, the components shown in the figure are functional concepts and do not necessarily have to be physically configured as shown.
例えば、売上処理装置100が備える処理機能、特に制御部にて行われる各処理機能については、その全部または任意の一部を、CPUおよび当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。尚、プログラムは、本実施形態で説明した処理を情報処理装置に実行させるためのプログラム化された命令を含む一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じて売上処理装置100に機械的に読み取られる。すなわち、ROMまたはHDD(Hard Disk Drive)などの記憶部などには、OSと協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。 For example, all or any part of the processing functions of the sales processing device 100, particularly the processing functions performed by the control unit, may be implemented by a CPU and a program interpreted and executed by the CPU, or may be implemented as hardware using wired logic. The program is recorded on a non-transitory, computer-readable recording medium containing programmed instructions for causing the information processing device to execute the processing described in this embodiment, and is mechanically read by the sales processing device 100 as needed. In other words, a computer program that works in conjunction with the OS to issue commands to the CPU and perform various processes is recorded in a storage unit such as a ROM or HDD (Hard Disk Drive). This computer program is executed by being loaded into RAM, and works in conjunction with the CPU to form the control unit.
また、このコンピュータプログラムは、売上処理装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。 In addition, this computer program may be stored on an application program server connected to the sales processing device 100 via any network, and all or part of it may be downloaded as needed.
また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、フレキシブルディスク、光磁気ディスク、ROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable and Programmable Read Only Memory)、CD-ROM(Compact Disk Read Only Memory)、MO(Magneto-Optical disk)、DVD(Digital Versatile Disk)、および、Blu-ray(登録商標) Disc等の任意の「可搬用の物理媒体」を含むものとする。 In addition, the program for executing the processing described in this embodiment may be stored on a non-temporary computer-readable recording medium, or may be configured as a program product. Here, this "recording medium" includes memory cards, USB (Universal Serial Bus) memories, SD (Secure Digital) cards, flexible disks, magneto-optical disks, ROMs, EPROMs (Erasable Programmable Read Only Memory), EEPROMs (registered trademark) (Electrically Erasable and Programmable Read Only Memory), CD-ROMs (Compact Disk Read Only Memory), MOs (Magneto-Optical disks), DVDs (Digital Versatile Disks), and more. This includes any "portable physical media" such as a Blu-ray Disc (registered trademark) and a Blu-ray Disc.
また、「プログラム」とは、任意の言語または記述方法にて記述されたデータ処理方法であり、ソースコードまたはバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施形態に示した各装置において記録媒体を読み取るための具体的な構成および読み取り手順ならびに読み取り後のインストール手順等については、周知の構成や手順を用いることができる。 A "program" is a data processing method written in any language or description method, and may be in any format, such as source code or binary code. It should be noted that a "program" is not necessarily limited to a single structure, but also includes a distributed structure consisting of multiple modules or libraries, or a structure that achieves its function by working in conjunction with a separate program, such as an OS. The specific structure and reading procedure for reading a recording medium in each device shown in the embodiments, as well as the installation procedure after reading, can use well-known structures and procedures.
記憶部に格納される各種のデータベース等は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、及び、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、及び、ウェブページ用ファイル等を格納する。 The various databases stored in the memory unit are storage devices such as memory devices such as RAM and ROM, fixed disk devices such as hard disks, flexible disks, and optical disks, and store various programs, tables, databases, and web page files used for various processes and website provision.
また、売上処理装置100は、既知のパーソナルコンピュータまたはワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、売上処理装置100は、当該装置に本実施形態で説明した処理を実現させるソフトウェア(プログラムまたはデータ等を含む)を実装することにより実現してもよい。 The sales processing device 100 may also be configured as an information processing device such as a known personal computer or workstation, or as an information processing device connected to any peripheral device. The sales processing device 100 may also be implemented by installing software (including programs, data, etc.) that causes the device to perform the processing described in this embodiment.
更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じてまたは機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。 Furthermore, the specific form of distribution and integration of the devices is not limited to that shown in the figures, and all or part of them can be functionally or physically distributed and integrated in any unit depending on various additions or functional loads. In other words, the above-mentioned embodiments may be implemented in any combination, or embodiments may be implemented selectively.
100 売上処理装置
102 制御部
102a 売上処理部
102b 仕訳処理部
102c マスタメンテ部
102d 画面表示制御部
104 通信インターフェース部
106 記憶部
106a 事業所マスタ
106b 倉庫マスタ
106c 本支店マスタ
106d 単価マスタ
106e 仕訳定義マスタ
108 入出力インターフェース部
112 入力装置
114 出力装置
200 サーバ
300 ネットワーク
100 Sales processing device 102 Control unit 102a Sales processing unit 102b Journalizing processing unit 102c Master maintenance unit 102d Screen display control unit 104 Communication interface unit 106 Storage unit 106a Business establishment master 106b Warehouse master 106c Head office/branch master 106d Unit price master 106e Journalizing definition master 108 Input/output interface unit 112 Input device 114 Output device 200 Server 300 Network
Claims (7)
前記制御部は、
倉庫を識別するための倉庫識別情報と、当該倉庫の事業所を識別するための事業所識別情報を関連付けて登録した倉庫マスタと、
事業所識別情報と、本社、支店、又は工場を示す本支店区分を関連付けて登録した本支店マスタと、
にアクセス可能に構成されており、
売上入力画面上でのオペレータの入力操作に応じて、入力される、売上計上する事業所の事業所識別情報をキーとして前記本支店マスタから本支店区分を取得し、取得した本支店区分が「支店」で、かつ、入力される、得意先に出荷する倉庫の倉庫識別情報をキーとして前記倉庫マスタから事業所識別情報を取得し、取得した事業所識別情報をキーとして前記本支店マスタから本支店区分を取得し、取得した本支店区分が「工場」の場合には、前記売上入力画面の入力内容に基づいて、支店についての売上データと共に、工場と本社間及び本社と支店間の社内売買データを自動生成する売上処理手段を備えたことを特徴とする売上処理装置。 A sales processing device that includes a control unit and processes sales for a company that adopts head office/branch accounting,
The control unit
a warehouse master in which warehouse identification information for identifying a warehouse and business establishment identification information for identifying the business establishment of the warehouse are associated and registered;
A head office/branch office master in which business establishment identification information and a head office/branch office classification indicating a head office, branch office, or factory are associated and registered;
It is configured to be accessible to
A sales processing device characterized by comprising a sales processing means for, in response to input operations by an operator on a sales input screen, acquiring a head office/branch office classification from the head office/branch office master using the business establishment identification information of the business establishment that will record the sales as a key, and if the acquired head office/branch office classification is "branch office", acquiring business establishment identification information from the warehouse master using the input warehouse identification information of the warehouse that will ship to the customer as a key, and acquiring a head office/branch office classification from the head office/branch office master using the acquired business establishment identification information as a key, and if the acquired head office/branch office classification is "factory", automatically generating sales data for the branch office as well as internal sales data between the factory and the head office and between the head office and the branch office based on the input contents on the sales input screen.
通常売上又は社内売買毎に、借方科目、借方事業所、貸方科目、貸方事業所、及び金額の種類を含む仕訳パターンを登録した仕訳定義テーブルにアクセス可能に構成されており、
前記売上データ及び社内売買データに基づいて、前記仕訳定義テーブルを参照して、工場、本社、支店の仕訳データを作成する仕訳処理手段を備えたことを特徴とする請求項1~4のいずれか1つに記載の売上処理装置。 The control unit
The system is configured to be able to access a journal entry definition table in which journal entry patterns including debit items, debit business locations, credit items, credit business locations, and amount types are registered for each normal sales or internal sales transaction,
A sales processing device as described in any one of claims 1 to 4, characterized in that it is provided with a journal processing means that creates journal data for factories, head offices, and branches by referring to the journal definition table based on the sales data and internal trading data.
前記制御部は、
倉庫を識別するための倉庫識別情報と、当該倉庫の事業所を識別するための事業所識別情報を関連付けて登録した倉庫マスタと、
事業所識別情報と、本社、支店、又は工場を示す本支店区分を関連付けて登録した本支店マスタと、
にアクセス可能に構成されており、
前記制御部において実行される、
売上入力画面上でのオペレータの入力操作に応じて、入力される、売上計上する事業所の事業所識別情報をキーとして前記本支店マスタから本支店区分を取得し、取得した本支店区分が「支店」で、かつ、入力される、得意先に出荷する倉庫の倉庫識別情報をキーとして前記倉庫マスタから事業所識別情報を取得し、取得した事業所識別情報をキーとして前記本支店マスタから本支店区分を取得し、取得した本支店区分が「工場」の場合には、前記売上入力画面の入力内容に基づいて、支店についての売上データと共に、工場と本社間及び本社と支店間の社内売買データを自動生成する売上処理工程を含むことを特徴とする売上処理方法。 A sales processing method executed by an information processing device having a control unit,
The control unit
a warehouse master in which warehouse identification information for identifying a warehouse and business establishment identification information for identifying the business establishment of the warehouse are associated and registered;
A head office/branch office master in which business establishment identification information and a head office/branch office classification indicating a head office, branch office, or factory are associated and registered;
It is configured to be accessible to
Executed in the control unit:
A sales processing method characterized by including a sales processing step of: acquiring a head office/branch office classification from the head office/branch office master using the business establishment identification information of the business establishment that will record sales as a key, which is input in response to input operations by an operator on a sales input screen; if the acquired head office/branch office classification is "branch office," acquiring business establishment identification information from the warehouse master using the input warehouse identification information of the warehouse that will ship to the customer as a key; acquiring a head office/branch office classification from the head office/branch office master using the acquired business establishment identification information as a key; and if the acquired head office/branch office classification is "factory," automatically generating internal sales data between the factory and the head office and between the head office and the branch office, along with sales data for the branch office, based on the input contents on the sales input screen.
前記制御部は、
倉庫を識別するための倉庫識別情報と、当該倉庫の事業所を識別するための事業所識別情報を関連付けて登録した倉庫マスタと、
事業所識別情報と、本社、支店、又は工場を示す本支店区分を関連付けて登録した本支店マスタと、
にアクセス可能に構成されており、
前記制御部において、
売上入力画面上でのオペレータの入力操作に応じて、入力される、売上計上する事業所の事業所識別情報をキーとして前記本支店マスタから本支店区分を取得し、取得した本支店区分が「支店」で、かつ、入力される、得意先に出荷する倉庫の倉庫識別情報をキーとして前記倉庫マスタから事業所識別情報を取得し、取得した事業所識別情報をキーとして前記本支店マスタから本支店区分を取得し、取得した本支店区分が「工場」の場合には、前記売上入力画面の入力内容に基づいて、支店についての売上データと共に、工場と本社間及び本社と支店間の社内売買データを自動生成する売上処理工程を実行するための売上処理プログラム。 A sales processing program to be executed by an information processing device having a control unit,
The control unit
a warehouse master in which warehouse identification information for identifying a warehouse and business establishment identification information for identifying the business establishment of the warehouse are associated and registered;
A head office/branch office master in which business establishment identification information and a head office/branch office classification indicating a head office, branch office, or factory are associated and registered;
It is configured to be accessible to
In the control unit,
A sales processing program for executing a sales processing step in which, in response to input operations by an operator on a sales input screen, the head office/branch office classification is obtained from the head office/branch office master using the business establishment identification information of the business establishment that will record the sales as a key, and if the obtained head office/branch office classification is "branch," the business establishment identification information is obtained from the warehouse master using the input warehouse identification information of the warehouse that will ship to the customer as a key, and the head office/branch office classification is obtained from the head office/branch office master using the obtained business establishment identification information as a key, and if the obtained head office/branch office classification is "factory," then, based on the input contents on the sales input screen, the program automatically generates sales data for the branch office as well as internal sales data between the factory and head office and between the head office and the branch office.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023007627A JP7783206B2 (en) | 2023-01-20 | 2023-01-20 | Sales processing device, sales processing method, and sales processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023007627A JP7783206B2 (en) | 2023-01-20 | 2023-01-20 | Sales processing device, sales processing method, and sales processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024103348A JP2024103348A (en) | 2024-08-01 |
| JP7783206B2 true JP7783206B2 (en) | 2025-12-09 |
Family
ID=91969521
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2023007627A Active JP7783206B2 (en) | 2023-01-20 | 2023-01-20 | Sales processing device, sales processing method, and sales processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7783206B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012123706A (en) | 2010-12-10 | 2012-06-28 | Hitachi Systems Ltd | Inter-accounting-unit transfer classification division system, method, and program |
| JP2019175156A (en) | 2018-03-28 | 2019-10-10 | 株式会社オービック | Balance management device for each store, balance management method therefor, and balance management program therefor |
| JP2020052693A (en) | 2018-09-26 | 2020-04-02 | 株式会社オービック | Departmental profit / loss management device, departmental profit / loss management method, and departmental profit / loss management program |
| JP2020194577A (en) | 2015-07-03 | 2020-12-03 | 株式会社オービック | Main branch journal entry device, main branch journal entry method, and main branch journal entry program |
-
2023
- 2023-01-20 JP JP2023007627A patent/JP7783206B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012123706A (en) | 2010-12-10 | 2012-06-28 | Hitachi Systems Ltd | Inter-accounting-unit transfer classification division system, method, and program |
| JP2020194577A (en) | 2015-07-03 | 2020-12-03 | 株式会社オービック | Main branch journal entry device, main branch journal entry method, and main branch journal entry program |
| JP2019175156A (en) | 2018-03-28 | 2019-10-10 | 株式会社オービック | Balance management device for each store, balance management method therefor, and balance management program therefor |
| JP2020052693A (en) | 2018-09-26 | 2020-04-02 | 株式会社オービック | Departmental profit / loss management device, departmental profit / loss management method, and departmental profit / loss management program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2024103348A (en) | 2024-08-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7132056B2 (en) | Departmental Profit and Loss Management Device, Departmental Profit and Loss Management Method, and Departmental Profit and Loss Management Program | |
| JP7514761B2 (en) | Intra-group company transaction data generating device, intra-group company transaction data generating method, and intra-group company transaction data generating program | |
| JP7048383B2 (en) | Balance management device by store, balance management method by store, and balance management program by store | |
| JP7783206B2 (en) | Sales processing device, sales processing method, and sales processing program | |
| JP7618523B2 (en) | Information generation device, information generation method, and information generation program | |
| JP7550714B2 (en) | Payment processing device, payment processing method, and payment processing program | |
| JP7565726B2 (en) | Analysis code-specific income/expenditure management system, analysis code-specific income/expenditure management method, and analysis code-specific income/expenditure management program | |
| JP7461905B2 (en) | Journal entry creation device, journal entry creation method, and journal entry creation program | |
| JP7572259B2 (en) | Business support device, business support method, and business support program | |
| JP2022155478A (en) | Cost management device, cost management method, and cost management program | |
| JP2021144692A (en) | Sales recording apparatus, sales recording method and sales recording program | |
| JP7812816B2 (en) | Management accounting device, management accounting method, and management accounting program | |
| JP7733043B2 (en) | Project management system, project management method, and project management program | |
| JP7750814B2 (en) | Export transaction management device, export transaction management method, and export transaction management program | |
| JP7642515B2 (en) | Distribution retail management device, distribution retail management method, and distribution retail management program | |
| JP7519391B2 (en) | Internal transaction elimination work support device, internal transaction elimination work support method, and internal transaction elimination work support program | |
| JP7642514B2 (en) | Distribution retail management device, distribution retail management method, and distribution retail management program | |
| JP7787794B2 (en) | Automatic judgment device, automatic judgment method, and automatic judgment program | |
| JP7772671B2 (en) | Trading system, trading method, and trading program | |
| JP7572985B2 (en) | Delivery note creation device, delivery note creation method, and delivery note creation program | |
| JP7557485B2 (en) | Sales management system, sales management method, and sales management program | |
| JP7693565B2 (en) | Order management device, order management method, and order management program | |
| JP7715683B2 (en) | Order entry device, order entry method, and order entry program | |
| JP7693280B2 (en) | Cost management device, cost management method, and cost management program | |
| JP7568564B2 (en) | Cost management support device, cost management support method, and cost management support program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20250117 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20251015 |
|
| 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: 20251104 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20251127 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7783206 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |