本文整理汇总了C#中Protocols.ToLocation方法的典型用法代码示例。如果您正苦于以下问题:C# Protocols.ToLocation方法的具体用法?C# Protocols.ToLocation怎么用?C# Protocols.ToLocation使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Protocols
的用法示例。
在下文中一共展示了Protocols.ToLocation方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: PartTransfer
public Protocols.FieldOps.PartTransferResultProtocol PartTransfer(System.String partNumber, System.String partRevision, System.String partDomain, System.String serialNumber, Protocols.LocationProtocol fromlocation, Protocols.LocationProtocol tolocation)
{
ClarifySession session = Global.GetSession( AuthHeader );
FChoice.Toolkits.Clarify.FieldOps.FieldOpsToolkit toolkit = new FChoice.Toolkits.Clarify.FieldOps.FieldOpsToolkit( session );
return new Protocols.FieldOps.PartTransferResultProtocol( toolkit.PartTransfer(partNumber, partRevision, partDomain, serialNumber, fromlocation.ToLocation(), tolocation.ToLocation()) );
}
示例2: UpdateInventoryBin
public Protocols.ToolkitResultProtocol UpdateInventoryBin(Protocols.LocationProtocol currentLocation, System.String newBinName)
{
ClarifySession session = Global.GetSession( AuthHeader );
FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit toolkit = new FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit( session );
return new Protocols.ToolkitResultProtocol( toolkit.UpdateInventoryBin(currentLocation.ToLocation(), newBinName) );
}
示例3: UpdatePartStockingLevel
public Protocols.ToolkitResultProtocol UpdatePartStockingLevel(Protocols.LocationProtocol currentLocation, System.String queue, System.String partNumber, System.String partRevision, System.String partDomain)
{
ClarifySession session = Global.GetSession( AuthHeader );
FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit toolkit = new FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit( session );
return new Protocols.ToolkitResultProtocol( toolkit.UpdatePartStockingLevel(currentLocation.ToLocation(), queue, partNumber, partRevision, partDomain) );
}
示例4: Unpick
public Protocols.ToolkitResultProtocol Unpick(System.String partRequestDetailIDNum, Protocols.LocationProtocol location, System.Boolean useTransitions, System.String[] serialNumbers)
{
ClarifySession session = Global.GetSession( AuthHeader );
FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit toolkit = new FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit( session );
return new Protocols.ToolkitResultProtocol( toolkit.Unpick(partRequestDetailIDNum, location.ToLocation(), useTransitions, serialNumbers) );
}
示例5: SetPartStockingLevel
public Protocols.ToolkitResultProtocol SetPartStockingLevel(Protocols.LocationProtocol location, System.String queue, System.String partNumber, System.String partRevision, System.String partDomain, System.Int16 partMinimum, System.Int16 partMaximum, System.Int16 partReorderLevel, System.Int16 partReorderQuantity)
{
ClarifySession session = Global.GetSession( AuthHeader );
FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit toolkit = new FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit( session );
return new Protocols.ToolkitResultProtocol( toolkit.SetPartStockingLevel(location.ToLocation(), queue, partNumber, partRevision, partDomain, partMinimum, partMaximum, partReorderLevel, partReorderQuantity) );
}
示例6: AddInventoryBin
public Protocols.ToolkitResultProtocol AddInventoryBin(Protocols.LocationProtocol location)
{
ClarifySession session = Global.GetSession( AuthHeader );
FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit toolkit = new FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit( session );
return new Protocols.ToolkitResultProtocol( toolkit.AddInventoryBin(location.ToLocation()) );
}
示例7: ReceivePartRequest
public Protocols.ToolkitResultProtocol ReceivePartRequest(System.String partRequestDetailIDNum, System.Int32 quantity, Protocols.LocationProtocol toLocation, System.Boolean useTransitions)
{
ClarifySession session = Global.GetSession( AuthHeader );
FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit toolkit = new FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit( session );
return new Protocols.ToolkitResultProtocol( toolkit.ReceivePartRequest(partRequestDetailIDNum, quantity, toLocation.ToLocation(), useTransitions) );
}