Skip to main content

Importing Contract Data

You can import your existing contract data to FlexNet Manager for Engineering Applications using an XML file. The XML schema (contracts.xsd) is located in the FlexNet Manager for Engineering Applications Admin installation directory in the following location: \<fnm_admin_installdir\>``\site\samples.

The following is an example of an XML contract import file.

<?xml version="1.0" encoding="UTF-8"?>
<vendor name="Mentor Graphics">
<contract endDate="2011-12-31" fixedCost="1000000" name="Contract One" notes="contract notes" paymentAmount="100000" paymentEndDate="2011-10-01" paymentInterval="4" paymentStartDate="2009-04-01" startDate="2009-01-01" variableCost="500000">
  • <pool annualFeePercent="30.0" discountPercent="60.0" geography="geo notes" initialValue="23456" name="Pool One" notes="pool notes" remixablePercent="100.0" remixesPerYear="4" shareable="global" site="Site notes">
  • <product listPrice="2345" producerName="Mentor Graphics" productName="Advanced Interconnect Op SW" productNumber="206143" productVersion="1">
  • <license effectiveDate="2009-01-01" notes="License Comments" poNumber="ponum" purchaseReq="purch req" quantity="123"/>
  • <license effectiveDate="2009-07-01" quantity="22"/>
  • </product>
  • <product listPrice="44444" producerName="Mentor Graphics" productName="Advanced Rule Set Op SW" productNumber="214756" productVersion="1">
  • <license effectiveDate="2009-01-01" quantity="333"/>
  • </product>
  • </pool>
  • <pool annualFeePercent="25.0" discountPercent="60.0" forProductionUse="false" initialValue="234234" licensingModel="timeBased" name="Pool two" remixablePercent="52.564102" remixesPerYear="2" shareable="regional">
  • <product listPrice="54444" producerName="Mentor Graphics" productName="Boardsim" productNumber="Unknown" productVersion="1">
  • <license effectiveDate="2009-01-01" expireDate="2009-12-31" quantity="32"/>
  • </product>
  • <product listPrice="23423" producerName="Mentor Graphics" productName="Board Station Designer" productNumber="39986" productVersion="1">
  • <license effectiveDate="2009-01-01" expireDate="2009-12-31" quantity="345"/>
  • </product>
  • </pool>
</contract>
</vendor>

To import the contract data XML file:

  1. From a Command prompt, change to the FlexNet Manager for Engineering Applications Admin installation directory.
  2. Type the following command:
    • flexnet importcontracts –u <user> –p <password> –f<filename_with_path&gt; [–s <server>]