KVSADIAdditionalItemGroupLine
Summary: Table to manage additional item group lines.
Fields
| Name | Type | Note |
|---|---|---|
| Group Code | Code[20] | |
| Line No. | Integer | |
| Type | Enum (KVSADIAdditionItemType) | |
| No. | Code[20] | |
| Variant Code | Code[10] | |
| Description | Text[100] | |
| Description 2 | Text[50] | |
| Sales | Boolean | |
| Purchase | Boolean | |
| Mandatory | Boolean | |
| Mandatory (Purchase) | Boolean | |
| Quantity Calculation | Enum (KVSADIQuantityCalculation) | |
| Quantity / Factor | Decimal | |
| Quantity Rounding | Boolean | |
| Quantity Rounding Precision | Decimal | |
| Quantity Rounding Type | Enum (KVSADIQuantityRoundingType) | |
| Sales Unit of Measure | Code[10] | |
| Purch. Unit of Measure | Code[10] | |
| Sales Sequence No. | Integer | |
| Purchase Sequence No. | Integer |
Procedures
SetEntryNo() :
Summary: Sets the Line No. for the additional item group line by finding the last entry in the group and incrementing by 10000.
procedure SetEntryNo():
CheckNo(Code[20], Code[10], Text[100], Text[50], Text[250]) : Boolean
Summary: Validates the specified number based on its type (Item, G/L Account, Resource, Fixed Asset, Charge, or Group).
procedure CheckNo(No: Code[20]; VariantCode: Code[10]; var OrgDescription: Text[100]; var Description2: Text[50]; var ErrorMessage: Text[250]): Boolean
Parameters:
No: The number to validate.VariantCode: The variant code for items.OrgDescription: Output parameter containing the original description.Description2: Output parameter containing additional description.ErrorMessage: Output parameter containing any error message.
Returns: True if the number is valid; otherwise false.