![]() |
#1 |
Участник
|
axaptapedia: Company
Источник: http://www.axaptapedia.com/Company
============== Summary: New page: Data is stored within a company and heres a snippet to search for data within all companies on an installation. Note: the example searches for an productionorder. static void Searc... Data is stored within a company and heres a snippet to search for data within all companies on an installation. Note: the example searches for an productionorder. static void SearchProductionOrder(Args _args) { DataArea DataArea; ProdTable prodTable; Boolean isFound; ; while select DataArea where dataArea.isVirtual == NOYES::No { changecompany(Dataarea.Id) { prodTable = ProdTable::find("TO0006525"); if (prodTable) { info(strfmt("Found order: %1 in Company: %2",prodTable.ProdId,dataArea.Id)); isFound = true; } } } if(!isFound) info("Order not found in any companies"); } Источник: http://www.axaptapedia.com/Company
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
![]() |
||||
Тема | Ответов | |||
dynamicsaxtraining: Create new company. Demo data | 0 | |||
emeadaxsupport: Query execution failed for data set 'Company' | 0 |
|