KR20060033383A - Making method for bill of material using visual basic - Google Patents

Making method for bill of material using visual basic Download PDF

Info

Publication number
KR20060033383A
KR20060033383A KR1020040082471A KR20040082471A KR20060033383A KR 20060033383 A KR20060033383 A KR 20060033383A KR 1020040082471 A KR1020040082471 A KR 1020040082471A KR 20040082471 A KR20040082471 A KR 20040082471A KR 20060033383 A KR20060033383 A KR 20060033383A
Authority
KR
South Korea
Prior art keywords
material information
computerized
information
row
bom
Prior art date
Application number
KR1020040082471A
Other languages
Korean (ko)
Inventor
장수영
Original Assignee
엘지전자 주식회사
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 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020040082471A priority Critical patent/KR20060033383A/en
Publication of KR20060033383A publication Critical patent/KR20060033383A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • G06F16/1794Details of file format conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • G06Q10/0875Itemisation or classification of parts, supplies or services, e.g. bill of materials

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

본 발명은 자재 정보(BOM: Bill Of Material) 업무의 자동화를 위해서 비쥬얼 베이직을 이용하여 자재 정보를 자동으로 작성할 수 있도록 한 비쥬얼 베이직을 이용한 자재 정보 자동 작성 방법에 관한 것이다.The present invention relates to a method for automatically creating material information using visual basic, which enables the automatic creation of material information using visual basic for the automation of a bill of material (BOM) task.

본 발명에 따른 비쥬얼 베이직을 이용한 자재정보 자동 작성 방법은, 전자제품에 대한 자재 정보를 사용자가 설정한 일정 형식에 맞는 전산 자재정보 파일 형식으로 변환하는 제 1단계; 이전 프로젝트에서 사용된 대치자재 리스트를 해상 프로젝트의 전산 자재정보에 삽입하여 참고할 대치 자재 리스트를 만드는 제 2단계; 상기에서 만들어진 대치 자재 리스트를 해당 프로젝트의 전산 자재 정보에 자동 추가하여 전산 자재정보를 생성하는 제 3단계; 상기 생성된 전산 자재정보과 원본 전산자재정보를 비교한 한 오류를 수정하여 최종 전산 자재정보를 완성하는 제 4단계를 포함하는 것을 특징으로 한다.
Automatic material information creation method using Visual Basic according to the present invention, the first step of converting the material information for the electronic product into a computerized material information file format suitable for a predetermined format set by the user; A second step of creating a substitute material list for reference by inserting the substitute material list used in the previous project into the computerized material information of the marine project; Generating a computerized material information by automatically adding the created substitute material list to the computerized material information of the corresponding project; And a fourth step of correcting an error comparing the generated computerized material information with the original computerized material information to complete the final computerized material information.

E-BOM, 비쥬얼 베이직E-BOM, Visual Basic

Description

비쥬얼 베이직을 이용한 자재정보 자동 작성 방법{Making method for Bill of Material using visual basic}Making method for Bill of Material using visual basic}

도 1은 종래 자재정보 작성 방법을 나타낸 흐름도.1 is a flow chart showing a conventional material information creation method.

도 2는 본 발명 실시 예에 따른 비쥬얼 베이직을 이용한 자재정보 자동 작성 방법을 나타낸 흐름도.2 is a flowchart illustrating a method of automatically creating material information using visual basics according to an exemplary embodiment of the present invention.

도 3은 본 발명의 도 2에서 E-BOM을 실용 BOM형태로 전환하는 방법을 나타낸 흐름도.3 is a flowchart illustrating a method of converting an E-BOM into a practical BOM in FIG. 2 of the present invention.

도 4는 본 발명의 도 2에서 대치자재 리스트 만드는 방법을 나타낸 흐름도.4 is a flowchart illustrating a method of creating a substitute material list in FIG. 2 of the present invention.

도 5는 본 발명의 도 2에서 BOM에 대치 자재 자동 삽입 방법을 나타내는 흐름도.5 is a flowchart illustrating a method of automatically inserting a substitute material into a BOM in FIG. 2 of the present invention.

도 6은 본 발명의 도 2에서 전산 입력된 BOM과 원본 BOM 비교를 나타낸 흐름도.
6 is a flow chart illustrating a comparison of the computerized BOM and the original BOM in Figure 2 of the present invention.

본 발명은 자재 정보(BOM: Bill Of Material) 업무의 자동화를 위해서 비쥬 얼 베이직을 이용하여 자재 정보를 자동으로 작성할 수 있도록 한 비쥬얼 베이직을 이용한 자재 정보 자동 작성 방법에 관한 것이다.The present invention relates to a method of automatically creating material information using Visual Basic, which enables the automatic creation of material information using Visual Basic for the automation of Bill of Material (BOM) work.

일반적으로 자재정보(BOM : Bill of Material)는 특정 제품(Item)이 어떠한 부품(Item)으로 구성되는지에 대한 정보를 담고 있습니다. 즉, BOM은 Item간의 관계(relationship)를 정의하는 데이터라고 할 수 있습니다. 우리가 접하는 대부분의 제품들은 모두 여러 가지 부품의 조립품이라고 볼 수 있습니다. 예를 들어, 볼펜, 전화기, 자동차, 컴퓨터, 키보드, 오디오, 비디오, 카메라, 세탁기, 청소기, 회로도 등은 모두 많은 부품의 조립을 통해 만들어 진 것입니다. 아주 단순한 제품일지라도(예를 들어, 볼펜, 연필) 꼼꼼히 생각해보면 5-10여 개의 부품으로 구성되어 있음을 알 수 있습니다. In general, Bill of Material (BOM) contains information about which item a certain product is composed of. In other words, a BOM is data that defines a relationship between items. Most of the products we encounter are all assemblies of different parts. For example, ballpoint pens, telephones, cars, computers, keyboards, audio, video, cameras, washing machines, vacuum cleaners, schematics, etc. are all made through the assembly of many parts. Even a very simple product (for example, a ballpoint pen and a pencil), if you think carefully, you can see that it consists of 5-10 parts.

즉, 자재 정보는 제품을 제조하기 위한 그 제품의 부품 구성표를 말한다. 한 모델의 회로 도 툴을 구축하기 위해 이를 구성하는 각종 부품 및 원부 자재를 리스트로 만들게 된다. 이 BOM에는 엔지니어링 측면의 E-BOM(Engineering Bill of Materials, 이하 전산자재정보) 과 생산/자재 측면의 P-BOM으로 구분하여 사용하기도 하고 통합하여 사용하기도 한다.In other words, the material information refers to the parts scheme of the product for manufacturing the product. To build a schematic tool for a model, you list the parts and raw materials that make up it. The bill of materials can be divided into engineering bill of materials (E-BOM) in engineering and P-BOM in production / material.

상기와 같은 BOM 생성 과정은 도 1에 도시된 바와 같다.The BOM generation process as described above is illustrated in FIG. 1.

도 1을 참조하면, 먼저 회로도 툴(tool)에서 엔지니어측면의 전산자재정보(E-BOM)을 생성하고(S11), 하드웨어 엔지니어 측면의 전산 자재정보를 회사 ERP(Enterprise Resource Planning) 시스템에 입력 가능하도록 또는 실제 업무가 사용이 가능하도록 수정 작업을 거치게 된다(S12). Referring to FIG. 1, first, an electronic engineering material information (E-BOM) of an engineer side may be generated in a schematic tool (S11), and the computing material information of a hardware engineer side may be input into a company enterprise resource planning (ERP) system. In order to make or use the actual work to be modified (S12).                         

