Situation
I'm developing the Block K (valid from 2016) on SPED EFD , and I'm having trouble validating other than unit conversion.
Test structure
|0190|CX|CX.|
|0190|UN|UN.|
|0190|PC|PC.|
|0200|10001|ITEM 1|||CX|00|87089990||||17,00|
|0200|10002|ITEM 2|7899749104130||UN|00|87085099||||17,00|
|0200|10003|ITEM 3|||PC|00|84822010||84||17,00|
|0200|10004|ITEM 4|7892063009129||PC|00|84835090||||17,00|
|0220|CX|10|
...
|K100|01112016|30112016|
|K200|30112016|10001|10|0||
|K200|30112016|10002|3|0||
|K220|03112016|10001|10002|10|
|K220|03112016|10003|10004|1|
Analyze
Block
0190 = Used unit
0200 = Identification of the items present in the document
0220 = Required when unit conversion
K100 = Inventory Determination Period
K200 = Total in stock at the end of the month
K220 = Item conversions
Operation
As you can see, I'm doing two conversions:
10001 = > 10002 - conversion to different units, required 0220.
10003 = > 10004 - conversion to the same unit, free from 0220.
Practice
In the system I'm converting the CX (box) to the UN (unit), ie I'm opening the box for separate sale.
1 (CX) = > 10 (UN)
Tests
|0220|CX|10|
|0220|UN|10|
|0220|CX|0,1|
|0220|UN|0,1|
All generated the same error.
SPED Report
The 0220 record is required when 0200 cod_item has been used in the k220 COD_ITEM field, and it has a different unit of measure than the code entered in COD_ITEM_ORI.
Doubt
Does anyone know how to validate the conversion?