Advertisement
1DanielLee9

ServiceFlowSalesOrderExt

Apr 7th, 2021
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.53 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <services-flow xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3.     xmlns="http://www.jleaf.org/jleaf/service-flow"
  4.     schemaLocation="http://www.jleaf.org/jleaf/service-flow service-flow-schema.xsd">
  5.    
  6.    
  7.     <service name="isSoExtExistsByIndex" output="outputDtoForIsSoExtExistsByIndex">
  8.         <informations>
  9.             <description>Is Sales Order Ext Exists By Index</description>
  10.             <info-in>
  11.                 <info name="result.header.userLoginId" description="user login id" type="Long" />
  12.                 <info name="result.header.roleLoginId" description="role login id" type="Long" />
  13.                 <info name="result.header.tenantLoginId" description="tenant login id" type="Long" />
  14.                 <info name="result.header.datetime" description="datetime" type="String" />
  15.                 <info name="result.header.sessionId" description="session id" type="String" />
  16.                 <info name="result.header.secureKey" description="secure key" type="String" />
  17.                 <info name="result.header.taskName" description="task name" type="Long" />
  18.                 <info name="result.payload.soId" description="ou id" type="Long" />
  19.             </info-in>
  20.             <info-out>
  21.                 <info name="result.exists" description="if po business key exists in db data it will return true" type="Boolean" />
  22.                 <info name="result.salesOrderDto" description="data entity in Dto" type="Dto" />
  23.             </info-out>
  24.         </informations>
  25.         <mod-dto output="inputDtoForIsSoExtExistsByIndex">
  26.             <key name="soId" type="Long" from="${result.payload.soId}" />
  27.         </mod-dto>
  28.         <call-bf output="outputDtoForIsSoExtExistsByIndex" input="${inputDtoForIsSoExtExistsByIndex}" name="isSoExtExistsByIndex">
  29.             <onsuccess />
  30.             <onerror />
  31.         </call-bf>
  32.     </service>
  33.    
  34.     <service name="findSoExtByIndex" output="outputDtoForFindSoExtByIndex">
  35.         <informations>
  36.             <description>Find Sales Order Ext By Index</description>
  37.             <info-in>
  38.                 <info name="result.header.userLoginId" description="user login id" type="Long" />
  39.                 <info name="result.header.roleLoginId" description="role login id" type="Long" />
  40.                 <info name="result.header.tenantLoginId" description="tenant login id" type="Long" />
  41.                 <info name="result.header.datetime" description="datetime" type="String" />
  42.                 <info name="result.header.sessionId" description="session id" type="String" />
  43.                 <info name="result.header.secureKey" description="secure key" type="String" />
  44.                 <info name="result.header.taskName" description="task name" type="Long" />
  45.                 <info name="result.payload.soId" description="so id" type="Long" required="true"/>
  46.             </info-in>
  47.             <info-out>             
  48.                 <info name="result.id" description="Id" type="Long" />
  49.                 <info name="result.tenantId" description="Tenant id" type="Long" />
  50.                 <info name="result.soId" description="So id" type="Long" />
  51.                 <info name="result.flgDropship" description="Flag dropship" type="String" />
  52.                 <info name="result.createUserId" description="Create user id" type="Long" />
  53.                 <info name="result.createDateTime" description="Create date time" type="String" />
  54.                 <info name="result.updateUserId" description="Update user id" type="Long" />
  55.                 <info name="result.updateDateTime" description="Update date time" type="String" />
  56.                 <info name="result.version" description="Version" type="Long" />
  57.             </info-out>
  58.         </informations>
  59.         <mod-dto output="inputDtoForFindSoExtByIndex">
  60.             <key name="soId" type="Long" from="${result.payload.soId}" />
  61.         </mod-dto>
  62.         <call-bf output="outputDtoForFindSoExtByIndex" input="inputDtoForFindSoExtByIndex" name="findSoExtByIndex">
  63.             <onsuccess />
  64.             <onerror />
  65.         </call-bf>
  66.     </service>
  67.    
  68.    
  69. </services-flow>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement