веб-сервисы — Acumatica отправляет ошибку, используя переполнение стека

Мне нужна ваша помощь.

Я пытаюсь обновить учетную запись клиента acumatica с помощью веб-служб и получаю сообщение об ошибке:

PX.Data.PXException: Ошибка № 107: представление не существует.
в PX.Data.PXViewCollection.get_Item (ключ строки)
в PX.Api.SyImportProcessor.SyStep.FillSearches (String viewName, SyView view, List1 srchs, List1 сорт, список1 descs)
at PX.Api.SyImportProcessor.SyStep.SelectRows(String viewName, PXFilterRow[] filters, Int32 topCount, Boolean bypassInserted, Int32 startRow, SyExportContext exportContext)
at PX.Api.SyImportProcessor.ExportTableHelper.a(SyStep A_0, GrowingTable A_1, SyCommand A_2, PXFilterRow[] A_3, Int32 A_4)
at PX.Api.SyImportProcessor.ExportTableHelper.ExportTable()
at PX.Api.ScreenUtils.Submit(String screenId, Command[] commands, SchemaMode schemaMode, PXGraph& graph, String& redirectContainerView, String& redirectScreen, Boolean mobile, Dictionary
2 viewFilters)
в PX.Api.Services.ScreenService.Submit (идентификатор строки, IEnumerable1 commands, SchemaMode schemaMode, Boolean mobile, PXGraph& forceGraph, String& redirectContainerView, String& redirectScreen, Dictionary2 viewFilters)
в PX.Api.Services.ScreenService.Submit (идентификатор строки, команды IEnumerable`1, схема-режим SchemaMode)
в PX.Api.Soap.Screen.ScreenGate.Submit (команды Command [])

Это мой код:

public function update_test()
{

$client = new AcumaticaGate();
$client = $client->AcumaticaGate('admin', '123456', 'AR303000', 'http://localhost:100/AcumaticaERP/(W(5))');

$schema         = $client->Schema->GetSchemaResult;

$customer       = $schema->CustomerSummary->CustomerID;
$customer_name  = $schema->CustomerSummary->CustomerName;

$command = array();
array_push($command, $client->PrepareValue('TEST', $customer));
array_push($command, $client->PrepareValue('NAME', $customer_name));

array_push($command, $schema->Actions->Save);

$submit = new Submit();
$submit->commands = $command;

try
{
$submit_result = $client->Client->Submit($submit);
}
catch(Exception $e)
{
print_r($e);
}
}

Ребята, вы можете помочь мне решить эту проблему? потому что я застрял в этой вещи в течение длительного времени.

Благодарю.

0

Решение

Задача ещё не решена.

Другие решения

Других решений пока нет …

По вопросам рекламы ammmcru@yandex.ru
Adblock
detector