Add Change Order Batch Entry
Body
Company. Key to the change order batch.
Batch posting month in YYYY-MM-01 format.
Change order batch ID.
Purchase order number.
Purchase order line item number.
Optional details used when adding a new PO line item.
Required only when adding a new purchase order line. 1: Job; 2: Inventory; 3: Expense; 4: Equipment; 5: EM Work Order; 6: SM Work Order. Leave all New Line Item fields empty for an existing line.
Required when adding a new line with item type 1. Used for item type 1. Key to jc/jobs(JCCo, Job).
Required when adding a new line with item type 1. Used for item type 1. Key to jc/jobs(JCCo, Job).
Material code. Required for Inventory (Item Type 2); optional for other types. Material group is resolved from the applicable company.
Required when adding a new line with item type 2. Used for item type 2. Key to in/locations(INCo, Loc).
Required when adding a new line with item type 2. Used for item type 2. Key to in/locations(INCo, Loc).
Required when adding a new line with item type 3. Used for item type 3. Key to gl/chart_of_accounts(GLCo, GLAcct).
Equipment company. Required for Equipment (4) and EM Work Order (5).
Required when adding a new line with item type 4. Used for item type 4. Key to em/equipment(EMCo, Equipment).
Equipment cost code. Required for Equipment (4); for EM Work Order (5), may be ignored when specified by the work order item.
Required when adding a new line with item type 4, 5. Used for item type 4, 5. key to CostTypes array in em/cost_codes(EMGroup, CostCode, $.CostTypes.CostType).
Required when adding a new line with item type 5. Used for item type 5. Equipment Work Order.
Required when adding a new line with item type 5. Used for item type 5. Equipment Work Order Item.
Required when adding a new line with item type 6. Used for item type 6. SM Company.
Required when adding a new line with item type 6. Used for item type 6. SM Work Order
Required when adding a new line with item type 6. Used for item type 6. SM Scope
Required when adding a new line with item type 6. Used for item type 6. SM Cost Type.
Optional PO change order number; the next available number is used when omitted.
Optional change order number used to group related changes.
Optional action date in YYYY-MM-DD format.
Optional change description.
Optional change to current units for non-LS items.
Optional change to backorder units for non-LS items.
Optional change to current cost for LS items.
Optional change to backorder cost for LS items.
Optional. if omitted, null will be defaulted.
Used for item type 1. Key to jc/job_phases(JCCo, Job, PhaseGroup, Phase) The PhaseGroup will be selected based on the JCCo value. Optional. If omitted, it will be defaulted based on Vista defaulting logic. If a default cannot be applied, this action may fail or force a Vista user to supply this value before posting.
Used for item type 1. Key to CostTypes array in jc/job_phases(JCCo, Job, PhaseGroup, Phase, $.CostTypes.CostType) Optional. If omitted, it will be defaulted based on Vista defaulting logic. If a default cannot be applied, this action may fail or force a Vista user to supply this value before posting.
GL account. Optional; company selection and defaults depend on Item Type and Vista configuration. Some item types disallow account overrides.
Key to po/vendor_materials(VendorGroup, Vendor, MaterlGroup, Material, UM). Vendor's Material Number. Optional. If Omitted, it will be defaulted based Vista defaulting behavior.
Receiving in PO Module. Optional. If omitted, N will be defaulted. Send Y if this item will be received in the PO module.
Required Date. Format: YYYY-MM-DD. Optional. If not provided it will be defaulted to $.ExpDate.
Key to ap/pay_categories(APCo, PayCategory). APCo will be defaulted based on Vista defaulting logic. Optional. If omitted, it will be defaulted based on Vista defaulting behavior. In some configurations, overrides are not allowed. Providing this property when overrides are not allowed will result in an error.
Key to ap/pay_categories(APCo, PayCategory). APCo will be defaulted based on Vista defaulting logic. Optional. If omitted Vista defaulted based on Vista defaulting behavior. In some configurations, overrides are not allowed. Providing this property when overrides are not allowed will result in an error. In all cases if PayCategory is provided or defaulted this value must be in the PayCategory or in no PayCategory
If omitted, each property will be defaulted as noted on each property.
Key to hq/units_of_measures(UM). Optional. If omitted, it will be defaulted based on Vista defaulting behavior.
Optional. If omitted, it will be defaulted based on Vista defaulting logic. If UM is LS, this value is ignored and will be set to 0.
Options: E-CostPerEach, C-CostPer100, M-CostPer1000. Optional. If omitted, it will be defaulted based on Vista defaulting behavior. If UM is LS, this value is ignored and will be set to null.
Optional. If omitted each property will be be defaulted based on Vista defaulting behavior.
Options: 1-Sales, 2-Use, 3-VAT. Optional. If not provided, it will be defaulted based on Vista defaulting behavior.
Key to hq/tax_codes(TaxGroup, TaxCode). TaxGroup will be determined based on JCCo. Optional. If not provided, it will be defaulted based on Vista defaulting behavior.
Key to ap/vendors(SupplierGroup, Supplier) for supplier for this line. SupplierGroup is defaulted based on Co. Optional. If omitted, null will be defaulted.
Optional. If not provided, null will be defaulted.
Add a property to this object for each user defined field to be set. Property name set to the user defined field name.
Used for item type 4. Optional. If omitted, null will be defaulted.
Used for item type 4. Optional. If omitted, null will be defaulted.
Used for item type 6. Key to jc/job_phases(SMPhaseGroup, SMPhase). SMPhaseGroup will be defaulted based on the JCCo associated to the SM Work Order. Optional. This value should only be supplied if the SM Scope does not have a Phase assigned.
Used for item type 6. Key to CostTypes array in jc/job_phases(JCCo, Job, PhaseGroup, Phase, $.CostTypes.CostType) Optional. This value should only be supplied if the SM Scope does not have a CostType assigned.
Optional entry notes.
Optional Vista user-defined fields, keyed by field name.
Comma-separated response fields to include.