AOTG API: Create AR Invoice: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 281: | Line 281: | ||
<tabber> |
<tabber> |
||
Body= |
Body= |
||
<syntaxhighlight lang="json-object"> |
|||
{ |
|||
"RequestId": "252dacee-59dd-4ac1-85eb-450fc71ef78d", |
|||
"RequestName": "CreateARInvoice", |
|||
"HostName": "---", |
|||
"IPAddress": "---", |
|||
"RequestTypeName": null, |
|||
"ResultJson": "{\"Message\":\"Debtor record not found (AccNo=300-T001).\",\"StackTrace\":\" at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\\r\\n at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)\\r\\n at PSW.SOTC.Accounting.InProcess.AppServiceDispatcher.<DispatchRequest>d__13.MoveNext()\",\"Source\":\"PSW.SOTC.Accounting.Provider.Autocount\"}", |
|||
"RequestParamJson": null, |
|||
"ResultStream": null, |
|||
"ResultTypeName": "PSW.SOTC.Accounting.Provider.Models.ExceptionEntity", |
|||
"Status": "Failed", |
|||
"Version": "1.2.19051.12002", |
|||
"AccountBookInfo": "Plug-In 1.9 Test-1.0.9.77", |
|||
"AccountBookDBInfo": "1.0.9.77", |
|||
"Timestamp": "2019-03-04T09:03:28.4764315Z", |
|||
"ResultedTimestamp": null, |
|||
"ProcessingInterval": 0.4542032, |
|||
"InQueueInterval": null, |
|||
"ResultFileURL": null |
|||
} |
|||
</syntaxhighlight> |
|||
|-| |
|-| |
||
Readable of ResultJson= |
Readable of ResultJson= |
||
<syntaxhighlight lang="json-object"> |
|||
{ |
|||
"Message": "Debtor record not found (AccNo=300-T001).", |
|||
"StackTrace": " at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)rn at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)rn at PSW.SOTC.Accounting.InProcess.AppServiceDispatcher.<DispatchRequest>d__13.MoveNext()", |
|||
"Source": "PSW.SOTC.Accounting.Provider.Autocount" |
|||
} |
|||
</syntaxhighlight> |
|||
</tabber> |
|||
=====Debtor record not found===== |
|||
<tabber> |
|||
Body= |
|||
<syntaxhighlight lang="json-object"> |
|||
{ |
|||
"RequestId": "252dacee-59dd-4ac1-85eb-450fc71ef78d", |
|||
"RequestName": "CreateARInvoice", |
|||
"HostName": "---", |
|||
"IPAddress": "---", |
|||
"RequestTypeName": null, |
|||
"ResultJson": "{\"Message\":\"Debtor record not found (AccNo=300-T001).\",\"StackTrace\":\" at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\\r\\n at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)\\r\\n at PSW.SOTC.Accounting.InProcess.AppServiceDispatcher.<DispatchRequest>d__13.MoveNext()\",\"Source\":\"PSW.SOTC.Accounting.Provider.Autocount\"}", |
|||
"RequestParamJson": null, |
|||
"ResultStream": null, |
|||
"ResultTypeName": "PSW.SOTC.Accounting.Provider.Models.ExceptionEntity", |
|||
"Status": "Failed", |
|||
"Version": "1.2.19051.12002", |
|||
"AccountBookInfo": "Plug-In 1.9 Test-1.0.9.77", |
|||
"AccountBookDBInfo": "1.0.9.77", |
|||
"Timestamp": "2019-03-04T09:03:28.4764315Z", |
|||
"ResultedTimestamp": null, |
|||
"ProcessingInterval": 0.4542032, |
|||
"InQueueInterval": null, |
|||
"ResultFileURL": null |
|||
} |
|||
</syntaxhighlight> |
|||
|-| |
|||
Readable of ResultJson= |
|||
<syntaxhighlight lang="json-object"> |
|||
{ |
|||
"Message": "Debtor record not found (AccNo=300-T001).", |
|||
"StackTrace": " at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)rn at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)rn at PSW.SOTC.Accounting.InProcess.AppServiceDispatcher.<DispatchRequest>d__13.MoveNext()", |
|||
"Source": "PSW.SOTC.Accounting.Provider.Autocount" |
|||
} |
|||
</syntaxhighlight> |
|||
</tabber> |
</tabber> |
||
{ |
|||
"RequestId": "e6600918-8d9b-4708-9513-c510601efa14", |
|||
"RequestName": "CreateARInvoice", |
|||
"HostName": "---", |
|||
"IPAddress": "---", |
|||
"RequestTypeName": null, |
|||
"ResultJson": "{\"Message\":\"Transaction date 02/05/2020 is not in the maintained Fiscal Year Range (01/01/2018 to 31/12/2019), if you want to enter transaction date outside the Fiscal Year Range, please go to Tools | Manage Fiscal Year to add new Fiscal Year.\",\"StackTrace\":\" at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\\r\\n at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)\\r\\n at PSW.SOTC.Accounting.InProcess.AppServiceDispatcher.<DispatchRequest>d__13.MoveNext()\",\"Source\":\"PSW.SOTC.Accounting.Provider.Autocount\"}", |
|||
"RequestParamJson": null, |
|||
"ResultStream": null, |
|||
"ResultTypeName": "PSW.SOTC.Accounting.Provider.Models.ExceptionEntity", |
|||
"Status": "Failed", |
|||
"Version": "1.2.19051.12002", |
|||
"AccountBookInfo": "Plug-In 1.9 Test-1.0.9.77", |
|||
"AccountBookDBInfo": "1.0.9.77", |
|||
"Timestamp": "2019-03-04T09:35:04.2202143Z", |
|||
"ResultedTimestamp": null, |
|||
"ProcessingInterval": 0.76946949999999992, |
|||
"InQueueInterval": null, |
|||
"ResultFileURL": null |
|||
} |
|||
<br/> |
<br/> |