asset warranty plus warranty term update

This commit is contained in:
Rene Kaßeböhmer
2025-05-19 15:12:23 +02:00
parent d5742d7d30
commit b675a38baf
31 changed files with 77 additions and 37 deletions

View File

@ -0,0 +1,32 @@
{
"allOrNone": true,
"objects": [
{
"query": "SELECT Id FROM WarrantyTerm WHERE PKey__c = null",
"operation": "Update",
"beforeUpdateAddons": [
{
"module": "core:RecordsTransform",
"description": "Copies Id of record into Pkey__c field",
"args": {
"fields": [
{
"alias": "sourceIdFromWarrantyTerm",
"sourceObject": "WarrantyTerm",
"sourceField": "Id",
"lookupSource": "source"
}
],
"transformations": [
{
"targetObject": "WarrantyTerm",
"targetField": "PKey__c",
"formula": "formula.sourceIdFromWarrantyTerm"
}
]
}
}
]
}
]
}