on 2020 Sep 23 7:34 AM
Hi all,
I would like use Outbound Delivery Request to create Outbound Delivery.
I followed the example code from Repository Explorer, release all item schedule line of Outbound Delivery Request. But I only created 3PL Request.
Could you please give me some ideas ?
Here 's my code
var query = OutboundDeliveryRequest.QueryByElements;
var params = query.CreateSelectionParams();
params.Add(query.BaseBusinessTransactionDocumentID.content, "I", "EQ", this.YearQuarter);
var outboundDeliveryRequest = query.Execute(params).GetFirst();
var emptyUUID;
emptyUUID = outboundDeliveryRequest.UUID;
emptyUUID.Clear();
foreach(var schedule_line in outboundDeliveryRequest.Item.ItemScheduleLine) {
schedule_line.RequestDeliveryExecution(true, true,emptyUUID, false, true, false);
}
User | Count |
---|---|
116 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.