...
A Control Parameter (Type of Billing) '"Quoted Sales Code' " is provided. A valid Sales Code to be used as the default when creating the Invoice Lines is to be entered here.
For Quoted Billing Type Jobs, the "Get Sales" button is enabled.
On clicking "Get Sales" an Invoice Line is automatically added, with a Value of the Jobs Value from Job Maintenance, and the Sales Code from the Control Parameter. The job Status will be automatically changed to 'Invoiced'.
...
Note that the logic around Sales Code Groups applies when approving the invoice.