Introduction
The product object is accessible in order forms, invoice forms , packing list and quote forms and usually is related to an invoice item, order item, quote item, or order shipment record.
The Product has the following fields. Access it like this item.product (if item is an order item, quote item, or invoice item). For example, order_item.product, quote_item.product, invoice_item.associated_product
Note for invoice item, it is better to use associated_product to get product information . See here for more details.
name: The name of the product. Can be blank if the product is inventoried and has a related part record.
product_comment: Description of the product.
product_service_flag: True if the product is a service. (A service internally is a product).
practical_name: A field that combines part number and product name.
products: If this product has related products (kit product), an array of related products
part: Related part record if it is an inventoried product. See part record below
is_a_kit?: if a product is kitted.
product_identifications: An array of product identification records.
long_description: Long description of the product.
A part object is always related to a product. You would access it like this item.product.part
It has the following fields
part_number: Part number
description: Stocking description
firm: related firm
serial_numbered: True if the product is serialized.
lotted: True if the product is lotted.
custom_fields: A list of custom fields related to the part.
measurement_unit: Default unit of the product. It has 2 fields : name and description
weight: Weight of the item
weight_measurement_unit: Unit of the weight. It has 2 fields : name and description
harmonized_tariff_code: Tariff code
Comments and Suggestions
0 comments
Please sign in to leave a comment.