Difference between revisions of "V50 - Finance dates (Unit Sales Report Generator variable)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
 
(Updated from revision control)
 
Line 45: Line 45:
 
A text or numeric (depending on the parameters) value whose typical size is 10 characters.
 
A text or numeric (depending on the parameters) value whose typical size is 10 characters.
  
{{KB_Tags|date, day, month, year}}
+
{{KB_Tags|vehicle, unit, wholegood, date, day, month, year}}
 
[[Category:Unit Sales Report Generator variables]]
 
[[Category:Unit Sales Report Generator variables]]

Latest revision as of 06:46, 12 December 2018

Syntax

V50{F/T, N/T, CCYYMMDD}

Description

The from and to dates of the finance agreement.

Parameters

F/T
A text parameter that can be omitted (it defaults to "F").
F
Finance Agreement Start.
T
Finance Agreement End.
N/T
A text parameter that can be omitted (it defaults to "N").
N
Numeric result. This is the number of days since the first of January 1980. This is most commonly used for sorting purposes.
T
Text result. This is the date formatted for display, e.g. '01/01/2004'. You can optionally use the next parameter to control the exact format.
CCYYMMDD
A text parameter that can be omitted (it defaults to "DD/MM/CCYY").
When the previous parameter is 'T', this parameter can be used to control the exact format. The following four values can be combined in any order, with separating characters if required.
DD
Day (01 to 31).
MM
Month (01 to 12).
CC
Century (19 or 20).
YY
Year (00 to 99).
DD/MM/CCYY
Same as the default.
MM/DD/CCYY
Output in USA format.
CCYYMMDD
Use for sorting into date order (would have the same effect as using the numeric result).
CCYYMM
Use for grouping by month.


Returns

A text or numeric (depending on the parameters) value whose typical size is 10 characters.

Feedback
Thank you for using our Knowledge Base, we value your feedback. Did you find this article useful? 'Yes' or 'No'
Keywords AND Misspellings
vehicle, unit, wholegood, date, day, month, year