This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Innovator inn = this.getInnovator(); | |
| if (this.getProperty("classification") == "Product") { | |
| CCO.Utilities.WriteDebug("DEL_SyncToolProductOnProject", "Sync from Product to Tool"); | |
| // retrieve product project structure | |
| String mainWBSid = this.getProperty("wbs_id"); | |
| Item mainWBS = inn.newItem("WBS Element", "get"); | |
| mainWBS.setID(mainWBSid); | |
| Item submainWBS = mainWBS.createRelationship("Sub WBS", "get"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| require(["https://canvasjs.com/assets/script/canvasjs.min.js"], function(){ | |
| // retrieve infos | |
| var PartID = document.thisItem.getID(); | |
| var PartManufs = document.thisItem.newItem("Manufacturer Part","get"); | |
| PartManufs.setProperty("source_id",PartID); | |
| PartManufs = PartManufs.apply(); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var myValue = getFieldByName("myproperty").getElementsByTagName("input")[0].value; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| div[name='text7'] .sys_f_label{ | |
| text-transform: none; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link href="https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.min.css" rel="stylesheet" type="text/css" /> | |
| <div id="visualization" style="width:100%;height:100%;"></div> | |
| <script> | |
| require(["https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.js"], function (vis) { | |
| var container = document.getElementById('visualization'); | |
| var groupBy = function (xs, key) { | |
| return xs.reduce(function (rv, x) { | |
| (rv[x[key]] = rv[x[key]] || []).push(x); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT * | |
| FROM ALS_Activity act | |
| LEFT JOIN ALS_ActivityPredecessors pre | |
| ON act.id = pre.source_id | |
| WHERE pre.source_id IS NULL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| top.aras.uiShowItem("LAB_Cards", $(this).attr("cardId")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //create new Object | |
| var Filter = new Object( ); | |
| //Assign Filter | |
| Filter["state"]={filterValue:"Released", isFilterFixed:true}; | |
| return Filter; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const list = [1, 2, 3, 4, 5] //...an array filled with values | |
| const functionWithPromise = item => { //a function that returns a promise | |
| return Promise.resolve('ok') | |
| } | |
| const anAsyncFunction = async item => { | |
| return functionWithPromise(item) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Innovator inn = this.getInnovator(); | |
| string identities = inn.getUserAliases(); | |
| string aliasId = identities.Split(';')[0]; | |
| this.setProperty("owned_by_id",aliasId); | |
| return this; |