Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | TPA Folder | Summary of Elements in this Folder | wm.tn.tpa:nextControlNumber
 
wm.tn.tpa:nextControlNumber
Increases the value of controlNumber by one, and returns the new value of controlNumber. If the service does not find a TPA, it reports an error.
Input Parameters
senderID
String The internal ID of the trading partner that has the sender role in the transaction the TPA governs.
receiverID
String The internal ID of the trading partner that has the receiver role in the transaction the TPA governs.
agreementID
String The agreement ID of the TPA.
Output Parameters
controlNumber
String The new controlNumber.
error
Document (optional) The error reported by the service.