<taIVTransactionLotInsert>

Element name

Data type

Length

Required

Default

Description

IVDOCNBR

string

17

Y

Not applicable

Document number

IVDOCTYP

i4

2

Y

Not applicable

Document types:

1=Adjustment;

2=Variance

USERDATE

datetime

8 bytes

(19 to 23 chars)

N

Current system time

User Date:

Used to determine if a lot is expired

ITEMNMBR

string

30

Y

Not applicable

Item number

LOTNUMBR

string

20

Y

Not applicable

Lot number

SERLTQTY

number

21

Y

Not applicable

Quantity for lot item

ADJTYPE

i4

2

N

0

Adjustment type:

0=Increase;

1=Decrease

BIN

string

15

N

<blank>

Bin; default is autocreate when multibin is enabled and not passed in

CreateBin

i4

1

N

0

Create bin on the fly:

0=False;

1=True

LNSEQNBR

i4

4

N

0

Line sequence number

LOCNCODE

string

10

N

<blank>

Location code; required only if adding a lot number on the fly

EXPNDATE

datetime

8 bytes

(19 to 23 chars)

Y/N

Not applicable

Expiration Date:

Required when selecting an expired lot layer. Used to specify the date for a newly created lot layer. If an expiration date is supplied for a decrease adjustment/variance, a lot layer needs to exist.

MFGDAT

datetime

8 bytes

(19 to 23 chars)

N

<blank>

Manufacturing Date:

Used to specify the date for a newly created lot layer.

AUTOCREATELOT

i4

4

N

0

Autocreate lot numbers on the fly:

0=False;

1=True

DATERECD

datetime

8 bytes

(19 to 23 chars)

N

Not applicable

Date of the lot used for a decrease adjustment override. If DATERECD is not supplied, it will default to the USERDATE value.

RequesterTrx

i4

2

N

0

Requester transaction:

0=False;

1=True (if True, it populates the requester shadow table)

USRDEFND1

string

50

N

<blank>

User-defined field--developer use only

USRDEFND2

string

50

N

<blank>

User-defined field--developer use only

USRDEFND3

string

50

N

<blank>

User-defined field--developer use only

USRDEFND4

string

8000

N

<blank>

User-defined field--developer use only

USRDEFND5

string

8000

N

<blank>

User-defined field--developer use only

This node uses document exchange for updates. All existing values are overwritten with the value specified by the update document. If a field in the update is blank, the existing value is changed to be blank.