Any one faced document sequence problem with adempiere?"

别说谁变了你拦得住时间么 提交于 2019-12-24 20:06:54

问题


Any one working with adempiere faced an issue that, when any window opens a default value '5567' appears in DocumentNo field. Couldn't understand the cause and the solution!


回答1:


Thanks, solved the problem, actually no default value was set, and document sequence was not working, just found that preference value was set for that column unconsciously by a user. that was done by right clicking on the field and he selected preference Ok, then a value for that column in every window was set. By deleting the record, problem gone away.




回答2:


If you are seeing a default value when you look at a new record, be it a document or otherwise, check the following:

  • the default value can be set by the Table/Column using a specific value or logic expression.
  • the database may be applying a specific value
  • A callout or script may be setting the value

If the record has been saved then look at

  • The document sequence for that document type/table
  • BeforeSave() functions in the model
  • Any model validators that would affect the document or table


来源:https://stackoverflow.com/questions/59170359/any-one-faced-document-sequence-problem-with-adempiere

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!