![]() |
#1 |
Участник
|
emeadaxsupport: Releasing a Product to other companies during DIXF product import
Источник: http://blogs.msdn.com/b/axsupport/ar...ct-import.aspx
============== For the AX 2012 R2/R3, there is a field in the staging table called ReleaseProductCompany. ![]() This field is used to release the product to multiple companies; it will do the same as manually release the product. On the Source data format you can specify a Multi value separator. Using this character you can specify multiple company values. ![]() You need to add a column into your import file for the”ReleaseProductCompany” field and define what additional companies you want the product to be released on during the DIXF product import. ![]() Responsible code is in \Classes\DMFProductEntityClass\insertUpdate ![]() Источник: http://blogs.msdn.com/b/axsupport/ar...ct-import.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
![]() |
#2 |
Участник
|
Круто, только вот этот кусок кода расстроил:
X++: changecompany(companyInfo.DataAreaId) { if (!InventTable::find(target.ItemId)) { res = true; } } X++: conDataAreaId = [companyInfo.DataAreaId]; if ((select firstonly crosscompany:conDataAreaId RecId from InventTable where InventTable.ItemId == target.ItemId).RecId == 0) { res = true; } |
|
|
|