|
@@ -2572,7 +2572,7 @@ namespace UAS_LabelMachine
|
|
|
|
|
|
|
|
// 查物料库存信息, 拿最小包装量(minpackqty)。分批查, 每批最多500个编码
|
|
// 查物料库存信息, 拿最小包装量(minpackqty)。分批查, 每批最多500个编码
|
|
|
var minPackDict = new Dictionary<string, string>();
|
|
var minPackDict = new Dictionary<string, string>();
|
|
|
- string createOrgNumber = System.Configuration.ConfigurationManager.AppSettings["kingdee:createOrgNumber"] ?? "BU-001";
|
|
|
|
|
|
|
+ string createOrgNumber = "hichs.test";
|
|
|
for (int batchStart = 0; batchStart < materialCodes.Count; batchStart += 500)
|
|
for (int batchStart = 0; batchStart < materialCodes.Count; batchStart += 500)
|
|
|
{
|
|
{
|
|
|
int batchCount = Math.Min(500, materialCodes.Count - batchStart);
|
|
int batchCount = Math.Min(500, materialCodes.Count - batchStart);
|