Difference between revisions of "DOCV55 - Access V55 details for the current unit (Unit Sales Report Generator function)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
(New redirection changes)
(Tag: New redirect)
 
Line 1: Line 1:
__NOTOC__
+
#REDIRECT [[DOCV55 - Access unit V55 details (Unit Sales Report Generator function)]]
== Syntax ==
 
'''$DOCV55'''{textparm, index}
 
 
 
== Description ==
 
Retrieve all details currently held in ''Platinum'' that are required for printing a V55 document.
 
 
 
== Parameters ==
 
;textparm
 
:A text parameter that can not be omitted.
 
:An abbreviation of the name of the information required (see below).
 
;index
 
:A numeric parameter that can be omitted (it defaults to "1").
 
:Where a parameter refers to a piece of multi-line information, gives the line required.
 
 
 
== Returns ==
 
A text or numeric (depending on the parameters) value.
 
This function may be used in the following.
 
 
 
;Registration Mark.
 
{{Example|text=
 
$DOCV55{"Reg"}
 
}}
 
 
 
:Returns the unit registration as entered in {{Menu|Unit Properties}}. See [[V07 - Unit registration (Unit Sales Report Generator variable)|V07]].
 
;Sort Code.
 
{{Example|text=
 
$DOCV55{"Sort"}
 
}}
 
 
 
:Returns the document sort code for box {{DataPrompt|S}}. This determines which authority the V55 should be processed by and is taken from {{DataPrompt|V55 support}} for the unit's {{DataPrompt|Body type}}.
 
;Type of Fuel - Description.
 
{{Example|text=
 
$DOCV55{"FuelDesc"}
 
}}
 
 
 
:Returns the description for the type of fuel used by the unit. Taken from the description for the {{DataPrompt|Fuel type}} as entered in {{Menu|Unit Properties}}.
 
;Type of Fuel - DVLA Code.
 
{{Example|text=
 
$DOCV55{"FuelDVLA"}
 
}}
 
 
 
:Returns the DVLA code for the type of fuel used by the unit. Taken from {{DataPrompt|V55 support}} for the unit's {{DataPrompt|Fuel type}}.
 
;Make - MCRIS Code.
 
{{Example|text=
 
$DOCV55{"ManMCRIS"}
 
}}
 
 
 
:Returns the MCRIS code for the make (manufacturer) of the unit. Taken from {{DataPrompt|V55 support}} for the unit's {{DataPrompt|Manufacturer}}.
 
;Make - Description.
 
{{Example|text=
 
$DOCV55{"ManDesc"}
 
}}
 
 
 
:Returns the description of the make (manufacturer) of the unit. Taken from {{DataPrompt|Description}} for the unit's {{DataPrompt|Manufacturer}}. See [[V03 - Manufacturer description (Unit Sales Report Generator variable)|V03]].
 
;Make - DVLA Code.
 
{{Example|text=
 
$DOCV55{"ManDVLA"}
 
}}
 
 
 
:Returns the DVLA code for the make (manufacturer) of the unit. Taken from {{DataPrompt|V55 support}} for the unit's {{DataPrompt|Manufacturer}}.
 
;VIN/Chassis/Frame No.
 
{{Example|text=
 
$DOCV55{"VIN"}
 
}}
 
 
 
:Returns the V.I.N. of the unit. Taken from {{DataPrompt|V.I.N}} as entered in {{Menu|Unit Properties}}. See [[V04 - Unit VIN (Unit Sales Report Generator variable)|V04]].
 
;Model - MCRIS Code.
 
{{Example|text=
 
$DOCV55{"ModMCRIS"}
 
}}
 
 
 
:Returns the MCRIS code for the Model of the unit. Taken from {{DataPrompt|V55 support}} for the unit's {{DataPrompt|Model}}.
 
;Model - Description.
 
{{Example|text=
 
$DOCV55{"ModDesc"[,0->4]}
 
}}
 
 
 
