LtInvoiceAutoNumberingGroups::existGroup Method
Verifies whether a record exists for a particular combination of a module, type, and group, and whether the AutoNumProposal field is set for autonumbering.
Syntax
client server private static boolean existGroup(
DocNumberingModule_W _module,
LtInvoiceAutoNumberingType _type,
[SysGroup _group])
Run On
Called
Parameters
- _module
Type: DocNumberingModule_W Enumeration
The module for which the autonumbering 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 AutoNumProposal field set; otherwise, false.