One of the questions we get a lot in support is around updating attributes update dates. There are many combinations that I will cover in this particular blog. Check out the Support Portal on Combinations of Updating Entity Attributes with Options.
In this blog we will ONLY be talking about SCENARIO 2: WITHOUT UPDATE DATE
Number 1: updateAttributeUpdateDatesOnActualChanges is TRUE OR FALSE
Sub-Scenario: If no entities are changed in the request body
1. If we use partialOverride
a. updateDate is not changed
b. singleAttributeUpdateDates is not changed
2. If we use partialOverride, updateAttributeUpdateDates
a. updateDate is not changed
b. singleAttributeUpdateDates is not changed
Number 2: updateAttributeUpdateDatesOnActualChanges is TRUE OR FALSE
Sub-Scenario: If one or more entity attributes are changed and the other attributes are not available in the request body.
1. If we use partialOverride
a. updateDate is not changed
b. singleAttributeUpdateDates is changed to the current date & time
2. If we use partialOverride, updateAttributeUpdateDates
a. updateDate is not changed
b. singleAttributeUpdateDates is changed to the current date & time
Number 3: updateAttributeUpdateDatesOnActualChanges is FALSE
Sub-Scenario: If all attributes within a crosswalk are in the request payload and change one or many attributes
1. If we use partialOverride
a. The updateDate does not change
b. The singleAttributeUpdateDates currently existing for the changed attributes are erased.
c. The singleAttributeUpdateDates do not update
2. If we use partialOverride, updateAttributeUpdateDates
a. The updateDate does not change
b. The singleAttributeUpdateDate is changed to the current date & time
Number 4: updateAttributeUpdateDatesOnActualChanges is FALSE
Sub-Scenario: If some, NOT ALL, attributes within a crosswalk are in the request payload and change one or many attributes
1. If we use partialOverride
a. The updateDate does not change
b. All attributes in the request body's singleAttributeUpdateDates is changed to the current date & time
2. If we use partialOverride, updateAttributeUpdateDates
a. The updateDate does not change
b. All attributes in the request body's singleAttributeUpdateDates is changed to the current date & time
Number 5: updateAttributeUpdateDatesOnActualChanges is TRUE
Sub-Scenario: If all attributes within a crosswalk are in the request payload and change one or many attributes
1. If we use partialOverride
a. The updateDate does not change
b. The singleAttributeUpdateDates currently existing for the changed attributes are erased.
c. The singleAttributeUpdateDates do not update
2. If we use partialOverride, updateAttributeUpdateDates
a. The updateDate does not change
b. The singleAttributeUpdateDate for the changed attribute is changed to the current date & time
c. All the other attributes' singleAttributeUpdateDate do not change
Number 6: updateAttributeUpdateDatesOnActualChanges is TRUE
Sub-Scenario: If some, NOT ALL, attributes within a crosswalk are in the request payload and change one or many attributes
1. If we use partialOverride
a. The updateDate does not change
b. The singleAttributeUpdateDate for the changed attribute is changed to the current date & time
c. All the other attributes' singleAttributeUpdateDate do not change
2. If we use partialOverride, updateAttributeUpdateDates
a. The updateDate does not change
b. The singleAttributeUpdateDate for the changed attribute is changed to the current date & time
c. All the other attributes' singleAttributeUpdateDate do not change
#attribute#updatedates#Blog