Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
How to Skip CMK Communication for a Purchase Order
Content
When ordering urgent items, you may submit a purchase order after your supplier has already shipped or delivered your goods. In this sort of scenario, you may want to skip electronic communication to your supplier because the supplier is already aware of the order. Using the skip functionality in the CMK transform, you can configure your application to skip communication for a given purchase order.
The functionality to skip orders is already provided in the seeded CMK transforms. You should see the following section in your seeded transform.
<xsl:choose> <xsl:when test="/cmk:processOutboundCollaboration/cmk:OutboundCollaboration/tns:findOrderByPoHeaderIdResponse/tns:result/ns1:SupplierDFFAttribute1 = 'Skip'"> <cmk:ProcessingConfiguration> <cmk:MessageValidationStatus><xsl:text>Skipped</xsl:text></cmk:MessageValidationStatus> <cmk:ValidationStatusDetail><xsl:text>Outbound Processing Rule Validation </xsl:text></cmk:ValidationStatusDetail> <cmk:ValidationStatusDescription><xsl:text>Order created for billing only</xsl:text></cmk:ValidationStatusDescription> </cmk:ProcessingConfiguration> </xsl:when> <xsl:when test="/cmk:processOutboundCollaboration/cmk:OutboundCollaboration/tns:getCmkInputPayloadResponse/tns:result/nsv2:PdfDraftPurchaseOrderHeaderVORow/nsv2:SupplierDFFAttribute1 = 'Skip'"> <cmk:ProcessingConfiguration> <cmk:MessageValidationStatus><xsl:text>Skipped</xsl:text></cmk:MessageValidationStatus> <cmk:ValidationStatusDetail><xsl:text>Outbound Processing Rule Validation </xsl:text></cmk:ValidationStatusDetail> <cmk:ValidationStatusDescription><xsl:text>Order created for billing only</xsl:text></cmk:ValidationStatusDescription> </cmk:ProcessingConfiguration> </xsl:when> </xsl:choose>
4