J11 - Account details (Unit Workshop Report Generator variable)

From Catalyst
Jump to: navigation, search

Syntax

J11{O/I/S/W, A/L/N/G/T/M/E/C, 1-6}

Description

There are up to 4 account codes associated with each job. Use the parameters to get the account details you want.

Parameters

O/I/S/W
A text parameter that can be omitted (it defaults to "O").
O
Unit Owner.
I
Insurer (Only applies on insurance jobs).
S
" Sales Ledger" (The account for invoicing, normally the same as the unit owner account)
W
Warranty Account (Only applies on Warranty Jobs).
A/L/N/G/T/M/E/C
A text parameter that can be omitted (it defaults to "A").
A
Account Code.
L
Ledger Code.
S
Sales Ledger (Customers).
P
Purchase Ledger (Suppliers).
C
Contacts (" Unit Workshop" and " Unit Sales" Systems only).
O
Prospects (" Sales Prospecting" Systems only).
N
Account Name, or Line of Address (see the next parameter).
G
Group.
T
Telephone Number.
M
Mobile Number.
E
Email Address.
C
Contact Name.
1-6
A text parameter that can be omitted (it defaults to "1").
Used with the previous parameter 'N'. This specifies the line of address to extract.
1
Name.
2-6
Address Lines 1 to 5.

Returns

A text value whose typical size is 6 characters.