그리고, 제품의 대치 자재 여부를 판별하여 BOM에 삽입하게 BOM이 완성된다(S13). 여기서, BOM에 삽입하는 방식은 매 이벤트 진행시 마다 수행된다. Then, the BOM is completed to determine whether the substitute material of the product is inserted into the BOM (S13). Here, the method of inserting into the BOM is performed at every event progress.

상기에서 만들어진 BOM을 전산에 손으로 직접 입력하고(S14), 전산 입력된 BOM과 원본 BOM을 일일이 사람이 확인하게 된다(S15). The bill of materials created above is directly input to the computer by hand (S14), and the person inputs the computer input BOM and the original BOM one by one (S15).

상기와 같이 종래에는 BOM 파일을 만들기 위해 엑셀에서 제공하는 기능만을 사용하여 원하는 파일 형태를 위해 사람이 일일이 수 작업하기 때문에, 시간이 많이 걸릴뿐더러 BOM 생성에 있어 정확성이 떨어지고 매 이벤트마다 반복해야 하는 번거로움이 있다.As mentioned above, since a person manually works for a desired file type by using only functions provided by Excel to create a BOM file, it takes a lot of time and has a lack of accuracy in BOM generation and hass to repeat every event. There is a feeling.

또한 BOM 파일을 작성함에 있어 실수가 발생할 경우 회사에 치명적인 금전적인 손실과 함께 개발 지연을 초래할 수 있다. 또한 개발 엔지니어가 BOM 업무에 많은 시간을 할애함으로써 다른 개발 업무에 많은 시간을 할애할 수 없게 된다.
In addition, mistakes in creating BOM files can lead to development delays with catastrophic financial losses to the company. In addition, development engineers spend a lot of time on BOM tasks, which means they can't spend a lot of time on other development tasks.

본 발명의 제 1목적은 VBA(Visual Basic Application)을 이용하여 자동으로 전자제품 설계 BOM 업무의 자동화를 구현할 수 있도록 한 비쥬얼 베이직을 이용한 자재정보 자동 작성 방법을 제공함에 있다.It is a first object of the present invention to provide a method for automatically creating material information using Visual Basic, which enables to automate the automation of electronic product design BOM task using VBA (Visual Basic Application).

본 발명의 제 2목적은 전자제품 설계 BOM 업무의 자동화 프로그램을 통해 시간을 단축시켜 줄 수 있도록 한 비쥬얼 베이직을 이용한 자재정보 자동 작성 방법을 제공함에 있다.A second object of the present invention is to provide a method for automatically creating material information using Visual Basic, which can shorten time through an automated program of an electronic product design BOM task.

본 발명의 제 3목적은 자동화를 통해 수작업에 의한 실수를 방지함으로써 자 료의 정확성을 확보할 수 있도록 한 비쥬얼 베이직을 이용한 자재정보 자동 작성 방법을 제공함에 있다.
A third object of the present invention is to provide a method for automatically creating material information using Visual Basic, which can secure the accuracy of data by preventing mistakes by manual operation through automation.

상기한 목적 달성을 위한 본 발명에 따른 비쥬얼 베이직을 이용한 자재정보 자동 작성 방법은,Automatic material information creation method using Visual Basic according to the present invention for achieving the above object,

비쥬얼 베이직을 이용한 전산 자재 정보의 자동 작성 방법에 있어서,In the automatic creation method of computerized material information using Visual Basic,

전자제품에 대한 자재 정보를 사용자가 설정한 일정 형식에 맞는 전산 자재정보 파일 형식으로 변환하는 제 1단계;A first step of converting material information on the electronic product into a computerized material information file format suitable for a schedule format set by a user;

이전 프로젝트에서 사용된 대치자재 리스트를 해상 프로젝트의 전산 자재정보에 삽입하여 참고할 대치 자재 리스트를 만드는 제 2단계;A second step of creating a substitute material list for reference by inserting the substitute material list used in the previous project into the computerized material information of the marine project;

상기에서 만들어진 대치 자재 리스트를 해당 프로젝트의 전산 자재 정보에 자동 추가하여 전산 자재정보를 생성하는 제 3단계;Generating a computerized material information by automatically adding the created substitute material list to the computerized material information of the corresponding project;

상기 생성된 전산 자재정보과 원본 전산자재정보를 비교한 한 오류를 수정하여 최종 전산 전산 자재정보를 완성하는 제 4단계를 포함하는 것을 특징으로 한다.And a fourth step of correcting an error comparing the generated computerized material information with the original computerized material information to complete the final computerized material information.

바람직하게, 상기 제 1단계는 전자제품의 회로도 툴에 제공된 변환할 전산자재정보의 파일 이름이 입력되면 각 항목을 열로 나누고, 상기 나누어진 각 항목을 재배열하고, 필요 없는 항목을 삭제하며, 값이 없는 셀의 제거 및 문자 사이의 공간 제거, 글자크기, 셀 넓이, 각 항목 이름을 변경해 주는 단계를 포함하는 것을 특징으로 한다. Preferably, in the first step, when the file name of the computerized material information to be converted provided in the schematic tool of the electronic product is inputted, each item is divided into columns, the respective items are rearranged, the unnecessary items are deleted, and values Removing cell without space, removing space between characters, changing font size, cell width, and changing each item name.                     

바람직하게, 상기 제 2단계는 상기 참고할 전산 자재정보 파일의 이름이 입력되면 해당 전산 자재정보 파일을 오픈하고, 전체 행수를 계산하는 단계; 상기 계산된 전체 행 중 각각의 행에 대해 특정 문자 또는 숫자가 포함된 셀을 검색하여 해당 행을 제거한 후 전체 행수를 다시 계산하는 단계; 상기 다시 계산된 행의 각 행의 특정 문자 또는 숫자로 끝나는 셀이 있을 경우 인접한 행의 두 셀 내의 값을 비교하여 두 셀의 값이 같은 경우 또는 특정 문자/숫자로 끝나는 경우 또는 공백인 셀에 대해 해당 행을 제거한 후 대치 자재 리스트를 만드는 단계를 포함하는 것을 특징으로 한다.Preferably, the second step is a step of opening the corresponding computerized material information file when the name of the computerized material information file for reference is input, and calculating the total number of rows; Recalculating the total number of rows after searching for a cell containing a specific letter or number for each row among the calculated total rows, removing the row; If there is a cell that ends with a specific letter or number in each row of the recalculated row, compare the values in two cells of adjacent rows to compare the values in two cells that are equal, end with a specific letter / number, or for a cell that is blank. And removing the corresponding row to create a substitute material list.

