ASNOut Message Flows | |||||||||
SRC-APP | FROM LOC | TO LOC | MSGTYPE | Result (Route to which app/apps or drop) |
Functional Area | ASNOutToASNOutAT Tafr | ASNOutToASNInLoc Tafr | Name of the Topic tafr publishes to | |
WMS | W | W | ASNOutCre | Route to another WH and RMS | Regular WH to WH transfer. | Route only if consumer_direct field in ASNOutDesc.xsd is either blank or 'n' else drop | Route | etASNInFromRIBToWH{*} | |
WMS | W | S | ASNOutCre | Route to SIM and RMS | Regular WH to Store transfer. | Route only if consumer_direct field in ASNOutDesc.xsd is either blank or 'n' else drop | Route | etASNInFromRIBToISO | |
WMS | W | E | ASNOutCre | Route to RMS | External finisher (Repairing/finishing flow). | Route only if consumer_direct field in ASNOutDesc.xsd is either blank or 'n' else drop | Drop | etASNOutAT | |
SIM | S | W | ASNOutCre | Route to WMS and RMS | Return to wearhouse | Route only if consumer_direct field in ASNOutDesc.xsd is either blank or 'n' else drop | Route | etASNInFromRIBToWH{*} | |
SIM | S | E | ASNOutCre | Route to RMS | Return to finisher | Route only if consumer_direct field in ASNOutDesc.xsd is either blank or 'n' else drop | Drop | etASNOutAT | |
SIM | S | S | ASNOutCre | Route to RMS | Regular Transfer | Route only if consumer_direct field in ASNOutDesc.xsd is either blank or 'n' else drop | Drop | etASNOutAT | |
RMS | S | W | ASNOutCre | Route to WMS | Wholesale Franchise and standard edition | Drop | Route | etASNInFromRIBToWH{*} | |
RMS | W | S | ASNOutCre | Route to SIM | Standard edition | Drop | Route | etASNInFromRIBToISO | |
RMS | E | S | ASNOutCre | Route to SIM | No RFM with no WMS installed. (2nd leg of external finisher transfer) | Drop | Route | etASNInFromRIBToISO | |
RMS | E | W | ASNOutCre | Route to WMS | No RFM with WMS installed. (2nd Leg of external finisher transfer) | Drop | Route | etASNInFromRIBToWH{*} | |
RFM | S | S | ASNOUTMOD | Route to SIM | Regular transfer with RFM | Drop | Route | etASNInFromRIBToISO | |
RFM | W | W | ASNOUTMOD | Route to WMS | Regular transfer with RFM | Drop | Route | etASNInFromRIBToWH{*} | |
RFM | V | S | ASNOUTCre | Route to SIM | Direct store delivery with RFM | Drop | Route | etASNInFromRIBToISO | |
RFM | S | W | ASNOutMod | Route to WMS | Regular transfer with RFM and WMS | Drop | Route | etASNInFromRIBToWH{*} | |
RFM | E | S | ASNOutCre | Route to SIM | 2nd leg of the external finisher transfer with RFM no WMS | Drop | Route | etASNInFromRIBToISO | |
RFM | E | W | ASNOutCre | Route to WMS | 2nd leg of the external finisher transfer with RFM and WMS | Drop | Route | etASNInFromRIBToWH{*} | |
RFM | W | S | ASNOutMod | Route to SIM | Regular transfer with RFM | Drop | Route | etASNInFromRIBToISO | |
ANY APP | No routing info in message | No routing info in message | NA | Route to SIM or WMS depending upon the TO LOC and FROM LOC calculated | NA | NA | TO LOC and FROM
LOC calculated by RIB: - The tafr reads the value in the to_location field in ASNOutDesc.xml and replaces the digit in facility_id.PROD.1. (default facility_id is set as PROD in rib-tafr.properties but can be edited also) - If the value obtained corresponding to this key(facility_id.PROD.1) is null then To LOC is set to 'S' else 'W' - The way RIB code calculates the key(facility_id.PROD.1) is by concatinating the constant facility_id with facility_type.default from the rib-tafr.properties and the value of to_location all seperated by a dot. eg: if the to_location field in ASNOutDesc.xml has the value 5 then the RIB code will look for a value corresponding to facility_id.PROD.5 in the rib-tafr.properties. If it finds a value then it sets the TO LOC = 'W' else 'S'. The same logic applies while calculating the FROM LOC except instead of to_location the tafr reads the value of the from_location field in the ASNOutDesc.xml |
etASNInFromRIBToISO
or etASNInFromRIBToWH{*} depending upon the TO LOC and FROM LOC calculated |