Advertisement
1DanielLee9

LogStockCardService

Mar 26th, 2021
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.26 KB | None | 0 0
  1.     <!-- Inquiry Log Stock With Invoice -->
  2.     <service name="inquiryStockLogStockCardWithInvoice" output="outputDto">
  3.         <informations>
  4.             <description>Inquiry Stock Log Stock Card With Invoice</description>
  5.             <info-in>
  6.                 <info name="result.header.userLoginId" description="user login id" type="Long" />
  7.                 <info name="result.header.roleLoginId" description="role login id" type="Long" />
  8.                 <info name="result.header.tenantLoginId" description="tenant login id" type="Long" />
  9.                 <info name="result.header.datetime" description="datetime" type="String" />
  10.                 <info name="result.header.sessionId" description="session id" type="String" />
  11.                 <info name="result.header.secureKey" description="secure key" type="String" />
  12.                 <info name="result.header.taskName" description="task name" type="String" />
  13.                 <info name="result.payload.ouId" description="ou id" type="Long" />
  14.                 <info name="result.payload.productId" description="product id" type="Long" />
  15.                 <info name="result.payload.warehouseId" description="warehouse id" type="Long" />
  16.                 <info name="result.payload.periodStart" description="period start" type="String" />
  17.                 <info name="result.payload.periodEnd" description="period end" type="String" />
  18.             </info-in>
  19.             <info-out>
  20.                 <info name="result.beginningQty" description="beginning qty" type="Double" />
  21.                 <info name="result.sumTrxQty" description="trx qty" type="Double" />
  22.                 <info name="result.endQty" description="end qty" type="Double" />
  23.                 <info name="result.baseUomId" description="base uom id" type="Long" />
  24.                 <info name="result.baseUomCode" description="base uom code" type="String" />
  25.                 <info name="result.baseUomName" description="base uom name" type="String" />
  26.                 <info name="result.inquiryList"
  27.                     description="inquiry list (docTypeDesc, docNo, docDate, invoiceDocNo, invoiceDocDate, warehouseId, warehouseCode, warehouseName, partnerId, partnerCode, partnerName, qty, baseUomId, baseUomCode, baseUomName, updateDatetime, runningQtyAwal, runningQtyAkhir)"
  28.                     type="List" />
  29.             </info-out>
  30.         </informations>
  31.        
  32.         <mod-dto output="inputDtoForFindStartTrxDate">
  33.             <key name="tenantId" type="Long" from="${result.header.tenantLoginId}" />
  34.             <key name="parameterCode" type="String" from="start.trx.date" />
  35.         </mod-dto>
  36.         <call-bf output="outputDtoForFindStartTrxDate"
  37.             input="${inputDtoForFindStartTrxDate}" name="findSystemConfigByParamCode">
  38.             <onsuccess />
  39.             <onerror />
  40.         </call-bf>
  41.        
  42.         <mod-dto output="inputDtoForFindParentOUMainBuByOu">
  43.             <key name="id" type="Long" from="${result.payload.ouId}" />
  44.         </mod-dto>
  45.        
  46.         <call-bf output="outputDtoForFindParentOUMainBuByOu"
  47.             input="${inputDtoForFindParentOUMainBuByOu}" name="findParentOUMainBuByOu">
  48.             <onsuccess />
  49.             <onerror />
  50.         </call-bf>
  51.        
  52.         <mod-dto output="inputDtoForGetLastYearMonthProcess">
  53.             <key name="tenantId" type="Long" from="${result.header.tenantLoginId}" />
  54.             <key name="ouId" type="Long" from="${outputDtoForFindParentOUMainBuByOu.id}" />
  55.             <key name="periodStart" type="String" from="${result.payload.periodStart}" />
  56.         </mod-dto>
  57.         <call-bf output="outputDtoForGetLastYearMonthProcess"
  58.             input="${inputDtoForGetLastYearMonthProcess}" name="getLastProcessedYearMonthAdminProcessLedgerInvQty">
  59.             <onsuccess />
  60.             <onerror />
  61.         </call-bf>
  62.        
  63.         <mod-dto output="inputDtoForGetSummaryForInquiryStockLogStockCard">
  64.             <key name="tenantId" type="Long" from="${result.header.tenantLoginId}" />
  65.             <key name="ouId" type="Long" from="${result.payload.ouId}" />
  66.             <key name="productId" type="Long" from="${result.payload.productId}" />
  67.             <key name="warehouseId" type="Long" from="${result.payload.warehouseId}" />
  68.             <key name="periodStart" type="String" from="${result.payload.periodStart}" />
  69.             <key name="periodEnd" type="String" from="${result.payload.periodEnd}" />
  70.             <key name="lastYearMonthProcessed" type="String" from="${outputDtoForGetLastYearMonthProcess.yearMonth}" />
  71.             <key name="startTrxDate" type="String" from="${outputDtoForFindStartTrxDate.value}" />
  72.         </mod-dto>
  73.         <call-bf output="outputDtoForGetSummaryForInquiryStockLogStockCard"
  74.             input="${inputDtoForGetSummaryForInquiryStockLogStockCard}" name="getSummaryForInquiryStockLogStockCard">
  75.             <onsuccess />
  76.             <onerror />
  77.         </call-bf>
  78.        
  79.         <mod-dto output="inputDtoInquiryStockWithInvoice">
  80.             <key name="tenantId" type="Long" from="${result.header.tenantLoginId}" />
  81.             <key name="ouId" type="Long" from="${result.payload.ouId}" />
  82.             <key name="productId" type="Long" from="${result.payload.productId}" />
  83.             <key name="warehouseId" type="Long" from="${result.payload.warehouseId}" />
  84.             <key name="periodStart" type="String" from="${result.payload.periodStart}" />
  85.             <key name="periodEnd" type="String" from="${result.payload.periodEnd}" />
  86.             <key name="beginningQty" type="Double" from="${outputDtoForGetSummaryForInquiryStockLogStockCard.beginningQty}" />
  87.         </mod-dto>
  88.         <call-bf output="outputDtoInquiryStockWithInvoice"
  89.             input="${inputDtoInquiryStockWithInvoice}" name="inquiryStockLogStockCardWithInvoice">
  90.             <onsuccess />
  91.             <onerror />
  92.         </call-bf>
  93.        
  94.         <mod-dto output="outputDto">
  95.             <key name="beginningQty" type="Double" from="${outputDtoForGetSummaryForInquiryStockLogStockCard.beginningQty}" />
  96.             <key name="sumTrxQty" type="Double" from="${outputDtoForGetSummaryForInquiryStockLogStockCard.sumTrxQty}" />
  97.             <key name="endQty" type="Double" from="${outputDtoForGetSummaryForInquiryStockLogStockCard.endQty}" />
  98.             <key name="baseUomId" type="Long" from="${outputDtoForGetSummaryForInquiryStockLogStockCard.baseUomId}" />
  99.             <key name="baseUomCode" type="String" from="${outputDtoForGetSummaryForInquiryStockLogStockCard.baseUomCode}" />
  100.             <key name="baseUomName" type="String" from="${outputDtoForGetSummaryForInquiryStockLogStockCard.baseUomName}" />
  101.             <list name="inquiryList"
  102.                 from="${outputDtoInquiryStock.inquiryList}"
  103.                 filter-key="docTypeDesc, docNo, docDate, invoiceDocNo, invoiceDocDate, warehouseId, warehouseCode, warehouseName,warehouseFromCode, warehouseFromName, partnerId, partnerCode, partnerName, qty, baseUomId, baseUomCode, baseUomName, updateDatetime, runningQtyAwal, runningQtyAkhir"
  104.                 key-list="docTypeDesc, docNo, docDate, invoiceDocNo, invoiceDocDate, warehouseId, warehouseCode, warehouseName,warehouseFromCode, warehouseFromName, partnerId, partnerCode, partnerName, qty, baseUomId, baseUomCode, baseUomName, updateDatetime, runningQtyAwal, runningQtyAkhir" />
  105.         </mod-dto>
  106.     </service>
  107.    
  108.     <service name="getYearMonthListForInquiryProcessCostingFinishGoods" output="outputDto">
  109.         <informations>
  110.             <description>Get Year Month List For Inquiry Process Costing Finish Goods</description>
  111.             <info-in>
  112.                 <info name="result.header.userLoginId" description="user login id" type="Long" />
  113.                 <info name="result.header.roleLoginId" description="role login id" type="Long" />
  114.                 <info name="result.header.tenantLoginId" description="tenant login id" type="Long" />
  115.                 <info name="result.header.datetime" description="datetime" type="String" />
  116.                 <info name="result.header.sessionId" description="session id" type="String" />
  117.                 <info name="result.header.secureKey" description="secure key" type="String" />
  118.                 <info name="result.header.taskName" description="task name" type="String" />
  119.                 <info name="result.payload.ouId" description="OU BU id" type="Long" />
  120.                 <info name="result.payload._keyword" type="String" description="keyword" required="false"/>
  121.             </info-in>
  122.             <info-out>
  123.                 <info name="result.yearMonthList" type="List" description="list of year month (yearMonth, yearMonthDisplay)" />
  124.             </info-out>
  125.         </informations>
  126.         <mod-dto output="inputDto">
  127.             <key name="tenantId" type="Long" from="${result.header.tenantLoginId}" />
  128.             <key name="ouId" type="Long" from="${result.payload.ouId}" />
  129.             <key name="_keyword" type="String" from="${result.payload._keyword}"/>
  130.         </mod-dto>
  131.         <call-bf output="outputDto" input="${inputDto}" name="getYearMonthListForInquiryProcessCostingFinishGoods">
  132.             <onsuccess />
  133.             <onerror />
  134.         </call-bf>
  135.     </service>
  136.    
  137.     <service name="getInquiryProcessCostingFinishGoodsResultListAdvance" output="outputInquiryDto">
  138.         <informations>
  139.             <description>Get Inquiry Process Costing Finish Goods Result List Advance</description>
  140.             <info-in>
  141.                 <info name="result.header.userLoginId" description="user login id" type="Long" />
  142.                 <info name="result.header.roleLoginId" description="role login id" type="Long" />
  143.                 <info name="result.header.tenantLoginId" description="tenant login id" type="Long" />
  144.                 <info name="result.header.datetime" description="datetime" type="String" />
  145.                 <info name="result.header.sessionId" description="session id" type="String" />
  146.                 <info name="result.header.secureKey" description="secure key" type="String" />
  147.                 <info name="result.header.taskName" description="task name" type="String" />
  148.                 <info name="result.payload.ouId" description="OU BU id" type="Long" />
  149.                 <info name="result.payload.yearMonth" description="Year Month" type="String" />
  150.                 <info name="result.payload.ctgrProductId" description="Category product id (-99 = ALL)" type="Long" />
  151.                 <info name="result.payload.subCtgrProductId" description="Sub category product id (-99 = ALL)" type="Long" />
  152.                 <info name="result.payload.productCodeName" description="product code or name" type="String" />
  153.             </info-in>
  154.             <info-out>
  155.                 <info name="result.endProductBalanceList" type="List"
  156.                     description="list of end product balance (productId, productCode, productName, ouBuId, ouBuCode, ouBuName, ouBranchId, ouBranchCode, ouBranchName, ouSubBuId, ouSubBuCode, ouSubBuName, qty, uomId, uomCode, uomName, currCode, amount)" />
  157.             </info-out>
  158.         </informations>
  159.         <mod-dto output="inputDto">
  160.             <key name="tenantId" type="Long" from="${result.header.tenantLoginId}" />
  161.             <key name="ouId" type="Long" from="${result.payload.ouId}" />
  162.             <key name="yearMonth" type="String" from="${result.payload.yearMonth}" />
  163.             <key name="ctgrProductId" type="Long" from="${result.payload.ctgrProductId}" />
  164.             <key name="subCtgrProductId" type="Long" from="${result.payload.subCtgrProductId}" />
  165.             <key name="productCodeName" type="String" from="${result.payload.productCodeName}" />
  166.         </mod-dto>
  167.         <call-bf output="outputDto" input="${inputDto}" name="getInquiryProcessCostingFinishGoodsResultListAdvance">
  168.             <onsuccess />
  169.             <onerror />
  170.         </call-bf>
  171.         <mod-dto output="inputZeroQtyDto">
  172.             <key name="tenantId" type="Long" from="${result.header.tenantLoginId}" />
  173.             <key name="ouId" type="Long" from="${result.payload.ouId}" />
  174.             <key name="yearMonth" type="String" from="${result.payload.yearMonth}" />
  175.             <key name="ctgrProductId" type="Long" from="${result.payload.ctgrProductId}" />
  176.             <key name="subCtgrProductId" type="Long" from="${result.payload.subCtgrProductId}" />
  177.             <key name="productCodeName" type="String" from="${result.payload.productCodeName}" />
  178.         </mod-dto>
  179.         <call-bf output="outputDto2" input="${inputZeroQtyDto}" name="getInquiryProcessCostingFinishGoodsZeroQtyResultListAdvance">
  180.             <onsuccess />
  181.             <onerror />
  182.         </call-bf>
  183.            
  184.         <mod-dto output="outputInquiryDto">
  185.             <key name="endProductBalanceList" type="List" from="${outputDto.endProductBalanceList}"/>
  186.             <key name="endProdBalanceDetailTransZeroQtyList" type="List" from="${outputDto2.endProdBalanceDetailTransZeroQtyList}"/>
  187.         </mod-dto>
  188.     </service>
  189.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement