3 Replies Latest reply on Sep 25, 2012 4:09 AM by PranitSaha

    PDF PO Release - XML Tags for the Header and Line Attachments

    895967
      Hi,

      I request you to please help me in finding out the XML tags for the PDF PO Release Header and Line Attachments? I tried to get the XML data by running the 'PO Output for Communication' program with the parameter as 'Debug' but its completing normally without giving me the XML data in the log file.

      Please help me in finding the XML tags for the PDF PO Release for the Header and Line Attachments.

      Thanks,

      Kunal
        • 1. Re: PDF PO Release - XML Tags for the Header and Line Attachments
          PranitSaha
          Hi Kunal,

          Following syntax will get you the header and line level short and long text attachments.

          --Header short text attachments
          <?for-each:HEADER_SHORT_TEXT_ROW?>
               <?SHORT_TEXT?>
          <?end for-each?>

          --Header long text attachments
          <?for-each:/PO_DATA/HEADER_ATTACHMENTS/LONG_TEXT?>
               <?.?>
          <?end for-each?>

          --Line short text attachments
          <?for-each:LINE_SHORT_TEXT_ROW?>
               <?SHORT_TEXT?>
          <?end for-each?>

          --Line long text attachments
          <?variable@incontext:PoLnID;'PO_LINE_ID'?><?for-each:/PO_DATA/LINE_ATTACHMENTS/ID[. =$PoLnID]?>
               <?current()[$PoLnID]/preceding-sibling::TEXT[1]?>
          <?end for-each?>

          Also note that, while running the program in Debug mode for a particular PO/Release the status should be INCOMPLETE, otherwise you won't be able to see the XML tags.

          Thanks,

          PS.

          Edited by: PS on Sep 25, 2012 6:16 AM
          • 2. Re: PDF PO Release - XML Tags for the Header and Line Attachments
            895967
            Hi PS,

            Thanks for the reply.

            The above information is same for all the below three:

            1. Standard PO
            2. Blanket Purchase Agreement
            3. Blanket Release

            Also, I ran the program with the Debug mode for a PO with incomplete status. Still it was completing normally without error. Anyways, I am only interested in the Header and Line attachments XML tags for a Blanket Release (Both Header and Line).
            • 3. Re: PDF PO Release - XML Tags for the Header and Line Attachments
              PranitSaha
              Blanket Release header attachment tags are no different to standard orders and blanket agreements.

              Line attachments are actually shipment attachments and appear as below:

              <LINE_LOC_SHORT_TEXT>
              <LINE_LOC_SHORT_TEXT_ROW>
              <LINE_LOCATION_ID>985434</LINE_LOCATION_ID>
              <SHORT_TEXT>Test line short text</SHORT_TEXT>
              </LINE_LOC_SHORT_TEXT_ROW>
              </LINE_LOC_SHORT_TEXT>

              Edited by: PS on Sep 25, 2012 1:38 PM