BPT_API

  
Is there a specific BPT_API for v9?  If I try and publish the 8.0.1.3 version to out v9 server, I get the following compiler error:

.NET Compilation.

BPT_API.cs(26,36): warning CS0618: 'OutSystems.HubEdition.RuntimePlatform.DBTransactionManager' is obsolete: 'Use OutSystems.RuntimePublic.Db.DatabaseAccess class to access a database and its services' 
BPT_API.cs(29,17): warning CS0618: 'OutSystems.HubEdition.RuntimePlatform.RuntimePublic.ProcessDeletion' is obsolete: 'Use OutSystems.RuntimePublic.ProcessDeletion class to access process deletion API.' 
BPT_API.cs(29,55): warning CS0618: 'OutSystems.HubEdition.RuntimePlatform.RuntimePublic.ProcessDeletion' is obsolete: 'Use OutSystems.RuntimePublic.ProcessDeletion class to access process deletion API.' 
BPT_API.cs(30,37): error CS1501: No overload for method 'DeleteProcesses' takes 1 arguments 
BPT_API.cs(46,36): warning CS0618: 'OutSystems.HubEdition.RuntimePlatform.DBTransactionManager' is obsolete: 'Use OutSystems.RuntimePublic.Db.DatabaseAccess class to access a database and its services' 
BPT_API.cs(49,17): warning CS0618: 'OutSystems.HubEdition.RuntimePlatform.RuntimePublic.ProcessDeletion' is obsolete: 'Use OutSystems.RuntimePublic.ProcessDeletion class to access process deletion API.' 
BPT_API.cs(49,55): warning CS0618: 'OutSystems.HubEdition.RuntimePlatform.RuntimePublic.ProcessDeletion' is obsolete: 'Use OutSystems.RuntimePublic.ProcessDeletion class to access process deletion API.' 
BPT_API.cs(50,17): error CS1501: No overload for method 'DeleteProcesses' takes 1 arguments 
BPT_API.cs(68,36): warning CS0618: 'OutSystems.HubEdition.RuntimePlatform.DBTransactionManager' is obsolete: 'Use OutSystems.RuntimePublic.Db.DatabaseAccess class to access a database and its services' 
BPT_API.cs(70,13): error CS1502: The best overloaded method match for 'OutSystems.HubEdition.RuntimePlatform.DBRuntimePlatform.UpdateActivity(OutSystems.Internal.Db.Transaction, int?, int, int?, int?, string, int?, bool?, bool?, bool?, OutSystems.HubEdition.RuntimePlatform.Processes.ActivityStatus?, bool?, string, bool?, string, bool?, System.DateTime?, int?, string, System.DateTime?, string, string)' has some invalid arguments 
BPT_API.cs(70,46): error CS1503: Argument 1: cannot convert from 'System.Data.IDbTransaction' to 'OutSystems.Internal.Db.Transaction' 
BPT_API.cs(89,36): warning CS0618: 'OutSystems.HubEdition.RuntimePlatform.DBTransactionManager' is obsolete: 'Use OutSystems.RuntimePublic.Db.DatabaseAccess class to access a database and its services' 
BPT_API.cs(90,49): error CS1502: The best overloaded method match for 'OutSystems.HubEdition.RuntimePlatform.DBRuntimePlatform.GetActivity(OutSystems.Internal.Db.Transaction, int?, int, bool)' has some invalid arguments 
BPT_API.cs(90,79): error CS1503: Argument 1: cannot convert from 'System.Data.IDbTransaction' to 'OutSystems.Internal.Db.Transaction' 
BPT_API.cs(97,30): error CS1502: The best overloaded method match for 'OutSystems.HubEdition.RuntimePlatform.DBRuntimePlatform.GetActivityDefinitionKind(OutSystems.Internal.Db.Transaction, int)' has some invalid arguments 
BPT_API.cs(97,74): error CS1503: Argument 1: cannot convert from 'System.Data.IDbTransaction' to 'OutSystems.Internal.Db.Transaction' 
BPT_API.cs(111,36): warning CS0618: 'OutSystems.HubEdition.RuntimePlatform.DBTransactionManager' is obsolete: 'Use OutSystems.RuntimePublic.Db.DatabaseAccess class to access a database and its services' 
BPT_API.cs(113,13): error CS1502: The best overloaded method match for 'OutSystems.HubEdition.RuntimePlatform.DBRuntimePlatform.UpdateActivity(OutSystems.Internal.Db.Transaction, int?, int, int?, int?, string, int?, bool?, bool?, bool?, OutSystems.HubEdition.RuntimePlatform.Processes.ActivityStatus?, bool?, string, bool?, string, bool?, System.DateTime?, int?, string, System.DateTime?, string, string)' has some invalid arguments 
BPT_API.cs(113,46): error CS1503: Argument 1: cannot convert from 'System.Data.IDbTransaction' to 'OutSystems.Internal.Db.Transaction' 
BPT_API.cs(132,36): warning CS0618: 'OutSystems.HubEdition.RuntimePlatform.DBTransactionManager' is obsolete: 'Use OutSystems.RuntimePublic.Db.DatabaseAccess class to access a database and its services' 
BPT_API.cs(133,49): error CS0117: 'OutSystems.HubEdition.RuntimePlatform.DBRuntimePlatform' does not contain a definition for 'CheckUserPermissionForActivity' 
BPT_API.cs(145,36): warning CS0618: 'OutSystems.HubEdition.RuntimePlatform.DBTransactionManager' is obsolete: 'Use OutSystems.RuntimePublic.Db.DatabaseAccess class to access a database and its services' 
BPT_API.cs(152,26): error CS1502: The best overloaded method match for 'OutSystems.HubEdition.RuntimePlatform.DBRuntimePlatform.GetActivity(OutSystems.Internal.Db.Transaction, int?, int, bool)' has some invalid arguments 
BPT_API.cs(152,56): error CS1503: Argument 1: cannot convert from 'System.Data.IDbTransaction' to 'OutSystems.Internal.Db.Transaction' 
BPT_API.cs(163,44): error CS1502: The best overloaded method match for 'OutSystems.HubEdition.RuntimePlatform.DBRuntimePlatform.GetActivityDefinitionKind(OutSystems.Internal.Db.Transaction, int)' has some invalid arguments 
BPT_API.cs(163,88): error CS1503: Argument 1: cannot convert from 'System.Data.IDbTransaction' to 'OutSystems.Internal.Db.Transaction' 
BPT_API.cs(174,13): error CS1502: The best overloaded method match for 'OutSystems.HubEdition.RuntimePlatform.DBRuntimePlatform.UpdateActivity(OutSystems.Internal.Db.Transaction, int?, int, int?, int?, string, int?, bool?, bool?, bool?, OutSystems.HubEdition.RuntimePlatform.Processes.ActivityStatus?, bool?, string, bool?, string, bool?, System.DateTime?, int?, string, System.DateTime?, string, string)' has some invalid arguments 
BPT_API.cs(174,46): error CS1503: Argument 1: cannot convert from 'System.Data.IDbTransaction' to 'OutSystems.Internal.Db.Transaction'.
Hi Colin,

I think you should upgrade your 8.0.1.3 version to 8.0.1.8 or higher first.
Then you can try to publish it on a P9.

I'm not sure if this will do it - but that is recommended on the breaking changes to avoid downtimes.
All now working - thanks for your input.
The BPT_API is a System Component module which is distributed with the OutSystems Platform System Components.

The error you are getting indicates that you are trying to publish a version 8 BPT_API to a version 9 platform. You shouldn't do this and use the one shipped with the platform version 9 instead.

All you need to do is follow the installation checklist and publish the System Components solution.