<!--                                                                  -->
<!--  Copyright (C) 2006 RoyaltyShare, Inc.   All Rights Reserved     -->
<!--  $Id$  -->
<!--                                                                  -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:dyn="http://exslt.org/dynamic" extension-element-prefixes="dyn">
    <xsl:output method="html" indent="no" doctype-system="" encoding="utf-8" />

    <xsl:include href="/app/tools/bookpub/templates/help/help_layout.xsl" />

    <xsl:template name="helpHeader">Help - File Library</xsl:template>
    <xsl:template name="helpPage">
        <h2>General Information</h2>

        <p>
            The "File Library" page allows you to locate and review all sales files that have been uploaded to your site. This tool provides a centralized view of your sales file ingestion history, enabling you to filter by specific services and see which revenue periods your files, and their subsequent split portions, have been allocated to.
        </p>

        <p>The following fields and filters appear on the "File Library" page:</p>

        <dl>
            <dt>Service</dt>
            <dd>Lists the services (distributors and DSPs) associated with your uploaded sales files. Users can select "All Services" to view a comprehensive list or select an individual service to narrow the results.</dd>

            <dt>Date Type</dt>
            <dd>Select the primary date criteria for your search:</dd>
            <dd>
                <ul>
                    <li><b>File Received Date</b> - Filters the results based on the actual date the file was uploaded to your site.</li>
                    <li><b>Closed Period Date</b> - Filters the results based on revenue periods closed within the selected date range.</li>
                </ul>
            </dd>

            <dt>Start Date / End Date</dt>
            <dd>Allows you to define a specific date range for your search based on the Date Type selected above. Use the calendar icons to select the beginning and end of your reporting window.</dd>

            <dt>Files Per Page</dt>
            <dd>Adjusts the number of records displayed in the results table. Users can select from 25, 50, 100 or All files per page.</dd>

            <dt>Apply Filter / Clear</dt>
            <dd>Select "Apply Filter" to update the table results based on your selected criteria. Select "Clear" to reset all dropdowns and date fields to their default state.</dd>
        </dl>

        <hr />

        <h2>The Results Table</h2>

        <p>The following fields appear in the results table:</p>

        <dl>
            <dt>Service</dt>
            <dd>The name of the distributor or DSP providing the sales file.</dd>

            <dt>File Name</dt>
            <dd>The name of the file, including the file format extension.</dd>
            <dd>
                <ul>
                    <li>Files can be downloaded by clicking on the file name link.</li>
                    <li>You will see a tool tip indicating if a file has been split. Note: Clicking the file name against a split file will download the full, unsplit file.</li>
                </ul>
            </dd>

            <dt>Received</dt>
            <dd>The date the file was uploaded to your site. If a file has been split, the received date indicates the date that portion of the file was split.</dd>
            <dd>
                <ul>
                    <li>Note: When a file is split after import, the system assigns Received Dates based on the following logic:
                        <ul>
                            <li>Original Portion (SP1): Retains the date the file was initially uploaded to the site.</li>
                            <li>New Portions (SP2+): These are treated as new system entries and are assigned the date that the split occurred.</li>
                        </ul>
                    </li>
                </ul>
            </dd>

            <dt>Units</dt>
            <dd>The total number of units processed in the sales file.</dd>

            <dt>Revenue</dt>
            <dd>The amount of revenue processed from the file in the base currency of the RoyaltyShare website.</dd>
            <dd>
                <ul>
                    <li>Note: Foreign revenue amounts will appear in parentheses next to the base currency amount.</li>
                </ul>
            </dd>

            <dt>Records</dt>
            <dd>The total number of records, or lines, processed in the sales file.</dd>

            <dt>Period</dt>
            <dd>Indicates the specific sales period the file is assigned to. Clicking the period link here will open the period in a new tab.</dd>
            <dd>For split files, click the '+' icon to see the period details of all related segments of the file.</dd>

            <dt>Closed</dt>
            <dd>Displays the date the period was closed.</dd>

            <dt>Notes</dt>
            <dd>Displays any notes added against the file. Note: Only the first three letters of the text string entered will be viewable, however, you can hover over the text to display the full note.</dd>
        </dl>
    </xsl:template>

</xsl:stylesheet>