community-content

Forum Replies Created

Viewing 15 posts - 4,396 through 4,410 (of 9,648 total)
  • Author
    Posts
  • in reply to: Biztalk performance #19915

    Yes. I use SQL Adapter. The stored procedure is doing well, the exution takes only ten milliseconds, but 20 executions every five minutes. 

    in reply to: Biztalk 2006 Compatibility with VS2008 #19911

     I’m currently using BizTalk, WCF, and LINQ.  I have two solutions, one VS2005 for BizTalk and one VS2008 for WCF and LINQ.  This works okay, but I have a common project shared between the solutions, and I get some annoying synchronization messages when I have both solutions open at once.  I am probably going to move everything into VS2005 when I get a chance to refactor.  I understand that WCF and LINQ will still compile in VS2005, but you just don’t get the nice project templates or statement completion.

    in reply to: Exception with two-way receive port direct binding #19910

    I haven’t used this pattern either.  I did try a similar pattern using two one-way send ports, but I had trouble getting that to work so I used a self-correlating port parameter instead (http://www.codeproject.com/KB/biztalk/bts_async_call.aspx).  This was for an async communication scenario, but it sounds like you are using synchronous communications.  Have you considered just calling the second orch from the first and passing the results as a parameter?

    in reply to: Biztalk performance #19909

    So are you saying that you are importing a large batch of data and it is going slowly?  Are you using the SQL adapter?  Have you performance tested the stored proc to make sure it’s not the bottleneck?

    in reply to: Exception with two-way receive port direct binding #19908

     I have never used this pattern, but you could try setting the copying the BTS.EpmRRCorrelationToken property from the request message to the response message in the second orchestration.

    Which direct binding option are you using?

    Have you consider using separate one way send and receive ports and using your own correlation 

    You could try one of these properties on the attachment part of the multipart message:

    Message.AttachmentPart(Microsoft.XLANGs.BaseTypes.ContentType)

    or

    Message.AttachmentPart(MIME.FileName)

    But you are relying on the sender setting either the content-type or file name appropriately

    in reply to: Biztalk 2006 Compatibility with VS2008 #19903

    I have both VS2005 and VS2008 installed in one environment, I use VS2005 for Biztalk projects and VS2008 for most other things.

    This seems to work well. When you open a solution(*.sln) or project files (*.*proj) a utility called the “Microsoft Visual Studio Version Selector” is used to establish which version of VS to use. 

    in reply to: Biztalk 2006 Compatibility with VS2008 #19902

     We have done something similar and ended up having two sets of environments: one for BizTalk and one for everyone else.

    BizTalk 2006 R3 will support VS 2008.  That should be out early 09, I think.  BizTalk 2006 R2 will not work.

    When I have tried to Open BizTalk Products using VS 2008, it just says unavailable. 

    in reply to: Problem with Script Functoid in Biztalk map #19900

     Hi Neal:

        Thanks for the reply. I stopped referencing the external assembly method in the script functoid and brought the code back into an inline C# function, as I was getting a similar error with another method when testing the map. I also reworked the code by hard-coding the padding character into the PadLeft and PadRight string methods, and this resolved the error.

         Cheers,

         Daniel.

     

    in reply to: Help on Xpath #19899

     

    To add to Greg’s note below, you can copy the XPath for an element or attribute from the property window of the schema (just click on the desired field, and copy the “Instance XPath” propery value.  This often avoids having to build the XPath yourself.

    There are also tools like Stylus Studio and XMLSpy that allow you to generate and/or test an XPath against a given XML document (there are probably freebies to download for .NET as well).

    Neal

     

    in reply to: Problem with Script Functoid in Biztalk map #19898

     

    Sorry, I don’t have an answer, but are you able to unit-test your static method from a C# harness?  Just want to isolate whether it’s Biztalk or parms that you are passing that is causing the error.  I did a google on “cannot widen from target type to primitive type”, and found quite a few hits.

    Neal

    in reply to: Biztalk Mapper #19895

    Inbound.

     <?xml version=”1.0″?>
    <InvoiceBatch xmlns=”http://www.ebis-xml.net/invoiceBatch-v0.1” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”urn:schemas-basda-org:2000:salesInvoice:xdr:3.01 invoice-v3.xsd http://www.ebis-xml.net/invoiceBatch-v0.1 invoiceBatch-v0.1.xsd urn:schemas-bossfed-co-uk:OP-Invoice-v1 OP-Invoice-v1.xsd”>
      <Invoice xmlns=”urn:schemas-basda-org:2000:salesInvoice:xdr:3.01″>
        <InvoiceHead>
          <Schema>
            <Version>3.05</Version>
          </Schema>
          <Parameters>
            <Language>en-GB</Language>
            <DecimalSeparator>.</DecimalSeparator>
            <Precision>20.4</Precision>
          </Parameters>
          <InvoiceType Code=”INV”>Commercial Invoice</InvoiceType>
          <InvoiceCurrency>
            <Currency Code=”GBP”>Sterling</Currency>
          </InvoiceCurrency>
          <Checksum>65053</Checksum>
        </InvoiceHead>
        <InvoiceReferences>
          <BuyersOrderNumber>0</BuyersOrderNumber>
          <SuppliersInvoiceNumber>0</SuppliersInvoiceNumber>
          <DeliveryNoteNumber>0</DeliveryNoteNumber>
        </InvoiceReferences>
        <OP:AdditionalInvoiceReferences xmlns:OP=”urn:schemas-bossfed-co-uk:OP-Invoice-v1″>
          <OP:InvoiceReference ReferenceType=”KWOS”>
            <OP:Reference>1585009</OP:Reference>
          </OP:InvoiceReference>
        </OP:AdditionalInvoiceReferences>
        <OP:AdditionalInvoiceDates xmlns:OP=”urn:schemas-bossfed-co-uk:OP-Invoice-v1″>
          <OP:InvoiceDateTime DateTimeType=”ORD” DateTimeDesc=”Order Date”>2008-05-29</OP:InvoiceDateTime>
          <OP:InvoiceDateTime DateTimeType=”DEL” DateTimeDesc=”Delivery date”>2008-05-30</OP:InvoiceDateTime>
        </OP:AdditionalInvoiceDates>
        <InvoiceDate>2008-05-29</InvoiceDate>
        <Supplier>
          <SupplierReferences>
            <TaxNumber>0</TaxNumber>
            <GLN>7</GLN>
          </SupplierReferences>
          <Party>Test Ltd (Head Office)</Party>
          <Address>
            <AddressLine> Business Park</AddressLine>
            </Address>
        </Supplier>
        <Buyer>
          <BuyerReferences>
            <SuppliersCodeForBuyer>R1595</SuppliersCodeForBuyer>
          </BuyerReferences>
          <Party>Test UK Ltd</Party>
          <Address>
            <AddressLine>#</AddressLine>
                  </Address>
        </Buyer>
        <InvoiceTo>
          <Party>#</Party>
        </InvoiceTo>
        <InvoiceLine>
          <LineNumber>1</LineNumber>
          <InvoiceLineReferences>
            <OrderLineNumber>0</OrderLineNumber>
            <BuyersOrderLineReference>R-48759</BuyersOrderLineReference>
          </InvoiceLineReferences>
          <OP:AdditionalInvoiceLineReferences xmlns:OP=”urn:schemas-bossfed-co-uk:OP-Invoice-v1″>
            <OP:InvoiceLineReference ReferenceType=”SETFLG” ReferenceDesc=”Settlement Discount Flag”>
              <OP:Reference>Y</OP:Reference>
            </OP:InvoiceLineReference>
          </OP:AdditionalInvoiceLineReferences>
          <Product>
            <SuppliersProductCode>KF04114</SuppliersProductCode>
            <Description>Q CONNECT LAMG POUCH A4 80MIC PK100</Description>
          </Product>
          <Quantity>
            <Packsize>1</Packsize>
            <Amount>3150</Amount>
          </Quantity>
          <Price>
            <UnitPrice>0</UnitPrice>
          </Price>
          <LineTax>
            <TaxRate Code=”S”>17.50</TaxRate>
          </LineTax>
          <LineTotal>0</LineTotal>
        </InvoiceLine>
        <Settlement>
          <SettlementTerms>
            <DaysFromInvoice>31</DaysFromInvoice>
          </SettlementTerms>
          <SettlementDiscount>
            <PercentDiscount>
              <Percentage>2.50</Percentage>
            </PercentDiscount>
            <AmountDiscount>
              <Amount>368.53</Amount>
            </AmountDiscount>
          </SettlementDiscount>
        </Settlement>
        <TaxSubTotal>
          <TaxRate Code=”S”>17.50</TaxRate>
          <NumberOfLinesAtRate>1</NumberOfLinesAtRate>
          <TotalValueAtRate>14741.24</TotalValueAtRate>
          <SettlementDiscountAtRate>368.53</SettlementDiscountAtRate>
          <TaxableValueAtRate>14372.71</TaxableValueAtRate>
          <TaxAtRate>2515.22</TaxAtRate>
          <NetPaymentAtRate>16887.93</NetPaymentAtRate>
          <GrossPaymentAtRate>17256.46</GrossPaymentAtRate>
          <TaxCurrency>
            <Currency Code=”GBP”>Sterling</Currency>
          </TaxCurrency>
        </TaxSubTotal>
        <InvoiceTotal>
          <NumberOfLines>1</NumberOfLines>
          <NumberOfTaxRates>1</NumberOfTaxRates>
          <LineValueTotal>14741.24</LineValueTotal>
          <SettlementDiscountTotal>368.53</SettlementDiscountTotal>
          <TaxableTotal>14372.71</TaxableTotal>
          <TaxTotal>2515.22</TaxTotal>
          <NetPaymentTotal>16887.93</NetPaymentTotal>
          <GrossPaymentTotal>17256.46</GrossPaymentTotal>
        </InvoiceTotal>
      </Invoice>
      <Invoice xmlns=”urn:schemas-basda-org:2000:salesInvoice:xdr:3.01″>
        <InvoiceHead>
          <Schema>
            <Version>3.05</Version>
          </Schema>
          <Parameters>
            <Language>en-GB</Language>
            <DecimalSeparator>.</DecimalSeparator>
            <Precision>20.4</Precision>
          </Parameters>
          <InvoiceType Code=”INV”>Commercial Invoice</InvoiceType>
          <InvoiceCurrency>
            <Currency Code=”GBP”>Sterling</Currency>
          </InvoiceCurrency>
          <Checksum>31001</Checksum>
        </InvoiceHead>
        <InvoiceReferences>
          <BuyersOrderNumber>R-48734</BuyersOrderNumber>
          <SuppliersInvoiceNumber>3089425</SuppliersInvoiceNumber>
          <DeliveryNoteNumber>3559252</DeliveryNoteNumber>
        </InvoiceReferences>
        <OP:AdditionalInvoiceReferences xmlns:OP=”urn:schemas-bossfed-co-uk:OP-Invoice-v1″>
          <OP:InvoiceReference ReferenceType=”KWOS”>
            <OP:Reference>1585054</OP:Reference>
          </OP:InvoiceReference>
        </OP:AdditionalInvoiceReferences>
        <OP:AdditionalInvoiceDates xmlns:OP=”urn:schemas-bossfed-co-uk:OP-Invoice-v1″>
          <OP:InvoiceDateTime DateTimeType=”ORD” DateTimeDesc=”Order Date”>2008-05-29</OP:InvoiceDateTime>
          <OP:InvoiceDateTime DateTimeType=”DEL” DateTimeDesc=”Delivery date”>2008-05-30</OP:InvoiceDateTime>
        </OP:AdditionalInvoiceDates>
        <InvoiceDate>2008-05-29</InvoiceDate>
        <Supplier>
          <SupplierReferences>
            <TaxNumber>0</TaxNumber>
            <GLN>07</GLN>
          </SupplierReferences>
          <Party> Test Ltd (Head Office)</Party>
          <Address>
            <AddressLine> Business Park</AddressLine>
           
          </Address>
        </Supplier>
        <Buyer>
          <BuyerReferences>
            <SuppliersCodeForBuyer>R1595</SuppliersCodeForBuyer>
          </BuyerReferences>
          <Party>Test UK Ltd</Party>
          <Address>
            <AddressLine>Plot 1</AddressLine>
                 </Address>
        </Buyer>
        <InvoiceTo>
          <Party>Test International BV</Party>
        </InvoiceTo>
        <InvoiceLine>
          <LineNumber>1</LineNumber>
          <InvoiceLineReferences>
            <OrderLineNumber>0</OrderLineNumber>
            <BuyersOrderLineReference>R-48734</BuyersOrderLineReference>
          </InvoiceLineReferences>
          <OP:AdditionalInvoiceLineReferences xmlns:OP=”urn:schemas-bossfed-co-uk:OP-Invoice-v1″>
            <OP:InvoiceLineReference ReferenceType=”SETFLG” ReferenceDesc=”Settlement Discount Flag”>
              <OP:Reference>Y</OP:Reference>
            </OP:InvoiceLineReference>
          </OP:AdditionalInvoiceLineReferences>
          <Product>
            <SuppliersProductCode>KF20038</SuppliersProductCode>
            <Description>Q CONNECT L/ARCH FILE PPRBACK A4 BLK</Description>
          </Product>
          <Quantity>
            <Packsize>10</Packsize>
            <Amount>120</Amount>
          </Quantity>
          <Price>
            <UnitPrice>0</UnitPrice>
          </Price>
          <LineTax>
            <TaxRate Code=”S”>17.50</TaxRate>
          </LineTax>
          <LineTotal>0</LineTotal>
        </InvoiceLine>
        <InvoiceLine>
          <LineNumber>2</LineNumber>
          <InvoiceLineReferences>
            <OrderLineNumber>0</OrderLineNumber>
            <BuyersOrderLineReference>R-48734</BuyersOrderLineReference>
          </InvoiceLineReferences>
          <OP:AdditionalInvoiceLineReferences xmlns:OP=”urn:schemas-bossfed-co-uk:OP-Invoice-v1″>
            <OP:InvoiceLineReference ReferenceType=”SETFLG” ReferenceDesc=”Settlement Discount Flag”>
              <OP:Reference>Y</OP:Reference>
            </OP:InvoiceLineReference>
          </OP:AdditionalInvoiceLineReferences>
          <Product>
            <SuppliersProductCode>KF20039</SuppliersProductCode>
            <Description>Q CONNECT L/ARCH FILE PPRBACK A4 BLU</Description>
          </Product>
          <Quantity>
            <Packsize>10</Packsize>
            <Amount>60</Amount>
          </Quantity>
          <Price>
            <UnitPrice>0</UnitPrice>
          </Price>
          <LineTax>
            <TaxRate Code=”S”>17.50</TaxRate>
          </LineTax>
          <LineTotal>0</LineTotal>
        </InvoiceLine>
        <InvoiceLine>
          <LineNumber>3</LineNumber>
          <InvoiceLineReferences>
            <OrderLineNumber>0</OrderLineNumber>
            <BuyersOrderLineReference>R-48734</BuyersOrderLineReference>
          </InvoiceLineReferences>
          <OP:AdditionalInvoiceLineReferences xmlns:OP=”urn:schemas-bossfed-co-uk:OP-Invoice-v1″>
            <OP:InvoiceLineReference ReferenceType=”SETFLG” ReferenceDesc=”Settlement Discount Flag”>
              <OP:Reference>Y</OP:Reference>
            </OP:InvoiceLineReference>
          </OP:AdditionalInvoiceLineReferences>
          <Product>
            <SuppliersProductCode>KF01470</SuppliersProductCode>
            <Description>Q CONNECT L/ARCH FILE PPR/BACK A4 YLW</Description>
          </Product>
          <Quantity>
            <Packsize>10</Packsize>
            <Amount>60</Amount>
          </Quantity>
          <Price>
            <UnitPrice>0</UnitPrice>
          </Price>
          <LineTax>
            <TaxRate Code=”S”>17.50</TaxRate>
          </LineTax>
          <LineTotal>0</LineTotal>
        </InvoiceLine>
        <Settlement>
          <SettlementTerms>
            <DaysFromInvoice>31</DaysFromInvoice>
          </SettlementTerms>
          <SettlementDiscount>
            <PercentDiscount>
              <Percentage>2.50</Percentage>
            </PercentDiscount>
            <AmountDiscount>
              <Amount>59.45</Amount>
            </AmountDiscount>
          </SettlementDiscount>
        </Settlement>
        <TaxSubTotal>
          <TaxRate Code=”S”>17.50</TaxRate>
          <NumberOfLinesAtRate>3</NumberOfLinesAtRate>
          <TotalValueAtRate>0</TotalValueAtRate>
          <SettlementDiscountAtRate>0</SettlementDiscountAtRate>
          <TaxableValueAtRate>0</TaxableValueAtRate>
          <TaxAtRate>0</TaxAtRate>
          <NetPaymentAtRate>00</NetPaymentAtRate>
          <GrossPaymentAtRate>0</GrossPaymentAtRate>
          <TaxCurrency>
            <Currency Code=”GBP”>Sterling</Currency>
          </TaxCurrency>
        </TaxSubTotal>
        <InvoiceTotal>
          <NumberOfLines>3</NumberOfLines>
          <NumberOfTaxRates>1</NumberOfTaxRates>
          <LineValueTotal>0</LineValueTotal>
          <SettlementDiscountTotal>0</SettlementDiscountTotal>
          <TaxableTotal>0</TaxableTotal>
          <TaxTotal>0</TaxTotal>
          <NetPaymentTotal>0</NetPaymentTotal>
          <GrossPaymentTotal>0</GrossPaymentTotal>
        </InvoiceTotal>
      </Invoice>
      <TaxBatchTrailer>
        <TaxRate Code=”S”>17.50</TaxRate>
        <TotalValueAtRate>0</TotalValueAtRate>
        <SettlementDiscountAtRate>0</SettlementDiscountAtRate>
        <TaxableValueAtRate>0</TaxableValueAtRate>
        <TaxAtRate>0</TaxAtRate>
        <NetPaymentAtRate>0</NetPaymentAtRate>
        <GrossPaymentAtRate>0</GrossPaymentAtRate>
        <BatchNumber>118</BatchNumber>
        <NumberOfInvoicesAtRate>2</NumberOfInvoicesAtRate>
        <TaxCurrency>GBP</TaxCurrency>
      </TaxBatchTrailer>
      <InvoiceBatchTrailer>
        <NumberOfInvoices>2</NumberOfInvoices>
        <LineValueTotal>0</LineValueTotal>
        <SettlementDiscountTotal>0</SettlementDiscountTotal>
        <TaxableTotal>0</TaxableTotal>
        <TaxTotal>0</TaxTotal>
        <NetPaymentTotal>0</NetPaymentTotal>
        <GrossPaymentTotal>0</GrossPaymentTotal>
        <BatchNumber>118</BatchNumber>
        <InvoiceCurrency>GBP</InvoiceCurrency>
      </InvoiceBatchTrailer>
    </InvoiceBatch>

     

    Outbound. 

    <biztalk_1>
      <header>
        <delivery>
          <message>
            <sent>2008-05-29T22:30:27</sent>
            <subject>INVOICE</subject>
          </message>
          <to>
            <address>TEST UK</address>
          </to>
          <from>
            <address>Test Trading</address>
          </from>
        </delivery>
        <manifest>
          <document>
            <name>INVOICE</name>
            <description>BASDA eBIS-XML Invoice</description>
          </document>
        </manifest>
        <batchtotals>
          <nettotal>17119.59</nettotal>
          <taxtotal>2921.02</taxtotal>
          <grosstotal>20040.61</grosstotal>
        </batchtotals>
      </header>
      <body>
        <INVOICE>
          <INVOICEHEAD INVOICETYPE=”INV” FUNCCODE=”FRM”>
            <INVOICEDESC>Invoice</INVOICEDESC>
            <FUNCDESC>Firm Invoice</FUNCDESC>
            <CURRENCY CURRTYPE=”INV” CURRCODE=”GBP”>
              <CURRTYPEDESC>Invoice Currency</CURRTYPEDESC>
              <CURRCODESC>Sterling</CURRCODESC>
            </CURRENCY>
          </INVOICEHEAD>
          <REFERENCE REFTYPE=”INV”>
            <REFDESC>Invoice Reference Number</REFDESC>
            <REFCODE>3089424</REFCODE>
          </REFERENCE>
          <REFERENCE REFTYPE=”ORD”>
            <REFDESC>Order Reference Number</REFDESC>
            <REFCODE>R-48759</REFCODE>
          </REFERENCE>
          <REFERENCE REFTYPE=”CUR”>
            <REFDESC>Customer’s Reference</REFDESC>
            <REFCODE>R-48759</REFCODE>
          </REFERENCE>
          <DATEINFO DATETYPE=”INV”>
            <DATEDESC>Invoice Date</DATEDESC>
            <DATE>2008-05-29</DATE>
          </DATEINFO>
          <DATEINFO DATETYPE=”TPD”>
            <DATEDESC>Tax Point Date</DATEDESC>
            <DATE>2008-05-29</DATE>
          </DATEINFO>
          <DATEINFO DATETYPE=”ORD”>
            <DATEDESC>Order Date</DATEDESC>
            <DATE>2008-05-29</DATE>
          </DATEINFO>
          <DATEINFO DATETYPE=”DED”>
            <DATEDESC>Delivery Date</DATEDESC>
            <DATE>2008-05-30</DATE>
          </DATEINFO>
          <SUPPLIER>
            <PARTYCODE IDTYPE=”BCS”>
              <IDDESC>Buyers Code for Supplier</IDDESC>
              <IDCODE>0000001604</IDCODE>
            </PARTYCODE>
            <ADDRESS>
              <NAME>#</NAME>
              <STREET>#</STREET>
              <CITY>#</CITY>
              <STATE>#</STATE>
              <POSTCODE>#</POSTCODE>
            </ADDRESS>
          </SUPPLIER>
          <BUYER>
            <PARTYCODE IDTYPE=”SCB”>
              <IDDESC>Suppliers Code for Buyer</IDDESC>
              <IDCODE>#</IDCODE>
            </PARTYCODE>
            <ADDRESS>
              <NAME>#</NAME>
              <STREET>#</STREET>
              <CITY>#</CITY>
              <STATE>#</STATE>
              <POSTCODE>#</POSTCODE>
            </ADDRESS>
          </BUYER>
          <DELIVERY>
            <ADDRESS>
              <NAME>#</NAME>
              <STREET>#</STREET>
              <STREET>#</STREET>
              <STREET>#</STREET>
              <STREET>#</STREET>
              <POSTCODE>#</POSTCODE>
            </ADDRESS>
          </DELIVERY>
          <INVOICETO>
            <ADDRESS>
              <NAME>#</NAME>
              <STREET>#</STREET>
              <CITY>#</CITY>
              <STATE>#</STATE>
              <POSTCODE>#</POSTCODE>
            </ADDRESS>
          </INVOICETO>
          <INVOICELINE LINEACTION=”Add”>
            <LINENO>1</LINENO>
            <PRODUCT PRODCODETYPE=”SPC”>
              <PRODCODEDESC>Supplier’s code</PRODCODEDESC>
              <PRODNUM>KF04114</PRODNUM>
            </PRODUCT>
            <PRODUCT PRODCODETYPE=”BPC”>
              <PRODCODEDESC>Buyer’s code</PRODCODEDESC>
              <PRODNUM>KF04114</PRODNUM>
            </PRODUCT>
            <QUANTITY QTYCODE=”USR” QTYUOM=”1″>
              <QTYCODESC>Quantity Invoiced</QTYCODESC>
              <QUANTITYAMOUNT>3150</QUANTITYAMOUNT>
            </QUANTITY>
            <PRICE PRICETYPE=”SEL”>
              <PRICEDESC>Selling Price</PRICEDESC>
              <PRICEAMOUNT>0</PRICEAMOUNT>
            </PRICE>
            <LINETAX>
              <TAXCODE>S</TAXCODE>
              <TAXRATE>17.50</TAXRATE>
            </LINETAX>
          </INVOICELINE>
          <TAXSUBTOTAL>
            <TAXCODE>S</TAXCODE>
            <TAXRATE>17.50</TAXRATE>
            <RATENOLINES>1</RATENOLINES>
            <RATELINETOT>14741.24</RATELINETOT>
            <RATETAXBLVAL>14372.71</RATETAXBLVAL>
            <RATETAXVAL>2515.22</RATETAXVAL>
            <RATEGROSSPAY>17256.46</RATEGROSSPAY>
            <CURRENCY CURRTYPE=”INV” CURRCODE=”GBP”>
              <CURRTYPEDESC>Invoice Currency</CURRTYPEDESC>
              <CURRCODESC>Sterling</CURRCODESC>
            </CURRENCY>
          </TAXSUBTOTAL>
          <INVOICETOTAL>
            <INVNOLINES>1</INVNOLINES>
            <INVLINETOT>14741.24</INVLINETOT>
            <INVSETTLDISC>0</INVSETTLDISC>
            <INVTAXBLTOT>14372.71</INVTAXBLTOT>
            <INVTAXTOT>2515.22</INVTAXTOT>
            <INVGROSSPAY>17256.46</INVGROSSPAY>
          </INVOICETOTAL>
        </INVOICE>
        <INVOICE>
          <INVOICEHEAD INVOICETYPE=”INV” FUNCCODE=”FRM”>
            <INVOICEDESC>Invoice</INVOICEDESC>
            <FUNCDESC>Firm Invoice</FUNCDESC>
            <CURRENCY CURRTYPE=”INV” CURRCODE=”GBP”>
              <CURRTYPEDESC>Invoice Currency</CURRTYPEDESC>
              <CURRCODESC>Sterling</CURRCODESC>
            </CURRENCY>
          </INVOICEHEAD>
          <REFERENCE REFTYPE=”INV”>
            <REFDESC>Invoice Reference Number</REFDESC>
            <REFCODE>3089424</REFCODE>
          </REFERENCE>
          <REFERENCE REFTYPE=”ORD”>
            <REFDESC>Order Reference Number</REFDESC>
            <REFCODE>R-48759</REFCODE>
          </REFERENCE>
          <REFERENCE REFTYPE=”CUR”>
            <REFDESC>Customer’s Reference</REFDESC>
            <REFCODE>R-48759</REFCODE>
          </REFERENCE>
          <DATEINFO DATETYPE=”INV”>
            <DATEDESC>Invoice Date</DATEDESC>
            <DATE>2008-05-29</DATE>
          </DATEINFO>
          <DATEINFO DATETYPE=”TPD”>
            <DATEDESC>Tax Point Date</DATEDESC>
            <DATE>2008-05-29</DATE>
          </DATEINFO>
          <DATEINFO DATETYPE=”ORD”>
            <DATEDESC>Order Date</DATEDESC>
            <DATE>2008-05-29</DATE>
          </DATEINFO>
          <DATEINFO DATETYPE=”DED”>
            <DATEDESC>Delivery Date</DATEDESC>
            <DATE>2008-05-30</DATE>
          </DATEINFO>
          <SUPPLIER>
            <PARTYCODE IDTYPE=”BCS”>
              <IDDESC>Buyers Code for Supplier</IDDESC>
              <IDCODE>0000001604</IDCODE>
            </PARTYCODE>
            <ADDRESS>
              <NAME>#</NAME>
              <STREET>#</STREET>
              <CITY>#</CITY>
              <STATE>#</STATE>
              <POSTCODE>#</POSTCODE>
            </ADDRESS>
          </SUPPLIER>
          <BUYER>
            <PARTYCODE IDTYPE=”SCB”>
              <IDDESC>Suppliers Code for Buyer</IDDESC>
              <IDCODE>#</IDCODE>
            </PARTYCODE>
            <ADDRESS>
              <NAME>#</NAME>
              <STREET>#</STREET>
              <CITY>#</CITY>
              <STATE>#</STATE>
              <POSTCODE>#</POSTCODE>
            </ADDRESS>
          </BUYER>
          <DELIVERY>
            <ADDRESS>
               <NAME>#</NAME>
            </ADDRESS>
          </DELIVERY>
          <INVOICETO>
            <ADDRESS>
              <NAME>#</NAME>
             
            </ADDRESS>
          </INVOICETO>
          <INVOICELINE LINEACTION=”Add”>
            <LINENO>1</LINENO>
            <PRODUCT PRODCODETYPE=”SPC”>
              <PRODCODEDESC>Supplier’s code</PRODCODEDESC>
              <PRODNUM>KF04114</PRODNUM>
            </PRODUCT>
            <PRODUCT PRODCODETYPE=”BPC”>
              <PRODCODEDESC>Buyer’s code</PRODCODEDESC>
              <PRODNUM>KF04114</PRODNUM>
            </PRODUCT>
            <QUANTITY QTYCODE=”USR” QTYUOM=”10″>
              <QTYCODESC>Quantity Invoiced</QTYCODESC>
              <QUANTITYAMOUNT>120</QUANTITYAMOUNT>
            </QUANTITY>
            <PRICE PRICETYPE=”SEL”>
              <PRICEDESC>Selling Price</PRICEDESC>
              <PRICEAMOUNT>0</PRICEAMOUNT>
            </PRICE>
            <LINETAX>
              <TAXCODE>S</TAXCODE>
              <TAXRATE>17.50</TAXRATE>
            </LINETAX>
          </INVOICELINE>
          <INVOICELINE LINEACTION=”Add”>
            <LINENO>2</LINENO>
            <PRODUCT PRODCODETYPE=”SPC”>
              <PRODCODEDESC>Supplier’s code</PRODCODEDESC>
              <PRODNUM>KF04114</PRODNUM>
            </PRODUCT>
            <PRODUCT PRODCODETYPE=”BPC”>
              <PRODCODEDESC>Buyer’s code</PRODCODEDESC>
              <PRODNUM>KF04114</PRODNUM>
            </PRODUCT>
            <QUANTITY QTYCODE=”USR” QTYUOM=”10″>
              <QTYCODESC>Quantity Invoiced</QTYCODESC>
              <QUANTITYAMOUNT>60</QUANTITYAMOUNT>
            </QUANTITY>
            <PRICE PRICETYPE=”SEL”>
              <PRICEDESC>Selling Price</PRICEDESC>
              <PRICEAMOUNT>0</PRICEAMOUNT>
            </PRICE>
            <LINETAX>
              <TAXCODE>S</TAXCODE>
              <TAXRATE>17.50</TAXRATE>
            </LINETAX>
          </INVOICELINE>
          <INVOICELINE LINEACTION=”Add”>
            <LINENO>3</LINENO>
            <PRODUCT PRODCODETYPE=”SPC”>
              <PRODCODEDESC>Supplier’s code</PRODCODEDESC>
              <PRODNUM>KF04114</PRODNUM>
            </PRODUCT>
            <PRODUCT PRODCODETYPE=”BPC”>
              <PRODCODEDESC>Buyer’s code</PRODCODEDESC>
              <PRODNUM>KF04114</PRODNUM>
            </PRODUCT>
            <QUANTITY QTYCODE=”USR” QTYUOM=”10″>
              <QTYCODESC>Quantity Invoiced</QTYCODESC>
              <QUANTITYAMOUNT>60</QUANTITYAMOUNT>
            </QUANTITY>
            <PRICE PRICETYPE=”SEL”>
              <PRICEDESC>Selling Price</PRICEDESC>
              <PRICEAMOUNT>0</PRICEAMOUNT>
            </PRICE>
            <LINETAX>
              <TAXCODE>S</TAXCODE>
              <TAXRATE>17.50</TAXRATE>
            </LINETAX>
          </INVOICELINE>
          <TAXSUBTOTAL>
            <TAXCODE>S</TAXCODE>
            <TAXRATE>17.50</TAXRATE>
            <RATENOLINES>3</RATENOLINES>
            <RATELINETOT>0</RATELINETOT>
            <RATETAXBLVAL>0</RATETAXBLVAL>
            <RATETAXVAL>0</RATETAXVAL>
            <RATEGROSSPAY>0</RATEGROSSPAY>
            <CURRENCY CURRTYPE=”INV” CURRCODE=”GBP”>
              <CURRTYPEDESC>Invoice Currency</CURRTYPEDESC>
              <CURRCODESC>Sterling</CURRCODESC>
            </CURRENCY>
          </TAXSUBTOTAL>
          <INVOICETOTAL>
            <INVNOLINES>3</INVNOLINES>
            <INVLINETOT>0</INVLINETOT>
            <INVSETTLDISC>0</INVSETTLDISC>
            <INVTAXBLTOT>0</INVTAXBLTOT>
            <INVTAXTOT>0</INVTAXTOT>
            <INVGROSSPAY>0</INVGROSSPAY>
          </INVOICETOTAL>
        </INVOICE>
      </body>
    </biztalk_1>

     This is an example of what is happening.. as you can see because I am using inline XSLT the Buyers and Suppliers code are always the same in the outbound doc, along with the invoice references and dates etc… The price (not shown) are all working as the don’t use the Inline XSLT..

    Thanks again

    in reply to: Biztalk Mapper #19894

    Can you give a sample of the input file and mock up a sample of how you want the output to look?

    thx,

    In this case I have to create two seperate Msi one for the application & one for the shared library. I want to build only one Msi as client may deploy only one application on one machine.

    My problem is : Is there any way using which I can skip the installation of referenced dll’s if they are already present in another application in Biztalk Administration Console while importing Msi.

     

     

    in reply to: failed to serialize message part #19890

     In the example at the top the <valid> is mandatory and boolean, it must contain either tru or false.

    I would follow Stephen’s advice. Save the Xml into a file and use the Validate Instance command from the schema.

Viewing 15 posts - 4,396 through 4,410 (of 9,648 total)