/// <summary> /// 扫描箱号获取库位 /// </summary> /// <param name="CustomerID"></param> /// <param name="BoxNumber"></param> /// <returns></returns> public ReceiptReceiving GetLocationByBoxNumber(string CustomerID, string BoxNumber, string ReceiptNumber) { try { ReceiptManagementAccessor accessor = new ReceiptManagementAccessor(); return(accessor.GetLocationByBoxNumber(CustomerID, BoxNumber, ReceiptNumber)); } catch (Exception ex) { return(null); } }