AdjustLotQuantity request message
- Last UpdatedAug 29, 2023
- 2 minute read
This is an example of the structure of an AdjustLotQuantity request.
<AdjustLotQuantityRequestMessage xmlns="http://www.citect.com/Ampla/Inventory/2010/03">
<Request>
<Adjustments>
<Adjustment>
<Lot>741</Lot>
<Method>Percentage</Method>
<Quantity>25</Quantity>
<WorkCenter>Enterprise.Site1.WCB</WorkCenter>
<Comment>Adjust lot 741 by +25%</Comment>
<SampleDateTime>2012-06-11T13:00:00Z</SampleDateTime>
<Material>Material Model.Coal</Material>
<LotGroup>LotGroupA</LotGroup>
</Adjustment>
</Adjustments>
<Credentials>
<Username>User</Username>
<Password>********</Password>
<Session />
</Credentials>
</Request>
</AdjustLotQuantityRequestMessage>
Request parameters: Adjustments section
Contains the set of adjustments.
<Adjustments>
<Adjustment>
<Lot>741</Lot>
<Method>Percentage</Method>
<Quantity>25</Quantity>
<WorkCenter>Enterprise.Site1.WCB</WorkCenter>
<Comment>Adjust lot 741 by +25%</Comment>
<SampleDateTime>2012-06-11T13:00:00Z</SampleDateTime>
<Material>Material Model.Coal</Material>
<LotGroup>LotGroupA</LotGroup>
</Adjustment>
</Adjustments>
|
Parameter |
Description |
|---|---|
|
Adjustments |
Contains the details about an individual adjustment. |
|
Lot |
(Required) The external ID for the lot that is adjusted. |
|
Method |
(Required) The method of adjustment. Whether to adjust the quantity by an absolute amount, or to adjust the quantity by percentage. |
|
Quantity |
(Required) The quantity of adjustment. This is a positive or negative numeric value. |
|
WorkCenter |
(Required) The work center that holds the lot to be adjusted. |
|
LotGroup |
The name of the lot group for the lot that is adjusted. This parameter is optional unless the LotGroupRequired parameter on the parent work center is set to mandatory. |
|
Comment |
A comment in relation to the adjustment. This value is optional. |
|
SampleDateTime |
The date and time of the sample in the following format: YYYY-MM-DD T HH:MM:SS Z. The T=Time and the Z=UTC time format. For example, 2018-08-24T18:00:00Z |
|
Material |
The material associated with the lot that is adjusted. For example, RawCoal, Processed Coal. This value is optional. |
Request parameters: Credentials section
The Credentials section contains the security details for authentication. You can provide the Username and Password values to use the Basic security method. If you do not provide explicit security values, Web services will attempt to use Integrated authentication. You must provide either Basic credentials, Integrated credentials, or a Session ID.
<Credentials>
<Username>User</Username>
<Password>********</Password>
<Session />
</Credentials>
|
Parameter |
Description |
|---|---|
|
Username |
The login name of the AVEVA™ Production Management user. This is a string value. Username and Password together are mutually exclusive with Session. |
|
Password |
The password that is associated with the AVEVA Production Management user. This is a string value. Username and Password together are mutually exclusive with Session. |
|
Session |
A GUID string value that identifies the session. This is a string value. Mutually exclusive with Username and Password. |