Hello! In this article I will tell you how to set up the WAAM system: Inventory of the property of a public institution to work in conjunction with 1C: Accounting of a public institution 8.2. The relevance of this article is due to the fact that many government agencies automate the inventory process and the fact that this inventory solution does not work out of the box.
To begin, let us describe what we have. We have a 1C accounting system: Public institution accounting, a WAAM inventory automation system: a public institution property inventory, CipherLab 8001 data collection terminal from Scancity and a Godex 1300i label printer. This kit will allow us to automate the process of inventory and classification of fixed assets and materials in the organization.
The WAAM system: Inventory of property of a public institution, contrary to assurances of technical support, works only with data collection terminals (TSD) with firmware from Scancode. If you bought a DSD in another company (for example, Scancity), then you will have exciting hours of configuration rewriting and communication with technical support, which will assure you that the problems are on your side. The purpose of this article is to describe the process of setting up a TSD from other firms and help save time for people who are suffering with the same problem.
First you need to update the 1C platform to the latest release and the BSU configuration before the release is not lower than 1.0.13. Next you need to download a set of processing equipment for data collection terminals.
')
After the manipulations, you can sit back, as the installer wrote a well-known product, and drink coffee or smoke, who has any preferences.
Have a rest? Fine! Now we will rewrite the code, correct the wonderful creation of programmers from WAAM.
First we find the module of the form of the list of the document log "WAAM_DataInventories". In this module, you need to find the procedure “Unload Data Press” and replace the procedure code with the one below:
Next, we find the module of the form of the document “Invetarization VsheTTMTs”. Here you will need to do a few actions:
1. Go to the tab “Details” and add a new requisite “Processing Terminal” with the type “ReferenceRef. VEAAM_Terminal Terminal”;
2. Go back to the code and add the global variable "Object".
3. Find the procedure "Opening" and add the instruction there: "Processing Terminal = Restore Value (" Processing ");".
4. Now add a new function:
() =; .() = ; = (); ().() = " , ."; (, .); ; ; = ( " | . , | . , | . | | ._ | | . = & | . | .. = &"); .("", ().()); .("",.); = .(); = ; = ; = ""; .() = .(); .() = ""; = .(., ); [.] = ; () = .(); = ?((.), (), (.)); = .(, .., ); () =._. . = ""; = .(); = .; =; ; ; () <>._. = ; = """" + . + """: |" + ().(); = + " |" + ; (, .); ; ; ; (" "+.); ; ; ; ;
5. Now add another function:
(,,,,,,) = ; ..("", ("", , (200, .))); ..("", ("", (7, 2, .)),".");
6. Next, we will find the procedure “FillOn-AvailableOperatingDocument” and in it we will find the code: “INFORMATION AVAILABILITY = WEAM_WorkingSightStringCode. GetDataFrom the Terminal”, remove the call to the common module, i.e. we will delete "VEAM_RabotaSoShtrikhKodami.".
7. In the same procedure, we will find a large query at the very end, in which the following code is present:
| | ._."++" | | . = . | . = . | . = . | . = . | . = . | . = .
And add to it the following:
| | . = &
This condition is necessary so that during the inventory only the current document is processed, but not all. Such a simple condition was missed by the developers and gave the author an unforgettable hours of searching for a bug. I would like to separately thank the geniuses of WAAM for this.
We have dealt with the correction of the code. The last stage remains - setting the TSD in 1C. First you need to install drivers for TSD in Windows. You can download them on the site Scancity. Next, you need to install TSD in 1C. To do this, click on the "Barcode" button and in the window that appears, go to the "Services" tab and select the "Data collection terminal" there.
That's all, the implementation of these steps will allow you to configure the TSD with firmware other than Scancode for the work of the WAAM inventory system: Inventory of the property of a public institution.