Skip to content

Commit

Permalink
Improved: Added return statement with warning type for orders without…
Browse files Browse the repository at this point in the history
… shipments.
  • Loading branch information
sadhanaa21 committed Mar 15, 2024
1 parent 029cc4c commit 57efe14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ under the License.
valid shipments data, or it may be due to some other unexpected JSON generated to be consumed,
then the file can be checked further for any possible issue. -->
<if condition="!shipments">
<message type="warning" error="true">System message [${systemMessageId}] for Type [${systemMessage?.systemMessageTypeId}] has messageText [${systemMessage.messageText}], with Fulfillment Feed file having incorrect data and may contain null, not consuming the feed file.</message>
<return type="warning" message="System message [${systemMessageId}] for Type [${systemMessage?.systemMessageTypeId}] has messageText [${systemMessage.messageText}], with Fulfillment Feed file having incorrect data and may contain null, not consuming the feed file."/>
</if>
<iterate list="shipments" entry="shipment">
<set field="messageText" from="org.moqui.impl.context.ContextJavaUtil.jacksonMapper.writeValueAsString(shipment)"/>
Expand Down

0 comments on commit 57efe14

Please sign in to comment.