Overview:
This function returns the bay number in which to place the entering flowitem. Bays are numbered starting at 1 for the bay closest to the Rack's origin and increasing numerically going away from the origin.
Access variables:
current: the current object
item: the involved flowitem