Revalue Stock Item - Allocated

SOLVED

Hi,

I am trying to revalue a couple of our stock items, however it fails with the following error.

The problem is, with our normal order flow, the odds of me catching the item without an allocation against it are pretty slim.

Short of taking the item out of stock for ages and then letting any existing orders complete, how am I supposed to revalue this?

Thanks

Parents Reply Children
  • 0 in reply to Chris Burke

    I actually have it happening on two products currently, both are set as component (They are a single physical item, not an built item or an ingredient in anything else.)

  • +1 in reply to DaveG
    verified answer

    Even weirder then.

    For the record : there's nothing about the revaluation routine that demands an item have its status set as 'inactive', even temporarily. However, at the end of the process the standard cost of the item is set to the new value and an update is called to persist the change to the database. It's during the update that Sage 200 is checking certain conditions of the item and coming to the conclusion that it should be inactive - which it subsequently tries to do, but then runs into further validation which says it can't be made inactive because of allocations/on order quantities. 

    The only thing that should make Sage 200 think a component is ripe for making inactive is if it has no locations (Warehouses/Bins). At least as far as i can see in the code.  

  • 0 in reply to Chris Burke

    Strange, they both definitely have both warehouses and bins set on them.

    I have just done testing on our dev system and found some items that where showing the same error, however when I removed some of the warehouses listed on them it started to work.

    These two items on our live system do have one extra warehouse listed on them that most items do not, however I can't remove it to test as one has stock in that warehouse and the other says it has open PO's.

  • 0 in reply to DaveG

    Never mind, I seem to have worked it out.

    Both of these items had four warehouses on them, but in each case one of those warehouses did not have a bin listed.
    After removing that warehouse from the items, I was able to complete the revaluation.

    Many thanks for pointing me in the right direction.