Plunet icon

Plunet

Get and Set Data for Plunet BusinessManager

Actions156

Item → Create Language Independent Item

AI-generated

Summary

Create a language independent item in Plunet, specifying project, status, tax, price and optional fields.

Inputs

  • projectType — Project type identifier (1 = Quote, 3 = Order) as defined in Plunet's ProjectType enum.
  • projectID — Numeric identifier of the project to which the item belongs.
  • status — Current status of the item (e.g., In Progress, Delivered) as defined in Plunet's ItemStatus enum.
  • taxType — Tax type code (e.g., TAX_1, TAX_2, WITHOUT_TAX) as defined in Plunet's TaxType enum.
  • totalPrice — Total price of the item.
  • briefDescription — Brief description of the item.
  • comment — Comment for the item.
  • deliveryDeadline — Delivery deadline for the item.
  • itemID — Item ID (optional, will be auto‑generated if not provided).
  • reference — Reference for the item.

Output shape

array of created language independent item records

Each entry corresponds to one workflow input item; may include a success flag if continueOnFail is enabled, otherwise returns the created item data.

Examples

Example 1: Create a new quote item for a project

projectType=1, projectID=42, status=1, taxType=0, totalPrice=1000, briefDescription='Quote for project 42', reference='QRY-42'

Example 2: Create a delivered item with custom fields

projectType=3, status=14, taxType=5, totalPrice=2500, optionalFields={briefDescription='Delivery', comment='Completed', deliveryDeadline='2025-12-01', reference='DEL-001'}

Example 3: Create an item without explicit projectID (auto‑generated)

projectType=3, status=12, taxType=3, totalPrice=0, optionalFields={reference='REF123'}

Discussion