I think I am on to something.
The formatting for movements, loans and occurences is missing the third element (item_sub).
I tried both (with and without) the third element for objects.
This code does not work
ca_objects = {
default = {
separator = ,
allow_extra_elements=1,
extra_element_width=8,
elements = {
coll_num = {
type = LIST,
values = [_RU, SKU, KUN, UMC, T2O],
default = UMC,
width = 3,
description = Collectie code,
editable = 1,
},
item_num = {
type = SERIAL,
width = 5,
zeropad_to_length = 5,
description = Item number,
editable = 1,
},
item_sub = {
type = FREE,
width = 8,
description = Item subnumber or letter,
editable = 1,
},
},
},
}
And this code works
ca_objects = {
default = {
separator = ,
allow_extra_elements=1,
extra_element_width=8,
elements = {
coll_num = {
type = LIST,
values = [_RU, SKU, KUN, UMC, T2O],
default = UMC,
width = 3,
description = Collectie code,
editable = 1,
},
item_num = {
type = SERIAL,
width = 5,
zeropad_to_length = 5,
description = Item number,
editable = 1,
},
},
},
}
Another slightly annoying issue is that the default value for the LIST items in no longer working as it did.
I have formatting for objects of different types with a different default value for the LIST. This used to work fine but stopped working now.