
The attached script (createQr.pl) preforms 2 actions:
1.	Calculate the use of quantitative resources and add them to the server.
2.	Add in-condition / control resource to smart tables according to cauexpr data file.

Usage:
	Perl createQr.pl -DRAFT <Draft file name> -CAUEXPR <Cauexpr file name>
					[-RESOURCE {INCOND|CONTROL|NOTHING}]
					[-RATIO <Calculation ratio>]
					[-OVERIDE <Override file name>]
					[-OUTPUT <XML Output file name>]
Where:
	-DRAFT:  XML draft created by the conversion tool.
	-CAUEXPR: Cauexpr data file.
	-RESOURCE: Resource type to add to smart tables, INCOND for in-condition, CONTROL for control resource, NOTHING: do not add at all (default: in-condition). 
	-RATIO: The ratio between the max demand of resource and the maximal resource amount to define at the server. Maximal amount will be  <highest demand>*<ratio> (default ratio: 1).
	-OVERIDE: Override file name which define max available for specific quantitative resource (see below for override file description).
	-OUTPUT: File name for the output draft (default: output_draft.xml).

	
In-condition: In case INCOND option used the in-condition name will be QR_<resourceName>. 

Note: the report about the creating of quantiative resources at the server is exported 
	  to file add_to_server_report.txt at local path.

Override file format:
	The override file should be a txt file built at this format, every line represent one resource:
	
	ResourceName  MaxAvailableAmount
	  
