N/manufacturing/productionCharges Module

Use the N/manufacturing/productionCharges module to update unit costs of manufacturing charges on Assembly Build, Work Order Close, Work Order Completion transactions.

Important:

The module is only usable in server-side SuiteScript 2.1 scripts.

You can use productionCharges.updateChargesToCustomUnitCost(options) method to update cost on a specific transaction line to a specified unit cost.

You can use productionCharges.updateChargesToItemPurchasePrice(options) method to update cost on a specific transaction line to a specified unit cost.

You can use productionCharges.updateAllChargesToItemPurchasePrice(options) method to update cost on all routing and non-inventory transaction lines on a specified transaction to the current price.

Prerequisites

Important:

Cost changes made using this module do not trigger other SuiteScript scripts.

In This Help Topic

N/manufacturing/productionCharges Module Members

Member Type

Name

Return Type / Value Type

Supported Script Types

Description

Method

productionCharges.updateChargesToCustomUnitCost(options)

void

Server scripts

Updates cost on a specific transaction line to a specified unit cost.

productionCharges.updateChargesToItemPurchasePrice(options)

void

Server scripts

Updates cost on a specific transaction line according to the current purchase price of the originating item.

productionCharges.updateAllChargesToItemPurchasePrice(options)

void

Server scripts

Updates cost on all routing and non-inventory transaction lines on a specified transaction to the current price.

Related Topics

General Notices