<taRMDistribution>
Element name |
Datatype |
Length |
Required |
Default |
Description |
---|---|---|---|---|---|
RMDTYPAL |
i4 |
2 |
Y |
Not applicable |
1=Sales/invoice; 3=Debit memo; 4=Finance charge; 5=Service/repair; 6=Warranty; 7=Credit memo; 8=Return; 9=Cash receipt |
DOCNUMBR |
string |
20 |
Y |
Not applicable |
Document number |
CUSTNMBR |
string |
15 |
Y |
Not applicable |
Vendor ID |
SEQNUMBR |
i4 |
4 |
N |
0 |
Sequence number |
DISTTYPE |
i4 |
2 |
Y |
Not applicable |
Distribution type: 1=Cash; 2=Taken; 3=Recv; 4=Write; 5=Avail; 6=Gst; 7=Wh; 8=Other; 9=Sales; 10=Trade; 11=Freight; 12=Misc; 13=Taxes; 14=Cogs; 15=Inv; 16=Fnchg; 17=Returns; 18=DrMemo; 19=CrMemo; 20=Service; 21=Warrexp; 22=Warrsls; 23=Commexp; 24=Cpmmpay |
DistRef |
string |
30 |
N |
<blank> |
Distribution reference |
DSTINDX |
i4 |
4 |
N |
0 |
Account index |
ACTNUMST |
string |
75 |
N |
<blank> |
Account number string |
DEBITAMT |
number |
21 |
N |
0 |
Debit amount |
CRDTAMNT |
number |
21 |
N |
0 |
Credit amount |
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 |
The valid distribution types for each RMDTYPAL value are as follows:
RMDTYPAL |
Distribution types |
---|---|
1 |
1, 2, 3, 5, 8, 9, 10, 11, 12, 13, 14, 15, 23, 24 |
3 |
1, 2, 3, 5, 8, 10, 11, 12, 13, 14, 15, 18, 23, 24 |
4 |
1, 2, 3, 5, 8, 10, 11, 12, 13, 14, 15, 16, 23, 24 |
5 |
1, 2, 3, 5, 8, 10, 11, 12, 13, 14, 15, 20, 23, 24 |
6 |
8, 10, 11, 12, 13, 14, 15, 21, 22 |
7 |
1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 19, 23, 24 |
8 |
1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 17, 21 |
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.