Difference between revisions of "Template: GetMaxReleaseDate"
From Genesys Documentation
(Created page with "<includeonly><!-- Finding the MAX ReleaseDate and passing that and ComponentId to formatting template --> {{#cargo_query: tables=ComponentRN,Component |join on=ComponentRN.Com...") |
|||
Line 4: | Line 4: | ||
|join on=ComponentRN.ComponentId HOLDS Component.Id | |join on=ComponentRN.ComponentId HOLDS Component.Id | ||
|fields=ComponentRN.ComponentId=ComponentId,MAX(ReleaseDate)=ReleaseDate | |fields=ComponentRN.ComponentId=ComponentId,MAX(ReleaseDate)=ReleaseDate | ||
− | |where=ComponentId HOLDS '{{{ComponentId|}}}' AND ReleaseDate IS NOT NULL AND ComponentRN._pageNamespace="0" | + | |where=ComponentId HOLDS '{{{ComponentId|}}}' AND ReleaseDate IS NOT NULL AND ComponentRN._pageNamespace="0" AND (DeploymentTypeId HOLDS 'ec194bf2-b79a-436d-8ff6-eaff94d9f43a' OR DeploymentTypeId HOLDS '5439f1be-1868-4091-b058-1667389b6ce1') |
|format=template | |format=template | ||
|template=GetReleaseDetails | |template=GetReleaseDetails | ||
|named args=yes | |named args=yes | ||
}}</includeonly><noinclude>[[Category:RNAutomtion]]</noinclude> | }}</includeonly><noinclude>[[Category:RNAutomtion]]</noinclude> |