私はAcumatica 5.30.1672を使用しており、Screen IN508000のSOAP APIを使用してPrepare Replenishmentプロセスを実行しています。補充を準備する場所のWarehouseIDを設定しています。 API呼び出しはresponse
オブジェクトの正しいInventoryIDを返していますが、ProcessAllに伝えたときはそうではありません。エラーはなく、処理はしません。私はここでは何かが些細なことを逃しているように感じるが、私はそれを見ることができない。 GUIを使用してこれを行うと、すべてが完全に機能します。Acumatica Prepare補充画面ProcessAll動作していません
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AcumaticaTest.AcumaticaWebReference;
namespace AcumaticaTest
{
class Program
{
static void Main(string[] args)
{
Screen context = new Screen();
context.CookieContainer = new System.Net.CookieContainer();
context.Timeout = 1200000;
context.Url = "url to SOAP API Endpoint";
LoginResult lresult = context.Login("<username>", "<password>");
IN508000Content IN508000 = context.IN508000GetSchema();
context.IN508000Clear();
var commands = new Command[]
{
new Value {Value = "<WarehouseID>", LinkedCommand = IN508000.Selection.Warehouse, Commit= true },
new Value {Value = "false", LinkedCommand = IN508000.Selection.Me, Commit= true },
IN508000.ItemsRequiringReplenishment.InventoryID,
IN508000.Actions.ProcessAll
};
var response = context.IN508000Submit(commands);
var status = context.IN508000GetProcessStatus();
while (status.Status == ProcessStatus.InProcess)
{
status = context.IN508000GetProcessStatus();
}
}
}
}
フィードバックいただきありがとうございます。私たちは実際に、問題を別のチームによって行われたカスタマイズに戻して追跡しました。私たちがカスタマイズを削除したとき、これは完全に機能しました。お手伝いありがとう。 –
@MatthewCrews更新のおかげで、問題が解決したことをうれしく思います!他に質問がある場合は、遠慮なくお気軽にお問い合わせください。 – Gabriel