150 likes | 273 Views
Order send / Simulation / Delta box 10/05/2009 (Based on Release 2.2). Michaël Petit. Summary. I Order simulation Simulation overview Simulation conditions II Order send Send overview Send conditions III Delta Box Delta box overview Launch conditions Change info Flags.
E N D
Order send / Simulation / Delta box10/05/2009 (Based on Release 2.2) Michaël Petit
Summary I Order simulation • Simulation overview • Simulation conditions II Order send • Send overview • Send conditions III Delta Box • Delta box overview • Launch conditions • Change info Flags
I Order simulation 1) Simulation overview • Order simulation process acts like order sending with the same terms and conditions except : • Simulation flag is sent to BP • Order is neither created nor updated in BP in case of Ok status • Order lines are not updated in case of positive return from BP (no change info flag update) • Simulation sends to BP all header, lines and sites data. • Simulation uses TDI51 flow through EAI to BP : RFC call • Simulation receives response by TDO80 flow from BP through EAI • Simulation, OK • Simulation, NOK • Simulation after creation in ERP OK • Simulation after creation in ERP NOK
I Order simulation 1) Simulation overview Blue Planet EAI Order Execution TDO 80 Order Status TDI 51 Order simulation (RFC) TDI 53 LargeOrderSimulation_BP PlaceBackOfficeCFF Large Order simulation Order simulation Alliance FE
I Order simulation 1) Simulation conditions • To process simulation, order must not be in lock mode : • Locked for simulation in ERP • Locked for creation in ERP • Locked for simulation after export to ERP • Locked for export after creation in ERP • Cancelled • Invoiced • Locked for export after creation in ERP for cancellation • Order global checker is always launched prior to simulation. If any error case is triggered, simulation cannot be processed. • Connexions to EAI and EAI to BP must be actives.
II Order send 1) Send overview • Order sending process acts differentely than simulation in the following points : • Send flag is sent to BP • Order is created or updated in BP in case of Ok status • Order lines are updated in case of positive return from BP (change info flag update) • Sending sends to BP all header, lines and sites data. • Sending uses TDI51 flow through EAI to BP : IDOC • Sending receives response by TDO80 flow from BP through EAI • Exported to ERP, OK • Creation in ERP failed, NOK • Export failed after creation in ERP, NOK
I Order send 1) Send overview Blue Planet EAI Order Execution TDO 80 Order Status TDI 51 Order preparation (IDOC) TDI 53 LargeOrder_BP PlaceBackOfficeCFF Large Order creation Order creation Alliance FE
II Order simulation 1) Send conditions • To process sending, order must not be in lock mode : • Locked for simulation in ERP • Locked for creation in ERP • Locked for simulation after export to ERP • Locked for export after creation in ERP • Cancelled • Invoiced • Locked for export after creation in ERP for cancellation • Order global checker is always launched prior to sending. If any error case is triggered, sending cannot be processed. • Connexions to EAI and EAI to BP must be actives.
III Delta Box 1) Delta box overview • The order delta box is an enigne that identify changed data between the current order version edition (N) with the previous one (N-1) that has been sent to ERP. • The purpose is to send only the updated data to the ERP. • It takes place on order sending and simulation process. • It covers Header and lines data. ALLIANCE ERP Delta Box Order version edition N Order Δ[n,n-1] Order version edition N-1 Send process
III Delta Box 2) Launch condition • The delta box process is launched during order sending or simulation with the following conditions: • Version edition N-1 was previously sent to ERP with Ok status returned. • Data compared between both edition are only the updatable ones after ERP sending (see order_entry.xls file to check involved data)
III Delta Box 3) Change info flags • In order to identify modified data between two order edition, the value “ChangeInfoFlag” will be updated according the modification type and the involved field. • ChangeInfo flag is present for : • Gobal header level • Specific header data • Commercial discounts • Order lines level • Change info flags are set during the following actions : • Creation, Update, Delete order data. • For global header level, ChangeInfo flags could be : • C for newly created header. (New order) • U if one header value is modified compared to sent order N-1 • D for order cancel compared to sent order N-1 • N if no modification between edition N and sent N-1 • For Specific header data (commercial discount) : • C for newly created data compared to sent order N-1 (or for new order). • U if data is modified compared to sent order N-1. • D if data is deleted compared to sent order N-1. • N if no modification between edition N and sent N-1.
III Delta Box 3) Change info flags • For Order lines level : • C for newly created line compared to sent order N-1 (or for new order). • V if one data is modified compared to sent order N-1, except : • A if the updated data are only delivery info • P if the updated data are only price and discount info • M if the updated data are only financial or Brazil data • U if the updated data are only date data (SCPD, CRDD) • X if the line comes from upfront tool • D if line is deleted compared to sent order N-1. • N if no modification between edition N and sent N-1. • (see order_entry.xls file to check involved data)