InitValue

In table 5700(Stockkeeping Unit) I set the initvalue to the field “Phys Invt Counting Period Code” to BIYEARLY but it doesn’t set that as the value when I run the create stockeeping units function from the item card. Do I need to do something else? or am I going about it the wrong way? Thanks

Do you mean to say when program insert record in stock keeping unit table it should filled automatically as default value ???

We have below code under create stockkeepingunit function which will overwrite your value

StockkeepingUnit.“Phys Invt Counting Period Code” :=
Item2.“Phys Invt Counting Period Code”;

So Either Comment the above code or

directly assign value here…