Цитата:
Сообщение от
lev
SalesQuotationLine_ds.write(); - это не надо здесь.
вызывайте element, ведь в нем вызывается нужный нам метод
write убрал.
а, visibleFields, да, но тогда что в нём писать??
X++:
SalesQuotationLine_ds.object(fieldnum(SalesQuotationLine,StatusReasonCode_ZTR)).visible(smm.PhaseId ==SalesQuotationLine.Status_ZTR && smm.IsAskCode_ZTR);
SalesQuotationLine_ds.object(fieldnum(SalesQuotationLine, QuotationId)).visible(smm.PhaseId ==SalesQuotationLine.Status_ZTR && smm.IsAskMainQuotationId_ZTR);
??