[solved] mistake in item substitution table?

jversusj
jversusj Member Posts: 489
Hi all.

I noticed what may be a mistake in our item substitution table. There is a field named "Inventory." If I check the help files on this field, it reads:
The program automatically calculates and updates the contents of the field, using the Quantity field in the Item Ledger Entry table.

All of the values in this field read 0.

I check the table design and see that the field class is "Normal," and not "Flowfield."

Is this right? What am I missing here? Am I supposed to run a batch job to populate this, or is this a mistake on the field class?

Generall speaking, if I change the class to a flowfield, will it cause problems elsewhere in the system?

We just started using this table after 3.75 years of Navision use. We have not touched this table as far as I know in regards to changing fields or C/AL.

thanks!
kind of fell into this...

Comments

  • nav_nav
    nav_nav Member Posts: 33
    Haha, never noticed this. Seems to be a bug. Just setting it to flowfield will not help you will have to specify the CalcFormula.
  • jversusj
    jversusj Member Posts: 489
    nav nav wrote:
    Haha, never noticed this. Seems to be a bug. Just setting it to flowfield will not help you will have to specify the CalcFormula.

    yeah. no problem there. :)

    I can take care of the calcformula. I just wanted to know if i would be "gumming up the works" by correcting this.
    kind of fell into this...
  • nav_nav
    nav_nav Member Posts: 33
    As with ANY change : use the developer toolkit to find out if the field is used somewhere.
  • jversusj
    jversusj Member Posts: 489
    nav nav,
    i am not a developer, so i don't think i can run the development toolkit.
    kind of fell into this...
  • DenSter
    DenSter Member Posts: 8,307
    Use a copy of the standard database (it's on the product cd) to compare the field definition and see what it is in there.
  • jversusj
    jversusj Member Posts: 489
    thanks for the advice.

    it looks like a problem in Navision. To avoid causing any problems, i will just leave it alone and reprogram reports to pull the value from the item table instead of the item sub table; plus maybe modify the item sub form to do the same.
    kind of fell into this...
  • themave
    themave Member Posts: 1,058
    This has been in the standard database since NAv 2.0 at least, we use the item substition a lot. but not this field so it has never been a problem.
  • nav_nav
    nav_nav Member Posts: 33
    DenSter wrote:
    Use a copy of the standard database (it's on the product cd) to compare the field definition and see what it is in there.
    It is wrong there too.