As a vendor shipment or a special order sales order line is saved on the system, the system checks to see if there are already purchase order requisitions or purchase orders for the line. If the line being saved is a new line and a PO requisition does not already exist for it, the system creates a requisition for the sales order line.
If the sales order line being saved is an existing line and the quantity has been changed, the system attempts to update any existing requisitions for the order line (adjust the quantity). If the quantity for the sales order line has been increased and no requisition lines exist for it (i.e. the existing requisition was converted to a PO) the system will create an additional requisition line for the sales order line.
As each requisition line is being created, the system uses the following logic to determine the buyer to be used for the requisition.
• The system checks the POCSTBYR parameter in the System Parameter file. This parameter determines if the buyer in the Customer record should be used for vendor shipment and special order requisitions when it is loaded. If the parameter is set to V, the system will use the customer buyer (if it is loaded) only when creating vendor ship requisitions. If the parameter is set to another value or it is missing, the system will use the buyer from the customer record associated with the sales order (if it is loaded) on both vendor shipment and special order requisition lines.
• If the buyer field in the requisition is still blank (due to no buyer in the customer record), or the switch setting (you are processing a special order when the parameter is set to V), the system checks for a buyer in the Inventory Master record for the item. If the buyer is loaded in the Inventory Master record, this buyer is used for the requisition line.
• If the buyer field in the requisition is still blank (due to no buyer in the inventory record), the system checks for a buyer in the Product Line record for the product line that the inventory item is assigned to. If the buyer is loaded in the Product Line record, the Product Line buyer is used for the requisition line.
• If the buyer field in the requisition is still blank (due to no buyer in the product line record), the system checks for a buyer in the Manufacturer record for the manufacturer assigned as the default manufacturer for the inventory item. If the buyer is loaded in the Manufacturer record, the Manufacturer buyer is used for the requisition line.
• If the buyer field in the requisition is still blank (due to no buyer in the Manufacturer record), the system checks for a buyer in the Vendor record for the vendor assigned as the default vendor for the inventory item. If the buyer is loaded in the Vendor record, the Vendor buyer is used for the requisition line.