Confirm

Expand all | Collapse all

Works Order - Multiple Variables

  • 1.  Works Order - Multiple Variables

    Posted 10-01-2019 04:42
    Hi all

    Hope everyone is keeping well.

    We use Contractor XML to export jobs to a 3rd party system - it works fine but when we set things up we pushed everything out from Confirm without any restrictions and the 3rd party system does all the filtering.

    we now want to restriction the jobs by action officer and PBS has provided a WO stylesheet but I'm not at the clued up on XSLT so don't really know how to do the following:

    In the WO stylesheet, how do I change the variable, currently [ = AAA] into [NOT BBB or CCC]


    <xsl:variable name="validOfficer" select= "'AAA'">

    Many Thanks for the help in advance.

    Chi​​



    ------------------------------
    Chi Lai
    Applications Manager
    Southwark Council
    London
    ------------------------------


  • 2.  RE: Works Order - Multiple Variables

    Posted 11-15-2019 07:12
    Hi Chi Lai,

    If you still have an issue with this you could try :
       NOT(Contains('BBB', 'CCC'))

    Hope this works for you.

    Barry


    ------------------------------
    Barry Jones
    Cheshire West and Cheshire
    Winsford
    ------------------------------