none
Generate EDIFACT NACK (Negative CONTRL) RRS feed

  • Question

  • Hi

     

    I was wondering how do I get negative CONTRL generated by Biztalk. If the source EDIFACT is well-formed Biztalk generates CONTRL with UCI4='7' but in case of, for example, wrongly formatted date the process get suspended and no CONTRL is generated (shouldn't Biztalk generate negative CONTRL for back routing to the sender)?

    Kind regards

    Allan

    Monday, August 23, 2010 12:11 PM

Answers

  • Hi

    Thx for the replay

    I solved it yesterday by testing with different options. I found out that the Technical Ack is the one validating UNA and UNB segments and will generate UCI=4 if there are syntax errors.

     

    Kind regards

    Allan

     

    • Marked as answer by Homer22 Tuesday, August 24, 2010 7:14 AM
    Tuesday, August 24, 2010 7:14 AM

All replies

  • Hi Allen,

    Configure your party setting (or global) to return a Functional or Tech acknowledgement.

    To configure EDIFACT ACK (CONTRL) properties

    1. In the BizTalk Server Administration Console, right-click the party in the Parties pane, click EDI Properties, and then click Validation and ACK Generation under the Party as Interchange Sender node in the Edifact Properties node.

    2. Clear the Route ACK to send pipeline on request-response receive port to return the acknowledgment via a separate send port. Leave the property selected to return the acknowledgment on the send port associated with the two-way request-response receive port.

    3. Select Generate Technical ACK to return a technical (CONTRL) acknowledgment to the interchange sender. If Generate Technical ACK is selected, select Do not batch Technical ACK to send each technical acknowledgment separately, or leave cleared to batch the technical acknowledgments.

    4. Select Generate Functional ACK to return a functional (CONTRL) acknowledgment to the interchange sender. If Generate Functional ACK is selected, select Do not batch Functional ACK to send each functional acknowledgment separately, or leave cleared to batch the functional acknowledgments.

    5. To designate the transaction set reference numbers to be used in an acknowledgment, enter a value for the prefix, a range of reference numbers, and suffix in UNH1 (Transaction set reference number).

      Click Reset to reset the current transaction set reference number to the lower limit. Select Reset to lower limit when out of bound to have BizTalk Server reset the reference number to the lower range value limit if the maximum limit is exceeded.

    6. If Generate Functional ACK is selected, to force generation of SG1/SG4 loops in functional CONTRL acknowledgments for accepted transaction sets, select Generate SG1/SG4 loop for accepted transaction sets (Loop will be generated while UCM.5 !=7). For more information about SG1/SG4 loops, see EDIFACT CONTRL Message as Functional Acknowledgment.

    7. Click Apply to accept the changes before continuing with the configuration, or click OK to validate the changes and then close the dialog box.

    http://msdn.microsoft.com/en-us/library/bb226416(v=BTS.10).aspx

    EDIFACT CONTRL Message as Functional Acknowledgment

    http://msdn.microsoft.com/en-us/library/bb226372(v=BTS.10).aspx

    EDIFACT CONTRL Message as Technical Acknowledgment

    http://msdn.microsoft.com/en-us/library/bb226341(v=BTS.10).aspx

    Thanks,

    William

    Monday, August 23, 2010 1:37 PM
  • Hi

    Thx for the replay

    I solved it yesterday by testing with different options. I found out that the Technical Ack is the one validating UNA and UNB segments and will generate UCI=4 if there are syntax errors.

     

    Kind regards

    Allan

     

    • Marked as answer by Homer22 Tuesday, August 24, 2010 7:14 AM
    Tuesday, August 24, 2010 7:14 AM