:Returns the Model description for the unit. Taken from {{DataPrompt|Model}} as entered in {{Menu|Unit Properties}}. See [[V21 - Unit model description (Unit Sales Report Generator variable)|V21]].
 
:The optional numeric parameter, which defaults to {{DataValue|1}}, indicates the line of the description to output. A value of {{DataValue|0}} outputs the whole description as one, to a maximum length of 90 characters.
 
;Model - DVLA Code.
 
{{Example|text=
 
$DOCV55{"ModDVLA"}
 
}}
 
 
 
:Returns the DVLA code for the Model of the unit. Taken from {{DataPrompt|V55 support}} for the unit's {{DataPrompt|Model}}.
 
;Engine Number.
 
{{Example|text=
 
$DOCV55{"Engine"}
 
}}
 
 
 
:Returns the Engine Number of the unit. Taken from {{DataPrompt|Engine no.}} as entered in {{Menu|Unit Properties}}. See [[V06 - Unit engine number (Unit Sales Report Generator variable)|V06]].
 
;Type of Body/Unit - Description.
 
{{Example|text=
 
$DOCV55{"BodDesc"}
 
}}
 
 
 
:Returns the description for the Body Type of the unit. Uses the {{DataPrompt|Description}} for the {{DataPrompt|Body type}} as entered in {{Menu|Unit Properties}}. See [[V89 - Unit/Body type (Unit Sales Report Generator variable)|V89]].
 
;Type of Body/Unit - DVLA Code.
 
{{Example|text=
 
$DOCV55{"BodDVLA"}
 
}}
 
 
 
:Returns the DVLA code for the Body Type of the unit. Taken from the {{DataPrompt|Body type}} as entered in {{Menu|Unit Properties}}. See [[V89 - Unit/Body type (Unit Sales Report Generator variable)|V89]].
 
;Cylinder Capacity.
 
{{Example|text=
 
$DOCV55{"CC"}
 
}}
 
 
 
:Returns the Cylinder Capacity of the unit. Taken from {{DataPrompt|Engine size}} as entered in {{Menu|Unit Properties}}. See [[V24 - Engine capacity (Unit Sales Report Generator variable)|V24]].
 
;Wheelplan - Description.
 
{{Example|text=
 
$DOCV55{"WheelplanDesc"}
 
}}
 
 
 
:Returns the description for the Wheelplan of the unit. Uses the {{DataPrompt|Wheelplan}} as entered under {{DataPrompt|V55 general}} for the unit's {{DataPrompt|Model}}.
 
;Wheelplan - DVLA Code.
 
{{Example|text=
 
$DOCV55{"WheelplanDVLA"}
 
}}
 
 
 
:Returns the DVLA code for the Wheelplan of the unit. Taken from the {{DataPrompt|Wheelplan}} as entered under {{DataPrompt|V55 general}} for the unit's {{DataPrompt|Model}}.
 
;Wheelbase.
 
{{Example|text=
 
$DOCV55{"Wheelbase"}
 
}}
 
 
 
:Returns the Wheelbase in mm for the unit model. Taken from the {{DataPrompt|Wheebase}} figure entered under {{DataPrompt|Dimensions}} for the unit's {{DataPrompt|Model}}, multiplied by 1000 to convert to mm. See [[V88 - Dimensions (Unit Sales Report Generator variable)|V88]].
 
:If the selected {{DataPrompt|Units}} for length are {{DataValue|Feet}} and not {{DataValue|Metres}} a conversion will be attempted but it is recommended you stick to using {{DataValue|Metres}}.
 
;Colour(s) - Description.
 
{{Example|text=
 
$DOCV55{"ColDesc"}
 
}}
 
 
 
:Returns the description for the Colour(s) of the unit.
 
:Where {{DataPrompt|Technical colour}} is used, under {{DataPrompt|V55 support}} for each Technical Colour code you may enter up to two standard DVLA colours.
 
