SysTestCaseNumSeqModuleDependency doesn't support extension classes

This problem was discovered in 8.1 PU20.

Using the attribute SysTestCaseNumSeqModuleDependency to load a number seq module doesn't load number sequences in extension classes.

For example if you use SysTestCaseNumSeqModuleDependency(classStr(NumberSeqModuleCustomer)) in a test and you're expecting it to load the number sequence from your XXXNumberSeqModuleCustomer_Extension class where you have used chain of command to add a number sequence for an extended data type it will not be loaded.

The following attribute can be used to load the single number sequence and it will work with the _Extension class.

SysTestCaseNumSeqTypeDependencyAttribute(extendedTypeStr(XXXXXVoucher), classstr(NumberSeqModuleCustomer))

Comments

Post a Comment

Popular posts from this blog

D365FO Data management change tracking enable/disable not working

Displaying a value from a array field in EP

Table array field iteration