Data Model > Data Dictionary > S > Stock History
Stock History
All ServiceMax transactions such as RMA, Shipment, Parts Receipt, etc. that impact inventory are recorded in this object.
API Label: SVMXC__Stock_History__c
No. of Fields: 39
Field Label
Field Name
Data Type
Description
Custom Relationship Fields
Batch/Lot
SVMXC__SM_Batch_Lot2__c
Lookup(Batch/Lot)
Identification number assigned to a specific quantity or lot of materials from a single manufacturer.
Changed By
SVMXC__Changed_By__c
Lookup(User)
Name of the Salesforce user that has initiated original transaction which resulted in stock change.
From Product Stock
SVMXC__From_Product_Stock__c
Lookup(Product Stock)
Source (From) Product Stock record involved in the stock transaction. Reference to an existing Product Stock record in ServiceMax.
Inventory Process
SVMXC__Inventory_Process__c
Lookup(ServiceMax Process)
Inventory process that resulted in this stock transaction.
Location
SVMXC__Location__c
Lookup(Location)
Current physical location of the product. This is a lookup to an existing site record.
Notified User
SVMXC__Notified_User__c
Lookup(User)
User notified of negative stock. Reference to an existing Salesforce user record.
Part Usage Transaction
SVMXC__SM_PartUsageTransactionId__c
Lookup(Part Usage Transaction)
Partner Account
SVMXC__Partner_Account__c
Lookup(Account)
Lookup to Account, set by trigger.
Partner Contact
SVMXC__Partner_Contact__c
Lookup(Contact)
Lookup to Contact, set by trigger.
Parts Request
SVMXC__Parts_Request__c
Lookup(Parts Request)
Reference to the Parts Request.
Parts Request Line
SVMXC__Parts_Request_Line__c
Lookup(Parts Request Line)
Reference to the Parts Request line.
Product
SVMXC__Product__c
Lookup(Product)
Name of the product. This is a lookup to an existing Salesforce product record.
Product Serial
SVMXC__Product_Serial__c
Lookup(Stocked Serial/Batch Detail)
Select Product Serial.
Product Stock
SVMXC__Product_Stock__c
Lookup(Product Stock)
Product Stock record affected by the stock transaction. Reference to an existing product stock record in ServiceMax.
RMA
SVMXC__RMA__c
Lookup(Parts Order)
Reference to the RMA/Shipment Order.
RMA Line
SVMXC__RMA_Line__c
Lookup(Parts Order Line)
Reference to the RMA/Shipment Line.
Shipment
SVMXC__Shipment__c
Lookup(Parts Order)
Reference to the RMA/Shipment Order.
Shipment Line
SVMXC__Shipment_Line__c
Lookup(Parts Order Line)
Reference to the RMA/Shipment Line.
Stock Adjustment
SVMXC__Stock_Adjustment__c
Lookup(Stock Adjustment)
Reference to the Stock Adjustment.
Stock Transfer
SVMXC__Stock_Transfer__c
Lookup(Stock Transfer)
Reference to the Stock Transfer.
Stock Transfer Line
SVMXC__Stock_Transfer_Line__c
Lookup(Stock Transfer Line)
Reference to the Stock Transfer line.
To Product Stock
SVMXC__To_Product_Stock__c
Lookup(Product Stock)
Target (To) Product Stock record involved in the stock transaction. Reference to an existing Product Stock record in ServiceMax.
Work Details
SVMXC__Service_Order_Line__c
Lookup(Work Detail)
Reference to the service order line.
Work Order
SVMXC__Service_Order__c
Lookup(Work Order)
Reference to the Service Order.
Standard Fields
Name
Name
Auto Number
The auto-generated record number.
Custom Fields
Change Type
SVMXC__Change_Type__c
Picklist
Change Type Indicates if the type of change in product quantity was “Increase” or “Decrease”.
Cost
SVMXC__Cost__c
Currency(15, 3)
Price of the product from the default pricebook at the time of transaction.
Currency
SVMXC__Currency__c
Text(50)
Currency of the product price at the time of the transaction, which resulted in stock change.
Date Changed
SVMXC__Date_Changed__c
Date/Time
Date/time when the change in product stock was made.
Inventory Account
SVMXC__Inventory_Account__c
Text(30)
Inventory account number for this location. Used for costing/accounting purposes.
Is Partner
SVMXC__IsPartner__c
Formula (Text)
Flag indicates if transaction is for/ by a Partner or not.
IsPartnerRecord
SVMXC__IsPartnerRecord__c
Checkbox
Flag indicates if transaction is for/ by a Partner or not.
Negative Stock
SVMXC__Negative_Stock__c
Checkbox
Flag indicates if this transaction resulted in negative stock or not.
Qty after change
SVMXC__Quantity_after_change2__c
Number(14,4)
Stock quantity in the given product+location+status after the transaction.
Qty before change
SVMXC__Quantity_before_change2__c
Number(14,4)
Stock quantity in the given product+location+status before the transaction.
Status
SVMXC__Status__c
Picklist
Current status of product.
Stock Value
SVMXC__Stock_Value__c
Currency
Value of the stock quantity at the time of transaction.
Transaction Qty
SVMXC__Transaction_Quantity2__c
Number(14,4)
Product quantity in the source transaction.
Transaction Type
SVMXC__Transaction_Type__c
Picklist
Status should be assigned based on various original transactions which resulted in stock change.
Was this helpful?