바람직하게, 상기 제 3단계는 상기 대치 자재 리스트 및 대치 삽입이 필요한 전산자재 정보 파일을 입력받아, 대치자재 리스트 파일의 전체 행수를 계산하는 단계; 상기 대치 자재를 삽입하기 원하는 전산자재 정보의 파트넘버 열의 값을 이용하여, 상기 대치 자재 리스트에 있는 파트 넘버가 현재 전산 자재정보에 있는지를 각각 비교하여, 상기 파트넘버가 없으면 다음 행에 대해 비교하며, 상기 파트넘버가 있으면 1순위인가를 확인하는 단계 및, 상기 확인결과 대치자재 리스트에 있는 파트넘버가 1순위이거나 파트넘버 대치자재이면 파트넘버의 대치자재를 전산자재정보의 해당 파트 넘버 밑에 삽입하는 단계; 상기 계산된 행수의 카운트 값에 상기 대치 자재수를 더하여 상기 정보 비교 루프로 이동을 반복하면서, 전산자재정보에 대치자재를 자동으로 삽입하는 것을 특징으로 한다.Preferably, the third step may include receiving the substitute material list and the computerized material information file requiring replacement and calculating the total number of rows of the substitute material list file; Using the value of the part number column of the computerized material information to which the substitute material is to be inserted, each part number in the substitute material list is compared with the current computerized material information, and if there is no part number, the next row is compared. If the part number, if there is a part number in the substitute material list is the first rank or the part number replacement material, the substitute material of the part number is inserted below the corresponding part number of the computerized material information. step; The substitute material number is added to the calculated value of the number of rows, and the replacement material is automatically inserted into the computer material information while repeating the movement to the information comparison loop.

바람직하게, 상기 제 4단계는 상기 생성된 전산자재정보와 원본 전산자재정보를 오픈하여, 두 파일의 각각의 열의 값이 일치하면 원본 파일의 해당 행의 원하 는 값을 읽어오는 단계 및, 상기 생성된 전산자재정보의 항목을 비교한 후 해당 값까지의 일치 여부에 따라 오류 수정을 위해 1 또는 0을 입력해 주는 단계를 포함하는 것을 특징으로 한다.

Preferably, the fourth step is to open the generated computerized material information and the original computerized material information, if the value of each column of the two files match, reading the desired value of the corresponding row of the original file, and the generation Comparing the items of the computerized material information, characterized in that it comprises the step of inputting 1 or 0 for error correction according to whether the corresponding value up to.

상기와 같이 구성되는 본 발명 실시 예에 따른 비쥬얼 베이직을 이용한 자재정보 자동 작성 방법에 대하여 첨부된 도면을 참조하여 설명하면 다음과 같다.Referring to the accompanying drawings, a method for automatically creating material information using visual basic according to an embodiment of the present invention configured as described above is as follows.

먼저, 전자제품 설계 BOM 업무의 자동화를 위해, 전자제품을 설계하면 회로에 들어가는 부품에 대한 관리가 필수적이므로, 현재 회로도를 그리는 회로도 툴의 경우 자재에 대한 정보가 텍스트(txt)파일로 제공되고, 회사나 엔지니어가 원하는 형태의 파일로 반복적으로 변환해야 하는 작업에 대해 VBA(Visual Basic Application)를 이용하여 자동화하게 된다.First of all, in order to automate the electronics design BOM business, the design of electronic products is essential to the management of the components that enter the circuit.In the case of the schematic tool that draws the current circuit diagram, information on the material is provided as a text (txt) file. Visual Basic Applications (VBA) are used to automate tasks that require repetitive conversion of files to the type of company or engineer desired.

이러한 비쥬얼 베이직을 이용한 자재 정보 자동화 방법은 도 2에 도시된 바와 같다.The material information automation method using the visual basic is as shown in FIG.

도 2를 참조하면, 먼저 전산자재 정보(E-BOM)의 실용 BOM 형태로 전환하게 된다(S101). 즉, 엔지니어 측면의 회로도 툴(tool)에서 발생된 전산 자재 정보를 엔지니어가 요구하는 형태 혹은 회사 전산 툴 형식에 맞는 자재 정보 형식으로 자동 생성하게 된다.Referring to FIG. 2, first, the utility material is converted into a practical BOM form of the electronic material information (E-BOM) (S101). In other words, the computational material information generated from the engineer's schematic tool is automatically generated in the form required by the engineer or in the form of material information suitable for the company's computational tool format.

그리고, 대치 자재 리스트를 만들게 된다(S103). 이러한 대치 자재 리스트 만들기 위해 기존 프로젝트에서 사용된 대치 자재 리스트를 해당 프로젝트의 전산 BOM에서 곧바로 자동으로 생성할 수 있게 된다.Then, a substitute material list is made (S103). To create such a substitute material list, the substitute material list used in the existing project can be automatically generated directly from the project's computerized BOM.

이후, 상기의 자재 정보에 대치 자재 자동으로 삽입하게 된다(S105). 이는 프로젝트의 BOM을 완성하기 위해 대치 자재 여부를 판단하여 대치 자재를 추가해야 하는데, 상기에서 만들어진 대치 자재 리스트를 BOM에 자동으로 추가시켜 준다.Subsequently, the substitute material is automatically inserted into the material information (S105). In order to complete the BOM of the project, it is necessary to determine the substitute material and add the substitute material. The substitute material list created above is automatically added to the BOM.

마지막으로, 상기 전산 입력된 BOM과 원본 BOM을 비교하여 오류를 수정하게 된다(S107). 이는 상기 S105 단계에서 생성된 BOM을 회사 전산 시스템에 입력한 후 최종 전산 BOM이 완성되는데, 최종 완성된 전산 BOM과 원본을 비교함으로써 오류 수정이 가능해 진다. 또한 S107 단계에서는 각 개발 이벤트마다 BOM의 변경 사항을 각 항목별로 표시할 수도 있으며, 엑셀로 출력된 어떠한 형태의 파일도 비교 가능하게 된다.Finally, the error is corrected by comparing the computerized BOM and the original BOM (S107). The final computerized BOM is completed after inputting the BOM generated in step S105 into the company's computer system, and the error can be corrected by comparing the original computerized BOM with the original. In addition, in step S107, changes of a BOM may be displayed for each item for each development event, and any type of file output to Excel may be compared.

상기와 같은 BOM 자동 생성 과정(S101~107)은 엔지니어가 필요에 따라 한 단계씩 구현할 수도 있고, 회서 ERP 시스템 안에서 전체 과정이 한 번에 구현될 수도 있다. 하지만 회로도 툴에서 제공되는 E-BOM을 실제 사용 가능한 BOM 혹은 전산 BOM을 만들기 위해서는 비쥬얼 베이직 어플리케이션(Visual Basic Application)을 이용한 프로그램으로 상기와 같은 단계 및 각 단계를 도 3 내지 도 6에 도시된 바와 같이 상세하게 구현할 수 있다. Automatic BOM generation process (S101 ~ 107) as described above may be implemented by the engineer step by step, the entire process may be implemented at once in the ERP system. However, in order to make a BOM or a computational BOM that can actually use the E-BOM provided by the schematic tool, a program using a Visual Basic Application is performed as described above and each step as shown in FIGS. 3 to 6. It can be implemented in detail.

도 3은 본 발명 도 2에서 E-BOM의 실용 BOM 형태로 전환하는 단계(S101)를 상세하게 나타낸 플로우 챠트이다. 이러한 단계는 VBA 상에서 E-BOM 파일을 사용자가 원하는 실용 BOM 파일 형태로 전환할 수 있도록 사용자 입력을 제공하게 된다. 3 is a flow chart illustrating in detail the step (S101) of converting to the practical BOM form of the E-BOM in Figure 2 of the present invention. These steps will provide user input to convert the E-BOM file into a practical BOM file of your choice on VBA.

