在出貨單按下扣帳還原,若是網路或是Tiptop 有問題,有很大的機率會出現已扣帳還原,但庫存還未加回,造成庫存錯誤,此時若再庫存重算也仍無法解決問題
手動處理的方式是找到該料號的 icd21,把數量清除即可。

document.write('<script type="text/javascript" src="../../js/jquery-1.7.1.min.js"></script>');
function GetInfo() {
//jQuery.noConflict();
jQuery.support.cors = true;
//var jq = jQuery.noConflict();
var $res;
$.ajax({
type: "POST",
url: "http://10.1.10.103:8888/JsonServiceSample.asmx/GetOneUserInfo",
contentType: "application/json; charset=utf-8",
async: false,
cache: false,
dataType: 'json',
data: "{name:'Test',age:29}",
success: function (data) {
if (data.hasOwnProperty("d")) {
$res = data.d;
}
else
$res = data;
},
error: function (xhr, ajaxOptions, thrownError) {
alert('WS status = ' + xhr.status );
alert('WS Error =' + thrownError);
}
});
return $res;
}
function btnEdit_onclick() {
var res = GetInfo();
alert(res.Name);
alert(res.Age);
}
WebService
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Script.Services; using System.Web.Services; using System.Web.Services.Protocols; //加上這個預備給 Java Call namespace JQueryWebService { public class User { public string Name { get; set; } public int Age { get; set; } } /// <summary> /// 移除 NameSpace /// 每一個 Methods 上面必須加上 /// [ScriptMethod(ResponseFormat = ResponseFormat.Json)] /// </summary> [WebService(Namespace = "", Description = "For Donma Test")] [System.ComponentModel.ToolboxItem(false)] [ScriptService] public class JsonServiceSample : System.Web.Services.WebService { [WebMethod] [SoapRpcMethod(Use = System.Web.Services.Description.SoapBindingUse.Literal)] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public string GetUserInfoString(string name, int age) { return name + "," + age; } [WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public User GetOneUserInfo(string name, int age) { return (new User { Name = name, Age = age }); } [WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public User[] GetUsers(string name, int age) { List<User> res = new List<User>(); res.Add(new User { Name = name + "1", Age = age }); res.Add(new User { Name = name + "2", Age = age }); return res.ToArray(); } } }
不含世紀 (yy) (1)
|
含世紀 (yyyy)
|
標準
|
輸入/輸出 (3)
| ||
|---|---|---|---|---|---|
-
|
0 或 100 (1,2)
|
預設
|
mon dd yyyy hh:miAM (或 PM)
| ||
1
|
101
|
美式英文
|
1 = mm/dd/yy
101 = mm/dd/yyyy
| ||
2
|
102
|
ANSI
|
2 = yy.mm.dd
102 = yyyy.mm.dd
| ||
3
|
103
|
英式英文/法文
|
3 = dd/mm/yy
103 = dd/mm/yyyy
| ||
4
|
104
|
德文
|
4 = dd.mm.yy
104 = dd.mm.yyyy
| ||
5
|
105
|
義大利文
|
5 = dd-mm-yy
105 = dd-mm-yyyy
| ||
6
|
-
|
6 = dd mon yy
106 = dd mon yyyy
| |||
7
|
-
|
7 = Mon dd, yy
107 = Mon dd, yyyy
| |||
8
|
108
|
-
|
hh:mi:ss
| ||
-
|
9 或 109 (1,2)
|
預設值 + 毫秒
|
mon dd yyyy hh:mi:ss:mmmAM (或 PM)
| ||
10
|
110
|
美國
|
10 = mm-dd-yy
110 = mm-dd-yyyy
| ||
11
|
111
|
日本
|
11 = yy/mm/dd
111 = yyyy/mm/dd
| ||
12
|
112
|
ISO
|
12 = yymmdd
112 = yyyymmdd
| ||
-
|
13 或 113(1、2)
|
歐洲預設值 + 毫秒
|
dd mon yyyy hh:mi:ss:mmm(24h)
| ||
14
|
114
|
-
|
hh:mi:ss:mmm(24h)
| ||
-
|
20 或 120 (2)
|
ODBC 標準
|
yyyy-mm-dd hh:mi:ss(24h)
| ||
-
|
21 或 121 (2)
|
ODBC 標準 (含毫秒)
|
yyyy-mm-dd hh:mi:ss.mmm(24h)
| ||
-
|
126 (4)
|
ISO8601
|
yyyy-mm-ddThh:mi:ss.mmm (無空格)
| ||
-
|
127(6, 7)
|
具有時區 Z 的 ISO8601。
|
yyyy-mm-ddThh:mi:ss.mmmZ (無空格)
| ||
-
|
130 (1,2)
|
回曆 (5)
|
dd mon yyyy hh:mi:ss:mmmAM
| ||
-
|
131 (2)
|
回曆 (5)
|
dd/mm/yyyy hh:mi:ss:mmmAM
|