bgerp/bgerp — Issue #178: acc - в МО, при бутон Нов, без избрани сметки за Дебит и Кредит - гърми
Author: arsov
Created: 2012-02-06 16:01:48+00:00
State: open
Labels: acc, doc, Грешка

Счетоводство >> КНИГИ >> Мемориални ордери - в мемориален ордер при избор на бутон **Нов**, когато липсва избрана сметка в Дебит или Кредит - гърми:

http://cloud.bgerp.com/testStore/acc_ArticleDetails/add/?articleId=26&ret_url=testStore%2Fdoc_Containers%2Flist%2FthreadId%2F168%2FdocId%2FMO26&Cmd[default]=1&debitAccId=&creditAccId=&Cmd[]=%D0%9D%D0%BE%D0%B2

Прекъсване на линия 152 в /var/www/sites/ef_root_cloud/testStore/ef/core/Mvc.class.php

(string) ГРЕШКА В ПРИЛОЖЕНИЕТО

(string) Неочакван аргумент

(array)
0 : (NULL)

Стек

(array)
file : (string) /var/www/sites/ef_root_cloud/testStore/ef/core/Mvc.class.php
line : (integer) 152
function : (string) expect
args : (array)
0 : (NULL)

(array)
file : (string) /var/www/sites/ef_root_cloud/testStore/bgerp/acc/ArticleDetails.class.php
line : (integer) 341
function : (string) fetch
class : (string) core_Mvc
type : (string) ::
args : (array)
0 : (NULL)

(array)
file : (string) /var/www/sites/ef_root_cloud/testStore/bgerp/acc/ArticleDetails.class.php
line : (integer) 205
function : (string) getAccountInfo
class : (string) acc_ArticleDetails
object : (acc_ArticleDetails)
title : (string) Мемориален ордер
masterKey : (string) articleId
loadList : (string) plg_Created, plg_RowTools, acc_Wrapper, plg_RowNumbering, plg_AlignDecimals, Accounts=acc_Accounts, Lists=acc_Lists, Items=acc_Items, plg_AlignDecimals, plg_SaveAndNew
listFields : (string) tools=Пулт, debitAccId, debitQuantity=Дебит->К-во, debitPrice=Дебит->Цена, creditAccId, creditQuantity=Кредит->К-во, creditPrice=Кредит->Цена, amount=Сума
rowToolsField : (string) tools
currentTab : (string) acc_Articles
Accounts : (acc_Accounts)
title : (string) Сметкоплан
loadList : (string) plg_RowTools, plg_Created, plg_State2, plg_SaveAndNew, acc_WrapperSettings, Lists=acc_Lists
canRead : (string) admin,acc,broker,designer
canEdit : (string) admin,acc
canAdd : (string) admin,acc,broker,designer
canView : (string) admin,acc,broker,designer
canDelete : (string) admin,acc
listItemsPerPage : (integer) 300
listFields : (string) num,title,type,lists=Номенклатури,systemId,lastUseOn,state,tools=Пулт
rowToolsField : (string) tools
Lists : (acc_Lists)

Добре е да се направи "добро" съобщение за грешка.