Показать сообщение отдельно
Старый 03.07.2018, 04:33   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
alirazazaidi: Data Manipulation in Dynamics Ax 2012- Array as Extended Data Type
Источник: https://www.tech.alirazazaidi.com/da...ded-data-type/
==============

I found a array based field in TSTimesheetLineWeek table, Field TSWeeklyHours

Now challenge is to enabled field based on Array. For example need to disabled on day 6.



Following code snippet help me to enabled disabled fields generated on the base of array extended Type
TSTimesheetLineWeek_ds.object(fieldId2Ext(fieldNum(TSTimesheetLineWeek, Hours), 6)).allowEdit(false);

Reference :

https://msdn.microsoft.com/en-us/library/aa675074.aspx

https://docs.microsoft.com/en-us/pre...92700(v=ax.50)




Источник: https://www.tech.alirazazaidi.com/da...ded-data-type/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.