CorrectBusinessTransactions

Inputs (Array[] of CorrectionBusinessTransaction)

Two minor notes:

  • When creating a CorrectBusinessTransactionRequest you also need to attach CorrectionBusinessTransactionFields.
    It doesn't have any properties and thus not holding any data, but is still needed in the request. If you are using the Bricknode.Soap.Sdk this is done automatically for you.

  • The CorrectionBusinessTransaction is not a special transaction type, but simply a wrapper that incapsulates SuperTransaction Ids.

Name

Type

Description

Mandatory

Available from version

Name

Type

Description

Mandatory

Available from version

BrickId

Guid

 Ids of SuperTransactions to be corrected

Yes

 2,14

Outputs

Name

Type

Description

Available from version

Name

Type

Description

Available from version

Entities

Array

Entites containing the BrickId (unique id) of the SuperTransactions



Code examples

C# - Correct SuperTransaction
 public static void CorrectBusinessTransaction() { var binding = new BasicHttpBinding(); binding.MaxReceivedMessageSize = Int32.MaxValue; var target = new bfsapi.bfsapiSoapClient(binding, new EndpointAddress("http://localhost:20010/bfsapi.asmx")); var req = new bfsapi.CorrectBusinessTransactionRequest(); req.Credentials = new bfsapi.Credentials { UserName = "username", Password = "password" }; req.identify = "identity"; req.Fields = new CorrectionBusinessTransactionFields(); req.Entities=new CorrectionBusinessTransaction[] { new CorrectionBusinessTransaction { BrickId = new Guid("e14ee5c1-cc78-4dad-bf0a-14800538a107") }, }; var resp= target.CorrectBusinessTransactions(req); }





Terms of License
Change Policy
© 2009 - 2024 Huddlestock Technologies AB All rights reserved