KB Article #177648
Invalid document family
Problem
-- migration from AMTrix to B2Bi
-- MBCs have been migrated using the AMTrix migration tools
-- the MBC is executed successfully in B2Bi 1.4
-- the same MBC fails in 2.1 :
ERROR 20150918 08.20.39.14 belluno B2Bi PE HME 3 Task 2(procengine(amtrix_migration_resource))
/home/b2bbld1/hudson_slave_home/workspace/B2Bi_Core_2.1.0_Build_Release/B2Bi/src/b2bx_dpsmigration/resource/pgmmodule2Resource.s4:5201:Invalid document family
Resolution
* PGM.GlobalVarSynch; must be added after each line in the dps, where a PGM.$someglobalvariable is assigned with something.
Example:
PGM.$DocumentFamily = "EDIFACT";
Should be
PGM.$DocumentFamily = "EDIFACT"; PGM.GlobalVarSynch;
* modify the s4 accordingly, recompile, register and test again