function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chessbasechessbase 

Adding custom field for synchronizing with a 3rd party application

I am writing a program to import opportunities from salesforce into an application. After importing, I would like to set a custom field with the newly created ObjectId in SalesForce to associate with the opportunity object just created in the application. My question, can I create a custom field in sales force and add it to Opportunity programmatically? Can this custom field be hidden?

Thanks