Skip to content
Snippets Groups Projects
Commit e5da4d1b authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

Merge branch 'sales_pn_1080118_autochecklist_source_notworking' into '2021.1'

[Projekt: xRM-Sales][TicketNr.: 1080118][Automatische checklisteneinträge...

See merge request xrm/basic!965
parents 406d81be b9dd62b3
No related branches found
No related tags found
No related merge requests found
......@@ -516,14 +516,11 @@ $ChecklistEntryRegistry.salesprojectContactsGenerationSource = function(){
return{
title: translate.text("Source / origin of the generation of contacts"),
verifierFn: function(pSalesprojectId){
return parseInt(AttributeRelationUtils.getAttributeSqlBuilder(
["count(*)"],
pSalesprojectId,
"Salesproject"
)
.and("AB_ATTRIBUTE.ATTRIBUTE_PARENT_ID", "d0ae40d2-1a7f-45f6-bb0c-20ce6ae7efe2")
.cell()
) > 0;
return new AttributeRelationQuery(
pSalesprojectId,
"d0ae40d2-1a7f-45f6-bb0c-20ce6ae7efe2",
"Salesproject"
).getAttributeCount() > 0;
}
};
}
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