도 3을 참조하면, 먼저 입력 함수(InputBox)를 이용하여 사용자로부터 회로 도 툴에서 제공된 변환할 E-BOM 파일 이름을 입력받는다(S111). 즉, VBA 상에서 입력 함수를 제공하여 사용자가 변환할 E-BOM 파일 이름을 입력받거나 특정 파일을 선택할 수도 있다.Referring to FIG. 3, first, an input function (InputBox) is used to receive an E-BOM file name to be converted provided by a circuit diagram tool from a user (S111). In other words, VBA provides an input function that allows the user to input the name of an E-BOM file to convert or to select a specific file.

그리고, 초기의 E-BOM 형식인 텍스트 파일을 엑셀에서 열 때 오픈 텍스트 메서드에서 구분자(^)를 이용하여 각 항목을 열로 나눈다(S112). 즉, file1.txt^file2.txt^file3.txt 등으로 입력하여 엑셀 내에서 각 항목이 열(A열, B열, C열 등)로 나누어지게 배열된다.When the text file in the initial E-BOM format is opened in Excel, each item is divided into columns using a delimiter (^) in the open text method (S112). In other words, by inputting file1.txt ^ file2.txt ^ file3.txt etc., each item is arranged in columns (column A, column B, column C, etc.).

그리고, 엑셀 파일 내에서 원하는 형식으로 각 항목을 재배열하게 된다(S113). 즉, 업무 필요에 따라 또는 회사 전산 시스템의 형식에 맞게 삭제(Delete), 삽입(Insert) 메서드 등을 이용하여 각 항목 순서를 재배열하며, 필요 없는 항목은 삭제하게 된다.Then, each item is rearranged to a desired format in the Excel file (S113). That is, the order of each item is rearranged by using Delete, Insert method, etc. according to the business needs or the format of the company's computer system, and the unnecessary items are deleted.

그리고, 셀(cell) 값 중 쓰레기 값을 제거하게 된다(S114). 즉, 상기 S112 단계에서 구분자(^)를 이용하여 열을 나누다 보면 값이 없는 셀(즉, 공란)은 쓰레기 값이 들어가 있다. 이러한 값이 없는 셀 등을 지울 수 있도록 지우기 원하는 값을 교체(Replace) 메서드를 이용하여 공백으로 제거한다. 예컨대, 지우기 원하는 값이 @이면 교체 메서드로 공백으로 제거하기 위해 "@"→""를 이용한다. Then, the garbage value is removed from the cell value (S114). That is, when dividing the column using the delimiter (^) in step S112, the cell having no value (ie, blank) contains garbage value. To delete cells without these values, remove the values you want to delete with spaces using the Replace method. For example, if the value you want to delete is @, use "@" → "" to remove it with a space as a replacement method.

또한, 명세서(Specification) 내용을 하나의 셀에 통합하게 된다(S115). 즉, 문자열의 경우연산자(&)를 이용하여 문자와 문자 사이의 공간을 붙여주게 된다. 명세서의 경우 여러 열로 나누어 있으면 불편하므로 연산자(&)를 이용하여 하나의 셀에 통합해 주게 된다. In addition, the specification contents are integrated into one cell (S115). That is, in the case of a string, the space between the characters is attached by using the operator (&). In the case of specification, it is inconvenient to divide it into several columns, so it is integrated into one cell by using the operator (&).                     

그리고, 사용자 보기에 편하도록 글자 크기, 셀 넓이, 각 항목 이름 등을 변경 및 입력하여, 셀을 최적화시켜 준다(S116). 즉, 각 열에 속한 문자에 대한 글자 크기, 셀 넓이, 각 항목 이름 등을 조정하게 된다.In addition, the cell size is optimized and the cell size is changed and input so as to facilitate the user's view (S116). That is, the font size, cell width, and item name for each column of characters are adjusted.

이와 같이 텍스트 파일을 엑셀 파일의 셀로 최적화시켜 주어, 실용 BOM 형태로 전환된다.
In this way, the text file is optimized as a cell of the Excel file, and converted into a practical BOM.

도 4는 본 발명 도 2의 대치자재 리스트 만드는 단계(S103)를 세부적으로 나타낸 플로우 챠트이다.4 is a flowchart showing in detail the step (S103) of creating a substitute material list of FIG. 2 of the present invention.

도 4를 참조하면, 참고할 전산 BOM 파일 이름을 입력받는다(S131). 예를 들면 VBA 상에서 참고할 전산 BOM 파일 이름을 입력받게 되는데, filename = InputBox("파일이름") 형식으로 입력하거나 직접 불러올 수도 있다.Referring to FIG. 4, a computer BOM file name to be referred to is received (S131). For example, you will be asked to enter a computerized BOM file name for reference in VBA, which can be entered in the form filename = InputBox ("filename") or imported directly.

그리고, 참고할 전산 BOM 파일을 오픈(Workbooks.open)하게 된다(S132). 상기 오픈된 참고할 전산 BOM 파일의 전체 행수(row = 1,2,3,...)를 계산하게 된다. 예를 들면, 행수 1= Selection.Rows.count로 이용하여 계산하게 된다.Then, the computerized BOM file to be referenced is opened (Workbooks.open) (S132). It calculates the total number of rows (row = 1,2,3, ...) of the open computerized BOM file for reference. For example, this would be calculated using the number of rows 1 = Selection.Rows.count.

이후, S134~S138 루프 단계에서는 행수 1의 각각의 행에 대해 순차적으로 셀을 검사한 후 셀 내에 특정한 문자가 포함되는지(S135), 또는 특정한 숫자가 포함되어 있는지(S137)를 비교하여 특정한 문자나 숫자가 포함된 셀의 해당 열을 제거하게 된다(S136,S137). 이를 위해, 행수 1의 두 번째 행(k=2)부터 검사하게 되는데, k=1은 보통 제목이 입력되므로 k=2부터 수행하게 된다.Subsequently, in the loops S134 to S138, the cells are sequentially examined for each row of the row number 1, and then a specific character or the number is compared by comparing whether the cell includes a specific character (S135) or a specific number (S137). The corresponding column of the cell containing the number is removed (S136 and S137). For this purpose, the first row of the number of rows 1 (k = 2) is examined, and k = 1 is usually performed from k = 2 since a title is input.

즉, 상기 S134 단계에서는 일정 번째(예컨대, 4번) 셀에서 글자 앞/뒤의 공 백을 제거(Trim)하고 임의의 값(a)으로 정의하게 된다. 예를 들면 a=Application.Trim(Object.Cells(k,4).Value)를 이용하며, 2번째 행수의 4번째 셀을 "a"라 하고 문자와 문자 사이의 공백을 제거한다. That is, in step S134, the space before and after the letter is trimmed in a certain cell (eg, number 4) and defined as a random value (a). For example, use a = Application.Trim (Object.Cells (k, 4) .Value). The fourth cell of the second row is called "a" and the spaces between the characters are removed.

상기 S135 단계는 상기 a셀 내에 특정 문자("*Q*")가 포함되어 있는가를 검사하게 된다(S135). 여기서 a= "*Q*"라고 정의하면 셀 내의 앞 및 뒤에 "Q"라는 문자가 포함되어 있는가를 검사하고, 해당 문자(a=*Q*)가 존재하면 그 세로 열(Rows(k))을 제거하게 된다(S136). 여기서, *는 모든 문자를 나타낸다. In step S135, it is checked whether a specific character ("* Q *") is included in the cell a (S135). Here, if you define a = "* Q *", it checks whether the character "Q" is included in the cell before and after. If the character (a = * Q *) exists, the vertical column (Rows (k)) is checked. It is removed (S136). Where * represents all characters.