:Where {{DataPrompt|Technical colour}} is not used, in order for this to work the text entered against {{DataPrompt|Colour}} in {{Menu|Unit Properties}} should exactly match one of the standard DVLA colours.
 
;Colour(s) - DVLA Code(s).
 
{{Example|text=
 
$DOCV55{"ColDVLA"}
 
}}
 
 
 
:Returns the DVLA code(s) for the Colour(s) of the unit. See "Colour(s) - Description" above.
 
;CO2.
 
{{Example|text=
 
$DOCV55{"CO2"}
 
}}
 
 
 
:Returns the CO2 emissions for the unit. Taken from the {{DataPrompt|CO2}} figure entered under {{DataPrompt|V55 measurements}} for the unit's {{DataPrompt|Model}}.
 
;Type Approval - Number.
 
{{Example|text=
 
$DOCV55{"TypeNo"}
 
}}
 
 
 
:Returns the Type Approval Number for the unit. Taken from the {{DataPrompt|Type approval no}} figure entered under {{DataPrompt|V55 general}} for the unit's {{DataPrompt|Model}}.
 
;Type Approval - Category.
 
{{Example|text=
 
$DOCV55{"TypeCat"}
 
}}
 
 
 
:Returns the Type Category for the unit. Taken from the {{DataPrompt|Category}} figure entered under {{DataPrompt|V55 general}} for the unit's {{DataPrompt|Model}}.
 
;Mass in Service.
 
{{Example|text=
 
$DOCV55{"MassInService"}
 
}}
 
 
 
:Returns the Mass in Service for the unit. Taken from the {{DataPrompt|Mass in service}} figure entered under {{DataPrompt|V55 measurements}} for the unit's {{DataPrompt|Model}}.
 
;Type.
 
{{Example|text=
 
$DOCV55{"Type"}
 
}}
 
 
 
:Returns the Type for the unit. Taken from the {{DataPrompt|Type}} figure entered under {{DataPrompt|V55 general}} for the unit's {{DataPrompt|Model}}.
 
;Particulates.
 
{{Example|text=
 
$DOCV55{"Particulates"}
 
}}
 
 
 
:Returns the Particulates emissions for the unit. Taken from the {{DataPrompt|Particulates}} figure entered under {{DataPrompt|V55 measurements}} for the unit's {{DataPrompt|Model}}.
 
;Variant.
 
{{Example|text=
 
$DOCV55{"Variant"}
 
}}
 
 
 
:Returns the Model Variant for the unit. Taken from the {{DataPrompt|Variant}} figure entered under {{DataPrompt|V55 general}} for the unit's {{DataPrompt|Model}}.
 
;CO.
 
{{Example|text=
 
$DOCV55{"CO"}
 
}}
 
 
 
:Returns the CO emissions for the unit. Taken from the {{DataPrompt|CO}} figure entered under {{DataPrompt|V55 measurements}} for the unit's {{DataPrompt|Model}}.
 
;Version.
 
{{Example|text=
 
$DOCV55{"Version"}
 
}}
 
 
 
:Returns the Model Version for the unit. Taken from the {{DataPrompt|Version}} figure entered under {{DataPrompt|V55 general}} for the unit's {{DataPrompt|Model}}.
 
;HC + NOx.
 
{{Example|text=
 
$DOCV55{"HC-NOX"}
 
}}
 
 
 
:Returns the HC + NOx emissions for the unit. Taken from the {{DataPrompt|HC + NOx}} figure entered under {{DataPrompt|V55 measurements}} for the unit's {{DataPrompt|Model}}.
 
;Length.
 
{{Example|text=
 
$DOCV55{"Length"}
 
}}
 
 
 
:Returns the Length in mm for the unit model. Taken from the {{DataPrompt|Ext. length}} figure entered under {{DataPrompt|Dimensions}} for the unit's {{DataPrompt|Model}}, multiplied by 1000 to convert to mm. See [[V88 - Dimensions (Unit Sales Report Generator variable)|V88]].
 
