Understanding How the System Uses the GUI/VAT Number Segments
You specify in the GUI/VAT Number (Batch) Setup program (P75T014) the segment to use for a combination of:
- Declaration company 
- Declaration site 
- Authorization code 
- Declaration year and month 
- GUI document type 
- GUI format code 
- Tax type 
When you run the programs that assign GUI/VAT numbers, the system compares the values for the transactions to the values that you set up in the GUI/VAT Number (Batch) Setup program and uses the next number from the segment that is specified in the GUI/VAT Number (Batch) Setup program when it creates the GUI record.
The system uses the segments that you assign when you run these programs in final mode:
- GUI/VAT Creation From Multi-AR (R75T004S). 
- GUI/VAT Creation From Multi-SO (R75T004O). 
- GUI/VAT Creation From Selected AR (P75T004R). - The system calls the GUI/VAT Creation From Multi-AR program when you use the GUI/VAT Creation From Selected AR program to generate GUI information. 
- GUI/VAT Creation From Selected SO (P75T004O). - The system calls the GUI/VAT Creation From Multi-SO program when you use the GUI/VAT Creation From Selected SO program to generate GUI information. 
- GUI/VAT Creation From Selected SO History (P75T004H) - The system calls the GUI/VAT Creation From Multi-SO program when you use the GUI/VAT Creation From Selected SO History program to generate GUI information. 
- GUI/VAT SO History Enquiry (P75T4219) - The system calls the GUI/VAT Creation From Multi-SO program when you use the GUI/VAT SO History Enquiry program to generate GUI information. 
- GUI/VAT SO Inquiry (P75T4211). - The system calls the GUI/VAT Creation From Multi-SO program when you use the GUI/VAT SO Inquiry program to generate GUI information.