Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Note |
---|
The translation of this section is currently ongoing |
To manage the overselling logic, tables are created to later be applied to flights.
System administrator should customize the tables at it's convenience.
The following entry displays the over sale logic:
Code Block | ||||
---|---|---|---|---|
| ||||
KSMCL |
Response:
No Format |
---|
NLogic Sub 1 6 2 4 3 3 4 1 5 6 6 5 |
The column NLogic indiocates the table number, the table Sub indicates the amount of sub-index or divisions each table has.
Re-display table by entering:
Code Block | ||||
---|---|---|---|---|
| ||||
KSMCL* |
To display each item from the table entry is:
KSMCL5 | indicates the entry of the logic number (NLogic) |
---|
Response:
No Format |
---|
KSMCL5 NLogic: 5 From to Formula % 0 7 5 Y 8 15 12 Y 16 31 15 Y 32 90 25 Y 91 200 50 Y 201 330 80 Y |
Description:
The column From indicates the first day assuming the start day the flight departure time
The column To iindicates how many days before flight departure.
The column Formula indicates the percentage of oversale applied
The column % indicates if over sale will by percentage or by seats
if indicator is Y applies applies over sale by percentage. If indicator is N applies over sale by amount of seats
For instance, logic #5 says, from departure day until 7 days before flight departure a 5% of over sale will apply.
Then, since 8 days before departure, until 15 days before flight departure a 12 % off over sale will apply and so on.
Create a logic
Use the following entry to create a new logic
No Format |
---|
KSMCL7/N |
KSMCL | fixed entry |
---|---|
7 | Logic number (cannot repeat number, must be a new) |
/ | Separator |
N | Indicator for New |
Response
No Format |
---|
KSMCL7/N NLogic : 7 Desde Hasta Formula % ... 0 330 0 Y ...NEW RECORD |
By default table starts from 0 to 330 (330 is the maximum days ahead on the system), formula is 0 and % is 0. Consider this is a new item.
Use the following entry to create the logic items
Code Block | ||||
---|---|---|---|---|
| ||||
KSMCL/0/1/0/Y |
KSMCL | Fixed Command |
---|---|
0 | Days from |
1 | Days to |
0 | Indicator for formula |
Y | Percentage (Y = Yes, N = No) |
Slash is a separator between each indicator
RespuestaResponse:
No Format |
---|
KSMCL/0/1/0/Y NLogic : 7 Desde Hasta Formula % ... 0 1 0 Y ...NEW RECORD ... 2 330 0 Y ...NEW RECORD |
Example
Code Block | ||||
---|---|---|---|---|
| ||||
KSMCL/2/7/10/N |
Response:
No Format |
---|
KSMCL/2/7/10/N NLogic : 7 Desde Hasta Formula % ... 0 1 0 Y ...NEW RECORD ... 2 7 10 N ...NEW RECORD ... 8 330 0 Y ...NEW RECORD |
Así, sucesivamente, se van cargando todos los ítems que sean necesarios.
Thus, successively, continue to load all items necessary, once completed process to save the new table by using the following entry:
Code Block | ||||
---|---|---|---|---|
| ||||
KSMCL/S |
Response:
No Format |
---|
OK. ALL DATA SAVE |
Modify pre-existent logic
In order to modify a pre-existent table, first use the following entry to display the table:
Code Block | ||||
---|---|---|---|---|
| ||||
KSMCL{Número de lógica} |
Once display, apply changes by use the same entries as for create new logic.
Ejemplo:
No Format |
---|
KSMCL7 NLogic : 7 Desde Hasta Formula % 0 1 0 Y 2 7 10 N 8 330 0 Y KSMCL/8/21/10/Y NLogic : 7 Desde Hasta Formula % 0 1 0 Y 2 7 10 N ... 8 21 10 Y ...NEW RECORD ... 22 330 0 Y ...NEW RECORD |
Una vez realizados todos los cambios necesarios se procede a guardar los datos con el mismo comando de grabación que en la creación:Once all changes are done save the transaction by using the following entry
Code Block | ||||
---|---|---|---|---|
| ||||
KSMCL/S |
Respuesta:
No Format |
---|
OK. ALL DATA SAVE |
Una vez guardados los datos, automáticamente se actualizan todos los registros que han sido afectados al cambioOnce the data is saved, all the records that have been affected by the change are automatically updated.
Ignorar los cambios
Para ignorar los cambios ya sean en la modificación o en la creación existe el comando:Ignore changes
To ignore changes, or actions while creating a new item by:
Code Block | ||||
---|---|---|---|---|
| ||||
KSMCL/I |
RespuestaResponse:
No Format |
---|
ALL DATA IGNORED |
Historia de las lógicas
Para visualizar las modificaciones que se efectúan en las lógicas existe el historial de la misma. El comando de acceso a la historia esLogic History
Display the history of all edits done to a logic using the following entry:
Code Block | ||||
---|---|---|---|---|
| ||||
KSMCL7*H |
KSMCL | Comando fijo Fixed entry |
---|---|
7 | Número de lógicalogic's item number |
*H | Indicador de historia |
También se puede recuperar una lógica estando ya recuperada con KSMCL7, se ejecuta el comando KSMCL*H similar al anterior pero sin aclarar el número de lógica dado que se encuentra ya desplegada
Ejemplo:indicator for history |
It is also possible to recover a logic that is already been displayed by entering KSMCL7, then enter KSMCL*H without specifying an item number as item's already been displayed
Example:
No Format |
---|
KSMCL7*H -- HISTORY OF LOGIC #7 -- X 0/1/0/Y A 0/1/5/Y R BUE.BUEXX-MM 1544/23MAR04 X 0/1/5/Y A 0/1/6/Y R BUE.BUEXX-MM 1552/23MAR04 |
DescripciónDescription:
X | Son los datos canceladoscancel data |
---|---|
A | Son los datos agregadosAdd data |
R | Es la firma, hora y fecha del agente que realizó la modificaciónReceived from |