26.02.2007, 18:40 | #1 |
Участник
|
casperkamal: InventDim id blank from "Axapta" to "AllBlank" in Dynamics Ax
Источник: http://casperkamal.spaces.live.com/B...CD63!233.entry
============== Hey, Just found out something interesting, the blank inventDimid(With all Inventory Dimesions blank) "Axapta" is no more the same, now it is refferred to "AllBlank". I found it as i was digging to find the reason behind no records getting displayed in the "Item" form when I had records in the table. The problem was the blank record in InventItemLocation, just a wrote a little job to get the things right. Just copy and run it, if you find a bit lazy to write .... static void JobChangeAxaptatoBlankInventDim(Args _args) { InventItemLocation inventItemLocation; ; while select forupdate inventDimId from inventItemLocation { ttsbegin; if (inventItemLocation.inventDimId == 'Axapta') { inventItemLocation.inventDimId = 'AllBlank'; inventItemLocation.update(); } ttscommit; } } ..................what else ??????? will see.... Источник: http://casperkamal.spaces.live.com/B...CD63!233.entry |
|
|
|