Update online database with dict Prepare updated data in VIP comment VIP Initialization sql call vip.sync_upl_init2
VIP Post Code Selection sql call vip.sync_upl_post_code()
Post Code
VIP Country List selection sql call vip.sync_upl_country_ref()
Country
VIP Country To Account bindings selection sql call vip.sync_upl_country_account()
Account Country
Driver List selection sql call vip.sync_upl_driver()
Driver
Allowed Field Values selection sql call vip.sync_upl_booking_field_value()
Field Allowed Values
Booker List selection sql call vip.sync_upl_booker()
Booker
Passenger List selection sql call vip.sync_upl_passenger()
Passenger
Passenger To Account bindings selection sql call vip.sync_upl_passenger_account()
Account Passenger
Place List selection sql call vip.sync_upl_place_ref()
Place
___create confirm section___ sql select 'ok' as result;
confirm
Send collected data to online web update_data Parse received sections comment Check return code for Post Codes section_check
Post Code
Check return code for Country section_check
Country
Check return code for Country-Account section_check
Account Country
Check return code for Driver section_check
Driver
Check return code for Field Allowed Values section_check
Field Allowed Values
Update external IDs on Booker section_sql
Booker
call vip.sync_uplc_booker(#vip_id#, #online_id#)
Update external IDs on Passenger section_sql
Passenger
call vip.sync_uplc_passenger(#vip_id#, #online_id#)
Update external IDs on Place section_sql
Place
call vip.sync_uplc_place_ref(#vip_id#, #online_id#)
Update online database with bookings Prepare updated data in VIP comment Booking selection sql call vip.sync_upl_booking_init()
Booking
Booking passenger selection sql call vip.sync_upl_booking_passenger()
Booking Passenger
Booking place selection sql call vip.sync_upl_booking_place()
Booking Place
Booking fields selection sql call vip.sync_upl_booking_fields()
Booking Additional Fields
___create confirm section___ sql select 'ok' as result;
confirm
Send collected data to online web initial_booking Parse received sections comment Update external IDs on Booking section_sql
Booking
call vip.sync_uplc_booking(#vip_id#, #online_id#)
Check return code for Booking passengers section_check
Booking Passenger
Check return code for Booking places section_check
Booking Place
Check return code for Booking fields section_check
Booking Additional Fields
Set last id storing last id sql call vip.sync_upl_deinit()
sending last id sql call vip.sync_upl_init2_last_id()
data
___create confirm section___ sql select 'ok' as result;
confirm
Send collected data to online web update_data