Git Product home page Git Product logo

aras-plm-exercise's Introduction

Aras-PLM-Exercise

本人於2016年進入Aras的程式設計行業, 這些日子記錄程式碼的撰寫, 因此做為往後回憶與複習時當參考, 程式碼只公開當參考使用,有鑑於不同情境會有不同邏輯寫法 本人不負責任何被引用後的可執行性, 大部分是以練習API為主的範例。

若有程式上可精進的部分,歡迎建議與討論。 Youtube分享

Server Event

Itemtype Server Event

1.檢查Part的BOM列表中所有的Part,cn_group_id是否都與第一個Part相同 #relationship #update

2.檢查DCO的變更項目是否重複 #polyitem

3.在onBeforeAdd時,自動插入第幾週期 #weektime

4.在onAfterGet時,改變搜尋結果欄位顏色 #color

Workflow Server Event

1.利用頁籤上的簽審人員名單,自動插入會簽成員 #assignment

2.workflow 零組件,廢止料件state2狀態推播 #relationship

3.利用程式推動工作流程節點 #EvaluateActivity

4.判斷機種內主料及替代料未發行無法推關 #major_rev

Lifecycle Server Event

1.在生命週期的流程上,用程式啟動workflow #instantiateWorkflow

Client Event

Action

1.取得領號規則,並且依據Itemtype欄位的iq_temprary_preamble值選擇領取P0 or H0之領號規則,並存入表單item_number欄位 #item_number #sequence

Control Event

1.當物件被Click時,取得表單上List物件的值 #List #click

2.在表單上新增按鈕,觸發後新增DCO #click #DCO

3.在表單上新增按鈕,觸發後新增Project #click #project

4.當表單上classificatioin值被改變時,改變List控制項的值 #onchange

Form Event

1.在表單開啟時,確認物件的狀態是否需要將控制項關閉 #disable

2.在表單開啟時,載入包含換行字串的內容 #text

Other

1.Form上的物件詳細資料 #detail

2.還原資料庫後帳號問題 #sql

3.搜尋BOM所有子階 #bom

4.搜尋視窗預設欄位SearchDialog #onSearchDialog

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.