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
30
31
32
33
34
35
| Quintiq file version 2.0
| #parent: #root
| StaticMethod Create (
| MacroPlan owner,
| String id,
| DateTime arrival,
| String description,
| String originstockingpointid,
| String deststockingpointid,
| Real feedbackquantity,
| String laneid,
| String productid,
| Boolean isfromdb
| ) as FeedbackProductInTrip
| {
| Description: 'Create new feedback product in trip.'
| TextBody:
| [*
| // jiangiang Aug-04-2016 (created)
| // Create method for Syncrhonization from MPSync
|
| if( id = '' )
| {
| id := owner.IDHolder().GetFeedbackID();
| }
|
| fpit := owner.Feedback( relnew,
| FeedbackProductInTrip,
| ID := id );
|
| fpit.Update( arrival, description,originstockingpointid, deststockingpointid,feedbackquantity, laneid, productid, isfromdb );
|
| return fpit;
| *]
| }
|
|