:If the selected {{DataPrompt|Units}} for length are {{DataValue|Feet}} and not {{DataValue|Metres}} a conversion will be attempted but it is recommended you stick to using {{DataValue|Metres}}.
 
;Width.
 
{{Example|text=
 
$DOCV55{"Width"}
 
}}
 
 
 
:Returns the Width in mm for the unit model. Taken from the {{DataPrompt|Ext. width}} figure entered under {{DataPrompt|Dimensions}} for the unit's {{DataPrompt|Model}}, multiplied by 1000 to convert to mm. See [[V88 - Dimensions (Unit Sales Report Generator variable)|V88]].
 
:If the selected {{DataPrompt|Units}} for length are {{DataValue|Feet}} and not {{DataValue|Metres}} a conversion will be attempted but it is recommended you stick to using {{DataValue|Metres}}.
 
;HC.
 
{{Example|text=
 
$DOCV55{"HC"}
 
}}
 
 
 
:Returns the HC emissions for the unit. Taken from the {{DataPrompt|HC}} figure entered under {{DataPrompt|V55 measurements}} for the unit's {{DataPrompt|Model}}.
 
;NOx.
 
{{Example|text=
 
$DOCV55{"NOX"}
 
}}
 
 
 
:Returns the NOx emissions for the unit. Taken from the {{DataPrompt|NOx}} figure entered under {{DataPrompt|V55 measurements}} for the unit's {{DataPrompt|Model}}.
 
;Stationary Sound Level.
 
{{Example|text=
 
$DOCV55{"StatSound"}
 
}}
 
 
 
:Returns the Stationary Sound Level for the unit model. Taken from the {{DataPrompt|Stationary sound}} figure entered under {{DataPrompt|V55 measurements}} for the unit's {{DataPrompt|Model}}.
 
;Unladen Weight.
 
{{Example|text=
 
$DOCV55{"UnlWeight"}
 
}}
 
 
 
:Returns the Unladen Weight for the unit model. Taken from the {{DataPrompt|Unladen weight}} figure entered under {{DataPrompt|Dimensions}} for the unit's {{DataPrompt|Model}}. See [[V88 - Dimensions (Unit Sales Report Generator variable)|V88]].
 
:This will only work if the selected {{DataPrompt|Units}} are {{DataValue|Kilograms}}.
 
;Revenue Weight.
 
{{Example|text=
 
$DOCV55{"LadWeight"}
 
}}
 
 
 
:Returns the Laden Weight for the unit model. Taken from the {{DataPrompt|Laden weight}} figure entered under {{DataPrompt|Dimensions}} for the unit's {{DataPrompt|Model}}. See [[V88 - Dimensions (Unit Sales Report Generator variable)|V88]].
 
:This will only work if the selected {{DataPrompt|Units}} are {{DataValue|Kilograms}}.
 
;Engine Speed Sound Level.
 
{{Example|text=
 
$DOCV55{"EngSound"}
 
}}
 
 
 
:Returns the Engine Speed Sound Level for the unit model. Taken from the {{DataPrompt|Eng.speed sound}} figure entered under {{DataPrompt|V55 measurements}} for the unit's {{DataPrompt|Model}}.
 
;Number of Seats.
 
{{Example|text=
 
$DOCV55{"Seats"}
 
}}
 
 
 
:Returns the Number of Seats for the unit model. Taken from the {{DataPrompt|Seats}} figure entered under {{DataPrompt|V55 general}} for the unit's {{DataPrompt|Model}}.
 
;Drive-by Sound Level.
 
{{Example|text=
 
$DOCV55{"DrvSound"}
 
}}
 
 
 
:Returns the Drive-by Sound Level for the unit model. Taken from the {{DataPrompt|Drive-by sound}} figure entered under {{DataPrompt|V55 measurements}} for the unit's {{DataPrompt|Model}}.
 
