Add Create/Update Method For SRMHeader
Add empty create & update method for SRMHeader
对比新文件 |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Create ( |
| | | MacroPlan owner, |
| | | String id, |
| | | String parentid, |
| | | String name, |
| | | String unitofmeasurename, |
| | | Boolean isbyproduct, |
| | | String description, |
| | | Boolean hasshelflife, |
| | | Real shelflife, |
| | | Boolean hasmaturation, |
| | | Real maturationdays, |
| | | Boolean isexcludedfromoptimization, |
| | | Boolean isplannedafteroptimization, |
| | | Boolean isexcludedfromfulfilmentkpis, |
| | | Boolean isfromdb |
| | | ) as Product_MP |
| | | { |
| | | Description: 'Instantiate product with only primitive-type arguments' |
| | | TextBody: |
| | | [* |
| | | product := owner.Product_MP( relnew, ID := id ); |
| | | |
| | | //product.Update( id, name, parentproduct, unitofmeasurename, isbyproduct, |
| | | // gridx, gridy, iconname, isvisible, namedisplaybehavior, textcolor, |
| | | // view, notes, |
| | | // hasshelflife, shelflife, |
| | | // hasmaturation, maturationdays, |
| | | // isexcludedfromoptimization, isplannedaftertoptimization, isexcludedfromfulfilmentkpis, |
| | | // isfromdb ); |
| | | // |
| | | //// Set all parents of this new instance |
| | | //product.SetAllParent(); |
| | | |
| | | return product; |
| | | *] |
| | | } |
对比新文件 |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Update |
| | | { |
| | | TextBody: |
| | | [* |
| | | // Administrator Aug-9-2023 (created) |
| | | *] |
| | | } |
| | |
| | | component=submodel |
| | | kind=Quintiq Metadata File |
| | | name=MacroPlanner |
| | | version.component=2022.3.0.376 |
| | | version.component=2022.3.0.379 |
| | | version.fileformat=2 |
| | | version.quintiq=6.3.3.0 , build 248673 |