如何获得结束号的屏幕CS201010

时间:2019-03-18 23:22:36

标签: acumatica acumatica-kb

显示警告编号时如何获取最后一个编号。 Acumatica不允许我注册最后一个数字“ MD9”。

现在,当您尝试注册下一个“ MD10”系列时,将如图所示记录MD11。

请您告诉我如何配置我的相关项,以便我注册所有系列而不忽略相关项。如本例所示,我没有注册系列(“ MD9 AND MD10”)。

enter image description here

Creacion de la Factura

请帮助我解决这个疑问。

先谢谢您

1 个答案:

答案 0 :(得分:0)

It's a bit hard to decipher what you're looking for.

If you want to know which is the current last invoice number in the database you can use this SQL query:

select top 1 RefNbr from ARRegister where ARRegister.DocType = 'INV'
order by ARRegister.CreatedDateTime desc

This is the number that should match with last number. You need to review what's in the database to assess if some numbers are skipped and then set the bounds accordingly.