You use the Standard Customer Sales Code table to assign standard sales codes to customers.
Later, when you set up a sales document for a customer to which you have assigned a standard sales code, you can use the Get Standard Customer Sales Code function to automatically insert the sales lines that you set up for the code.
Standard Purchase Codes and Standard Sales Codes