그리고, 상기 S137 단계에서는 a가 특정 숫자로 기록되어 있는가를 확인하게 된다. 예컨대, a=1이면 해당 행(k=2)을 삭제하게 된다(S138).In step S137, it is checked whether a is recorded as a specific number. For example, if a = 1, the corresponding row (k = 2) is deleted (S138).

이후, k=2 열을 수행했으면 k=3부터 다시 S134~S137 단계로 전체 행수 1에 대해 반복 동작하게 한다. 이때, k=2 행부터 전체 행수1까지에 대해, 각 행의 특정 셀에 특정 문자 또는 특정 숫자가 있는가를 확인한 후, 상기 특정 문자 또는 특정 숫자가 있을 경우 해당 열을 삭제하게 된다.Thereafter, if k = 2 columns are performed, the operation is repeated for the total number of rows 1 in steps S134 to S137 again from k = 3. In this case, for k to 2 rows to the total number of rows 1, after checking whether a specific character or a specific number exists in a specific cell of each row, the corresponding column is deleted when there is the specific character or a specific number.

이렇게 삭제된 행이 발생하므로, 다시 전체 행수를 재 계산하여 행수 2라고 한다. 즉, 행수 2=Selection.Rows.count로 구해진다.Since the deleted rows are generated, the total number of rows is recalculated and called row 2. That is, the number of rows 2 is obtained by Selection.Rows.count.

이때, S141~S147 루프 단계에서는 상기 계산된 행수 2의 각 행과 그 다음 행의 동일한 셀을 비교하여 같은 숫자가 있는지(S141), 같은 값을 갖는지(S142), 두 셀내에서 특정 숫자가 포함되는지(S144), 공백인지(S146) 등을 검색하여 해당 행을 제거하게 된다(S143,S145,S147).In this case, in the loops S141 to S147, the same cells of the calculated row number 2 and the next row are compared with each other to determine whether the same number exists (S141), the same value (S142), and whether a specific number is included in the two cells. The corresponding line is removed by searching for a space (S144) or the like (S146) (S143, S145, and S147).

즉, 행수 2가 계산되면 행수 2의 특정 셀의 레벨 값과 그 다음 행의 특정 셀 의 레벨 값을 a, b로 치환한다(S140). 여기서, a = Application.Trim(Object.Cells(k,4).Value)으로 정의하며, b = Application.Trim(Object.Cells(k+1,4).Value)로 정의한다. 상기 a 레벨 값은 k 번째 행이며, b레벨 값은 k+1번째 행이다. 그리고 4는 a행 및 b 행에서의 4번째 셀이라는 것을 의미한다. That is, when the row number 2 is calculated, the level value of the specific cell of the row number 2 and the level value of the specific cell of the next row are replaced with a and b (S140). Here, a = Application.Trim (Object.Cells (k, 4) .Value) and b = Application.Trim (Object.Cells (k + 1,4) .Value). The a level value is the k th row and the b level value is the k + 1 th row. And 4 means the fourth cell in row a and row b.

상기 S141 단계는 a가 2로 끝나는지 또는 3으로 끝나는지에 대해 비교하게 된다. a = "*2" 또는 "*3"으로 끝나지 않으면 카운트 증가되어 다음 행부터 루프(S140)로 이동하여 수행한다. 상기 S141 단계에서 a="*2" 또는 "*3"으로 끝나면 a와 b가 같은지를 확인하고(S142), 같으면 해당 행을 삭제하고 k행을 k-1행으로 한 후(S143), 루프 S140 단계로 이동한다. 상기 a와 b가 같지 않으면 a="*2"와 b="*3의 조건을 만족하는지를 확인한 후(S144), 그 조건을 만족하면 해당 행(k)을 제거하고 k행을 k-1행으로 이동한 후 루프(S140)로 이동한다(S145).Step S141 compares whether a ends in 2 or 3. If a = "* 2" or "* 3" does not end, the count is incremented and the process moves to the loop S140 from the next row. If a = "* 2" or "* 3" ends in step S141, check whether a and b are the same (S142). If the same, delete the corresponding row and make k-k to k-1 (S143). Go to step S140. If a and b are not equal, check whether a = "* 2" and b = "* 3 are satisfied (S144). If the condition is satisfied, the corresponding row (k) is removed, and k is k-1. After moving to the loop (S140) (S145).

그리고, 상기 S146 단계에서는 상기 S144 조건을 만족하지 않으면 b의 값이 공백(b="")를 확인하고(S146), 공백이면 해당 행(k)을 제거한 후 k행을 k-1행으로 한 후 다음 행으로 이동한다(S147). In step S146, if the condition S144 is not satisfied, the value of b is checked for a space (b = "") (S146). If the value is blank, the corresponding line (k) is removed, and then k lines are k-1 lines. After that, the process moves to the next row (S147).

상기와 같이 S140~S147 수순을 반복하면서 행수 2에서의 인접 행의 동일 셀에서 특정 숫자로 끝나거나 공백인 경우 해당 행을 제거해 줌으로써, 대치 자재가 있는 파트 넘버가 있는 행만 남기가 나머지 행은 삭제한 대치자재 리스트가 완성된다(S148).
By repeating the steps S140 to S147 as described above, if a row ends with a specific number or is blank in the same cell of the adjacent row in row number 2, the corresponding row is removed, leaving only the row with the part number having the replacement material and deleting the remaining rows. The substitute material list is completed (S148).

도 5는 도 2의 BOM에 대치 자재를 자동으로 삽입하는 과정(S105)의 세부적인 설명으로서 다음과 같다.5 is a detailed description of a process of automatically inserting a substitute material into the BOM of FIG. 2 (S105) as follows.

먼저, 대치 삽입이 필요한 BOM 파일 및 대치 자재 리스트 파일 이름을 각각 입력받고(S151), 각 파일들을 오픈하게 된다(S152).First, a BOM file and a substitute material list file name for which a replacement is required are input (S151), and each file is opened (S152).

상기 대치 자재 리스트 파일의 전체 행수를 계산하게 된다(S153). 즉, 행수 = Selection.Rows.count 이다.The total number of rows of the substitute material list file is calculated (S153). That is, the number of rows = Selection.Rows.count.

그리고, 대치 자재를 삽입하기 원하는 BOM의 파트 넘버 열들의 값을 rng01s라고 하면(S154), set rng01S = worksheets().Range().SpecialCells(xlTextValues)로 정의할 수 있다.And, if the value of the part number columns of the BOM to insert the replacement material is rng01s (S154), it can be defined as set rng01S = worksheets (). Range (). SpecialCells (xlTextValues).

이후, S155 ~S161 루프 단계는 대치 자재를 BOM 파일에 자동으로 삽입하게 되는데, 파트 넘버와 BOM 파트 넘버 열의 값과 같은지(part.=rng01)를 비교하게 된다(S155). 같지 않으면 카운트 값을 1 증가시켜 주고(S156), 해당 행의 다음 열로 진행하고, 같으면 파트 넘버가 1순위인가를 확인하게 된다(S157).Subsequently, the loop step S155 to S161 automatically inserts the substitute material into the BOM file, and compares whether the part number is equal to the value of the BOM part number column (part. = Rng01) (S155). If it is not the same, the count value is increased by one (S156), the process proceeds to the next column of the row, and if it is the same, it is checked whether the part number is the first rank (S157).

