Asset Management Suite

 View Only
  • 1.  PO Missing Information

    Posted Sep 30, 2013 04:25 PM

    I created a new purchase order and printed it out.  The purchase order does not have any useful information within it.  Is there a way to get my companies name and address on it along with the vendors name and address?   What good is sending out a PO with only an order number, delivery date and a few line items? 



  • 2.  RE: PO Missing Information

    Posted Oct 10, 2013 09:52 AM

    Maybe an invoice would better serve your purpose ? 



  • 3.  RE: PO Missing Information

    Posted Oct 10, 2013 10:43 AM

    I created an invoice with the required fields.  When I go to Print Preview the Bill Address and Ship Address are showing up on a single line.  Is there a way to get the billing address and shipping address to show vertically when printing?



  • 4.  RE: PO Missing Information

    Posted Oct 10, 2013 12:04 PM

    Well I can explain you how it works but you are going to modify Symantec templates and if you go there you will need to support this yourself and it can be overwritten by any update you make.

    The print preview template is
    Program Files\Altiris\AssetControl\Web\Printing\Invoice.html.xslt

    and the save to word template is
    Program Files\Altiris\AssetControl\Web\Printing\Invoice.rtf.xslt

    You need a bit a xlt and web coding knowledge to work with this. 

    Here is one way of acheiving multiline bill and ship address.  I just added a textarea to wrap the text fields.

    Make a backup of Invoice.html.xslt
    Edit Invoice.html.xslt

    BEFORE:

     <span>
                                                    <xsl:text>Bill Address: </xsl:text>
                                                </span>
                                                <xsl:for-each select="row">
                                                    <xsl:for-each select="@c3">
                                                        <span>
                                                            <xsl:value-of select="string(.)" />
                                                       </span>
                                                    </xsl:for-each>
                                                </xsl:for-each>
                                                <br />
                                                <span>
                                                    <xsl:text>Ship Address: </xsl:text>
                                                </span>
                                                <xsl:for-each select="row">
                                                    <xsl:for-each select="@c4">
                                                        <span>
                                                            <xsl:value-of select="string(.)" />
                                                        </span>
                                                    </xsl:for-each>
                                                </xsl:for-each>

    AFTER :

     <span>
                                                    <xsl:text>Bill Address: </xsl:text>
                                                </span>
                                                <xsl:for-each select="row">
                                                    <xsl:for-each select="@c3">
                                                        <span><br /><textarea style="border: none;overflow:auto;" readonly="readonly">
                                                            <xsl:value-of select="string(.)" />
                                                       </textarea></span>
                                                    </xsl:for-each>
                                                </xsl:for-each>
                                                <br />
                                                <span>
                                                    <xsl:text>Ship Address: </xsl:text>
                                                </span>
                                                <xsl:for-each select="row">
                                                    <xsl:for-each select="@c4">
                                                        <span><br /><textarea style="border: none;overflow:auto;" readonly="readonly">
                                                            <xsl:value-of select="string(.)" />
                                                        </textarea></span>
                                                    </xsl:for-each>
                                                </xsl:for-each>