简体   繁体   English

有没有人遇到过 adempiere 的文档顺序问题?”

[英]Any one faced document sequence problem with adempiere?"

Any one working with adempiere faced an issue that, when any window opens a default value '5567' appears in DocumentNo field.任何使用 adempiere 的人都面临一个问题,即当任何窗口打开时,DocumentNo 字段中会出现默认值“5567”。 Couldn't understand the cause and the solution!无法理解原因和解决方案!

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.这是通过右键单击该字段并选择首选项 Ok 来完成的,然后在每个窗口中设置该列的值。 By deleting the record, problem gone away.通过删除记录,问题消失了。

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模型中的 BeforeSave() 函数
  • Any model validators that would affect the document or table任何会影响文档或表格的模型验证器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM