V
V
vendettametal2017-03-06 07:32:18
Business Informatics
vendettametal, 2017-03-06 07:32:18

How to allow editing units of measure?

After transferring the nomenclature from one database to another, it is impossible to change the units of measure for many goods, how to solve the problem?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
K
Konstantin, 2017-03-06
@vendettametal

1. rough option in the configurator, turn off the check, nomenclature entries
1. Write processing for replacement
with the design

Объект = ВыборкаДетальныеЗаписи.СсылкаНомеклатуры.ПолучитьОбъект();
......
Объект.Обменданными.Загрузка = Истина;
Объект.Записать();

will allow you to write without verification.
3. Carry out a second transfer, in which everything will correctly fall into place.
ps:
Do not forget that units of measurement are involved in the formation of residues. And more likely to have to re-do the documents. Can still substitute new units of measurement in the document.

D
Dmitry Kinash, 2017-03-06
@Dementor

Artem and Konstantin wrote everything correctly. In many trading configurations, units of measure are blocked in the stock list if there are posted documents for them.
Example . You are selling a cable and its unit of measurement is centimeter for some reason. In the document of the parish there were 2 kilometers, which in the postings gave 200,000 centimeters. Further in the implementation, you sold 50 meters, which in postings gave 5000 centimeters. When analyzing the remains of the warehouse, it shows you 195000, which confuses the storekeeper and he asks to give him a report in meters. There are two ways out - 1) do not touch the ill-fated centimeters, but set the meter as a unit for reports 2) replace the unit for the remains, which is what you intended.
As you understood from the explanation on the fingers, the wiring and the balances in the database do not magically transform themselves. And just so that there would be no confusion and vacillation in some documents according to one coefficient, and in others according to another, a ban was introduced on changing the unit of measurement in the presence of completed documents. Those. you need to remove from the transaction all documents in which your nomenclature appears, change the unit of measure, and then re-transfer.
1) Enable editing for the configuration, disable checking when writing the nomenclature, write and run processing that will replace the Quantity attribute in trade registers. This is much faster in time than the complete re-posting of all documents and the transactions are guaranteed not to float in the presence of non-chronological input of information.
2) You mentioned transferring from another database. It is at this stage that you can wedge in and make the necessary substitution in the downloaded data.

V
vendettametal, 2017-03-06
@vendettametal

Already decided everything, made a re-conversion

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question