You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set updatedQuantity -> value: changedAmount default quantity -> value
105
-
set updatedQuantity -> datedValue: changedDatedValue default quantity -> datedValue
113
+
set updatedQuantity -> datedValue: changedDatedValue default quantity -> datedValue
106
114
107
115
func PriceUnitEquals: <"Compares two PriceSchedule to check if all attributes match, except for the amount.">
108
116
inputs:
@@ -125,3 +133,22 @@ func PriceUnitEquals: <"Compares two PriceSchedule to check if all attributes ma
125
133
126
134
set result:
127
135
unitMatches and perUnitOfMatches and priceTypeMatches and priceExpressionMatches and arithmeticOperatorMatches
136
+
137
+
func SplitQuantityChange: <"Splits a PriceQuantity list into separate elements, each containing a single quantity and its corresponding effective date, if multiple quantities exist.">
138
+
inputs:
139
+
changeList PriceQuantity (1..*) <"Original PriceQuantity list where each of them may contain multiple quantities.">
140
+
output:
141
+
splitChange PriceQuantity (1..*) <"New list of PriceQuantity where each of them contain a single quantity.">
142
+
143
+
set splitChange: <"Iterates through the original PriceQuantity list and the quantity list.">
0 commit comments