在我的Y2YStreamConfigurationContainer中,我有3个Y2YStreamConfiguration:
#Product
INSERT Y2YStreamConfiguration;active;autoGenerateInfoExpression[allownull=true];autoGenerateWhereClause[allownull=true];catalogVersion(catalog(id),version);container(id)[allownull=true,forceWrite=true];dataHubType;infoExpression;itemTypeForStream(code)[allownull=true];streamId[allownull=true,forceWrite=true];versionSelectClause;whereClause
;true;true;true;ProductCatalog:Online;PCM2ERP;RawProduct;;Product;PCMOutbound;;{catalogVersion}=?catalogVersion
#ProductBundle
INSERT Y2YStreamConfiguration;active;autoGenerateInfoExpression[allownull=true];autoGenerateWhereClause[allownull=true];catalogVersion(catalog(id),version);container(id)[allownull=true,forceWrite=true];dataHubType;infoExpression;itemTypeForStream(code)[allownull=true];streamId[allownull=true,forceWrite=true];versionSelectClause;whereClause
;true;true;true;ProductCatalog:Online;PCM2ERP;RawProductBundle;;ProductBundle;PCMOutboundBundle;;
#ProductBundleEntry
INSERT Y2YStreamConfiguration;active;autoGenerateInfoExpression[allownull=true];autoGenerateWhereClause[allownull=true];catalogVersion(catalog(id),version);container(id)[allownull=true,forceWrite=true];dataHubType;infoExpression;itemTypeForStream(code)[allownull=true];streamId[allownull=true,forceWrite=true];versionSelectClause;whereClause
;true;true;true;ProductCatalog:Online;PCM2ERP;RawBundleEntry;;ProductBundleEntry;PCMOutboundBundleEntry;;
将itemTypes按特定顺序发送到ERP很重要,但这并不总是在运行时发生。我需要确保首先将产品存储在ERP中,然后是ProductBunble,然后是ProductBundleEntry。这是控制此顺序的一种方法吗?如果不是来自Hybris,也许是来自datahub?