General Ledger Interfaces
GL Journal Import
Import General Ledger journal entry totals.
PrismCore Import_GL_Journal Table Names
(Use this for interfaces that bypass WPConsole and go directly to prism_trn)
Column | Data Type | Length | Prec | Scale | Description |
---|---|---|---|---|---|
entry_number | char | 25 | 25 |
|
|
tran_code_id | int | 4 | 10 | 0 |
|
store_id | int | 4 | 10 | 0 |
|
create_date | datetime | 8 | 23 | 3 |
|
post_date | datetime | 8 | 23 | 3 |
|
gl_period | int | 4 | 10 | 0 |
|
gl_year | int | 4 | 10 | 0 |
|
debit_amount | money | 8 | 19 | 4 |
|
credit_amount | money | 8 | 19 | 4 |
|
reference | char | 80 | 80 |
|
|
reverse_entry | char | 25 | 25 |
|
|
b_reversable | tinyint | 1 | 3 | 0 |
|
tm_stamp | timestamp | 8 | 8 |
| SQL timestamp |
ASCII Delimited Format
entry_number | char | 25 |
tran_code_id | int |
|
create_date | datetime |
|
post_date | datetime |
|
store_id | int |
|
gl_period | int |
|
gl_year | int |
|
credit_amount | money |
|
debit_amount | money |
|
reference | char | 80 |
reverse_entry | char | 25 |
b_reversable | int |
|
XML Definition
The XML definition uses the same fields as the ASCII Formats. Note: some fields will be omitted if there is no corresponding data. All attributes are CDATA #IMPLIED.
<?xml version="1.0"?>
<trn_gl_jrn_imports>
<trn_gl_jrn_import
entry_number="JT-00000576"
tran_code_id="1"
create_date="07/16/2007"
post_date=""
store_id="9"
gl_period="4"
gl_year="2005"
credit_amount="5.4300"
debit_amount="5.4300"
reference="Reference for JT-00000576"
reverse_entry=""
b_reversable="0"
/>
</trn_gl_jrn_imports>
PRISM Format for GL Journal Import
Not defined at this time, call R&D if needed.
GL Journal Detail Import
Imports General Ledger journal entry details.
PrismCore Import_Gl_Journal Detail Table Names
(Use this for interfaces that bypass WPConsole and go directly to prism_trn)
Column | Data Type | Length | Prec | Scale | Description |
---|---|---|---|---|---|
entry_number | char | 25 | 25 |
|
|
line_number | int | 4 | 10 | 0 |
|
tran_code_id | int | 4 | 10 | 0 |
|
store_id | int | 4 | 10 | 0 |
|
gl_account | char | 25 | 25 |
|
|
gl_description | char | 80 | 80 |
|
|
debit_amount | money | 8 | 19 | 4 |
|
credit_amount | money | 8 | 19 | 4 |
|
currency_code | char | 3 | 3 |
| USD or CAD |
exch_rate | decimal | 9 | 10 | 8 |
|
tm_stamp | timestamp | 8 | 8 |
| SQL timestamp |
ASCII Delimited Format
entry_number | char | 25 |
tran_code_id | int |
|
gl_account | char | 25 |
gl_description | char | 80 |
line_number | int |
|
debit_amount | money |
|
credit_amount | money |
|
store_id | int |
|
|
|
|
|
|
|
XML Definition
<?xml version="1.0"?>
<trn_gl_jrnd_imports>
<trn_gl_jrnd_import
entry_number="JT-00000576"
tran_code_id="1"
gl_account="60880"
gl_description="MISCELLANEOUS EXPENSE"
line_number = "3741"
debit_amount="5.4300"
credit_amount=".0000"
store_id="9"
/>
<trn_gl_jrnd_import
entry_number="JT-00000576"
tran_code_id="1"
gl_account="60770"
gl_description="INVOICE CREDIT"
line_number = "3742"
debit_amount=".0000"
credit_amount="5.4300"
store_id="9"
/>
</trn_gl_jrnd_imports>
PRISM Format for GL Journal Detail Import
Not defined at this time, call Support if needed.
GL Journal Export
Exports General Ledger journal entry totals.
PrismCore Export_GL_Journal Table Names
(Use this for interfaces that bypass WPConsole and go directly to prism_trn)
Note: The export files for GL Journal Export and GL Journal Detail Export will only be created when running the “Export GL” module in the PrismCore Admin program.
Column | Data Type | Length | Prec | Scale | Description |
---|---|---|---|---|---|
entry_number | char | 25 | 25 |
|
|
tran_code_id | int | 4 | 10 | 0 |
|
store_id | int | 4 | 10 | 0 |
|
create_date | datetime | 8 | 23 | 3 |
|
post_date | datetime | 8 | 23 | 3 |
|
gl_period | int | 4 | 10 | 0 |
|
gl_year | int | 4 | 10 | 0 |
|
debit_amount | money | 8 | 19 | 4 |
|
credit_amount | money | 8 | 19 | 4 |
|
reference | char | 80 | 80 |
|
|
reverse_entry | char | 25 | 25 |
|
|
b_reversable | tinyint | 1 | 3 | 0 |
|
tm_stamp | timestamp | 8 | 8 |
| SQL timestamp |
ASCII Delimited Format
entry_number | char | 25 |
tran_code_id | int |
|
store_id | int |
|
create_date | datetime |
|
post_date | datetime |
|
gl_period | int |
|
gl_year | int |
|
debit_amount | money |
|
credit_amount | money |
|
reference | char | 80 |
reverse_entry | char | 25 |
b_reversable | int |
|
XML Definition
The XML definition uses the same fields as the ASCII Formats. Note: some fields will be omitted if there is no corresponding data. All attributes are CDATA #IMPLIED.
<?xml version="1.0"?>
<trn_gl_jrn_exports>
<trn_gl_jrn_export
entry_number="JT-00000576"
tran_code_id="1"
store_id="9"
create_date="07/16/2007"
post_date=""
gl_period="4"
gl_year="2005"
debit_amount="5.4300"
credit_amount="5.4300"
reference="Reference for JT-00000576"
reverse_entry=""
b_reversable="0"
/>
</trn_gl_jrn_exports>
PRISM Format for GL Journal Export
All Dates are in MM/DD/YY format - (03/05/95).
All amounts have an embedded decimal points but no leading zeros - ( 10.23).
All fields have a tilde (~) between them and end in a CR/LF.
Name | Length | Description |
---|---|---|
Type | 1 | 'G' General Ledger Type |
Record | 1 | 'H' Journal Entry Record - Header |
Entry | 10 | Journal Entry Number |
Tran Code | 2 | Journal Transaction Code: |
Create Date | 8 | Entry Create Date 99/99/99 |
Posted Date | 8 | Entry Post Date 99/99/99 |
Store | 3 | Store Number |
GL Period | 2 | GL Period |
GL Year | 4 | GL Year (4 Digit - 1998) |
Debit | 10 | Total Debits |
Credit | 10 | Total Credits |
Reference | 40 | Reference |
Reversable | 1 | Reversable Entry 'Y' or 'N' |
Rev Entry | 10 | Reversable Entry Number |
GL Journal Detail Export
Exports General Ledger journal entry details.
PrismCore Export_GL_Journal_Detail Table Names
(Use this for interfaces that bypass WPConsole and go directly to prism_trn)
Note: The export files for GL Journal Export and GL Journal Detail Export will only be created when running the “Export GL” module in the PrismCore Admin program.
Column | Data Type | Length | Prec | Scale | Description |
---|---|---|---|---|---|
entry_number | char | 25 | 25 |
|
|
line_number | int | 4 | 10 | 0 |
|
tran_code_id | int | 4 | 10 | 0 |
|
store_id | int | 4 | 10 | 0 |
|
gl_account | char | 25 | 25 |
|
|
gl_description | char | 80 | 80 |
|
|
debit_amount | money | 8 | 19 | 4 |
|
credit_amount | money | 8 | 19 | 4 |
|
currency_code | char | 3 | 3 |
| USD or CAD |
exch_rate | decimal | 9 | 10 | 8 |
|
tm_stamp | timestamp | 8 | 8 |
| SQL timestamp |
ASCII Delimited Format
entry_number | char | 25 |
line_number | int |
|
tran_code_id | int |
|
store_id | int |
|
gl_account | char | 25 |
gl_description | char | 80 |
debit_amount | money |
|
credit_amount | money |
|
XML Definition
The XML definition uses the same fields as the ASCII Formats. Note: some fields will be omitted if there is no corresponding data. All attributes are CDATA #IMPLIED.
<?xml version="1.0"?>
<trn_gl_jrnd_exports>
<trn_gl_jrnd_export
entry_number="JT-00000576"
line_number="3660"
tran_code_id="1"
store_id="9"
gl_account="60880"
gl_description="MISCELLANEOUS EXPENSE"
debit_amount="5.4300"
credit_amount=".0000"
/>
<trn_gl_jrnd_export
entry_number="JT-00000576"
line_number="3661"
tran_code_id="1"
store_id="9"
gl_account="60770"
gl_description="INVOICE CREDIT"
debit_amount=".0000"
credit_amount="5.4300"
/>
</trn_gl_jrnd_exports>
PRISM Format for GL Journal(GLDIST) Detail Export
All Dates are in MM/DD/YY format - (03/05/95).
All amounts have an embedded decimal points but no leading zeros - ( 10.23).
All fields have a tilde (~) between them and end in a CR/LF.
Name | Length | Description |
---|---|---|
Type | 1 | 'G' General Ledger Type |
Record | 1 | 'D' Journal Entry - Detail |
Entry | 10 | Journal Entry Number |
Tran Code | 2 | Journal Transaction Code (see above) |
GL Acct | 25 | General Ledger Account Number |
Desc | 30 | Description |
Line | 10 | Line Number |
Debit | 10 | Debit Amount |
Credit | 10 | Credit Amount |
Store | 3 | Store Number |
Total | 10 | Debit - Credit |