v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Adjustment Batch Entries

Executes the Change action for the Adjustment Batch Entries data object.

Change

post/direct/subscribers/{subscriber_code}/vista/in/2/data/adj_batch_entries/actions/change

Path parameters

subscriber_codestring required

The code of the subscriber that you are making this request for.

Headers

X-Application-Keystring required

Used to authorize access to the Direct API.

Request body

ActDatestring date

Format: YYYY-MM-DD. Optional. Enter the actual posting date for this adjustment entry. Optional. If omitted, existing value will remain.

Locstring

Enter the location of the adjustment entry. Locations are associated with materials using the IN Location Materials form. Optional. If omitted, existing value will remain.

Materialstring

Enter a material code. The material must be set up at the location selected in the Location field. Materials are set up in locations using the IN Location Materials form. Optional. If omitted, existing value will remain.

GLAcctstring

The expense account entered here will be used to record the use of the material. Optional. If omitted, it will be defaulted based on Vista defaulting behavior. Optional. If omitted, existing value will remain.

Descriptionstring nullable

Description of this adjustment. Optional. If omitted, existing value will remain.

Unitsstring

Number of units. Optional. If omitted, existing value will remain.

UnitCoststring

Only available when the Allow Unit Cost Overrides check box is selected in IN Company Parameters. Optional. If omitted, existing value will remain.

ECM'E' | 'C' | 'M'

Only available when the Allow Unit Cost Overrides box on the Additional Information tab on the IN Company Parameters form is checked. Optional. Optional. If omitted, existing value will remain.

TotalCoststring

Defaults an amount based on Units x UnitCost. This value may be overridden and can be a positive, negative, or zero amount. If omitted and unis or UnitCost was provided, this will be set to Units x UnitCost.

Response

Success

idstring
operationstring
statusstring