상기 파트 넘버가 1순위이면 파트 넘버의 대치자재를 BOM의 해당 파트 넘버 밑에 삽입하게 된다(S159). If the part number is the first priority, the substitute material of the part number is inserted below the corresponding part number of the BOM (S159).

그러나, 상기 파트 넘버가 1순위가 아니면 상기 파트 넘버가 대치자재인가를 확인하고(S158), 파트 넘버가 대치 자재가 아니면 해당 열의 다음 행수로 진행하고(S159), 파트넘버가 대치자재이면 파트넘버의 관련 대치자재를 BOM의 해당 파트 넘버 밑에 삽입하게 된다(S160).However, if the part number is not the first rank, it is checked whether the part number is a substitute material (S158), and if the part number is not a substitute material, the process proceeds to the next row number of the corresponding column (S159), and if the part number is a substitute material, the part number The related substitute material of is inserted under the corresponding part number of the BOM (S160).

그리고, 상기 카운트 값은 상기 원래의 카운트 값에서 상기 파트 넘버 밑에 삽입되는 대치 자재 수를 더하여 "count=count+대치자재 수"로 구해진다(S161). 즉 대치 자재 수 만큼 대치 자재 리스트 행을 건너뛰게 된다. Then, the count value is obtained as "count = count + number of substitute materials" by adding the number of substitute materials inserted below the part number from the original count value (S161). That is, the replacement material list row is skipped by the number of replacement materials.

상기 S155~S161 루프 단계는 초기에 계산된 행수가 끝날 때까지 계속 반복하고 그 열의 행수가 끝나면 다음 열의 행수에 대해서도 반복 동작하여, 대치 자재 리스트에 있는 파트 넘버와 현재 BOM을 비교하여, 대치 자재 리스트에 있는 파트 넘버가 1순위이거나 대치 자재이면 BOM의 해당 파트 넘버 밑에 자동으로 삽입이 된다.The loop steps S155 to S161 are repeated repeatedly until the number of rows calculated initially is over, and the number of rows in the next column is repeated after the number of rows in the column is finished, comparing the part number in the replacement material list with the current BOM, If the part number in the table is a first-order or replacement material, it is automatically inserted under the part number in the BOM.

이러한 동작을 전체 행수 및 열에 대해 차례로 수행하면서, BOM에 대치 자재를 자동으로 삽입하여 BOM 파일을 완성하게 된다(S162). While performing this operation for the total number of rows and columns in turn, the replacement material is automatically inserted into the BOM to complete the BOM file (S162).

여기서, 대치 자재 리스트는 프로젝트마다 다르기 때문에 따로 관리해 주는 것이 좋다. 또한 기본적으로 대치자재리스트를 만들 때 참조할 모 프로젝트가 있다. 따라서 바로 전 프로그램에 의해 모 프로젝트에서 대치자재 리스트를 만든 뒤 프로젝트 특성에 맞게 대치 자재 리스트를 수정하고 (혹은 설계실 공용의 대치자재 리스트를 만들 수도 있다) 이것을 BOM(첫 번째 프로젝트)에 삽입하는 방식을 택했다. 대치자재리스트와 BOM의 part no 1순위가 같을 수 있고 다를 수 있기 때문에 그에 따라 판단하여 대치자재를 삽입할 수 있도록 프로그램화한다.Here, the substitute material list is different for each project, so it is better to manage it separately. There is also a default project to reference when creating a replacement list. Therefore, the previous program can create a substitute material list in the parent project, modify the substitute material list according to the project characteristics (or create a common substitute material list) and insert it into the BOM (first project). Chose. Since the replacement material list and the BOM's part no 1 rank may be the same or different, program the replacement material to be inserted accordingly.

도 6은 도 2의 전산 입력 BOM과 원본 BOM을 비교하여 오류를 수정하는 과정으로서, 세부 설명은 다음과 같다.FIG. 6 is a process of correcting an error by comparing the computational input BOM of FIG. 2 with the original BOM. A detailed description thereof is as follows.

도 6을 참조하면, 비교할 두 개의 BOM 파일 이름을 각각 입력받고(S171), 비교할 두 BOM 파일을 각각 오픈하게 된다(S172). Referring to FIG. 6, two BOM file names to be compared are input (S171), and two BOM files to be compared are opened (S172).                     

두 BOM에서 비교할 열을 입력받게 된다(S173). 즉, 첫 번째 BOM 파일의 비교 열을 X라고 하고, 두 번째 BOM 파일의 비교할 열을 Y라고 한다.You will receive a column to compare in the two BOMs (S173). That is, the comparison column in the first BOM file is called X, and the column in the second BOM file to be compared is called Y.

그리고, 비교할 열 안에 있는 값들을 정의하게 된다(S174). 즉, X열의 값은 rns01s라고 하고, Y열의 값은 rns02s라 한다. 상기 Set rns01S = Worksheet().range().SpecialCells(xlTextValue)로 정의하며, 상기 Set rns02S= Worksheets().Range().SpecialCells(xlTextValues)로 정의한다. WorkSheet()는 작업 쉬트를 지시하며, range()는 비교 열을 나타내며, SpecialCells(xlTextValue)는 특정 셀의 값이다. Then, values in the column to be compared are defined (S174). That is, the value of column X is called rns01s, and the value of column Y is called rns02s. Defined as Set rns01S = Worksheet (). Range (). SpecialCells (xlTextValue) and defined as Set rns02S = Worksheets (). Range (). SpecialCells (xlTextValues). WorkSheet () indicates a work sheet, range () indicates a comparison column, and SpecialCells (xlTextValue) is the value of a specific cell.

그리고, S175~S177 루프 단계에서는 두 개의 루프로 반복동작하게 되는데, 내부 루프(S175)는 rns01과 rns02s내의 rns02부터 증가시켜 차례대로 비교하게 되는 것이며, 외부 루프 단계(S175a)는 상기 rns01 값을 증가시켜 다음 열에 대해 rns02s내 rns02부터 차례대로 S175 단계에서 비교되도록 한다.In the loop stages S175 to S177, two loops are repeatedly operated. The inner loop S175 is sequentially increased from rns01 and rns02 in rns02s, and the outer loop stage S175a increases the value of rns01. The next column is compared in step S175 starting from rns02s to rns02.

즉, 첫 번째 귀환루프는 첫 번째 BOM 파일의 열의 각 셀과 두 번째 BOM 파일의 특정 열의 모든 셀들을 차례대로 비교하여 일치(rns01=rns02)하는지를 확인하고, 일치하면 첫 번째 BOM 파일의 특정 열의 값이 두 번째 BOM 파일의 열의 값과 같게 한다(S177). 예를 들면 rns01=rns02 이면 rns01.offset(0,6)=rns02.Offset(0,4)로 읽어오게 된다. 여기서, Offset(0,6)은 오프셋이 6이므로 rns01 열의 6번째 행(셀)의 값을 rns02 열의 4번째 행(셀)의 값으로 읽어오게 된다. 첫 번째 귀환루프가 끝나면 두 번째 귀환루프로 동작하여 다시 첫 번째 귀환루프로 이동하는 반복 동작을 수행한다. 따라서, S155 ~S157 단계에서 는 같은 파트 넘버가 발견되면 해당 로케이션 넘버를 읽어오게 된다.That is, the first return loop compares each cell in the column of the first BOM file with all the cells in a particular column of the second BOM file in turn to see if they match (rns01 = rns02), and if so, the value of the particular column in the first BOM file. It is equal to the value of the column of the second BOM file (S177). For example, if rns01 = rns02, it reads as rns01.offset (0,6) = rns02.Offset (0,4). Since Offset (0,6) has an offset of 6, the value of the sixth row (cell) of the rns01 column is read as the value of the fourth row (cell) of the rns02 column. After the first feedback loop, it operates as the second feedback loop and performs the repeated operation of moving back to the first feedback loop. Therefore, if the same part number is found in steps S155 to S157, the corresponding location number is read.

