<BRANCHVENDORACCESS> - Sub Element of <NLS>
NLS 5.40
Attribute | Type | Size | REQ | Default | Comments |
---|---|---|---|---|---|
Operation
|
String | Yes | Valid values:ADD DELETE |
||
CifNo
VendorID
|
Numeric Numeric |
9 10 |
Yes* | CifNo of the vendor to add or remove. VendorID of the vendor to add or remove. *Exactly one of CifNo or VendorID is required/allowed to identify the vendor. |
|
BranchDivisionID
|
Numeric | 10 | No | Indicates a branch that can access a vendor with the provided CifNo/VendorID.ADD without BranchDivisionID to indicate availability of the vendor to all branches.DELETE without BranchDivisionID to remove availability of the vendor from all branches. |
The provided CifNo/VendorID must refer to a valid Vendor type contact record. Duplicates of a given combination of CifNo/VendorID and/or BranchDivisionID are not allowed.
If a record is added without BranchDivisionID, then adding additional records will not have any effect, since doing so indicates full availability of the Vendor to all branches. To switch from full availability to restricted availability, existing records must first be removed.