| | |
| | | { |
| | | public List<U9CReturnData> Data { get; set; } |
| | | } |
| | | public class U9CResult2 : U9CBaseResult |
| | | { |
| | | public List<U9CReturnData2> Data { get; set; } |
| | | } |
| | | |
| | | public class U9CLoginResult : U9CBaseResult |
| | | { |
| | |
| | | public string m_errorMsg { get; set; } |
| | | public string m_datas { get; set; } |
| | | } |
| | | public class U9CReturnData2 |
| | | { |
| | | public string U9CVersion { get; set; } |
| | | public bool IsSucess { get; set; } |
| | | public string OtherID { get; set; } |
| | | public string ID { get; set; } |
| | | public string Code { get; set; } |
| | | public string ErrorMsg { get; set; } |
| | | } |
| | | |
| | | public class U9CBaseInput |
| | | { |
| | | public string userId { get; set; } |
| | | public string token { get; set; } |
| | | public string Data { get; set; } |
| | | public bool IsLogin { get; set; } |
| | | } |
| | | |
| | | #region 入库单接口 |
| | | /// <summary> |
| | | /// 入库单接口传入参数 |
| | | /// </summary> |
| | |
| | | public string WorkOrder { get; set; } |
| | | public string ItemCode { get; set; } |
| | | public string WhCode { get; set; } = "10105"; |
| | | public int PkgQty { get; set; } |
| | | public int CompleteQty { get; set; } |
| | | public double PkgQty { get; set; } |
| | | public double CompleteQty { get; set; } |
| | | public int OutputType { get; set; } = 0; |
| | | public int StorageType { get; set; } = 4; |
| | | public int DocState { get; set; } = 1; |
| | |
| | | public Wh Wh { get; set; } |
| | | public Item Item { get; set; } |
| | | public DescFlexField DescFlexField { get; set; } |
| | | public int CompleteQty { get; set; } |
| | | public double CompleteQty { get; set; } |
| | | public int OutputType { get; set; } = 0; |
| | | public int StorageType { get; set; } = 4; |
| | | public int DocState { get; set; } = 1; |
| | | } |
| | | |
| | | public class BarcodeCreateInput |
| | | public class BarcodeCreateInput: U9CBaseInput |
| | | { |
| | | public string RevDocId { get; set; } |
| | | public string RevDocLineId { get; set; } |
| | | public string userId { get; set; } |
| | | public string token { get; set; } |
| | | public bool IsLogin { get; set; } |
| | | } |
| | | |
| | | public class BarcodeCreateParam |
| | |
| | | public string ID { get; set; } |
| | | public string EntityType { get; set; } |
| | | } |
| | | #endregion |
| | | |
| | | #region 半成品条码生成 |
| | | public class BarcodeCreateByAssignQtyInput: BarcodeCreateInput |
| | | { |
| | | /// <summary> |
| | |
| | | /// <summary> |
| | | /// 包装装箱数量 |
| | | /// </summary> |
| | | public int LabelQty { get; set; } |
| | | public decimal LabelQty { get; set; } |
| | | } |
| | | |
| | | public class CreateBarCodeEntitys |
| | |
| | | { |
| | | public string PrivateDescSeg1 { get; set; } |
| | | } |
| | | #endregion |
| | | |
| | | #region 新增收货单接口 |
| | | public class CreateRcvBySrcASNParam |
| | | { |
| | | public List<ASNToRcvTransDTO> aSNToRcvTransDTOs { get; set; } |
| | | public string OtherID { get; set; } = "WMS"; |
| | | } |
| | | |
| | | public class ASNToRcvTransDTO { |
| | | public TransQty TransQty { get; set; } |
| | | public string ASNLineKey { get; set; } |
| | | } |
| | | |
| | | public class TransQty |
| | | { |
| | | public string m_amount1 { get; set; } |
| | | public m_uOM1 m_uOM1 { get; set; } |
| | | } |
| | | |
| | | public class m_uOM1 |
| | | { |
| | | public UOMMain_SKey UOMMain_SKey { get; set; } |
| | | public string UOMMain { get; set; } |
| | | public UOMSub_SKey UOMSub_SKey { get; set; } |
| | | } |
| | | |
| | | public class UOMMain_SKey |
| | | { |
| | | public string ID { get; set; } |
| | | } |
| | | |
| | | public class UOMSub_SKey |
| | | { |
| | | public string ID { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 新增收货单接口-传入参数 |
| | | /// </summary> |
| | | public class CreateRcvBySrcASNInput: U9CBaseInput |
| | | { |
| | | /// <summary> |
| | | /// 当前收货数量 - m_amount1 |
| | | /// </summary> |
| | | public string CurRevQty { get; set; } |
| | | /// <summary> |
| | | /// ASN单行ID |
| | | /// </summary> |
| | | public string ASNLineKey { get; set; } |
| | | } |
| | | |
| | | #region 无来源 |
| | | public class CreateReceivementParam |
| | | { |
| | | public RcvDTO rcvDTO { get; set; } |
| | | public string OtherID { get; set; } = "WMS"; |
| | | } |
| | | |
| | | public class CreateReceivementInput : U9CBaseInput |
| | | { |
| | | |
| | | } |
| | | |
| | | public class RcvDTO { |
| | | public DateTime BusinessDate { get; set; } |
| | | public Supplier Supplier { get; set; } |
| | | public RcvDocType RcvDocType { get; set; } |
| | | public List<RcvLine> RcvLines { get; set; } |
| | | public bool IsRcvByChangeable { get; set; } |
| | | public bool IsPriceListChangeable { get; set; } |
| | | public bool IsConfirmTermChangeable { get; set; } |
| | | public bool IsPaymentTermChangeable { get; set; } |
| | | public bool IsLineApprove { get; set; } |
| | | } |
| | | public class Supplier { |
| | | public string m_code { get; set; } |
| | | } |
| | | public class RcvDocType |
| | | { |
| | | public string m_code { get; set; } |
| | | } |
| | | public class RcvLine |
| | | { |
| | | public bool IsPresent { get; set; } |
| | | public ItemInfo ItemInfo { get; set; } |
| | | public Wh2 Wh { get; set; } |
| | | public List<RcvLineLocation> RcvLineLocations { get; set; } |
| | | public double ArriveQtyTU { get; set; } |
| | | public double ArriveQtyPU { get; set; } |
| | | public double RcvQtyTU { get; set; } |
| | | public double RcvQtyPU { get; set; } |
| | | public double EyeballingQtyTU { get; set; } |
| | | public double RcvProcedure { get; set; } |
| | | public double StorageType { get; set; } |
| | | public string RcvLotCode { get; set; } |
| | | public string InvLotCode { get; set; } |
| | | } |
| | | |
| | | public class ItemInfo |
| | | { |
| | | public string m_itemCode { get; set; } |
| | | } |
| | | public class Wh2 |
| | | { |
| | | public string m_code { get; set; } |
| | | } |
| | | public class Location |
| | | { |
| | | public string m_code { get; set; } |
| | | } |
| | | |
| | | public class RcvLineLocation |
| | | { |
| | | public Location Location { get; set; } |
| | | public double LocationQtyTU { get; set; } |
| | | } |
| | | #endregion |
| | | |
| | | #endregion |
| | | |
| | | #region 收货审核接口 |
| | | |
| | | public class SubmitLineInput : U9CBaseInput |
| | | { |
| | | public SubmitLineInputParam param { get; set; } |
| | | } |
| | | public class SubmitLineInputParam |
| | | { |
| | | public string RcvLineID { get; set; } |
| | | public string OtherID { get; set; } = "WMS"; |
| | | public string RcvDocNo { get; set; } |
| | | public string DocLineNo { get; set; } |
| | | public string OrgCode { get; set; } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region 创建生产领料单接口 |
| | | public class CreateProdMaterialReqInput : U9CBaseInput |
| | | { |
| | | public List<CreateProdMaterialReqParam> CreateProdMaterialReqParam { get; set; } |
| | | } |
| | | |
| | | public class CreateProdMaterialReqParam |
| | | { |
| | | public List<object> MOs { get; set; } |
| | | public List<PickListDTOs> PickListDTOs { get; set; } |
| | | public int BusinessType { get; set; } |
| | | public int IssueType { get; set; } |
| | | public int DocStatus { get; set; } |
| | | public string OtherID { get; set; } = "WMS"; |
| | | } |
| | | |
| | | public class PickListDTOs |
| | | { |
| | | public List<object> MOs { get; set; } |
| | | public List<object> Item { get; set; } |
| | | public List<object> IssueWh { get; set; } |
| | | public List<object> IssueBin { get; set; } |
| | | public double IssuedQty { get; set; } |
| | | public double IssueQty { get; set; } |
| | | public List<object> IssueUOM { get; set; } |
| | | public string MOPickList { get; set; } |
| | | public List<object> Lot { get; set; } |
| | | public int StorageType { get; set; } |
| | | } |
| | | #endregion |
| | | |
| | | #region 创建生产退料单-按行退料接口 |
| | | public class CreateProdReturnOrderInput : U9CBaseInput |
| | | { |
| | | public List<CreateProdReturnOrderParam> CreateProdReturnOrderParam { get; set; } |
| | | } |
| | | |
| | | public class CreateProdReturnOrderParam |
| | | { |
| | | public List<RecedeItemAndSnDTOList> RecedeItemAndSnDTOList { get; set; } |
| | | public bool IsAutoIssued { get; set; } |
| | | public string OtherID { get; set; } = "WMS"; |
| | | } |
| | | |
| | | public class RecedeItemAndSnDTOList |
| | | { |
| | | public string ItemCode { get; set; } |
| | | public string IssueDocNo { get; set; } |
| | | public double RecedeQty { get; set; } |
| | | public double IssueLineNum { get; set; } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region 创建委外生产领料单 |
| | | public class CreateOutProdMaterialReqInput : U9CBaseInput |
| | | { |
| | | public List<CreateOutProdMaterialReqParam> CreateOutProdMaterialReqParam { get; set; } |
| | | } |
| | | public class CreateOutProdMaterialReqParam |
| | | { |
| | | public List<object> POLine { get; set; } |
| | | public DateTime BusinessDate { get; set; } |
| | | public List<PickListDTOs2> PickListDTOs { get; set; } |
| | | public int BusinessType { get; set; } |
| | | public string BusinessCreatedOn { get; set; } |
| | | public int DocStatus { get; set; } |
| | | public string OtherID { get; set; } = "WMS"; |
| | | } |
| | | |
| | | public class PickListDTOs2 |
| | | { |
| | | public List<object> Item { get; set; } |
| | | public List<object> IssueWh { get; set; } |
| | | public List<object> IssueBin { get; set; } |
| | | public double IssuedQty { get; set; } |
| | | public double IssueQty { get; set; } |
| | | public List<object> IssueUOM { get; set; } |
| | | public string SCMOPickList { get; set; } |
| | | public List<object> Lot { get; set; } |
| | | } |
| | | #endregion |
| | | |
| | | #region 创建委外生产退料单接口 |
| | | public class CreateOutProdReturnOrderInput : U9CBaseInput |
| | | { |
| | | public List<CreateOutProdReturnOrderParam> CreateOutProdReturnOrderParam { get; set; } |
| | | } |
| | | public class CreateOutProdReturnOrderParam |
| | | { |
| | | public List<object> POLine { get; set; } |
| | | public DateTime BusinessDate { get; set; } |
| | | public List<PickListDTOs2> PickListDTOs { get; set; } |
| | | public int BusinessType { get; set; } |
| | | public string BusinessCreatedOn { get; set; } |
| | | public int DocStatus { get; set; } |
| | | public string OtherID { get; set; } = "WMS"; |
| | | } |
| | | |
| | | #endregion |
| | | } |