그리고, S178~S180 루프 단계에서는 첫 번째 BOM 파일의 Rns01s에 대해서만 비교하게 된다. S178 단계에서는 rns01의 오프셋 5번째 셀의 값과 6번째 셀의 값이 같으면 rns01 7번째 결과 행에 1로 정의하고(S179), 아니면 rns01 열의 7번째 결과 행에 0을 정의하고, 그 행을 적색으로 표시하여 구별해 준다(S180). 다시 말하면, S178 단계는 rng01.Offset(0,5)과 rng01.Offset(0,6)의 값이 일치하면 결과 행인 rng01.Offset(0,7) 즉, 7번째 행에 1(true)로 정의하고, 일치하지 않으면 rng01.Offset(0,7)=0 즉, 7번째 행에 0(false)로 정의해 주며, 해당 열을 적색(Rows(k).interior:RED)으로 표시한다.In the S178 to S180 loop steps, only Rns01s of the first BOM file is compared. In step S178, if the value of the offset fifth cell and the sixth cell of rns01 are the same, it is defined as 1 in the rns01 seventh result row (S179), or 0 is defined in the seventh result row of the rns01 column, and the row is red. Mark and distinguish by (S180). In other words, in step S178, if the values of rng01.Offset (0,5) and rng01.Offset (0,6) match, the result row is rng01.Offset (0,7), that is, defined as 1 (true) in the 7th row. If it does not match, rng01.Offset (0,7) = 0, that is, it is defined as 0 (false) in the 7th row, and the column is marked as red (Rows (k) .interior: RED).

이러한 파일 1의 전체 열에 대해 반복적으로 에러를 수정함으로써, 에러 수정이 종료된다(S181). By correcting the error repeatedly for all the rows of the file 1, the error correction is completed (S181).

이와 같이 VBA를 이용해 전반적인 프로젝트 관리 프로그램을 만들 수 있다. 개발 모델이 양산이 되면 환경(configuration)에 의해 여러 모델로 나뉘는데, 이러한 모델 관리를 자동화 프로그램으로 구현함으로써 엔지니어는 좀 더 효과적으로 모델관리를 할 수 있을 뿐 아니라 시간, 업무로드도 줄 일 수 있다. 예들 들면, 양산 이후 매달 여러 모델이 생기는데 모델이름과 환경(configuration)에 따라 자동으로 현재까지의 모델들을 정리해주고 새로 생긴 모델이나 변경 사항을 색을 통해 표시함으로써 개발 담당자는 일일이 파일들을 비교하거나 나눠 관리할 필요가 없다.In this way, you can use VBA to create an overall project management program. When the development model is in mass production, it is divided into several models by configuration. By implementing such model management as an automated program, engineers can not only manage the model more effectively, but also save time and work load. For example, after mass production, several models are created each month, and according to the model name and configuration, it automatically arranges the models so far and displays new models or changes through colors, so that the developer can compare or manage the files one by one. There is no need to do it.

이제까지 본 발명에 대하여 그 바람직한 실시 예를 중심으로 살펴보았으며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명의 본질적 기술 범위 내에서 상기 본 발명의 상세한 설명과 다른 형태의 실시 예들을 구현할 수 있을 것이다. 여기서 본 발명의 본질적 기술범위는 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.
So far, the present invention has been described with reference to the preferred embodiments, and those skilled in the art to which the present invention pertains to the detailed description of the present invention and other forms of embodiments within the essential technical scope of the present invention. Could be implemented. Here, the essential technical scope of the present invention is shown in the claims, and all differences within the equivalent range will be construed as being included in the present invention.

상술한 바와 같이 본 발명에 따른 비쥬얼 베이직을 이용한 자재정보 자동 작성 방법에 의하면, 자재 정보를 자동으로 작성함으로써, 업무 시간 단축, 정확성 확보, 단순 작업을 자동화함으로 개발자는 좀 더 중요한 일에 집중함으로 개발 품질 및 업무 능률을 올릴 수 있음, 사업부 내 일괄된 폼(form)형성으로 통일성 확보할 수 있는 효과가 있다.

As described above, according to the method for automatically creating material information using Visual Basic according to the present invention, by automatically generating material information, the developer can develop work by focusing on more important tasks by reducing work time, ensuring accuracy, and automating simple tasks. The quality and work efficiency can be improved, and the uniformity can be secured by forming the form in the division.

Claims (5)

