Inventory Cost Revaluation

The inventory cost revaluation record is used to recalculate the value of items configured to use standard costing.

This record is defined in the tranInvt (inventory) XSD, where it is called InventoryCostRevaluation.

This record is available when the Standard Costing feature is enabled at Setup > Company > Enable Features, on the Items & Inventory subtab. When the feature is enabled, you can access the inventory cost revaluation record in the UI by choosing Transactions > Inventory > Revalue Inventory Cost.

For details about working with this record in the UI, see Manually Entering an Inventory Cost Revaluation.

Supported Operations

add | addList | delete | deleteList | get | getList | getSelectValue | search | update | updateList | upsert | upsertList

Note:

You can also use the asynchronous equivalents of SOAP web services list operations. For information about asynchronous operations, see SOAP Web Services Asynchronous Operations. For more information about request processing, see Synchronous Versus Asynchronous Request Processing.

Field Definitions

The SOAP Schema Browser includes definitions for all body fields, sublist fields, search filters, and search joins available to this record. For details, see the SOAP Schema Browser’s inventory cost revaluation reference page. For information about using the SOAP Schema Browser, see SOAP Schema Browser.

Code Samples

The following sample shows how to create and update inventory cost revaluation records.

          public void inventoryCostRevaluationSample() throws Exception
{
   c = new NLWsClient(new String[]{"address","psswrd", "1234321", "3"}, 5068, "link" // protected NLWsClient c = null;
   c.useRequestLevelCredentials();

   String icrId =  null;
   try
   {
      // Create record
      InventoryCostRevaluation icr = new InventoryCostRevaluation();
      icr.setSubsidiary(createRR("1"));
      icr.setItem(createRR("1"));
      icr.setAccount(createRR("1"));
      icr.setLocation(createRR("1"));

      // Cost component sublist
      InventoryCostRevaluationCostComponent costComponentLine1 = new InventoryCostRevaluationCostComponent();
      costComponentLine1.setCost(2.0);
      costComponentLine1.setQuantity(1.0);
      costComponentLine1.setComponentItem(createRR("1")); // Component Item Id
      icr.setCostComponentList(new InventoryCostRevaluationCostComponentList(new InventoryCostRevaluationCostComponent[]{costComponentLine1},false));

      // Add record
      icrId = c.addRecord(icr);

      // Update
      InventoryCostRevaluation icrUpdated = new InventoryCostRevaluation();
      icrUpdated.setInternalId(icrId);
      icrUpdated.setMemo("Some memo");

      c.updateRecord(icrUpdated);

      // Load record
      c.getRecord(icrId, RecordType.inventoryCostRevaluation);
   
   }
   finally
   {
      if(icrId==null){
      // Delete
      c.deleteRecord(new RecordRef(null,icrId,null,RecordType.inventoryCostRevaluation));
      }
   }
} 

        

Related Topics

Transactions
Usage Notes for Transaction Record Types
Transaction Search
Multiple Shipping Routes in SOAP Web Services
How to Use the SOAP Web Services Records Help
SOAP Web Services Supported Records
SOAP Schema Browser
SuiteTalk SOAP Web Services Platform Overview

General Notices