| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod FindCreate ( |  |   MPSync owner, |  |   String opid, |  |   String productid, |  |   String spid, |  |   Boolean isinput, |  |   Real quantity |  | ) as IOOperationBOM |  | { |  |   Description: 'Find create io operation bom.' |  |   TextBody: |  |   [* |  |     ioopbom := IOOperationBOM::FindIOOperationBOMTypeIndex( opid, productid, spid, isinput ); |  |      |  |     if( isnull( ioopbom ) ) |  |     { |  |       ioopbom := IOOperationBOM::Create( owner, opid, productid, spid, isinput, quantity ); |  |     } |  |     else |  |     { |  |       ioopbom.Update( quantity ); |  |     } |  |      |  |     return ioopbom; |  |   *] |  |   InterfaceProperties { Accessibility: 'Module' } |  | } | 
 |