Dear Community,
First of all, thank you so much for a wonderful product and a strong application development platform. We have an additional field declared for an InventoryItem (e.g. pH value, used in a Product from the Food Processing Industry). We are able to receive the product with this additional value and we are able to build reports which has this value displayed. When we try to transfer this InventoryItem to another Warehouse, the InventoryItem gets transferred, but the additional field doesn't get transferred. We can see the field appearing in the TransferInventory entity. But when this inventory goes back in the InventoryItem entity (after transfer is completed from the transfer inventory form) we miss the additional field. We tried looking at the inventory transfer services but couldn't find the solution. We appreciate your help in: A. Identify the file where we can specify this additional field so that it gets transferred with the transferred inventory. B. Is there a single place where we can add the additional field and it gets considered in other inventory transfer methods such as inventory variance? Thanks in advance. -- Regards, Sarang |
If you have extended the InventoryItem entity properly ideally it should have worked just fine. I think you not necessarily need to populate pH or any other field value in InventoryTransfer as its actually going to be anyways associated to InventoryItem. The service you should be checking here should be InventoryServices.completeInventoryTransfer. HTH. Thanks and Regards -- Pranay Pandey On 10-Jan-2014, at 12:30 PM, Sarang Deshpande wrote:
smime.p7s (6K) Download Attachment |
Thanks a lot for the quick response Pranay.
We did look at InventoryServices.completeInventoryTransfer service but couldn't make out the place where we can specify the additional field. Are we missing out something here? We did add the field through entitymodel.xml under products, I hope that's the correct place to add the fields. Your help is greatly appreciated. Regards, Sarang On Fri, Jan 10, 2014 at 1:48 PM, Pranay Pandey < [hidden email]> wrote: > > If you have extended the InventoryItem entity properly ideally it should > have worked just fine. I think you not necessarily need to populate pH or > any other field value in InventoryTransfer as its actually going to be > anyways associated to InventoryItem. The service you should be checking > here should be InventoryServices.completeInventoryTransfer. > > HTH. > > Thanks and Regards > -- > Pranay Pandey > > On 10-Jan-2014, at 12:30 PM, Sarang Deshpande wrote: > > Dear Community, > > First of all, thank you so much for a wonderful product and a strong > application development platform. > > We have an additional field declared for an InventoryItem (e.g. pH value, > used in a Product from the Food Processing Industry). We are able to > receive the product with this additional value and we are able to build > reports which has this value displayed. > > When we try to transfer this InventoryItem to another Warehouse, the > InventoryItem gets transferred, but the additional field doesn't get > transferred. We can see the field appearing in the TransferInventory > entity. But when this inventory goes back in the InventoryItem entity > (after transfer is completed from the transfer inventory form) we miss the > additional field. We tried looking at the inventory transfer services but > couldn't find the solution. > > We appreciate your help in: > > A. Identify the file where we can specify this additional field so that it > gets transferred with the transferred inventory. > B. Is there a single place where we can add the additional field and it > gets considered in other inventory transfer methods such as inventory > variance? > > Thanks in advance. > > -- > Regards, > > Sarang > > > -- Regards, Sarang |
You shouldn't need to specify the additional field in that service as its there on InventoryItem being transferred and being updated there. The thing here causing problem is while updating InventoryItem after transfer looks like not being persisted properly when updated other info on InventoryItem e.g. facility(warehouse). You should be putting some logs to the context being passed to updateInventoryItem service from completeInventoryTransfer and also in that service to make sure when its stored in db. Regards, Pranay Pandey On 10-Jan-2014, at 5:34 PM, Sarang Deshpande wrote:
smime.p7s (6K) Download Attachment |
Free forum by Nabble | Edit this page |