LtInvoiceAutoNumberingGroups::existGroupforRegister Method
Verifies whether a record exists for a particular combination of a module, type, and group, and whether the IncludeToRegister field is set.
Syntax
client server private static boolean existGroupforRegister(
DocNumberingModule_W _module,
LtInvoiceAutoNumberingType _type,
[SysGroup _group])
Run On
Called
Parameters
- _module
Type: DocNumberingModule_W Enumeration
The module for which the IncludeToRegister field check is requested. The value can be Sales, Purch, Inventory, or Project.
- _type
Type: LtInvoiceAutoNumberingType Enumeration
The type of document that is being posted. The value can be Invoice or Packing Slip.
- _group
Type: SysGroup Extended Data Type
The group to which the account that is being used for posting belongs.
Return Value
Type: boolean
true if a matching record is found that has the IncludeToRegister field set; otherwise, false.