Skip to content

Commit

Permalink
added upgrade data
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinde-nutan authored Feb 21, 2025
1 parent f124a43 commit 4670cc5
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
1 change: 0 additions & 1 deletion data/SystemMessageData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
sendServiceName="co.hotwax.ofbiz.SystemMessageServices.send#SystemMessageFileSftp"/>

<!-- Enumeration to create relation between FulfilledOrderItemsFeedNetsuiteToHotwax and SendFulfilledOrderItemsFeed SystemMessageType(s) -->
<moqui.basic.EnumerationType description="Netsuite System message Type" enumTypeId="NetsuiteMessageTypeEnum"/>
<moqui.basic.Enumeration description="Send fulfilledOrderItem Feed" enumId="SendFulfilledOrderItemsFeed" enumTypeId="NetsuiteMessageTypeEnum"/>
<moqui.basic.Enumeration description="Product Updates Feed" enumId="FulfilledOrderItemsFeedNetsuiteToHotwax" enumTypeId="ShopifyMessageTypeEnum" relatedEnumId="SendFulfilledOrderItemsFeed" relatedEnumTypeId="NetsuiteMessageTypeEnum"/>

Expand Down
26 changes: 26 additions & 0 deletions data/Upgrade_upcomming.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<entity-facade-xml type="ext-upgrade">
<moqui.service.message.SystemMessageType systemMessageTypeId="FulfilledOrderItemsFeedNetsuiteToHotwax"
description="Fetch Fulfilled Order Items feed Netsuite to Hotwax"
parentTypeId="LocalFeedFile"
receiveResponseEnumId="MsgRrMove"
sendPath="${contentRoot}/Netsuite/FulfilledOrderItems"
receivePath="/home/${sftpUsername}/netsuite/salesorder/import/fulfillment-nifi"
receiveMovePath="/home/${sftpUsername}/netsuite/salesorder/import/fulfillment-nifi/archive"
consumeServiceName="co.hotwax.netsuite.OrderServices.consume#FulfilledOrderItemFeed">
<parameters parameterName="sendSmrId" parameterValue="RemoteSftp" systemMessageRemoteId=""/>
</moqui.service.message.SystemMessageType>

<moqui.service.message.SystemMessageType systemMessageTypeId="SendFulfilledOrderItemsFeed"
description="Send Fulfilled Order Items feed Netsuite to Hotwax"
parentTypeId="LocalFeedFile"
receivePath="${contentRoot}/Netsuite/Fulfillment/fulfilledOrderItemFeed-${dateTime}.json"
sendPath="/home/${sftpUsername}/netsuite/salesorder/import/fulfillment/FulfilledOrderItemsFeed-${systemMessageId}-${dateTime}.json"
sendServiceName="co.hotwax.ofbiz.SystemMessageServices.send#SystemMessageFileSftp"/>

<!-- Enumeration to create relation between FulfilledOrderItemsFeedNetsuiteToHotwax and SendFulfilledOrderItemsFeed SystemMessageType(s) -->
<moqui.basic.EnumerationType description="Netsuite System message Type" enumTypeId="NetsuiteMessageTypeEnum"/>
<moqui.basic.Enumeration description="Send fulfilledOrderItem Feed" enumId="SendFulfilledOrderItemsFeed" enumTypeId="NetsuiteMessageTypeEnum"/>
<moqui.basic.Enumeration description="Product Updates Feed" enumId="FulfilledOrderItemsFeedNetsuiteToHotwax" enumTypeId="ShopifyMessageTypeEnum" relatedEnumId="SendFulfilledOrderItemsFeed" relatedEnumTypeId="NetsuiteMessageTypeEnum"/>

</entity-facade-xml>
2 changes: 1 addition & 1 deletion service/co/hotwax/netsuite/OrderServices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@
</if>

<return message="Created the fulfilledOrderItems Feed file at time ${ec.user.nowTimestamp} with type ${relatedSystemMessageType.systemMessageTypeId}
and remote ${sendSmrId} saved response in messages ${queueSystemMessageOut.systemMessageId}"/>
and remote ${sendSmrId} saved response in messages ${queueSystemMessageOut?.systemMessageId}"/>
</actions>
</service>
</services>

0 comments on commit 4670cc5

Please sign in to comment.