I was testing something in our Pilot and none of my auto numbering functions were working. My Function library was disabled and when I try to enable it I get the following error.
library.db.interface.cs(14,20): error CS0246: The type or namespace name 'SysSequence' could not be found (are you missing a using directive or an assembly reference?)
library.db.cs(30,27): error CS0246: The type or namespace name 'SysSequence' could not be found (are you missing a using directive or an assembly reference?)
library.db.cs(30,64): error CS1061: 'ErpContext' does not contain a definition for 'SysSequence' and no accessible extension method 'SysSequence' accepting a first argument of type 'ErpContext' could be found (are you missing a using directive or an assembly reference?)
library.db.tracker.cs(24,47): error CS0246: The type or namespace name 'SysSequence' could not be found (are you missing a using directive or an assembly reference?)
This is @klincecum solution. Anyone else run into this and know how to fix?
pferrington
(Bob Hidingski (formerly known as Patrick))
8
Do you actually reference the SysSequence table in your own code? if you do not, you do not need it as a reference. The Ice.LibNextValue will reference it itself. The table references are for what ou can directly manipulate within your function not for something that a method from another class you use might reference.