Skip to content
Snippets Groups Projects
Commit b9dd62b3 authored by Pascal Neub's avatar Pascal Neub
Browse files

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

[Projekt: xRM-Sales][TicketNr.: 1080118][Automatische checklisteneinträge Quelle / Herkunft der Kontaktgenerierung wird nicht angehakt]
parent 4deb61a6
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