sf-apple-sdk
Version:
Apple SF SDK for SF WMS
86 lines (85 loc) • 2.44 kB
TypeScript
import { SdkResponse } from './base.js';
/** 云仓库存调整明细项 */
export interface InventoryAdjustDetail {
/** 商品编码(必填) */
SkuNo: string;
/** 库位编码(可选) */
Location?: string;
/** 调整数量(必填) */
AdjustQty: number;
/** 库存状态(可选) */
InventoryStatus?: string;
/** 调整类型(可选) */
AdjustType?: string;
/** 原因编码(可选) */
ReasonCode?: string;
/** 原因说明(可选) */
Reason?: string;
/** 批次号(可选) */
Lot?: string;
LotAtt01?: string;
LotAtt02?: string;
LotAtt03?: string;
LotAtt04?: string;
LotAtt05?: string;
LotAtt06?: string;
LotAtt07?: string;
LotAtt08?: string;
LotAtt09?: string;
LotAtt10?: string;
LotAtt11?: string;
LotAtt12?: string;
/** 扩展字段1(可选) */
UserDef1?: string;
UserDef2?: string;
UserDef3?: string;
UserDef4?: string;
UserDef5?: string;
UserDef6?: string;
UserDef7?: string;
UserDef8?: string;
}
/** 云仓库存调整主体 */
export interface InventoryAdjust {
/** ERP调整单号(必填) */
ErpOrder: string;
/** 仓库编码(必填) */
WarehouseCode: string;
/** 调整时间(必填)YYYY-MM-DD HH:mm:ss */
AdjustTime: string;
/** 调整类型(可选) */
AdjustType?: string;
/** 系统来源(可选) */
SysSource?: string;
/** 备注(可选) */
Remark?: string;
/** 扩展字段1(可选) */
UserDef1?: string;
UserDef2?: string;
UserDef3?: string;
UserDef4?: string;
UserDef5?: string;
UserDef6?: string;
UserDef7?: string;
UserDef8?: string;
/** 明细列表(必填) */
Details: InventoryAdjustDetail[];
}
/** 云仓库存调整请求 */
export interface InventoryAdjustRequest {
/** 货主编码(必填) */
CompanyCode: string;
/** 唯一请求 ID(必填) */
TransactionId: string;
/** 库存调整单列表(至少一项) */
InventoryAdjusts: InventoryAdjust[];
}
/** 云仓库存调整响应 Body */
export interface InventoryAdjustResponseBody {
/** 1=成功,2=失败(必填) */
Result: '1' | '2';
/** 错误信息(可选) */
Note?: string;
}
/** 云仓库存调整响应 */
export type InventoryAdjustResponse = SdkResponse & InventoryAdjustResponseBody;