;Max Net Power.
 
{{Example|text=
 
$DOCV55{"NetPower"}
 
}}
 
 
 
:Returns the Max Net Power for the unit model. Taken from the {{DataPrompt|Max net power}} figure entered under {{DataPrompt|V55 measurements}} for the unit's {{DataPrompt|Model}}.
 
;Power/Weight Ratio.
 
{{Example|text=
 
$DOCV55{"PowerWeight"}
 
}}
 
 
 
:Returns the Power/Weight Ratio for the unit model. Taken from the {{DataPrompt|Power/weight}} figure entered under {{DataPrompt|V55 measurements}} for the unit's {{DataPrompt|Model}}.
 
;Euro status.
 
{{Example|text=
 
$DOCV55{"EuroStatus"}
 
}}
 
 
 
:Returns the Euro status for the unit model. Taken from the {{DataPrompt|Euro status}} entered under {{DataPrompt|V55 general}} for the unit's {{DataPrompt|Model}}.
 
;Euro status directive no.
 
{{Example|text=
 
$DOCV55{"EuroStatusDir"}
 
}}
 
 
 
:Returns the Euro status directive no. for the unit model. Taken from the {{DataPrompt|Euro status directive}} entered under {{DataPrompt|V55 general}} for the unit's {{DataPrompt|Model}}.
 
;Unit family identification number.
 
{{Example|text=
 
$DOCV55{"VehFamID"}
 
}}
 
 
 
:Returns the unit family identification number for the unit model. Taken from the {{DataPrompt|Unit family ID}} entered under {{DataPrompt|V55 WLTP/RDE}} for the unit's {{DataPrompt|Model}}.
 
;Specific CO2 emissions (WLTP).
 
{{Example|text=
 
$DOCV55{"SpecCO2WLTP"}
 
}}
 
 
 
:Returns the Specific CO2 emissions (WLTP) figure for the unit model. Taken from the {{DataPrompt|Specific CO2 emissions (WLTP)}} entered under {{DataPrompt|V55 WLTP/RDE}} for the unit's {{DataPrompt|Model}}.
 
;Deviation factor.
 
{{Example|text=
 
$DOCV55{"DevFactor"}
 
}}
 
 
 
:Returns the Deviation factor for the unit model. Taken from the {{DataPrompt|Deviation factor}} entered under {{DataPrompt|V55 WLTP/RDE}} for the unit's {{DataPrompt|Model}}.
 
;Verification factor.
 
{{Example|text=
 
$DOCV55{"VeriFactor"}
 
}}
 
 
 
:Returns the Verification factor for the unit model. Taken from the {{DataPrompt|Verification factor}} entered under {{DataPrompt|V55 WLTP/RDE}} for the unit's {{DataPrompt|Model}}.
 
;WLTP test mass.
 
{{Example|text=
 
$DOCV55{"TestMass"}
 
}}
 
 
 
:Returns the WLTP test mass for the unit model. Taken from the {{DataPrompt|WLTP test mass}} entered under {{DataPrompt|V55 WLTP/RDE}} for the unit's {{DataPrompt|Model}}.
 
;Electric energy consumption.
 
{{Example|text=
 
$DOCV55{"ElecEnergyCons"}
 
}}
 
 
 
:Returns the Electric energy consumption for the unit model. Taken from the {{DataPrompt|Electric energy consumption}} entered under {{DataPrompt|V55 WLTP/RDE}} for the unit's {{DataPrompt|Model}}.
 
;Code/group for innovative technology.
 
{{Example|text=
 
$DOCV55{"InnoTechCode"}
 
}}
 
 
 
:Returns the Code/group for innovative technology for the unit model. Taken from the {{DataPrompt|Code/group for innovative tech}} entered under {{DataPrompt|V55 WLTP/RDE}} for the unit's {{DataPrompt|Model}}.
 
