Skip to content
Snippets Groups Projects
Commit 11431721 authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

WarningsDependency Warnings behohen

parent 7bb76404
No related branches found
No related tags found
No related merge requests found
import("Sql_lib");
import("system.favorite");
function Dependency(){}
......@@ -228,6 +229,20 @@ Dependency.mapping = function ()
},
"getUIDsfn" : Dependency.defaultFunctionForRelation("ACTIVITYLINK", "OBJECT_ROWID", "SALESORDERID", "Order", "SALESORDER", "ACTIVITY_ID")
},
"Organisation_entity" : {
"options" : {
"isObservable" : true
},
"getUIDsfn" : function (pRowData, pChangedData) {
var tableField = "SALESORDER.CONTACT_ID";
var res = [];
if (pRowData[tableField])
res.push(pRowData[tableField])
if (pChangedData[tableField] && pChangedData[tableField] != pRowData[tableField])
res.push(pChangedData[tableField])
return res;
}
},
"Task_entity" : {
"options" : {
"isObservable" : true
......@@ -707,42 +722,6 @@ Dependency.mapping = function ()
"getUIDsfn" : Dependency.defaultFunctionForField("LEAD.LEADIMPORT_ID")
}
}
,"Order_entity": {
"Organisation_entity" : {
"options" : {
"isObservable" : true
},
"getUIDsfn" : function (pRowData, pChangedData) {
var tableField = "SALESORDER.CONTACT_ID";
var res = [];
if (pRowData[tableField])
res.push(pRowData[tableField])
if (pChangedData[tableField] && pChangedData[tableField] != pRowData[tableField])
res.push(pChangedData[tableField])
return res;
}
}
}
,"AttributeRelation_entity": {
"Organisation_entity" : {
"options" : {
"isObservable" : true
},
"getUIDsfn" : Dependency.defaultFunctionForRelation("AB_ATTRIBUTERELATION", "AB_ATTRIBUTERELATIONID", "AB_ATTRIBUTERELATIONID", "Organisation")
},
"Activity_entity" : {
"options" : {
"isObservable" : true
},
"getUIDsfn" : Dependency.defaultFunctionForRelation("AB_ATTRIBUTERELATION", "AB_ATTRIBUTERELATIONID", "AB_ATTRIBUTERELATIONID", "Activity")
},
"Salesproject_entity" : {
"options" : {
"isObservable" : true
},
"getUIDsfn" : Dependency.defaultFunctionForRelation("AB_ATTRIBUTERELATION", "AB_ATTRIBUTERELATIONID", "AB_ATTRIBUTERELATIONID", "Salesproject")
}
}
};
};
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment