Posts

Showing posts with the label WMS

FRM-91500 - Solved

PT :   FRM-91500 - Resolução EN :  FRM-91500 - Solved

WMS - Dest ID

English Version Em Oracle Retail os armazens ( e outras facilities ) tem um ID unico. Neste caso especifico WMS, o RIB vai mandar informacao especifica para esse armazem. Esse ID , tera que estar no RMS, ficheiro TAFRs , e no WMS. A query em baixo retorma essa informacao , na base de dados do WMS, esse ID. set lines 20 col description a30 col description form a30 set lines 200 select l.facility_id,description,dc_dest_id from transshipment_setup t, facility l where l.facility_id = t.facility_id; Obrigado pela leitura, espero que este post o tenha ajudado. Rogerio Referencias e Mais Info : https://docs.oracle.com/cd/E82085_01/1303/operations_guide/Chapter%207%20-%20Message%20and%20Routing%20(TAFR).htm https://docs.oracle.com/cd/E12456_01/rwms/pdf/141/html/impg/wms-integration.htm

WMS - DC_DEST_ID

PT :   Como identificar o   DC_DEST_ID   EN :  How to Identify the  DC_DEST_ID

WMS – Dest ID

Versao Portuguesa In Oracle Retail the warehouses ( and other facilities as stores ) have a unique identify. Specific to the WMS, RIB sends/redirects specific information using that ID . That information needs to be in : RMS, TAFRs file and WMS. The bellow query can be used to identify the WMS ID . set lines 20 col description a30 col description form a30 set lines 200 select l.facility_id,description,dc_dest_id from transshipment_setup t, facility l where l.facility_id = t.facility_id; Thank you for reading, hope this post was helpful. Rogerio Futher Reading : https://docs.oracle.com/cd/E82085_01/1303/operations_guide/Chapter%207%20-%20Message%20and%20Routing%20(TAFR).htm https://docs.oracle.com/cd/E12456_01/rwms/pdf/141/html/impg/wms-integration.htm

WMS Items info

PT :    Items EN :  Items

RIB 13.1.x - Test Items

EnglishVersion Apos adicionar um novo warehouse / WMS a solucao de Oracle Retail, ou refrescar um ambiente, e recomendavel testar a integracao RMS --> WMS antes de passar a bola ao negocio or project team. Nest post partilho uma forma facil de fazer esse teste - e como monitorizar a mensagem. Na base de dados do RMS, Alterar a descricao do Item : 101715654 select item, item_desc from item_master where item ='101715654' ITEM ITEM_DESC 101715654 ITEM XPTO update rms.item_master set item_desc = 'ITEM XPTO - DESC CHANGED' where item='101715654'; select item, item_desc from item_master where item ='101715654'; commit; Na base de dados do RIB Validar se a mensagem esta na queue/topic : 101715654 set lines 300 col enq_time form a30 col deq_time form a10 col msg form a100 set longchunksize 30000 set long 30000 select msgid,enq_time, deq_time, r.user_data.text_lob msg from ribaq.etitemsfromrmstable r where enq_time > sysdate - 1 and r.user_data.text_lob ...

RIB 13.1.x - Test Items

EnglishVersion Apos adicionar um novo warehouse / WMS a solucao de Oracle Retail, ou refrescar um ambiente, e recomendavel testar a integracao RMS --> WMS antes de passar a bola ao negocio or project team. Nest post partilho uma forma facil de fazer esse teste - e como monitorizar a mensagem. Na base de dados do RMS Alterar a descricao do Item : 101715654 select item, item_desc from item_master where item ='101715654' ITEM ITEM_DESC 101715654 ITEM XPTO update rms.item_master set item_desc = 'ITEM XPTO - DESC CHANGED' where item='101715654'; select item, item_desc from item_master where item ='101715654'; commit; Na base de dados do RIB Validar se a mensagem esta na queue/topic : 101715654 set lines 300 col enq_time form a30 col deq_time form a10 col msg form a100 set longchunksize 30000 set long 30000 select msgid,enq_time, deq_time, r.user_data.text_lob msg from ribaq.etitemsfromrmstable r where enq_time ...

DB - Monitor, Locks

E a tal query que nao termina And about that query that never ends ... -- --  General -- set lines 240 col message form a100 col opname form a50 select * from (  select  round(l.sofar/l.totalwork*100,2) as complete,  --l.*  l.sid,  --l.opname,  l.message,  l.start_time,  l.time_remaining/60 "minuts remaining",  l.elapsed_seconds  from  gv$session_longops l  where totalwork !=0 ) where complete < 100; -- --  RMAN Specific -- select sid, serial#,opname, context, sofar, totalwork,        round(sofar/totalwork*100,2) "%_complete" from v$session_longops where   lower(opname) like 'rman%'   and opname not like '%aggregate%'   and totalwork != 0   and sofar <> totalwork; select    to_char(start_time,'dd-mon-yy hh24:mi') "backup started",    opname,    sofar,    totalwork,    elapsed_seconds/60 "elapse (min)",    round(sofar/totalwork*100,2) "complete%" from v$session_longops where   lower(opname) like 'rman...

DB Locks

PT :  Identificar DB Locks EN :   Identify  DB Locks

RIB - JMS AQ

English Version Neste post partilho algumas queries que usei para monitorizar o processamento de mensagens no RIB. -- find all items queues SQL> select * from user_queues where queue_type = 'NORMAL_QUEUE' and name like '%ITEM%' --- find all items to process SQL> select * from ETITEMSTLFROMRIBTABLE -- queue subscribers SQL> select * from AQ$_ETITEMSTLFROMRIBTABLE_S -- queue historic SQL> select * from AQ$_ETITEMSTLFROMRIBTABLE_H where msgid = 'FE4C339218D830B1E0440024813309CD' --- find all tables/queue tables SQL> select * from dba_tables where table_name like '%ETITEMSTLFROMRIB%' Testar Integracao - RMS > WMS Uma forma facil de testar a integracao (RIB) apos adicionar um novo warehouse (WMS), e actualizar um Item no RMS e validar se as alteracoes estao a ser transmitidas ao WMS, no exemplo seguinte mostro como fazer isso, e os tabelas/queues envolvidas. Item : 101715654 -- RMS DB SQL> select  item, item_desc  from item_master wher...

RIB 13.1.x - JMS AQ Monitoring

PT :  RIB -  JMS AQ  EN :  RIB -   JMS AQ