Пример #1
0
            public ShipmentCommands.IssueItem ToIssueItem()
            {
                var cmd = new ShipmentCommands.IssueItem();

                cmd.ShipmentItemSeqId    = this.ShipmentItemSeqId;
                cmd.OrderId              = this.OrderId;
                cmd.OrderItemSeqId       = this.OrderItemSeqId;
                cmd.ShipGroupSeqId       = this.ShipGroupSeqId;
                cmd.ProductId            = this.ProductId;
                cmd.LocatorId            = this.LocatorId;
                cmd.AttributeSetInstance = this.AttributeSetInstance;
                cmd.Quantity             = this.Quantity;
                cmd.CancelQuantity       = this.CancelQuantity;
                cmd.ItemDescription      = this.ItemDescription;
                cmd.ShipmentId           = this.ShipmentId;
                cmd.Version              = this.Version;
                cmd.CommandId            = this.CommandId;
                cmd.RequesterId          = this.RequesterId;
                return(cmd);
            }
Пример #2
0
 public virtual void When(ShipmentCommands.IssueItem c)
 {
     Update(c, ar => ar.IssueItem(c.ShipmentItemSeqId, c.OrderId, c.OrderItemSeqId, c.ShipGroupSeqId, c.ProductId, c.LocatorId, c.AttributeSetInstance, c.Quantity, c.CancelQuantity, c.ItemDescription, c.Version, c.CommandId, c.RequesterId));
 }