Skip to main content

Posts

Showing posts from 2016

Counting of inventory On-Hand in AX2012

Guys, sometime it’s required to do a counting of inventory and in some case if you want to do it technically, I've created a static method which will be helpful to create a counting history and related voucher posting (Inventory count).
Front end navigation: Inventory On-Hand >> Quantity adjustment













Code:
publicstaticvoid adjustInventoryCount(                                 ItemId              _item,                                 InventLocationId    _inventLocation,                                 WMSLocationId       _wmsLocation,                                 Qty                 _qtyCounted                                 ) {     WMSOnlineCountingServer     wmsOnlineCountingServer;     TmpWMSOnlineCounting        tmpWMSOnlineCounting;
void initOnHandItem(                         ItemId              _itemId,                         InventLocationId    _inventLocationId,                         WMSLocationId       _wmsLocationId,                         Qty                 _counted   …

Understanding Address Framework Technically

LogisticsPostalAddress (Address): This table stores the actual physical postal address. Postal Address have 2 important fields ValidFrom, ValidTo. This means that there could be multiple entries.
LogisticsElectronicAddress (Contact): This table stores all the contacts. Contacts are of 2 types ·Contacts linked directly to Customer/Vendor. ·Contacts linked to a Postal Address.
In Microsoft Dynamics AX, you add postal and electronic address information to entities such as customer, vendor, or contact person by using the DirPartyPostalAddressView and DirPartyContactInfoView views.
Table Description DirPartyTable Global address book. This will contain entries for all people and organizations  you deal with, including customers, suppliers, employees, etc. This information is maintained across the entire organization. NB the table structure often refers to address book entries as 'parties'. Generally other records (like customer, supplier, etc) will reference a record in this table by…