EditDatetoString

Edit String for Period or Date

Minor Business Rule

Object Name: B0000156

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Purpose
Take a date structure and format it to a string.

Data Structure

D0000156A - Edit Date to String

Parameter NameData ItemData TypeReq/OptI/O/Both
jdDateDGLJDEDATEREQINPUT

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

szStringPNDGLOWcharREQOUTPUT

This entry field designates either a period within the current fiscal year or a specific date. To designate a period of the current fiscal year for 
the selected company,enter a number from 1 to 14. For example, enter 10 for period 10 of the current year. To designate a date, use your 
company's fiscal date pattern. For example,enter 01/01/99 for the fiscal date of January 1, 1999.

cSuppressErrorMessageEV01charOPTINPUT

An option that specifies the type of processing for an event.

szErrorMessageDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

Related Functions

None

Related Tables

None
EditStringForPeriodOrDate

EditStringForPeriodOrDate

Edit String for Period or Date

Minor Business Rule

Object Name: B0000156

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Purpose
Validate a string for a period or date. Return the correct field.

Data Structure

D0000156 - Edit String for Period or Date

Parameter NameData ItemData TypeReq/OptI/O/Both
szStringDL01charREQBOTH

A user defined name or remark.

mnPeriodNumberPNMATH_NUMERICOPTOUTPUT

A number indicating the current accounting period.  This number, used in conjunction with the Company Constants table (F0010) and the 
General Constants table (F0009), allows the user to define up to 14 accounting periods. See General Ledger Date.  The current period number 
is used to determine posted before and posted after cut off warning messages.  It is also used as the default accounting period in the 
preparation of financial reports.

jdDateDGLJDEDATEOPTOUTPUT

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

cSuppressErrorMessageEV01charOPTINPUT

An option that specifies the type of processing for an event.

szErrorMessageIDDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

Related Functions

None

Related Tables

None