[{TableOfContents }]  <-- only if tabbed form
!!!GENERAL LEDGER SEGMENTS
[{Image src='IDGS.JPG' width='360' align='right' link='attach/IDGS/IDGS.JPG'}]
This section explains the Define G/L Segments (IDGS) screen and its associated fields.

The distribution code may be formatted into segments representing specific areas of the general ledger company. For example, segments can represent a division, cost center or account. A segment is defined as alphanumeric characters separated by a ‘-’ or a ‘.’ (e.g. ‘DVCNT-ACCT’).

The system may ‘validate’ each segment of distribution codes defined on the G/L Company (IDGC) form. You may do this by completing the G/L Segments (IDGS) form for all segments you wish to validate.

Once you define these segments, Personality validates the distribution code via the Distribution Editor button for any forms that invoke this Distribution Editor. For example: Department (IDDP), Job (IDJB), Position (IDPS), Assignment (IEAS), Pay Transaction (IPTR), Pay Lines (IPPH), etc. The distribution button invokes the distribution editor to look-up and choose the appropriate segment codes.

When you define the segments, you must use ‘?’ as an overlay for any unknown segments. You must not leave a segment blank. For example if you know only the first segment, the code should appear as ‘123?-??-???’.
‘Define General Ledger Segments’ Usage and Examples

General Ledger Segments data is stored in the [P2K_CM_GL_SEGMENTS] and the [P2K_CM_GL_SEGMENTS_VALUES] table.
;[G/L Company | GL_COMPANY_CODE]:This field holds the code for the G/L company as defined in the G/L Company (IDGC) form. Please click the appropriate GL company line to focus on this GL company and move cursor to input section below.
;[Distribution Heading | DISTRIBUTION_HEADING]:This field defaults the distribution heading from the G/L Company (IDGC) form.
;[Distribution Format | DISTRIBUTION_FORMAT]:This field defaults the distribution format in from the G/L Company (IDGC) form.
[{Image src='IDGS_INPUT.JPG' width='360' align='right' link='attach/IDGS/IDGS_INPUT.JPG'}]
!!INPUT (SEGMENTS 1 THRU 10)
;[Start At | FIELD_START_BYTE]:This is the starting position of the segment. It does not count ‘-’ or ‘.’ as a position i.e. Distribution code: 1234-56-789
Segment 1starts at position 1
Segment 2 starts at position 5
Segment 3 starts at position 7
;[Length | VALUE_LENGTH]:This is the number of characters of the segment. i.e. Distribution code: 1234-56-789
Segment 1 starting at position 1 has a length of 4(1234)
Segment 2 starting at position 5 has a length of 2(56)
Segment 3 starting at position 7 has a length of 3(789)
;[Name | DESCRIPTION]:This field displays the name of the segment highlighted.
e.g. Company, Division, Department, Fund,
;[Prompt | FIELD_PROMPT]:When the Distribution Editor button is invoked on various forms (e.g. IDPP, IDPS, IDJB, IEAS, IPTR, IPPH, etc.), this value in this field is used as a side label for the segment to be entered.
;[GL Value Edit Mask | GL_VALUE_MASK]:This field will aid in the validation of the segment by restricting the type of data to be entered. Specific characters in the segment mask will dictate what can be entered.
9 for a numeric
a for an alpha character
x for any alphanumeric character
;[Mandatory | MANDATORY]:If the toggle is ON, then the segment must be completed at all distribution levels. This means no masking is allowed and the wildcard character ‘?’ should not be used. If the toggle is OFF, then the segment may be completed, wild carded or left blank.
;[Must Validate | MUST_VALIDATE]:If the toggle is ON, then the segment, at the distribution level, will be validated against the information defined in the ‘GL Valid Value’ list in the form below.
;[Journalized Fund | JOURNALIZE_FUND]:This optional toggle will indicate that this segment identifies the funds that are to be journalized and set up in the Define GL Funds (IDGF) form. This allows the application to distribute labor by fund based on grants, fellowships, etc. Please refer to the document GL Fund Distribution.
;[GL Valid Value | GL_VALID_VALUE]:This area holds the list of actual valid segment values to be compared to this segment of the distribution code when you enter the distribution. You must enter the valid values here if the ‘Must Validate’ toggle is ON for the highlighted segment. For example, if the first segment identifies the ‘fund’ you may wish to have the segment valid for only the values ‘110’ or ‘340’. You will define those two values here and they will become the only two accepted values for this distribution code for the first segment.
;[Description | DESCRIPTION]:If desired, a description of the segment may be entered. This may aid users in determining the values they require.
If the Must Validate toggle is turned on, then this description will be shown on the list of values, as well as shown beside the value selected, on the Distribution Editor. If the Must Validate toggle is not on, then this description is not shown on the Distribution Editor.
!Section He[{Image src='ILDI_Tabname.JPG' width='360' align='right' link='attach/ILDI/ILDI_Tabname.JPG'}]
!!VALIDATE

;[FieldName]:Definition