ProcurementProgram GitHub

๐Ÿ“Š Overview: 10 Properties 1 Constructor 1 Functions 2 Getters

๐Ÿ• Last updated: 2025-12-10T11:45:23.820Z


๐Ÿ“‘ Table of Contents


Properties

Property Type Default Description
Lines Collection - Collection of cs.ProcurementProgramLine objects parsed from clipboard data
ItemNumberIndex Not specified -1 Column index for item number in tab-delimited input
StatusIndex Not specified -1 Column index for order status (FORECAST/BACKLOG/order number) in input
QuantityIndex Not specified -1 Column index for quantity in input
DueDateIndex Not specified -1 Column index for due date in input
ItemDescriptionIndex Not specified -1 Column index for item description in input
VmiIndex Not specified -1 Column index for VMI (Vendor Managed Inventory) flag in input
WarehouseIndex Not specified -1 Column index for warehouse location code in input
ErrorOccurred Boolean - True if parsing failed due to missing columns or invalid format
ds Not specified DataStore(0) Reference to main datastore

Constructor

constructor

[๐Ÿ—๏ธ constructor]

Class constructor($ClipboardText : Text)

Parses tab-delimited procurement program data from clipboard and creates ProcurementProgramLine objects for each row

Parameters:

Name Type Optional Description
$ClipboardText Text - -

Functions

Regular Functions

process

Function process

Processes all procurement program lines by executing assigned actions (create orders, create forecasts, update orders, etc.)


Computed Attributes (Getters/Setters/Query/OrderBy)

AllLinesActioned

[๐Ÿ” get only]

Function get AllLinesActioned -> Boolean

Returns true if all lines in the procurement program have an action assigned

Returns: Boolean


UnactionedLines

[๐Ÿ” get only]

Function get UnactionedLines -> Collection

Returns collection of ProcurementProgramLine objects that have no action assigned

Returns: Collection



Generated from ProcurementProgram.4dm