cgcloud__Inventory_Transaction_Template__c

Stores the details of the inventory control template that’s to be used for inventory control transactions. This object is available in API version 54.0 and later.

Supported Calls 

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields 

LastReferencedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: Most recent date on which a user referenced this record.

LastViewedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: Most recent date on which a user viewed this record.

Name 

  • Type: string
  • Properties: Create, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, Update
  • Description: Unique identification of the record.

OwnerId 

  • Type: reference

  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update

  • Description: ID of the record owner.

    This is a polymorphic relationship field.

  • Relationship Name: Owner

  • Relationship Type: Lookup

  • Refers To: Group, User

cgcloud__Active__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Determines whether the template is active.
  • Default value: true

cgcloud__Description_Language_1__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the description of language 1.

cgcloud__Description_Language_2__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the description of language 2.

cgcloud__Description_Language_3__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the description of language 3.

cgcloud__Description_Language_4__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the description of language 4.

cgcloud__Description__c 

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: Reference to the description based on the user-specified language.

    This is a calculated field.

  • Formula:

    1CASE($User.cgcloud__Language_Postfix__c,
    2"Language1", cgcloud__Description_Language_1__c,
    3"Language2", BLANKVALUE(cgcloud__Description_Language_2__c,cgcloud__Description_Language_1__c),
    4"Language3", BLANKVALUE(cgcloud__Description_Language_3__c,cgcloud__Description_Language_1__c),
    5"Language4", BLANKVALUE(cgcloud__Description_Language_4__c,cgcloud__Description_Language_1__c),
    6cgcloud__Description_Language_1__c)

cgcloud__Initial__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Specifies whether the transaction is an initial transaction.
  • Default value: false

cgcloud__Sales_Org__c 

  • Type: picklist

  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Description: Defines the Sales Organization in which the template can be used.

  • Possible values:

    • 0000
    • 0001
    • 0002
    • 0003

cgcloud__Transaction_Control__c 

  • Type: picklist

  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Description: Specifies the transaction behavior.

  • Default value: add

  • Possible values:

    • Add
    • Audit
    • Current
    • Current to Orderer
    • Neutral
    • Orderer to Current
    • Withdraw

cgcloud__Transaction_Type__c 

  • Type: picklist

  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Description: Specifies the transaction type.

  • Default value: Addition

  • Possible values:

    • Addition
    • Balance
    • Void
    • Withdrawal

cgcloud__Use_Inventory_Reference_1__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Use Inventory Reference 1.
  • Default value: false

cgcloud__Use_Inventory_Reference_2__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Use Inventory Reference 2.
  • Default value: false

cgcloud__Use_Inventory_Reference_3__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Use Inventory Reference 3.
  • Default value: false

cgcloud__Use_Inventory_Reference_4__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Use Inventory Reference 4.
  • Default value: false

cgcloud__Use_Inventory_Reference_5__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Use Inventory Reference 5.
  • Default value: false

Associated Objects 

Associated Objects 

This object has these associated objects. If the API version isn’t specified, they are available in the same API versions as this object. Otherwise, they are available in the specified API version and later.