---
title: Custom objects
slug: custom-objects
createdAt: 2026-11-10T10:16:39.271Z
---

A field reference for the objects WeTransact installs, for building reports, list views and your own automation.

## How to read this page

- In your org, every object and field carries the package's namespace. Add `wetransact__` in front of the API names below, for example `wetransact__MicrosoftPrivateOffer__c` and `wetransact__OfferStatus__c`.
- Fields marked *set by WeTransact* are filled in when the record syncs. Don't edit them by hand.
- Once Microsoft has a private offer or co-sell registration, most of its fields are locked. See [Create and manage a private offer](https://docs.wetransact.io/create-and-manage-a-private-offer#changing-a-published-offer) and [Register a co-sell deal](https://docs.wetransact.io/register-a-co-sell-deal#changing-a-registration).

## How the objects relate

```javascript
Opportunity
├── Microsoft Private Offer
│   ├── Offer Product            (one per plan)
│   │   └── Product Pricing      (flexible billing charges and custom dimensions)
│   └── Offer Reseller
└── Microsoft Co-Sell
    ├── Co-Sell Customer Contact  (→ Contact)
    ├── Co-Sell Member
    └── Co-Sell Solution
```

Private offers and co-sell registrations look up to their Opportunity. Their children are in a master-detail relationship with them, so they share their parent's sharing and are deleted with it.

## Private offer objects

### Microsoft Private Offer

`MicrosoftPrivateOffer__c`. One private offer for one customer.

| Field                     | API name                                            | Type                 | Notes                                                                                                                                               |
| ------------------------- | --------------------------------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name                      | `Name`                                              | Text                 | The offer name.                                                                                                                                     |
| Opportunity               | `Opportunity__c`                                    | Lookup (Opportunity) | The Opportunity the offer belongs to.                                                                                                               |
| Offer Status              | `OfferStatus__c`                                    | Picklist             | Microsoft's status: New, Publication in progress, Published, Sent to customer, Accepted by customer, Rejected, Expired, Draft. *Set by WeTransact.* |
| Sync Status               | `SyncStatus__c`                                     | Picklist             | Pending Sync, Awaiting Microsoft, Synced or Sync Failed. *Set by WeTransact.*                                                                       |
| Offer ID                  | `OfferId__c`                                        | Text                 | The offer's ID in WeTransact. *Set by WeTransact.*                                                                                                  |
| Validated Name            | `ValidatedName__c`                                  | Text                 | The name the offer was published under, if WeTransact had to make it unique. *Set by WeTransact.*                                                   |
| Offer Type                | `Offer_Type__c`                                     | Picklist             | Direct Private Offer.                                                                                                                               |
| Customer Billing ID       | `Customer_Billing_ID__c`                            | Text                 | The customer's Microsoft billing account ID.                                                                                                        |
| Prepared By Email         | `PreparedByEmail__c`                                | Email                | Who prepared the offer.                                                                                                                             |
| Publisher Location        | `Publisher_Location__c`                             | Picklist             | The publisher location the offer's products belong to.                                                                                              |
| Offer Starts Option       | `Offer_Starts_Option__c`                            | Picklist             | A fixed start date, or starts on acceptance.                                                                                                        |
| Offer Start Date          | `OfferStartDate__c`                                 | Date                 | Blank when the offer starts on acceptance.                                                                                                          |
| Offer End Date            | `OfferEndDate__c`                                   | Date                 |                                                                                                                                                     |
| Offer Valid Until Date    | `OfferValidUntilDate__c`                            | Date                 | The last day the customer can accept.                                                                                                               |
| Acceptance Deadline       | `Acceptance_Deadline__c`                            | Date                 |                                                                                                                                                     |
| Is Renewal                | `Is_Renewal__c`                                     | Checkbox             |                                                                                                                                                     |
| Subscriber #1 to #5 Email | `SubscriberNum1Email__c` … `SubscriberNum5Email__c` | Email                | Who Microsoft notifies about the offer.                                                                                                             |
| Notification Emails       | `Notification_Emails__c`                            | Long text            |                                                                                                                                                     |
| Last Sync Date/Time       | `LastSyncDateTime__c`                               | Date/time            | When the record last synced. *Set by WeTransact.*                                                                                                   |
| API Response              | `ApiResponse__c`                                    | Long text            | The last response from WeTransact, for troubleshooting. *Set by WeTransact.*                                                                        |

### Offer Product

`OfferProduct__c`. One plan in a private offer. Master-detail to Microsoft Private Offer.

| Field                         | API name                              | Type     | Notes                                                      |
| ----------------------------- | ------------------------------------- | -------- | ---------------------------------------------------------- |
| Name                          | `Name`                                | Text     | The plan name.                                             |
| Product Name                  | `ProductName__c`                      | Text     | The product the plan belongs to.                           |
| Product ID                    | `ProductId__c`                        | Text     |                                                            |
| Template Plan ID              | `TemplatePlanId__c`                   | Text     | The public plan this private plan is based on.             |
| Pricing Model                 | `PricingModel__c`                     | Text     | For example flat rate or per user.                         |
| Contract Term                 | `Contract_Term__c`                    | Number   | In months (see Contract Term Unit).                        |
| Billing Interval              | `BillingInterval__c`                  | Picklist |                                                            |
| Price                         | `Price__c`                            | Currency | The price for the term.                                    |
| Currency                      | `Currency__c`                         | Picklist |                                                            |
| Multi-currency Prices         | `Secondary_Prices__c`                 | Text     | Prices in other currencies, for example *45 CAD, 300 SEK*. |
| Flexible Billing              | `Flexible_Billing__c`                 | Checkbox | The plan uses a flexible billing schedule.                 |
| Minimum Users / Maximum Users | `MinimumUsers__c` / `MaximumUsers__c` | Number   | Per-user plans.                                            |
| Order Auto Approved           | `Order_Auto_Approved__c`              | Checkbox | Orders are approved without a manual review.               |
| Renewal                       | `Renewal__c`                          | Text     | What happens when the term ends.                           |

### Product Pricing

`ProductPricing__c`. A flexible billing charge or a custom dimension of a plan. Master-detail to Offer Product.

| Field                 | API name              | Type     | Notes                                    |
| --------------------- | --------------------- | -------- | ---------------------------------------- |
| Billing Name          | `Billing_Name__c`     | Text     | Flexible billing: the charge's name.     |
| Billing Date          | `Billing_Date__c`     | Date     | Flexible billing: when it's charged.     |
| Price                 | `Price__c`            | Currency |                                          |
| Currency              | `Currency__c`         | Picklist |                                          |
| Quantity              | `Quantity__c`         | Number   | Custom dimension: the quantity included. |
| Unit                  | `Unit__c`             | Text     | Custom dimension: the unit of measure.   |
| Multi-currency Prices | `Secondary_Prices__c` | Text     |                                          |

### Offer Reseller

`OfferReseller__c`. Reserved for multiparty offers, which aren't created from Salesforce at the moment.

## Co-sell objects

### Microsoft Co-Sell

`MicrosoftCoSell__c`. One co-sell registration.

| Field                         | API name                                                    | Type                 | Notes                                                        |
| ----------------------------- | ----------------------------------------------------------- | -------------------- | ------------------------------------------------------------ |
| Name                          | `Name`                                                      | Text                 | *\<Opportunity name> Co-Sell*.                               |
| Opportunity                   | `Opportunity__c`                                            | Lookup (Opportunity) |                                                              |
| Deal Name                     | `DealName__c`                                               | Text                 |                                                              |
| Customer Name / City / Street | `CustomerName__c` / `CustomerCity__c` / `CustomerStreet__c` | Text                 | As registered with Microsoft.                                |
| Customer Country              | `CustomerCountry__c`                                        | Picklist             |                                                              |
| Customer Country Code         | `CustomerCountryCode__c`                                    | Text                 | ISO two-letter code.                                         |
| Customer MACC Eligible        | `IsCustomerMaccEligible__c`                                 | Checkbox             | The customer has a Microsoft Azure Consumption Commitment.   |
| Customer Managed              | `IsCustomerManaged__c`                                      | Checkbox             | The customer is managed by Microsoft.                        |
| Customer Contact              | `CustomerContact__c`                                        | Lookup (Contact)     | The primary customer contact.                                |
| Customer Contact Notes        | `CustomerContactNotes__c`                                   | Text area            |                                                              |
| Organization                  | `Organization__c`                                           | Text                 | Your Partner Center organization.                            |
| Estimated Value               | `EstimatedValue__c`                                         | Currency             |                                                              |
| Currency                      | `Currency__c`                                               | Picklist             |                                                              |
| Estimated Closing Date        | `EstimatedClosingDate__c`                                   | Date                 |                                                              |
| Deal Owner                    | `DealOwnerEmail__c`                                         | Email                | The team member who owns the deal.                           |
| Microsoft Involvement         | `MicrosoftInvolvement__c`                                   | Picklist             | The help you asked Microsoft for.                            |
| Solution Area / Conversation  | `SolutionArea__c` / `Conversation__c`                       | Text                 | Microsoft's categories for the deal.                         |
| Sync Status                   | `SyncStatus__c`                                             | Picklist             | Pending Sync, Synced or Sync Failed. *Set by WeTransact.*    |
| Deal Status                   | `DealStatus__c`                                             | Picklist             | Active or Closed. *Set by WeTransact.*                       |
| Deal Sub-Status               | `DealSubStatus__c`                                          | Picklist             | Accepted, Won, Lost or Error. *Set by WeTransact.*           |
| Registration Status           | `RegistrationStatus__c`                                     | Text                 | As Partner Center shows it. *Set by WeTransact.*             |
| Microsoft Status              | `MicrosoftStatus__c`                                        | Text                 | Microsoft's own status. *Set by WeTransact.*                 |
| Deal ID / Engagement ID       | `DealId__c` / `EngagementId__c`                             | Text                 | The registration's IDs. *Set by WeTransact.*                 |
| Last Sync Date/Time           | `LastSyncDateTime__c`                                       | Date/time            | *Set by WeTransact.*                                         |
| API Response                  | `ApiResponse__c`                                            | Long text            | The last response, for troubleshooting. *Set by WeTransact.* |

Field history is tracked for **Deal Status**, **Deal Sub-Status** and **Sync Status**.

### Co-Sell Customer Contact

`CoSellCustomerContact__c`. A customer contact on a registration. Master-detail to Microsoft Co-Sell.

| Field                  | API name                       | Type             | Notes                                                    |
| ---------------------- | ------------------------------ | ---------------- | -------------------------------------------------------- |
| Contact                | `Contact__c`                   | Lookup (Contact) | The Salesforce Contact it was picked from or created as. |
| First Name / Last Name | `FirstName__c` / `LastName__c` | Text             | As sent to Microsoft.                                    |
| Email                  | `Email__c`                     | Email            |                                                          |
| Phone Number           | `PhoneNumber__c`               | Phone            |                                                          |
| Sort Order             | `SortOrder__c`                 | Number           | 1 is the primary contact.                                |

### Co-Sell Member

`CoSellMember__c`. A member of your team on a registration. Master-detail to Microsoft Co-Sell.

| Field                  | API name                       | Type  |
| ---------------------- | ------------------------------ | ----- |
| First Name / Last Name | `FirstName__c` / `LastName__c` | Text  |
| Email                  | `Email__c`                     | Email |
| Phone Number           | `PhoneNumber__c`               | Phone |

### Co-Sell Solution

`CoSellSolutions__c`. A product listing on a registration. Master-detail to Microsoft Co-Sell.

| Field            | API name              | Type     |
| ---------------- | --------------------- | -------- |
| Name             | `Name`                | Text     |
| Solution ID      | `SolutionId__c`       | Text     |
| Publisher Name   | `PublisherName__c`    | Text     |
| Co-Sell Eligible | `IsCoSellEligible__c` | Checkbox |

## Fields not to rely on

Some fields remain from earlier versions of the package and aren't filled in by the current wizards, for example **Price**, **Contract Term**, **Billing Interval**, **Type**, **Seller ID** and the second **Offer Status**, **Offer End Date** and **Prepared By Email** fields on Microsoft Private Offer, and **Notes**, **Your CRM ID**, **Your Campaign ID** and **Type** on Microsoft Co-Sell. Build reports on the fields listed above instead.

## Reports

WeTransact doesn't install reports or report types. Create a custom report type in **Setup → Report Types**, then build reports on it as usual. For example:

- **Offers by Opportunity:** primary object **Opportunities**, related object **Microsoft Private Offers**.
- **Offer plans:** primary object **Microsoft Private Offers**, related object **Offer Products**.
- **Co-sell pipeline:** primary object **Opportunities**, related object **Microsoft Co-Sells**.
