RobertB
27th April 2007, 14:57
Hi all,
I haven't had much to do with Baan programming/customization for a while, and have a problem for which there may be a simple solution.
We have a customized report whinp1400m000 "Planned Inventory Transactions by Item" which needs to be further customized. At the moment, the report has sections:
header
before.field whinp100.item
detail
after.field whinp100.item
after.report
So far, so good. Now I want to alter things such that, for certain items only, a second set of layouts:
before.field some.other.field
some.other.field detail
after.field some.other.field
are printed directly after the after.field whinp100.item, and before the before.field for the next item. This second set of layouts are based on a completely different table, and different sort-field, thant that used in the item field layouts.
In other words, I want something like this to appear in the final report:
# Here's a "normal" item...
[before.item]
[item detail]
[item detail]
[item detail]
[after.item]
# Here's another one...
[before.item]
[item detail]
[item detail]
[after.item]
#This item is a "special" one...
[before.item]
[item detail]
[item detail]
[item detail]
[item detail]
[item detail]
[after.item]
# ...and hence the need for a special set of layouts to be printed before the next item...
[before.some.other.field]
[some.other.field detail]
[some.other.field detail]
[some.other.field detail]
[after.some.other.field]
# "Normal" item...
[before.item]
[item detail]
[item detail]
[after.item]
# etc.........
I'm not sure whether this is simple or difficult or impossible to achieve. Any clues or printable comments :rolleyes: will be most welcome!
TIA,
Rob
I haven't had much to do with Baan programming/customization for a while, and have a problem for which there may be a simple solution.
We have a customized report whinp1400m000 "Planned Inventory Transactions by Item" which needs to be further customized. At the moment, the report has sections:
header
before.field whinp100.item
detail
after.field whinp100.item
after.report
So far, so good. Now I want to alter things such that, for certain items only, a second set of layouts:
before.field some.other.field
some.other.field detail
after.field some.other.field
are printed directly after the after.field whinp100.item, and before the before.field for the next item. This second set of layouts are based on a completely different table, and different sort-field, thant that used in the item field layouts.
In other words, I want something like this to appear in the final report:
# Here's a "normal" item...
[before.item]
[item detail]
[item detail]
[item detail]
[after.item]
# Here's another one...
[before.item]
[item detail]
[item detail]
[after.item]
#This item is a "special" one...
[before.item]
[item detail]
[item detail]
[item detail]
[item detail]
[item detail]
[after.item]
# ...and hence the need for a special set of layouts to be printed before the next item...
[before.some.other.field]
[some.other.field detail]
[some.other.field detail]
[some.other.field detail]
[after.some.other.field]
# "Normal" item...
[before.item]
[item detail]
[item detail]
[after.item]
# etc.........
I'm not sure whether this is simple or difficult or impossible to achieve. Any clues or printable comments :rolleyes: will be most welcome!
TIA,
Rob