Hi,
We have WMS I and we want to activate locations so that we do have to keep a separate Excel where the items are in located in stock. We do not have pallets, no fork lifts, etc and also no bulk locations. Actually the simplest way would to connect the item to a picking location. I think next very simple situation would already be sufficient for us:
-
Adding a field to the table InventTable.wMSPickingLocation which would look up the picking location. But I guess the next table InventItemLocation is ment for this purpose and thus preferred over coding an own solution (if present in WMS I since WMS II is out of scope); InventItemLocation.wMSPickingLocation, InventItemLocation.WMSLocationIdDefaultIssue = "", InventItemLocation.WMSLocationIdDefaultReceipt = "";
InventItemLocation.inventDimId = "AllBlank";
InventItemLocation.useWMSOrder = InventInventLocationNoYes::InventLocation;
InventItemLocation.pickingLocationRefillMin = 0.00;
InventItemLocation.PickingLocationMaxQty = 0.00;
InventItemLocation.useEmptyPalletLocation = InventInventLocationNo::InventLocation;
-
Adding the wMSPickingLocation to the packing slips of AR and PO would allow us to collect and store the items.
Our partner did not set up InventItemLocation so all items are now to an item dimension group not having the location. I created a new dimension group with an active location, but the wmslocationid does not show up as it should according to code:
void setWMSLocationIdEnabled(InventDimGroupId inventDimGroupId)
{
NoYes locationActive;
InventDimSearch dimSearch = inventDimFormSetup.dimSearch();
;
dimSearch.find(inventDimGroupId, fieldnum(InventDim, wmsLocationId));
locationActive = dimSearch.dimActive();
if (!inventDim.InventLocationId)
locationActive = false;
inventItemLocation_ds.object(fieldnum(InventItemLocation, wmsPickingLocation)).allowEdit(locationActive);
inventItemLocation_ds.object(fieldnum(InventItemLocation, wmsLocationIdDefaultIssue)).allowEdit(locationActive);
inventItemLocation_ds.object(fieldnum(InventItemLocation, wmsLocationIdDefaultReceipt)).allowEdit(locationActive);
}
What do I need to get the warehouse item setup to work? And is this simple warehouse solution possible with AX?
J.