Jump to content

Operation Transaction Rollback


 Share

Recommended Posts

Would <operation transaction="true"> work on a CSV import using AJAX within Intacct? I am trying to structure the payload to represent all the <create_sotransaction> within one <operation>. Given that the payload only shows the results, is there anyway to manipulate it? 

Link to comment
Share on other sites

Do you mean using the AJAX SDK, as in this > https://developer.intacct.com/platform-services/ajax-sdk-javascript/

If you do, then I don't think you can - there isn't a parameter you can pass to the API_Session to set the transaction attribute. Also, I don't see a way to construct a call containing multiple function calls, which would be needed for the transaction to work.

I think you would need to build your own XMLHttpRequest request, rather than using the SDK.

Happy to be proved wrong by somebody else though 🙂

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...