B2B Processflow

Download Report

Transcript B2B Processflow

Process Flow for TSS - Supplier
This document describes the process and
interdialogue rules in the NeBI interface between TSS
and subcontractors.
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 1
Document history
2003-12-11
Ove Fritz
C
2004-02-23
Lars Abrell
D
2005-10-11
Per Rudal
PE1
RenegOrder init av FNS uppdaterad, ny slide ExecuteOrder med OEA
justerade format (master slide), puts
2005-10-11
Per Rudal
PE2
FNS ändrat till Supplier, puts av slide Villkor
2005-11-04
Per Rudal
PE3
Nya slides Dialogöversikt o Affärsregler. ExecuteOrder med OEA borttagen tills vidare.
2005-11-04
Hans Guste
PE3_1
Rubrik Affärsregler ändrad till Interdialogregler, Approved tillagt sid 1
2005-11-18
Anders Hultin
PE3_2
Interdialogregler kommenterade efter internt Relacommöte
2005-12-07
Per Rudal
PE4
Interdialogreglerna uppdaterade efter e-gs-forum 29/11.
CancelOrder: ruta 6b, “ESN2”, är ny.
RenegOrderBySup: ruta 12, “manuell hantering” är borttagen.
2005-12-23
Per Rudal
PE5
Interdialogreglerna uppdaterade efter e-gs-forum 14/12 (h-regel 4, tillägg 4-6)
Nya slides: 2 Transaktionsmönster, 3 Omsändning o larm
2006-01-16
Per Rudal
PE6
Uppdatering efter e-gs-forum 11/1: slide 2, Transaktionsmönster; slide 3, Omsändning, heart-beat o larm; slide 11,
Inderdialogregler 2, punkt 2, 3, 6.
2006-06-20
Per Rudal
E
Version för gränssnittsdokument J.
PE7 utgår. Röd reservationstext i Interdialogreglerna borttagen.
2006-06-20
Per Rudal
F
Version för gränssnittsdokument K.
Ny slide 9, RenegotiateOrder initierad av Supplier alt B.
2006-06-20
Per Rudal
PG1
Dialog för leveransgodkännande, “ExecuteOrder med OEA” återinförd (jmfr PE1 o PE2 ovan)
2006-10-20
Per Rudal
PG2
slide 3: Omsändning http-nivå Telia: 3*120s -> 7*4min
slide 4 Dialogöversikt + slide 9, Reneg Supplier alt B + slide 11, EO m levgodk: version 3.1 -> 4.0
2006-11-08
Per Rudal
G
Version för gränssnittsdokument L
2006-12-01
Per Rudal
PH1
Version för gränssnittsdokument M
Ny layout. Ny slide 6, NegotiateOrder med förhandling + slide 4, Dialogöversikt uppdaterad
2007-01-19
Hans Guste, Per Rudal PH2
Translation to English. New doc name “NeBi_proc_TSS-Supplier PH2”. New slide Dialogue rules. Inter-dialogue rules updated.
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 2
Transaction pattern
NeBI
Responder
Initiator
1.
Trans A
2. Request
(dialog + trans)
3. ebMS service + action
(=dialog + trans)
6. Ack / Error
4. ebMS
header
validation
5. MSHack / Error
7.
8. Request
(dialog + trans)
12. ebMS service + action
(=dialog + trans)
14. MSHack / Error
17.
16. Request
(dialog + trans)
Application
10.
11. Request
(dialog + trans)
15. Ack / Error
Trans B
13. ebMS
header
validation
B2B
B2B
Dialog X
Application
9.
The dialogue above is an example. The dialogue X consists of two transactions, A and B, that are inititiated by different parties.
The internal flow of a party is determined by the party itself (the figure function names are just examples). The focus of the figure
is the common NeBI-interface which shows the transaction pattern for all transactions used in the interface:
a) A transaction request is an http-request holding one ebMS-message including a business document, e g an Order
b) A transaction reply is a new http-request holding one ebMS-message containing an MSH-ack or Error
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 3
Resending, heart-beat and alarm
This slide describes the resending pattern, heart-beats and alarms for (missing) events in the NeBI interface.
All values are configurable. Current values are indicated.
1.
Resending on http-level
If http-return is not received for an http-request, then:
2.
•
TSS
will resend the http-request every 4min 7times
•
Eltel
will resend the http-request every 120s during 24h
Resending on transaction level
If MSH-ack (Message Service Handler Acknowledgment) is not received for a transaction, then:
3.
•
TSS
•
Relacom will resend the trans with increasing interval during 24h
•
Eltel
will resend the trans every 10 minutes during 24h (given http-return is received, see 1 above)
will resend the trans every 10 minutes during 24h (given http-return is received, see 1 above)
Heart-beat
TSS sends fictitious orders (also called Topaz-order) every 15 minutes to be able to supervise the functionality of the
flow also when normal traffic is low.
4.
Transaction alarm
•
TSS
•
Relacom will supervise TSS heart-beat
•
Eltel
If OA is not received by TSS within X minutes after OR is sent,
TSS supervision staff will be notified (historically called 15-minutes alarm).
The time is configurable per business agreement.
will supervise TSS heart-beat
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 4
Dialogue overview
1.
NegotiateOrder
[nebi.biz:BC:NegotiateOrder_3.0]
2.
NegotiateOrder with order content negotiation
[nebi.biz:BC:NegotiateOrder_4.0]
3.
RenegotiateOrder initiated by TSS
[nebi.biz:BC:RenegotiateOrder_3.0]
4.
RenegotiateOrder intiiated by Supplier alt A
[nebi.biz:BC:RenegotiateOrder_3.0]
5.
RenegotiateOrder initiated by Supplier alt B
[nebi.biz:BC:RenegotiateOrder_4.0]
6.
CancelOrder
[nebi.biz:BC:CancelOrder_3.0]
7.
ExecuteOrder
[nebi.biz:BC:ExecuteOrder_3.0]
8.
ExecuteOrder with delivery acceptance
[nebi.biz:BC:ExecuteOrder_4.0]
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 5
NegotiateOrder [nebi.biz:BC:NegotiateOrder_3.0]
NeBI
TSS
Application
B2B
B2B
a) Send order
Supplier
Application
1. OrderRequest
ByBuyer
b) Is the order
acceptable?
2. OrderAcknowledgment
BySupplier
3. DialogueCancellation
BySupplier
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
c) Accept
order
d) Reject
order
sid 6
NegotiateOrder with order content negotiation [nebi.biz:BC:NegotiateOrder_4.0]
NeBI
TSS
Application
B2B
B2B
a) Send order
Supplier
Application
1. OrderRequest
ByBuyer
2. OrderAcknowledgment
BySupplier
c) Accept
order
3. DialogueCancellation
BySupplier
d) Reject
order
4. OrderRequest
BySupplier
e) Change
order
b) Is the
order
acceptable?
f) Is the
change
acceptable?
i) Change
Supplier
order
g) Accept
changed
order
h) Reject
order
5. OrderAcknowledgment
ByBuyer
6. DialogueCancellation
ByBuyer
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 7
RenegotiateOrder initiated by TSS [nebi.biz:BC:RenegotiateOrder_3.0]
NeBI
TSS
Application
B2B
B2B
a) Change
order
Supplier
Application
1. OrderUpdateRequest
ByInitiator
b) Is the change
acceptable?
2. OrderUpdateAcknowledgment
ByResponder
c) Accept
change
3. DialogueCancellation
ByResponder
d) Reject
change
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 8
RenegotiateOrder initiated by Supplier alt A [nebi.biz:BC:RenegotiateOrder_3.0]
NeBI
TSS
Application
Supplier
B2B
B2B
1. OrderUpdateProposalRequest
ByInitiator
Application
a) Request
Order change
b) Is the
change
acceptable?
c) Reject the
change
request
d) Change
the order
2. DialogueCancellation
ByResponder
3. OrderUpdateRequest
ByResponder
e) If the OUPR
concerns a
cancellation the
dialogue is
ended and TSS
initiates a new
CancelOrder
dialogue.
f) Is the
change
acceptable?
4. OrderUpdateAcknowledgment
ByInitiator
g) Accept the
change
5. DialogueCancellation
ByInitiator
h) Reject the
change
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 9
RenegotiateOrder initiated by Supplier alt B [nebi.biz:BC:RenegotiateOrder_4.0]
NeBI
TSS
Application
Supplier
B2B
B2B
1. OrderUpdateRequest
BySupplier
Application
a) Change
order
b) Is the
change
acceptable?
c) Accept
order
change
d) Reject
order
change
2. OrderUpdateAcknowledgment
ByBuyer
3. DialogueCancellation
ByBuyer
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 10
CancelOrder [nebi.biz:BC:CancelOrder_3.0]
NeBI
TSS
Application
B2B
B2B
a) Cancel
order
Supplier
Application
1. OrderCancellationRequest
b) Is the
cancellation
acceptable?
2. OrderCancellation
c) Accept
cancellation
3. DialogueCancellation
ByResponder
d) Reject
cancellation
Comments to c)
• If Supplier wants payment for the
cancelled order, Reason.Name is
set to 'faktureras’ in OC and
ESN2+OE are sent in an
ExecuteOrder dialogue.
• In rare occasions, Supplier will
not able to send ”OC faktureras”.
This will not give TSS problems.
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 11
ExecuteOrder [nebi.biz:BC:ExecuteOrder_3.0]
NeBI
TSS
Application
Supplier
B2B
B2B
Application
a) ESN1 is sent
for every status
change before
workreport
1. ExecutionStatusNotification 1
b) Send
status
2. ExecutionStatusNotification 2
c) Send
workreport
3. OrderExecuted
d) Send
executedreport
Workreport =
’Arbetsrapport’
Executedreport =
’Åtagande klart’
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 12
ExecuteOrder with delivery acceptance [nebi.biz:BC:ExecuteOrder_4.0]
NeBI
TSS
Application
Supplier
B2B
B2B
Application
a) ESN1 is sent
for every status
change before
workreport
1. ExecutionStatusNotification 1
b) Send
status
2. ExecutionStatusNotification 2
c) Send
workreport
3. OrderExecutedRequest
d) Send
executedreport
e) Is
executedreport
acceptable?
f) Reject
executedreport
4. OrderExecutedDenial
g) Accept
executedreport
5. OrderExecutedAcknowledgment
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 13
Dialogue rules
1.
A dialogue defines a transaction pattern between two parties
2.
A conversation is an instance of a dialogue. It is identified by its conversationId which must be unique.
3.
Every transaction contains a conversationId so that the receiving part can associate the transaction
with a conversation
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 14
Inter-dialogue rules 1
Within each dialogue the process rules are illustrated by the sequence diagrams in the previous slides. The following slides
describe inter-dialogue rules that are rules that apply to concurrent dialogues that concern the same order.
Principal rules
1.
The first dialogue for every order is NegotiateOrder
2.
Concurrent dialogues concerning the same order are permitted
3.
Transactions are not permitted towards an order with a completed ExecuteOrder dialogue
4.
An order is identified by its OrderId which must be unique
The rule means that every NegotiateOrder dialogue concerns a new order with a unique orderid (see below for order resend though).
When a new unique order is rejected in the NegotiateOrder dialogue using DialogueCancellation, then the order, including its orderid, is
regarded as non-existant. The orderid of the rejected order may be reused in a new NegotiateOrder dialogue.
In a dialogue of type ”NegotiateOrder with order content negotiation” all transactions, possibly including multiple OrderRequest transactions
operate on the same order, thus using the same orderId.
5.
Resending an order is allowed if the “resend flag” is set
When resending, the order content is identical, apart from the resend flag. Resending is done when an order needs to be sent through the
regular channel at a time when it has already reached Supplier through a reserve channel.
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 15
Inter-dialogue rules 2
Exceptions, additions and explanations
1.
The dialogue NegotiateOrder must be finished before starting ExecuteOrder
[OA before ESN/OE]
Info: Some violation of the rule occurs for technical reasons, since the IT components between the business application endpoints not always
manage to maintain the original business application transaction sequence. The reason is that the IT components have parallel execution
threads. This problem is most common during recovery after a stop.
2.
ESN2/OE is not allowed to be sent during an ongoing RenegOrderBySup
Info: If RenegOrderBySup is not responded in a timely manner, the Supplier should contact TSS through other channels.
3.
Workreport (ESN2) confirms cancellation request (OCR)
[ESN2 = OC + ESN2]
Explanation: Supplier does not need to confirm OCR with OC if Supplier sends ESN2 in the dialogue ExecuteOrder, see slide CancelOrder.
4.
In the dialogue RenegOrderBySup, an ”impossible” orderchange (OUR) as an answer to OUPR may be
rejected by the Supplier
Info: Subsequent status reporting (ESN/OE) is allowed, but cannot be handled by TSS. Manual routines must be used.
5.
A new dialogue RenegOrderBySup may be initiated while a RenegOrderBySup is ongoing
Info: TSS will however reject the new RenegOrderBySup. Supplier must wait for the ongoing dialogue to complete or contact TSS through other
channels in order to solve the problem.
dokID: Telia AB CIO Office nr 2002/007/1, rev PH2, 2007-01-10 [Approved: J Alatalo, SIG]
sid 16