;Emissions reduction through innovative tech (WLTP).
 
{{Example|text=
 
$DOCV55{"InnoTechWLTP"}
 
}}
 
 
 
:Returns the Emissions reduction through innovative tech (WLTP) for the unit model. Taken from the {{DataPrompt|Emissions reduction (WLTP)}} entered under {{DataPrompt|V55 WLTP/RDE}} for the unit's {{DataPrompt|Model}}.
 
;Emissions reduction through innovative tech (NEDC).
 
{{Example|text=
 
$DOCV55{"InnoTechNEDC"}
 
}}
 
 
 
:Returns the Emissions reduction through innovative tech (NEDC) for the unit model. Taken from the {{DataPrompt|Emissions reduction (NEDC)}} entered under {{DataPrompt|V55 WLTP/RDE}} for the unit's {{DataPrompt|Model}}.
 
;RDE.
 
{{Example|text=
 
$DOCV55{"RDE"}
 
}}
 
 
 
:Returns the RDE test code for the unit model. Taken from the {{DataPrompt|RDE}} entered under {{DataPrompt|V55 WLTP/RDE}} for the unit's {{DataPrompt|Model}}.
 
;Maximum NOx value 1.
 
{{Example|text=
 
$DOCV55{"RDEMaxNOxVal1"}
 
}}
 
 
 
:Returns the Maximum NOx value 1 for the unit model. Taken from the {{DataPrompt|Maximum NOx value 1}} entered under {{DataPrompt|V55 WLTP/RDE}} for the unit's {{DataPrompt|Model}}.
 
;Maximum NOx value 2.
 
{{Example|text=
 
$DOCV55{"RDEMaxNOxVal2"}
 
}}
 
 
 
:Returns the Maximum NOx value 2 for the unit model. Taken from the {{DataPrompt|Maximum NOx value 2}} entered under {{DataPrompt|V55 WLTP/RDE}} for the unit's {{DataPrompt|Model}}.
 
;Original Dealer Code.
 
{{Example|text=
 
$DOCV55{"DealerCode"}
 
}}
 
 
 
:Returns the Original Dealer Code for the ''Platinum'' system in use. Taken from {{DataPrompt|Original Dealer Code}} entered in {{Menu|Reports & Settings|Maintenance Options|System Administrator|Platinum Settings}}.
 
;Original Dealer - Name.
 
{{Example|text=
 
$DOCV55{"DealerName"[,1/2]}
 
}}
 
 
 
:Returns the first or second lines of the ''Platinum'' system {{DataPrompt|Company Name}}. See [[D20 - Company Name (Reports & Settings Report Generator variable)|D20]].
 
;Original Dealer - Address/Postcode.
 
{{Example|text=
 
$DOCV55{"DealerAddress"[,1/2/3/4/5]}
 
}}
 
 
 
:Returns lines 1-5 of the ''Platinum'' system {{DataPrompt|Company Address}}. See [[D21 - Company Address (Reports & Settings Report Generator variable)|D21]].
 
;System MCRIS Registration Number.
 
{{Example|text=
 
$DOCV55{"MCRISRegNo"}
 
}}
 
 
 
:Mandatory for subscribers to the service, returns the MCRIS Registration Number for the ''Platinum'' system in use. Taken from {{DataPrompt|MCRIS subscriber number}} entered in {{Menu|Reports & Settings|Maintenance Options|System Administrator|Platinum Settings}}.
 
;Date Printed.
 
{{Example|text=
 
$DOCV55{"PrintDate"}
 
}}
 
 
 
:Mandatory for MCI Members, returns the current system date in DD/MM/CCYY format. See [[D11 - System Date (Reports & Settings Report Generator variable)|D11]].
 
 
 
{{KB_Tags|vehicle, unit, wholegood}}
 
[[Category:Unit Sales Report Generator functions]]
 

Latest revision as of 05:59, 16 April 2020