---
schema_version: "1"
id: daece9687171336b7bedee172b325cb2fa945f92e5976ed5807e3874775d84f8
title: AccountInternalOrgUnit
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/penny-perfect-pricing/references/standard-objects/account-internal-org-unit.md
canonical_url: https://developer.salesforce.com/docs/industries/penny-perfect-pricing/references/penny-perfect-pricing-objects/account-internal-org-unit.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: b0a879cd3b7654339d4dadf3ca1f262cafbdeace7400d764e1d8c6a232a538fd
products:
  - Penny Perfect Pricing Developer Guide
  - Industries Developer Documentation
---
# AccountInternalOrgUnit

Junction object that associates an Account with an InternalOrganizationUnit (business unit/branch), carrying business-unit-specific account settings such as pricing type, tax jurisdiction, and out-of-stock/availability flags. This object is available in API version 68.0 and later.

## Supported Calls

`create()`, `delete()`, `describeLayout()`, `describeSObjects()`, `getDeleted()`, `getUpdated()`, `query()`, `retrieve()`, `search()`, `undelete()`, `update()`, `upsert()`

## Special Access Rules

Available only in orgs with Manufacturing Cloud, Automotive Cloud, or Consumer Goods Cloud enabled, or with the relevant Account Hierarchy / B2B relationship features licensed.

## Fields

### AccountId

**Type:** reference

**Properties:** Create, Filter, Group, Sort, Update

**Description:** The account associated with the internal organization unit.

**Relationship Name:** Account

**Refers To:** Account

### BusinessPartnerMatchCode

**Type:** textarea

**Properties:** Create, Filter, Nillable, Sort, Update

**Description:** A match code used to reconcile this account against an external business-partner record for this internal organization unit.

### CurrencyIsoCode

**Type:** picklist

**Properties:** Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

**Description:** ISO code for the currency of this record. Possible values are: AED (UAE Dirham), USD (U.S. Dollar), and every other active currency ISO code configured for the org. The default value is USD.

### InternalOrganizationUnitId

**Type:** reference

**Properties:** Create, Filter, Group, Sort, Update

**Description:** The internal organization unit (business unit) associated with the account.

**Relationship Name:** InternalOrganizationUnit

**Refers To:** InternalOrganizationUnit

### IsOutofStockDetected

**Type:** boolean

**Properties:** Create, Defaulted on create, Filter, Group, Sort, Update

**Description:** Indicates whether an out-of-stock condition was detected for this account/org-unit combination. The default value is false.

### IsProdtAvlCondDetected

**Type:** boolean

**Properties:** Create, Defaulted on create, Filter, Group, Sort, Update

**Description:** Indicates whether a product-availability condition was detected for this account/org-unit combination. The default value is false.

### IsSalesRelevant

**Type:** boolean

**Properties:** Create, Defaulted on create, Filter, Group, Sort, Update

**Description:** Indicates whether this account is relevant for sales activity within this internal organization unit. The default value is false.

### LastReferencedDate

**Type:** dateTime

**Properties:** Filter, Nillable, Sort

**Description:** Date on which a user last viewed a record related to this record.

### LastViewedDate

**Type:** dateTime

**Properties:** Filter, Nillable, Sort

**Description:** Date on which a user last viewed this record.

### Name

**Type:** string

**Properties:** Autonumber, Defaulted on create, Filter, idLookup, Sort

**Description:** Auto-generated name for the record.

### OwnerId

**Type:** reference

**Properties:** Create, Defaulted on create, Filter, Group, Sort, Update

**Description:** The user or queue that owns this record.

**Relationship Name:** Owner

**Refers To:** Group, User

### PricingType

**Type:** picklist

**Properties:** Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

**Description:** Pricing type assigned to the account for the selected internal organization unit. Possible values are Standard, StandardIncludingSalesTax, and SampleOrDonation.

### PrimaryContactId

**Type:** reference

**Properties:** Create, Filter, Group, Nillable, Sort, Update

**Description:** The primary contact for the account within this internal organization unit.

**Relationship Name:** PrimaryContact

**Refers To:** Contact

### Priority

**Type:** picklist

**Properties:** Create, Filter, Group, Nillable, Sort, Update

**Description:** The priority assigned to this account within the internal organization unit, for example for order fulfillment sequencing.

### TaxJurisdictionCode

**Type:** string

**Properties:** Create, Filter, Group, Nillable, Sort, Update

**Description:** Code identifying the tax jurisdiction that applies to this account within the internal organization unit.

### TradeClass

**Type:** picklist

**Properties:** Create, Filter, Group, Nillable, Sort, Update

**Description:** The trade class assigned to the account within the internal organization unit, used for pricing/segmentation purposes.

## Associated Objects

This object has the following associated objects. If the API version isn't specified, they're available in the same API versions as this object. Otherwise, they're available in the specified API version and later.

- [AccountInternalOrgUnitChangeEvent](https://developer.salesforce.com/docs/industries/penny-perfect-pricing/references/associated-objects/change-event.md): Change events are available for the object.
- [AccountInternalOrgUnitFeed](https://developer.salesforce.com/docs/industries/penny-perfect-pricing/references/associated-objects/feed.md): Feed tracking is available for the object.
- [AccountInternalOrgUnitHistory](https://developer.salesforce.com/docs/industries/penny-perfect-pricing/references/associated-objects/history.md): History is available for tracked fields of the object.
- [AccountInternalOrgUnitOwnerSharingRule](https://developer.salesforce.com/docs/industries/penny-perfect-pricing/references/associated-objects/owner-sharing-rule.md): Sharing rules are available for the object.
- [AccountInternalOrgUnitShare](https://developer.salesforce.com/docs/industries/penny-perfect-pricing/references/associated-objects/share.md): Sharing is available for the object.
