diff --git a/OneM2M_PermutationFunctions.ttcn b/OneM2M_PermutationFunctions.ttcn
index 9a3a2ac8d4984166a1ec3695ab12fc4317e794ff..19858979c4c87665d4dc1693a2b835cb49719133 100644
--- a/OneM2M_PermutationFunctions.ttcn
+++ b/OneM2M_PermutationFunctions.ttcn
@@ -7372,6 +7372,7 @@ module OneM2M_PermutationFunctions {
 						var integer v_containerIndex := -1;
 						var integer v_resourceIndex := -1;
 						var integer v_ae2Index := -1;
+						var integer v_timeSeriesIndex := -1;
                 							   
 						// Test control
                 
@@ -7388,6 +7389,9 @@ module OneM2M_PermutationFunctions {
 						if(p_resourceType == int4) {
 							v_containerIndex := f_cse_createResource(int3, m_createContainerBase, v_aeIndex);
 							v_parentIndex := v_containerIndex;
+						} else if(p_resourceType == int30) {
+							v_timeSeriesIndex := f_cse_createResource(int29, m_createTimeSeriesBase, v_aeIndex);
+							v_parentIndex := v_timeSeriesIndex;
 						} else if(p_resourceType != int18) {
 							v_parentIndex := v_aeIndex;//For resources that can have AE resource as parent
 						}