How do I assign GL Codes to an order? GL Codes are assigned automatically. You can also manually assign GL Codes at the product level within your cart, including splitting a single product across multiple GL Codes or departments.