비쥬얼 베이직을 이용한 전산 자재 정보의 자동 작성 방법에 있어서,In the automatic creation method of computerized material information using Visual Basic, 전자제품에 대한 자재 정보를 사용자가 설정한 일정 형식에 맞는 전산 자재정보 파일 형식으로 변환하는 제 1단계;A first step of converting material information on the electronic product into a computerized material information file format suitable for a schedule format set by a user; 이전 프로젝트에서 사용된 대치자재 리스트를 해상 프로젝트의 전산 자재정보에 삽입하여 참고할 대치 자재 리스트를 만드는 제 2단계;A second step of creating a substitute material list for reference by inserting the substitute material list used in the previous project into the computerized material information of the marine project; 상기에서 만들어진 대치 자재 리스트를 해당 프로젝트의 전산 자재 정보에 자동 추가하여 전산 자재정보를 생성하는 제 3단계;Generating a computerized material information by automatically adding the created substitute material list to the computerized material information of the corresponding project; 상기 생성된 전산 자재정보과 원본 전산자재정보를 비교한 한 오류를 수정하여 최종 전산 전산 자재정보를 완성하는 제 4단계를 포함하는 것을 특징으로 하는 비쥬얼 베이직을 이용한 자재정보 자동 작성 방법.And a fourth step of correcting an error comparing the generated computerized material information with the original computerized material information to complete the final computerized material information. 제 1항에 있어서,The method of claim 1, 상기 제 1단계는 전자제품의 회로도 툴에 제공된 변환할 전산자재정보의 파일 이름이 입력되면 각 항목을 열로 나누고, 상기 나누어진 각 항목을 재배열하고, 필요 없는 항목을 삭제하며, 값이 없는 셀의 제거 및 문자 사이의 공간 제거, 글자크기, 셀 넓이, 각 항목 이름을 변경해 주는 단계를 포함하는 것을 특징으로 하는 비쥬얼 베이직을 이용한 자재정보 자동 작성 방법.In the first step, when a file name of computerized material information to be converted provided to a schematic tool of an electronic product is inputted, each item is divided into columns, the respective items are rearranged, unnecessary items are deleted, and cells having no value are provided. And removing the space between characters, changing the font size, cell width, and the name of each item. 제 1항에 있어서,The method of claim 1, 상기 제 2단계는 상기 참고할 전산 자재정보 파일의 이름이 입력되면 해당 전산 자재정보 파일을 오픈하고, 전체 행수를 계산하는 단계;The second step may include opening a corresponding computerized material information file and calculating a total number of rows when a name of the computerized material information file to be referred to is input; 상기 계산된 전체 행 중 각각의 행에 대해 특정 문자 또는 숫자가 포함된 셀을 검색하여 해당 행을 제거한 후 전체 행수를 다시 계산하는 단계;Recalculating the total number of rows after searching for a cell containing a specific letter or number for each row among the calculated total rows, removing the row; 상기 다시 계산된 행의 각 행의 특정 문자 또는 숫자로 끝나는 셀이 있을 경우 인접한 행의 두 셀 내의 값을 비교하여 두 셀의 값이 같은 경우 또는 특정 문자/숫자로 끝나는 경우 또는 공백인 셀에 대해 해당 행을 제거한 후 대치 자재 리스트를 만드는 단계를 포함하는 것을 특징으로 하는 비쥬얼 베이직을 이용한 자재정보 자동 작성 방법.If there is a cell that ends with a specific letter or number in each row of the recalculated row, compare the values in two cells of adjacent rows to compare the values in two cells that are equal, end with a specific letter / number, or for a cell that is blank. Automatic material creation method using Visual Basic, characterized in that it comprises the step of removing the row and creating a substitute material list. 제 1항에 있어서,The method of claim 1, 상기 제 3단계는 상기 대치 자재 리스트 및 대치 삽입이 필요한 전산자재 정보 파일을 입력받아, 대치자재 리스트 파일의 전체 행수를 계산하는 단계;The third step may include receiving the replacement material list and the computer material information file requiring replacement, and calculating the total number of rows of the replacement material list file; 상기 대치 자재를 삽입하기 원하는 전산자재 정보의 파트넘버 열의 값을 이용하여, 상기 대치 자재 리스트에 있는 파트 넘버가 현재 전산 자재정보에 있는지를 각각 비교하여, 상기 파트넘버가 없으면 다음 행에 대해 비교하며, 상기 파트넘버가 있으면 1순위인가를 확인하는 단계 및, 상기 확인결과 대치자재 리스트에 있는 파트넘버가 1순위이거나 파트넘버 대치자재이면 파트넘버의 대치자재를 전산자 재정보의 해당 파트 넘버 밑에 삽입하는 단계;Using the value of the part number column of the computerized material information to which the substitute material is to be inserted, each part number in the substitute material list is compared with the current computerized material information, and if there is no part number, the next row is compared. If the part number is in the substitute material list, if the part number in the substitute material list is the first rank or the part number replacement material, insert the substitute material of the part number under the corresponding part number of the computer information Doing; 상기 계산된 행수의 카운트 값에 상기 대치 자재수를 더하여 상기 정보 비교 루프를 반복하면서, 전산자재정보에 대치자재를 자동으로 삽입하는 것을 특징으로 하는 비쥬얼 베이직을 이용한 자재정보 자동 작성 방법.And repeating the information comparison loop by adding the substitute material number to the count value of the calculated number of rows, and automatically inserting the substitute material into the computerized material information. 제 1항에 있어서,The method of claim 1, 상기 제 4단계는 상기 생성된 전산자재정보와 원본 전산자재정보를 오픈하여, 두 파일의 각각의 열의 값이 일치하면 원본 파일의 해당 행의 원하는 값을 읽어오는 단계 및, 상기 생성된 전산자재정보의 항목을 비교한 후 해당 값까지의 일치 여부에 따라 오류 수정을 위해 1 또는 0을 입력해 주는 단계를 포함하는 것을 특징으로 하는 비쥬얼 베이직을 이용한 자재정보 자동 작성 방법.The fourth step is to open the generated computer information and the original computer material information, if the value of each column of the two files match, reading the desired value of the corresponding row of the original file, and the generated computer material information Comparing the items of, and the step of inputting 1 or 0 for error correction according to whether the corresponding value up to the automatic material information creation method using Visual Basic, characterized in that it comprises.
KR1020040082471A 2004-10-15 2004-10-15 Making method for bill of material using visual basic KR20060033383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040082471A KR20060033383A (en) 2004-10-15 2004-10-15 Making method for bill of material using visual basic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040082471A KR20060033383A (en) 2004-10-15 2004-10-15 Making method for bill of material using visual basic

Publications (1)

Publication Number Publication Date
KR20060033383A true KR20060033383A (en) 2006-04-19

Family

ID=37142515

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040082471A KR20060033383A (en) 2004-10-15 2004-10-15 Making method for bill of material using visual basic

Country Status (1)

Country Link
KR (1) KR20060033383A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461570A (en) * 2014-12-29 2015-03-25 浪潮电子信息产业股份有限公司 BOM automatic analysis method
CN105302781A (en) * 2015-11-18 2016-02-03 合肥宝龙达光电技术有限公司 Method for fast BOM comparison
CN111985015A (en) * 2020-08-17 2020-11-24 四川九立微波有限公司 System and method for automatically generating BOM (Bill of Material) by using VBA (visual basic Access) function
CN112149396A (en) * 2020-09-29 2020-12-29 浙江中控技术股份有限公司 Information processing method and device based on IO point

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461570A (en) * 2014-12-29 2015-03-25 浪潮电子信息产业股份有限公司 BOM automatic analysis method
CN105302781A (en) * 2015-11-18 2016-02-03 合肥宝龙达光电技术有限公司 Method for fast BOM comparison
CN111985015A (en) * 2020-08-17 2020-11-24 四川九立微波有限公司 System and method for automatically generating BOM (Bill of Material) by using VBA (visual basic Access) function
CN112149396A (en) * 2020-09-29 2020-12-29 浙江中控技术股份有限公司 Information processing method and device based on IO point
CN112149396B (en) * 2020-09-29 2024-05-03 浙江中控技术股份有限公司 Information processing method and device based on IO points

Similar Documents

Publication Publication Date Title
Davis Business process modelling with ARIS: a practical guide
Bartram et al. Untidy data: The unreasonable effectiveness of tables
US7058588B2 (en) Dependency-based work flow integration and reduction
US6993708B1 (en) System for automated generation and assembly of specifications documents in CADD environments
CN112650766B (en) Database data operation method, system and server
CN102693317B (en) Method and device for data mining process generating
CN110543303B (en) Visual service platform
CN107944123B (en) Multi-professional collaborative design system and collaborative design method based on master model
CN109062819B (en) Method and device for generating software test case
CN107067200B (en) Operation method and device for bill of material data
CN109683881B (en) Code format adjusting method and device
US20080091942A1 (en) Automated two dimensional technical data packaging
JP5747698B2 (en) Requirements management support device
CN113297690B (en) Method for quickly designing symmetrical part based on CATIA secondary development
US20080243890A1 (en) Automated two and three dimensional technical data packaging
KR20060033383A (en) Making method for bill of material using visual basic
JP4747034B2 (en) Verification scenario creation program, recording medium, verification scenario creation device, and verification scenario creation method
CN110502735B (en) Method and system for quickly manufacturing universal process file of electronic equipment
CN114647735A (en) Relation graph display method, medium and display device
Blackwood Advanced Excel reporting for management accountants
CN111930349B (en) Program package generation method and device, electronic equipment and storage medium
Zhan et al. Cards and structured process planning based on Teamcenter
JP2013003729A (en) Test case automatic generation system, test case automatic generation method, and test case automatic generation program
CN109002278A (en) Structured Design specifications generation module
US20200218785A1 (en) System and Method for Evaluating Quality Involving Data Nodes

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination