Multiple Branch Plant Order Creation
There are a couple of ways to set up multiple branch plant order creation:
1) Separate Branch Catalogs
When a user logs in, we look to the address book master (F0101.ABMCU) to find their default branch plant. The user’s default branch plant is used across the site in the Advanced Pricing BSFN. This is good to use if the price can differ by branch plant.
In the catalog. the user can then see all the items available from that branch. In order to see items from a different branch, they need to select from a drop down other branch plants that items exist for. Changing their branch plant empties the shopping cart. This is because when the order is created, one cart creates one order and the Order Header branch plant (SHMCU) must be the same as the Order Details branch plant (SDMCU).
2) One Order, Multiple Branch Plants
When the user logs in, we still look to the address book master for the user's default branch plant. The user’s default branch plant is used across the site in the Advanced Pricing BSFN.
When the user goes to the catalog, they can see the full list of items, from all branch plants. This list is the equivalent of SELECT * FROM F4101 join F4102 on IMITM=IBITM. This means if an item is available from multiple branch plants, it will display in the catalog multiple times for each branch plant record.
If pricing is the same across branch plants, there may not be any information that differes between the two records. If pricing can differ by branch plant, the duplicate records would be helpful to display.. A column can be added to the catalog to display which branch plant the item is from and the price shown. In this scenario the default branch plant is no longer used always in the pricing BSFN. Instead the specific item’s branch plant is used.
When placing an order, one shopping cart still creates one order, but each item's branch plant is written to the order detail branch plant field (SDMCU). The order header branch plant (SHMCU) is filled with the user's default branch plant that was found from the address book. This means you can have an order whose header branch plant is “M30” and details are both “M30” and “D30”.
3) One Cart, Multiple Branch Plants, Multiple Orders
When the user logs in, we get the user's default branch plant from the address book master. The user’s default branch plant is used across the site in the Advanced Pricing BSFN (as long as pricing does not differ by branch plant).
The catalog displays all items (SELECT * FROM F4101 join F4102 on IMITM=IBITM). When placing an order, one shopping cart will create multiple orders: one for each distinct branch plant. Information entered about the order (like the customer PO) will be used on all orders created. This option is custom and not built into base.
If this custom option is chosen, further discussion is needed to determine how discounts and shipping are handled.