v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Adjustment Batch Entries

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

Add

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

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

Cointeger required
Mthstring date required

Format: YYYY-MM-01.

BatchIdinteger required
BatchSeqinteger

The sequence number must be unique to the adjustment entry batch. Optional. If omitted, it will be defaulted based on Vista defaulting behavior.

ActDatestring date

Format: YYYY-MM-DD. Optional. Enter the actual posting date for this adjustment entry. Optional. If omitted, it will be defaulted to current date.

Locstring required

Enter the location of the adjustment entry. Locations are associated with materials using the IN Location Materials form.

Materialstring required

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.

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.

Descriptionstring nullable

Description of this adjustment. Optional. If omitted, null will be defaulted.

Unitsstring

Number of units. Optional. If omitted it will be defaulted to zero.

UnitCoststring

Only available when the Allow Unit Cost Overrides check box is selected in IN Company Parameters. Defaults a unit cost for this material (from IN Location Materials) based on the Cost Method for the location or category

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. If omitted, it will be defaulted based on Vista defaulting.

TotalCoststring

Defaults an amount based on Units x Unit Cost. This value may be overridden and can be a positive, negative, or zero amount. This field updates to GL unless the value is 0.00.

Response

Success

idstring
operationstring
statusstring