FLEX#64717 geschedulede commando's nieuwe iteratie
svn path=/Database/trunk/; revision=49688
This commit is contained in:
@@ -575,6 +575,7 @@ FAC_LCL('lcl_nr_lines_result2one', ' regel', ' line')
|
||||
FAC_LCL('lcl_operand_like', 'zoals', 'like')
|
||||
FAC_LCL('lcl_flexlist', 'Aanvullend', 'Additional')
|
||||
FAC_LCL('lcl_flex_preview', 'Voorbeeld afbeeldingen', 'Preview images')
|
||||
FAC_LCL('lcl_flexblok', 'Aanvullende gegevens', 'Additional details')
|
||||
COMMIT;
|
||||
|
||||
FAC_LCL('lcl_operand_notlike', 'niet als', 'not like')
|
||||
@@ -1453,7 +1454,7 @@ FAC_LCL('lcl_res_no_fiatteur_known', 'Geen fiatteur bekend.', 'No approver is kn
|
||||
FAC_LCL('lcl_res_notification_sent_to', 'Notificatie ''{0}'' verstuurd aan {1}', 'Notification ''{0}'' sent to {1}')
|
||||
FAC_LCL('lcl_res_add_deelresruimte', 'Ruimte erbij'||CHR(10)||'(zelfde dag)', 'Add room'||CHR(10)||'(same day)')
|
||||
FAC_LCL('lcl_res_add_deelresreservering', 'Reservering erbij'||CHR(10)||'(zelfde dag)', 'Add reservation'||CHR(10)||'(same day)')
|
||||
FAC_LCL('lcl_res_info', 'Aanvragergegevens', 'Reservation details')
|
||||
FAC_LCL('lcl_res_info', 'Contactgegevens', 'Contact details')
|
||||
FAC_LCL('lcl_res_plaats', 'Tijd en plaats', 'Time and place')
|
||||
FAC_LCL('lcl_res_day', 'Dag', 'Day')
|
||||
FAC_LCL('lcl_res_frame_algemeen', 'Reserveringsgegevens', 'Reservation data')
|
||||
@@ -1481,6 +1482,7 @@ FAC_LCL('lcl_res_copypart', 'Deze gegevens overnemen:', 'Details to copy:')
|
||||
FAC_LCL('lcl_res_copytodates', 'Naar deze reserveringen:', 'To this reservation:')
|
||||
FAC_LCL('lcl_res_flexblok', 'Aanvullende gegevens', 'Additional details')
|
||||
FAC_LCL('lcl_res_dirtyroom', 'LET OP: deze ruimte is niet beschikbaar. Kies een andere ruimte of een ander tijdstip!', 'ATTENTION: this room is not available. Please select another room or a different timeframe!')
|
||||
FAC_LCL('lcl_res_dirtyroom_short', 'LET OP: deze ruimte is niet beschikbaar!', 'ATTENTION: this room is not available!')
|
||||
FAC_LCL('lcl_res_dirtyobject', 'LET OP: een aan deze reservering gekoppelde voorziening is niet beschikbaar', 'ATTENTION: a facility related to this reservation is not available')
|
||||
FAC_LCL('lcl_res_deleted_room', 'LET OP: reservering is verwijderd.', 'ATTENTION: reservation is deleted.')
|
||||
FAC_LCL('lcl_res_undelete_room', 'Verwijdering ongedaan maken', 'Undelete')
|
||||
@@ -1711,7 +1713,7 @@ FAC_LCL('lcl_mes_send', 'Verzenden', 'Send')
|
||||
FAC_LCL('lcl_mes_send_option', 'Verzenden als', 'Send as')
|
||||
FAC_LCL('lcl_mes_send_date_time', 'Verzonden', 'Send')
|
||||
FAC_LCL('lcl_mes_send_reply', 'Beantwoord', 'Reply')
|
||||
FAC_LCL('lcl_mes_email', 'Persoonlijk e-mailbericht', 'Personal e-mail message')
|
||||
FAC_LCL('lcl_mes_email', 'e-mailbericht', 'e-mail message')
|
||||
FAC_LCL('lcl_mes_sms', 'Persoonlijk SMS-bericht', 'Personal SMS-message')
|
||||
FAC_LCL('lcl_mes_pushapp', 'App push notificatie', 'App push notification')
|
||||
FAC_LCL('lcl_mes_fmessage', 'Persoonlijk portalbericht', 'Personal portal message')
|
||||
@@ -1749,6 +1751,7 @@ FAC_LCL('lcl_msg_alg_omschr', 'Omschrijving', 'Description')
|
||||
FAC_LCL('lcl_msg_search', 'Berichten', 'Messages')
|
||||
FAC_LCL('lcl_message', 'Bericht', 'Message')
|
||||
FAC_LCL('lcl_msg_onportal', 'Bericht geplaatst op de portal', 'Message is posted on the portal')
|
||||
FAC_LCL('lcl_msg_changed', 'Bericht gewijzigd op de portal', 'Message changes have been submitted')
|
||||
FAC_LCL('lcl_msg_preview', 'Voorbeeld', 'Preview')
|
||||
FAC_LCL('lcl_no_auth', 'Op grond van de u toegekende rechten heeft u hiervoor geen bevoegdheid.'||CHR(10)||CHR(10)||'Indien u van mening bent dat dit niet terecht is kunt u het beste contact opnemen met uw Facilitor contactpersoon.', 'You are not authorised for this function'||CHR(10)||CHR(10)||'If you require access please contact your Facilitor contact.')
|
||||
FAC_LCL('lcl_authentication_error', 'Authenticatie Fout: Het invoer proces duurde wellicht te lang. Probeer opnieuw', 'Authentication Error: The input process was possibly to slow. Try again')
|
||||
@@ -1862,7 +1865,7 @@ FAC_LCL('lcl_room_cad', 'Plattegrond', 'Floorplan')
|
||||
FAC_LCL('lcl_cancel', 'Annuleren', 'Cancel')
|
||||
FAC_LCL('lcl_consumable_objects', 'Verbruiksartikelen', 'Catering products')
|
||||
FAC_LCL('lcl_reserved_object', 'Voorzieningen', 'Equipment')
|
||||
FAC_LCL('lcl_reserved_object_planboard', 'Voorzieningen planbord', 'Equipment schedule')
|
||||
FAC_LCL('lcl_reserved_object_planboard', 'Voorzieningen', 'Equipment')
|
||||
FAC_LCL('lcl_available_object_planboard', 'Beschikbare voorzieningen', 'Available equipment')
|
||||
FAC_LCL('lcl_reserved_cons', 'Verbruiksartikelen', 'Catering products')
|
||||
FAC_LCL('lcl_object', 'Omschrijving', 'Description')
|
||||
@@ -1920,8 +1923,8 @@ FAC_LCL('lcl_mld_not_solved', 'Niet opgelost', 'Not solved')
|
||||
FAC_LCL('lcl_mld_offerte_accept', 'Offerte acceptatie', 'Accept offer')
|
||||
FAC_LCL('lcl_mld_opdr_parent', 'Offerte', 'Offer')
|
||||
FAC_LCL('lcl_mld_offerte_is_accept', 'Offerte geaccepteerd', 'Offer accepted')
|
||||
FAC_LCL('lcl_mld_choose_srt', 'Welke categorie?', 'Which category?')
|
||||
FAC_LCL('lcl_res_choose_act', 'Welke activiteit?', 'Which activity?')
|
||||
FAC_LCL('lcl_mld_choose_srt', 'Kies de categorie...', 'Select the category...')
|
||||
FAC_LCL('lcl_res_choose_act', 'Kies de activiteit...', 'Select the activity...')
|
||||
FAC_LCL('lcl_mld_choose_na', 'Niet beschikbaar', 'Not available')
|
||||
FAC_LCL('lcl_mld_choose_typeodr', 'Kies het soort opdracht', 'Select an order type')
|
||||
FAC_LCL('lcl_mld_ord_bymail', 'Deze opdracht elektronisch naar de uitvoerende verzenden?', 'Send this order electronically to the contractor?')
|
||||
@@ -1933,6 +1936,8 @@ FAC_LCL('lcl_mld_material', 'Materiaal', 'Material')
|
||||
FAC_LCL('lcl_mld_time_spent', 'Bestede tijd', 'actual working hours')
|
||||
FAC_LCL('lcl_mld_note', 'Notitie', 'Note')
|
||||
FAC_LCL('lcl_mld_note_new', 'Aanvulling', 'Addition')
|
||||
FAC_LCL('lcl_mld_quick_note_new', 'Snelle aanvulling', 'Quick addition')
|
||||
FAC_LCL('lcl_mld_quick_note_submit', 'Snelle notitie opslaan', 'Save Quick note')
|
||||
FAC_LCL('lcl_opdr_note_new', 'Aanvulling', 'Addition')
|
||||
FAC_LCL('lcl_opdr_edit_note_completed', 'Let op: deze opdracht is al afgehandeld, nieuwe notities worden niet zomaar opgemerkt.', 'Please note: this order has already been processed, new notes may not be noticed.')
|
||||
FAC_LCL('lcl_cnt_note_new', 'Aanvulling', 'Addition')
|
||||
@@ -2927,6 +2932,7 @@ FAC_LCL('lcl_prs_bedrijfadres_type_o_other', 'Geen/Overige opdrachten', 'No/Misc
|
||||
FAC_LCL('lcl_prs_bedrijfadres_type_c', 'Contracten', 'Contracts')
|
||||
FAC_LCL('lcl_prs_bedrijfadres_type_v', 'Voorraad info', 'Stock info')
|
||||
FAC_LCL('lcl_prs_bedrijfadres_type_n', 'Notificaties', 'Notifications')
|
||||
FAC_LCL('lcl_prs_bedrijfadres_type_i', 'Service (IOT)', 'Service (IOT)')
|
||||
FAC_LCL('lcl_prs_bedrijfadres_authmethod', 'Authenticatie mode', 'Authenticatie mode')
|
||||
FAC_LCL('lcl_prs_bedrijfadres_authmethodLOV', '0;Automatisch;1;Geforceerd Basic;2;Eigen HTTP header;3;Aan xml toevoegen',
|
||||
'0;Automatic;1;Forced Basic;2;Custom HTTP header;3;Add to xml')
|
||||
@@ -3603,6 +3609,9 @@ FAC_LCL('lcl_fac_menu_usage_mnd', 'Gebruik afgelopen maand', 'Used last month')
|
||||
FAC_LCL('lcl_builtin_menu_image', '(standaard)', '(default)')
|
||||
FAC_LCL('lcl_menu_fac_jobs', 'Geplande acties', 'Recurring actions')
|
||||
|
||||
FAC_LCL('lcl_menu_msg_bericht_maken', 'Bericht maken', 'Create message')
|
||||
FAC_LCL('lcl_menu_fac_nieuws_overzicht', 'Nieuws overzicht', 'News overview')
|
||||
|
||||
//flex reservations
|
||||
FAC_LCL('lcl_weekend', 'Weekend', 'Weekend')
|
||||
FAC_LCL('lcl_resdeel_beschikbaar_op', 'Beschikbaarheid {0} op {1}', 'Availability {0} at {1}')
|
||||
@@ -3904,6 +3913,7 @@ FAC_LCL('lcl_menu_cad_labels', 'Labels', 'Labels')
|
||||
FAC_LCL('lcl_menu_cad_themas', 'Thema''s', 'Themes')
|
||||
FAC_LCL('lcl_menu_cad_legendas', 'Legenda''s', 'Legends')
|
||||
FAC_LCL('lcl_menu_cad_setting', 'Instellingen', 'Settings')
|
||||
FAC_LCL('lcl_menu_cht_chatkanalen', 'Chatkanalen', 'Chat channels')
|
||||
FAC_LCL('lcl_facmgt_mrk', 'Prikbord', 'Bulletin board')
|
||||
FAC_LCL('lcl_menu_mrk_categorieen', 'Prikbord categorie<69>n', 'Bulletin board categories')
|
||||
FAC_LCL('lcl_menu_mrk_setting', 'Instellingen', 'Settings')
|
||||
@@ -4036,6 +4046,7 @@ FAC_LCL('lcl_mobile_res_ruimtevrij', 'Beschikbaar', 'Available')
|
||||
FAC_LCL('lcl_mobile_ruimtebezet', 'Gereserveerd tot {0}', 'Reserved until {0}')
|
||||
FAC_LCL('lcl_mobile_resbeschikbaar', 'Beschikbaarheid', 'Availability')
|
||||
FAC_LCL('lcl_mobile_data_saved', 'Gegevens zijn opgeslagen', 'Information saved')
|
||||
FAC_LCL('lcl_mobile_data_empty', 'Vul eerst de nodige gegevens in', 'Fill in the necessary information first')
|
||||
FAC_LCL('lcl_mobile_newafspraak', 'Nieuwe afspraak', 'New appointment')
|
||||
FAC_LCL('lcl_mobile_newreservering', 'Nieuwe reservering', 'New reservation')
|
||||
FAC_LCL('lcl_mobile_addvisitors', 'Bezoekers toevoegen', 'Add visitors')
|
||||
@@ -4111,6 +4122,10 @@ FAC_LCL('lcl_bez_send_sms_to', 'Stuur naar', 'Send to')
|
||||
FAC_LCL('lcl_bez_no_mobile', 'Er zijn geen mobiele nummers bekend waar een SMS naar toe kan worden gestuurd.', 'No mobile numbers are known where an SMS can be sent to.')
|
||||
FAC_LCL('lcl_bez_visitor_arrived', 'Uw bezoeker {0} is gearriveerd', 'Your visitor {0} has arrived')
|
||||
FAC_LCL('lcl_bez_generic_visitor', 'Geanonimiseerd', 'Anonymized')
|
||||
FAC_LCL('lcl_bez_mail_send', 'Verstuur email', 'Send email')
|
||||
FAC_LCL('lcl_bez_mail_send_to', 'Verstuur email naar de volgende bezoekers', 'Send email to following visitors')
|
||||
FAC_LCL('lcl_bez_mail_sent', 'E-mail(s) verstuurd', 'E-mail(s) sent')
|
||||
|
||||
FAC_LCL('lcl_bes_article_details', 'Artikeldetails', 'Article details')
|
||||
FAC_LCL('lcl_bes_bestelopdracht', 'Bestelopdracht', 'Purchase order')
|
||||
FAC_LCL('lcl_bes_out_of_stock', 'Onvoldoende op voorraad', 'Insufficient stock')
|
||||
@@ -4198,6 +4213,8 @@ FAC_LCL('lcl_cad_doorgevoerd_tek', 'Concept tekening doorgevoerd', 'Concept draw
|
||||
FAC_LCL('lcl_cad_doorgevoerd_opp', 'Concept oppervlak doorgevoerd', 'Concept surface processed')
|
||||
FAC_LCL('lcl_cad_preview', 'Voorbeeld', 'Preview')
|
||||
FAC_LCL('lcl_cad_preview_setting', 'Instellingen', 'Settings')
|
||||
FAC_LCL('lcl_cht_discipline', 'Chat kanaal', 'Chat channel')
|
||||
FAC_LCL('lcl_cht_discipline_m', 'Chat kanalen', 'Chat channels')
|
||||
FAC_LCL('lcl_cnt_cnt_frame', 'Contract', 'Contract')
|
||||
FAC_LCL('lcl_cnt_new_order', 'Afroepopdracht', 'Order')
|
||||
FAC_LCL('lcl_cnt_object', 'Object', 'Object')
|
||||
@@ -4443,6 +4460,8 @@ FAC_LCL('lcl_mld_opdr_nohours', 'Uren zijn niet ingevuld. Gegevens in het scherm
|
||||
FAC_LCL('lcl_mld_opdr_meerwerk', 'Meer/minder werk', 'Additional work')
|
||||
FAC_LCL('lcl_mld_opdr_alt_charge_type', 'Afwijkende kostensoort', 'Different cost category type')
|
||||
FAC_LCL('lcl_mld_opdr_all', 'Alle opdrachten', 'All orders')
|
||||
FAC_LCL('lcl_mld_opdr_hours_approve_monthly', 'Alleen van afgelopen maand', 'Previous month only')
|
||||
FAC_LCL('lcl_mld_opdr_hours_approve_lastweek', 'Week afgelopen maand goedkeuren', 'Approve last week of month')
|
||||
FAC_LCL('lcl_mld_vereisdienst', 'Dienst vereist', 'Service mandatory')
|
||||
FAC_LCL('lcl_mld_opdrtypevast', 'Verplicht opdrachttype', 'Mandatory order type')
|
||||
FAC_LCL('lcl_mld_std_typeopdr', 'Standaard opdrachttype', 'Default order type')
|
||||
@@ -4583,8 +4602,8 @@ FAC_LCL('lcl_mld_kenmerk_count', 'Gevuld', 'Filled')
|
||||
FAC_LCL('lcl_mld_kenmerktype_fail1', 'Bij kenmerksoort ''{0}'' kan geen {1} worden ingevuld.', '{1} cannot be filled for property type ''{0}''')
|
||||
FAC_LCL('mld_kenmerk_wissen', 'Wissen bij', 'Clear at')
|
||||
FAC_LCL('mld_kenmerk_wissenLOV',
|
||||
'0;Niet;1;Kopie;2;Doorsturen;3;Kopie en Doorsturen',
|
||||
'0;No;1;Copy;2;Forward;3;Copy and Forward')
|
||||
'0;Niet;1;Kopie/Vervolgen;2;Doorsturen;3;Kopie/Vervolgen en Doorsturen',
|
||||
'0;No;1;Copy/Continuation;2;Forward;3;Copy/Continuation and Forward')
|
||||
FAC_LCL('opd_kenmerk_wissenLOV',
|
||||
'0;Niet;1;Kopie',
|
||||
'0;No;1;Copy')
|
||||
@@ -5405,11 +5424,13 @@ FAC_LCL('fac_notificatie_job_oms', 'Omschrijving', 'Description')
|
||||
FAC_LCL('fac_notificatie_job_view', 'View', 'View')
|
||||
FAC_LCL('fac_notificatie_job_mode', 'Mode', 'Mode')
|
||||
FAC_LCL('fac_notificatie_job_interval', 'Interval (uur)', 'Interval (hours)')
|
||||
FAC_LCL('fac_notificatie_job_seconds', 'Interval (seconde)', 'Interval (seconds)')
|
||||
FAC_LCL('fac_notificatie_job_queue', 'Afwijkende queue*', 'Special queue*')
|
||||
FAC_LCL('fac_notificatie_job_nextrun', 'Volgende uitvoering', 'Nextrun')
|
||||
FAC_LCL('fac_notificatie_job_status', 'Stuur status', 'Send status')
|
||||
FAC_LCL('fac_notificatie_job_email', 'Stuur e-mail', 'Send e-mail')
|
||||
FAC_LCL('fac_notificatie_job_sms', 'Stuur SMS', 'Send SMS')
|
||||
FAC_LCL('fac_notificatie_job_alert', 'Stuur Waarschuwing', 'Send alert')
|
||||
FAC_LCL('fac_notificatie_job_alert', 'Stuur waarschuwing', 'Send alert')
|
||||
FAC_LCL('fac_notificatie_job_flags', 'Flags', 'Flags')
|
||||
|
||||
FAC_LCL('fac_srtnotificatie', 'Notificatie', 'Notification')
|
||||
@@ -5651,9 +5672,9 @@ FAC_LCL('mgt_discipline_kpnverplicht_0', 'Niet verplicht', 'Not required')
|
||||
FAC_LCL('mgt_discipline_kpnverplicht_1', 'Verplicht', 'Required')
|
||||
FAC_LCL('mgt_discipline_kpnverplicht_2', 'Niet zichtbaar', 'Not visible')
|
||||
|
||||
FAC_LCL('mgt_srtdisc_kk_fe_on', 'FE Defaultwaarde kosten klant aan', 'FE Default value cust. pays on')
|
||||
FAC_LCL('mgt_srtdisc_kk_fe_on', 'FE Defaultwaarde kosten klant aan', 'FE Default value cust. pays on')
|
||||
FAC_LCL('mgt_srtdisc_kk_fe_notshow', 'FE kostenplaats niet tonen', 'FE don''t show cost centre')
|
||||
FAC_LCL('mgt_srtdisc_kk_fobo_on', 'FOBO Defaultwaarde kosten klant aan', 'FOBO Default value cust. pays on')
|
||||
FAC_LCL('mgt_srtdisc_kk_fobo_on', 'FOBO Defaultwaarde kosten klant aan', 'FOBO Default value cust. pays on')
|
||||
FAC_LCL('mgt_srtdisc_kk_fobo_notshow', 'FOBO kostenplaats niet tonen', 'FOBO don''t show cost centre')
|
||||
|
||||
FAC_LCL('mgt_all', 'Alles', 'All')
|
||||
@@ -6019,9 +6040,13 @@ FAC_LCL('res_opstelling_volgnr', 'Volgnummer', 'Sequence number')
|
||||
FAC_LCL('res_activiteit', 'Activiteit', 'Activity')
|
||||
FAC_LCL('res_activiteit_m', 'Activiteiten', 'Activities')
|
||||
FAC_LCL('res_activiteit_omschrijving', 'Omschrijving', 'Description')
|
||||
FAC_LCL('res_activiteit_image', 'Afbeelding', 'Image')
|
||||
FAC_LCL('res_activiteit_omsverplicht', 'Omschrijving verplicht', 'Description mandatory')
|
||||
FAC_LCL('res_activiteit_posttime', 'Schoonmaaktijd uren', 'Cleaning time hours')
|
||||
FAC_LCL('res_activiteit_aantalverplicht', 'Aantal bezoekers verplicht (alleen ruimtes)', 'Number of visitors mandatory (rooms only)')
|
||||
FAC_LCL('res_activiteit_aantalverplicht', 'Bezoekers verplicht (alleen ruimtes)', 'Visitors mandatory (rooms only)')
|
||||
FAC_LCL('res_activiteit_aantalverpl_none', 'Nee', 'No')
|
||||
FAC_LCL('res_activiteit_aantalverpl_required', 'Aantal invullen', 'Enter number')
|
||||
FAC_LCL('res_activiteit_aantalverpl_openframe', 'Automatisch bezoekersframe openen', 'Automatically open visitor frame')
|
||||
FAC_LCL('res_activiteit_notfrontend', 'Niet beschikbaar voor frontend', 'Not available for front end')
|
||||
FAC_LCL('res_activiteit_volgnr', 'Volgnummer', 'Sequence number')
|
||||
FAC_LCL('res_activiteit_duur', 'Standaard tijdsduur', 'Default duration')
|
||||
@@ -6671,6 +6696,7 @@ FAC_LCL('lcl_noti_BEZUN2', 'Bezoeker ##NAAM## is nog niet gearriveerd', 'Visi
|
||||
FAC_LCL('lcl_noti_BEZOUT', 'Uw bezoeker ##NAAM## is uitgecheckt', 'Your visitor #NAAM# has checked out')
|
||||
FAC_LCL('lcl_noti_BEZOU2', 'Bezoeker ##NAAM## is uitgecheckt', 'Visitor #NAAM# has checked out')
|
||||
FAC_LCL('lcl_noti_BEZANO', 'Afspraak ##KEY## is geanonimiseerd', 'Appointment ##KEY## is anonymized')
|
||||
FAC_LCL('lcl_noti_BEZBEZ', 'Afspraak ##KEY##', 'Appointment ##KEY##')
|
||||
|
||||
FAC_LCL('lcl_noti_MESMES', 'U heeft een Facilitor bericht ontvangen van ##NAAM##', 'You have received a message from ##NAAM##')
|
||||
|
||||
@@ -6745,6 +6771,7 @@ FAC_LCL('lcl_noti_ORDOOK', 'Offerte ##OPDRKEY## is goedgekeurd',
|
||||
FAC_LCL('lcl_noti_ORDONO', 'Offerte ##OPDRKEY## is afgewezen', 'Offer ##OPDRKEY## is rejected')
|
||||
|
||||
FAC_LCL('lcl_noti_PRSINF', '*beschikbaar tbv persoonsafhankelijke notificatiejobs*', 'available for personal notification jobs*')
|
||||
FAC_LCL('lcl_noti_PRSREG', 'Facilitor registratie smartphone', 'Facilitor registration smartphone')
|
||||
FAC_LCL('lcl_noti_PRSNEW', 'Persoon geregistreerd', 'Person registered')
|
||||
FAC_LCL('lcl_noti_PRSUPD', 'Persoon gewijzigd', 'Person changed')
|
||||
FAC_LCL('lcl_noti_PRSDEL', 'Persoon verwijderd', 'Person deleted')
|
||||
@@ -6914,6 +6941,8 @@ FAC_LCL('lcl_WEB_CADPRS', 'Graphics:Personen', 'Graphics:Persons')
|
||||
FAC_LCL('lcl_WEB_CADSCH', 'Graphics:Schoonmaak', 'Graphics:Cleaning')
|
||||
FAC_LCL('lcl_WEB_CADSLE', 'Graphics:Sleutelbeheer', 'Graphics:Key management')
|
||||
FAC_LCL('lcl_WEB_CADUSE', 'Graphics:Raadplegen', 'Graphics:View')
|
||||
FAC_LCL('lcl_WEB_CHTOPR', 'Chat: Operator', 'Chat: Operator')
|
||||
FAC_LCL('lcl_WEB_CHTREQ', 'Chat: Request', 'Chat: Request')
|
||||
FAC_LCL('lcl_WEB_CNTFIN', 'Frontoffice:Facturen', 'Front office:Invoice')
|
||||
FAC_LCL('lcl_WEB_CNTGO1', 'Backoffice:Contracten-goedk1', 'Back office:Contracts-appr1')
|
||||
FAC_LCL('lcl_WEB_CNTGO2', 'Backoffice:Contracten-goedk2', 'Back office:Contracts-appr2')
|
||||
@@ -7166,6 +7195,8 @@ FAC_LCL('lcl_WEB_CADPRS_info', 'Graphics tabblad beschikbaar maken', 'To make Gr
|
||||
FAC_LCL('lcl_WEB_CADSCH_info', 'Graphics tabblad beschikbaar maken', 'To make Graphics tab available')
|
||||
FAC_LCL('lcl_WEB_CADSLE_info', 'Graphics tabblad beschikbaar maken', 'To make Graphics tab available')
|
||||
FAC_LCL('lcl_WEB_CADUSE_info', 'Om Graphics te kunnen gebruiken', 'To use Graphics')
|
||||
FAC_LCL('lcl_WEB_CHTOPR_info', 'Voor chat request', 'For chat request')
|
||||
FAC_LCL('lcl_WEB_CHTREQ_info', 'Voor chat operator', 'For chat operator')
|
||||
FAC_LCL('lcl_WEB_CNTFIN_info', 'Om facturen te kunnen zien bij eigen contracten.', 'To see invoices of own contracts.')
|
||||
FAC_LCL('lcl_WEB_CNTGO1_info', 'Om contracten boven de eerste limiet goed te kunnen keuren', 'Approve contracts above the first limit')
|
||||
FAC_LCL('lcl_WEB_CNTGO2_info', 'Om contracten boven de tweede limiet goed te kunnen keuren', 'Approve contracts above the second limit')
|
||||
|
||||
225
FAC/FAC_PAC.SRC
225
FAC/FAC_PAC.SRC
@@ -106,22 +106,20 @@ CREATE OR REPLACE PACKAGE fac
|
||||
PROCEDURE imp_mld_delete_mld (p_import_key IN NUMBER, p_mode IN NUMBER);
|
||||
PROCEDURE fac_perfmon_incr(limiet IN NUMBER, zwaarte IN NUMBER);
|
||||
PROCEDURE putnotificationprio (pfrom NUMBER, pto NUMBER, pmessage VARCHAR2, pmode NUMBER,
|
||||
poptemail VARCHAR2, poptmobile VARCHAR2, pprio NUMBER, pattach VARCHAR2 DEFAULT NULL);
|
||||
poptemail VARCHAR2, poptmobile VARCHAR2, pprio NUMBER, pattach VARCHAR2 DEFAULT NULL, pbedrijfadreskey NUMBER DEFAULT NULL, pqueue VARCHAR DEFAULT NULL);
|
||||
PROCEDURE putnotification (pfrom NUMBER, pto NUMBER, pmessage VARCHAR2, pmode NUMBER,
|
||||
poptemail VARCHAR2, poptmobile VARCHAR2);
|
||||
PROCEDURE putsystemnotification (pmessage VARCHAR2, pmode NUMBER);
|
||||
PROCEDURE putnotificationsrtprio (pfrom NUMBER, pto NUMBER, pcode VARCHAR2, pref NUMBER,
|
||||
poptmessage VARCHAR2, poptstatus NUMBER, poptemail VARCHAR2, poptmobile VARCHAR2, pxref NUMBER,
|
||||
pprio NUMBER, psender VARCHAR2, pattach VARCHAR2 DEFAULT NULL);
|
||||
pprio NUMBER, psender VARCHAR2, pattach VARCHAR2 DEFAULT NULL, pbedrijfadreskey NUMBER DEFAULT NULL, pqueue VARCHAR DEFAULT NULL);
|
||||
PROCEDURE clrnotifications (pcode VARCHAR2, pref NUMBER, pxref NUMBER DEFAULT NULL, puitz VARCHAR2 DEFAULT NULL, puitz2 VARCHAR2 DEFAULT NULL);
|
||||
PROCEDURE clrnotifications (pcode VARCHAR2, pref NUMBER, psubject VARCHAR2, preceiver NUMBER, pextrakey NUMBER);
|
||||
PROCEDURE clrnotifications_xmlnode (pxmlnode VARCHAR2, prefkey NUMBER);
|
||||
PROCEDURE clrtracking_xmlnode (pxmlnode VARCHAR2, prefkey NUMBER);
|
||||
PROCEDURE putnotificationjobs;
|
||||
PROCEDURE putcommandjobs;
|
||||
PROCEDURE putnotificationjobs (pflags NUMBER DEFAULT NULL);
|
||||
PROCEDURE putnotificationjobs (pcust VARCHAR2);
|
||||
PROCEDURE putjobnotifications (pviewname VARCHAR2, pmode NUMBER, pflags NUMBER);
|
||||
PROCEDURE putjobcommands (pviewname VARCHAR2, pmode NUMBER, pflags NUMBER);
|
||||
PROCEDURE putjobnotifications (pviewname VARCHAR2, pmode NUMBER, pflags NUMBER, pqueue VARCHAR DEFAULT NULL);
|
||||
FUNCTION getEmail ( pkey IN NUMBER ) RETURN VARCHAR2;
|
||||
FUNCTION getMobile ( pkey IN NUMBER ) RETURN VARCHAR2;
|
||||
PROCEDURE fac_nightly;
|
||||
@@ -2018,7 +2016,8 @@ CREATE OR REPLACE PACKAGE BODY fac AS
|
||||
-- In plaats van pto (een intern prs_perslid) kan optioneel ook expliciete adressering worden meegegeven.
|
||||
-- Bij een interne ontvanger wordt diens taal bijgezocht.
|
||||
PROCEDURE putnotificationprio (pfrom NUMBER, pto NUMBER, pmessage VARCHAR2, pmode NUMBER,
|
||||
poptemail VARCHAR2, poptmobile VARCHAR2, pprio NUMBER, pattach VARCHAR2 DEFAULT NULL)
|
||||
poptemail VARCHAR2, poptmobile VARCHAR2, pprio NUMBER, pattach VARCHAR2 DEFAULT NULL,
|
||||
pbedrijfadreskey NUMBER DEFAULT NULL, pqueue VARCHAR DEFAULT NULL)
|
||||
AS
|
||||
lemail prs_perslid.prs_perslid_email%TYPE;
|
||||
lphone prs_perslid.prs_perslid_mobiel%TYPE;
|
||||
@@ -2076,12 +2075,12 @@ CREATE OR REPLACE PACKAGE BODY fac AS
|
||||
(fac_srtnotificatie_key, fac_notificatie_status, prs_perslid_key_sender, prs_perslid_key_receiver,
|
||||
fac_notificatie_receiver_email, fac_notificatie_receiver_phone, fac_notificatie_oms,
|
||||
fac_notificatie_refkey, fac_notificatie_prioriteit, fac_notificatie_lang, fac_notificatie_systeemadres,
|
||||
fac_notificatie_attachments
|
||||
fac_notificatie_attachments, prs_bedrijfadres_key
|
||||
)
|
||||
VALUES (NULL, lmode, pfrom, pto,
|
||||
lemail, lphone, SUBSTR(pmessage, 1, 2048),
|
||||
NULL, pprio, llang, lsysteem,
|
||||
pattach
|
||||
pattach, pbedrijfadreskey
|
||||
);
|
||||
END IF;
|
||||
END;
|
||||
@@ -2130,7 +2129,9 @@ CREATE OR REPLACE PACKAGE BODY fac AS
|
||||
pxref NUMBER,
|
||||
pprio NUMBER,
|
||||
psender VARCHAR2,
|
||||
pattach VARCHAR2 DEFAULT NULL)
|
||||
pattach VARCHAR2 DEFAULT NULL,
|
||||
pbedrijfadreskey NUMBER DEFAULT NULL,
|
||||
pqueue VARCHAR DEFAULT NULL)
|
||||
AS
|
||||
soms fac_srtnotificatie.fac_srtnotificatie_oms%TYPE;
|
||||
smode fac_srtnotificatie.fac_srtnotificatie_mode%TYPE;
|
||||
@@ -2476,31 +2477,28 @@ CREATE OR REPLACE PACKAGE BODY fac AS
|
||||
PROCEDURE putnotificationjobs (pcust VARCHAR2)
|
||||
AS
|
||||
BEGIN
|
||||
fac.putnotificationjobs(0);
|
||||
fac.putnotificationjobs(223); --dat is alles behalve de bedrijfsadresdingen (255-32)
|
||||
END;
|
||||
|
||||
-- Kijk welke jobs gescheduled zijn en nu uitgevoerd moeten worden.
|
||||
-- Interne functie
|
||||
PROCEDURE putjobs (pcommands NUMBER DEFAULT 0)
|
||||
-- Optioneel kun je pflags meegeven om bepaalde soort jobs in of uit te sluiten
|
||||
-- De oorspronkelijke notificatie krijg je bv met "niet-32", alleen de bedrijfsadresjobs met 32
|
||||
PROCEDURE putnotificationjobs (pflags NUMBER DEFAULT NULL)
|
||||
AS
|
||||
CURSOR c1
|
||||
IS
|
||||
SELECT fac_notificatie_job_key, fac_notificatie_job_view, fac_notificatie_job_oms,
|
||||
fac_notificatie_job_interval, fac_notificatie_job_mode, fac_notificatie_job_nextrun,
|
||||
fac_notificatie_job_flags, fac_notificatie_job_seconds
|
||||
fac_notificatie_job_flags, fac_notificatie_job_seconds, fac_notificatie_job_queue
|
||||
FROM fac_notificatie_job
|
||||
WHERE fac_notificatie_job_nextrun <= SYSDATE OR fac_notificatie_job_nextrun IS NULL; -- eerste keer
|
||||
WHERE (fac_notificatie_job_nextrun <= SYSDATE OR fac_notificatie_job_nextrun IS NULL) -- eerste keer
|
||||
AND (pflags IS NULL OR BITAND(fac_notificatie_job_flags, pflags) > 0); -- nog te testen ivm performance
|
||||
tnextrun fac_notificatie_job.fac_notificatie_job_nextrun%TYPE;
|
||||
BEGIN
|
||||
FOR rec1 IN c1
|
||||
LOOP
|
||||
-- Voer de job uit
|
||||
IF pcommands = 1 AND BITAND(rec1.fac_notificatie_job_flags,32) = 32
|
||||
THEN
|
||||
putjobcommands (rec1.fac_notificatie_job_view, rec1.fac_notificatie_job_mode, rec1.fac_notificatie_job_flags);
|
||||
ELSE
|
||||
putjobnotifications (rec1.fac_notificatie_job_view, rec1.fac_notificatie_job_mode, rec1.fac_notificatie_job_flags);
|
||||
END IF;
|
||||
putjobnotifications (rec1.fac_notificatie_job_view, rec1.fac_notificatie_job_mode, rec1.fac_notificatie_job_flags, rec1.fac_notificatie_job_queue);
|
||||
|
||||
UPDATE fac_notificatie_job
|
||||
SET fac_notificatie_job_lastrun = SYSDATE
|
||||
@@ -2513,21 +2511,22 @@ CREATE OR REPLACE PACKAGE BODY fac AS
|
||||
|
||||
WHILE tnextrun <= SYSDATE
|
||||
LOOP
|
||||
IF pcommands = 1 AND BITAND(rec1.fac_notificatie_job_flags,32) = 32
|
||||
IF rec1.fac_notificatie_job_interval IS NOT NULL AND rec1.fac_notificatie_job_interval > 0
|
||||
THEN
|
||||
-- Command-interval in seconds, DATE arithmetics are in days, so we will have to divide by 24*60*60 seconds a day
|
||||
UPDATE fac_notificatie_job
|
||||
SET fac_notificatie_job_nextrun =
|
||||
COALESCE (fac_notificatie_job_nextrun, SYSDATE)
|
||||
+ rec1.fac_notificatie_job_seconds / 24*60*60
|
||||
WHERE fac_notificatie_job_key = rec1.fac_notificatie_job_key;
|
||||
ELSE
|
||||
-- Notify-interval in hrs, DATE arithmetics are in days, so we will have to divide by 24 hrs a day
|
||||
UPDATE fac_notificatie_job
|
||||
SET fac_notificatie_job_nextrun =
|
||||
COALESCE (fac_notificatie_job_nextrun, SYSDATE)
|
||||
+ rec1.fac_notificatie_job_interval / 24
|
||||
WHERE fac_notificatie_job_key = rec1.fac_notificatie_job_key;
|
||||
ELSIF rec1.fac_notificatie_job_seconds IS NOT NULL AND rec1.fac_notificatie_job_seconds > 0
|
||||
THEN
|
||||
-- Command-interval in seconds, DATE arithmetics are in days, so we will have to divide by 24*60*60 seconds a day
|
||||
UPDATE fac_notificatie_job
|
||||
SET fac_notificatie_job_nextrun =
|
||||
COALESCE (fac_notificatie_job_nextrun, SYSDATE)
|
||||
+ rec1.fac_notificatie_job_seconds / (24*60*60)
|
||||
WHERE fac_notificatie_job_key = rec1.fac_notificatie_job_key;
|
||||
END IF;
|
||||
|
||||
SELECT fac_notificatie_job_nextrun
|
||||
@@ -2538,91 +2537,97 @@ CREATE OR REPLACE PACKAGE BODY fac AS
|
||||
END LOOP;
|
||||
END;
|
||||
|
||||
-- Dit zijn de 2 die weg bebruikt moeten worden in de schedules
|
||||
PROCEDURE putnotificationjobs
|
||||
AS
|
||||
BEGIN
|
||||
fac.putjobs (0);
|
||||
END;
|
||||
PROCEDURE putcommandjobs
|
||||
AS
|
||||
BEGIN
|
||||
fac.putjobs (1);
|
||||
END;
|
||||
|
||||
-- Voer nu job pcode uit.
|
||||
PROCEDURE putjobnotifications (pviewname VARCHAR2, pmode NUMBER, pflags NUMBER)
|
||||
-- Voer nu job met pviewname uit, die kennelijk nu aan de beurt is
|
||||
PROCEDURE putjobnotifications (pviewname VARCHAR2, pmode NUMBER, pflags NUMBER, pqueue VARCHAR DEFAULT NULL)
|
||||
AS
|
||||
TYPE noticursortype IS REF CURSOR;
|
||||
|
||||
messages noticursortype;
|
||||
lsender fac_notificatie.prs_perslid_key_sender%TYPE;
|
||||
lreceiver fac_notificatie.prs_perslid_key_receiver%TYPE;
|
||||
ltext fac_notificatie.fac_notificatie_oms%TYPE;
|
||||
lcode fac_srtnotificatie.fac_srtnotificatie_code%TYPE;
|
||||
lsrt_key fac_srtnotificatie.fac_srtnotificatie_key%TYPE;
|
||||
lrefkey fac_notificatie.fac_notificatie_refkey%TYPE;
|
||||
lxkey fac_notificatie.fac_notificatie_extrakey%TYPE;
|
||||
lxsender fac_notificatie.fac_notificatie_sender_email%TYPE;
|
||||
lxemail fac_notificatie.fac_notificatie_receiver_email%TYPE;
|
||||
lxmobile fac_notificatie.fac_notificatie_receiver_phone%TYPE;
|
||||
attachments fac_notificatie.fac_notificatie_attachments%TYPE;
|
||||
messages noticursortype;
|
||||
lsender fac_notificatie.prs_perslid_key_sender%TYPE;
|
||||
lreceiver fac_notificatie.prs_perslid_key_receiver%TYPE;
|
||||
ltext fac_notificatie.fac_notificatie_oms%TYPE;
|
||||
lcode fac_srtnotificatie.fac_srtnotificatie_code%TYPE;
|
||||
lsrt_key fac_srtnotificatie.fac_srtnotificatie_key%TYPE;
|
||||
lrefkey fac_notificatie.fac_notificatie_refkey%TYPE;
|
||||
lxkey fac_notificatie.fac_notificatie_extrakey%TYPE;
|
||||
lxsender fac_notificatie.fac_notificatie_sender_email%TYPE;
|
||||
lxemail fac_notificatie.fac_notificatie_receiver_email%TYPE;
|
||||
lxmobile fac_notificatie.fac_notificatie_receiver_phone%TYPE;
|
||||
attachments fac_notificatie.fac_notificatie_attachments%TYPE;
|
||||
lbedrijfadreskey fac_notificatie.prs_bedrijfadres_key%TYPE;
|
||||
BEGIN
|
||||
-- The flags are for compatibility mostly. Flags 2 and 4 cannot be combined (useless)
|
||||
-- flags: 0=default, 1=view has xemail and xmobile, 2=use fac.notifytracking instead of fac.putnotification(srtprio)
|
||||
-- 4=view has attachments, 8=view has xsender
|
||||
-- 16=do tracking of text (requires code, key and text to be NOT NULL)
|
||||
-- Kijk of de extra kolommen xemail en xmobile in de view zitten, dan gebruiken we die ook
|
||||
-- Merk op: met deze implementatie zijn niet alle combi's ondersteund, we wegen 32 het zwaarst
|
||||
|
||||
IF BITAND(pflags, 2) = 2 -- Alleen sender, text, code en xkey verplicht (met xkey zoals in fac_tracking zou komen)
|
||||
IF BITAND(pflags, 32) = 32 /* met prs_bedrijfadres_key */
|
||||
THEN
|
||||
OPEN messages FOR
|
||||
'SELECT sender, NULL receiver, text, code, fac_srtnotificatie_key, NULL key, xkey, NULL xsender, NULL xemail, NULL xmobile, NULL attachments'
|
||||
'SELECT sender, receiver, text, code, fac_srtnotificatie_key, key, xkey, xsender, xemail, xmobile, attachments, prs_bedrijfadres_key FROM '
|
||||
|| pviewname;
|
||||
ELSIF BITAND(pflags, 2) = 2 -- Alleen sender, text, code en xkey verplicht (met xkey zoals in fac_tracking zou komen)
|
||||
THEN
|
||||
OPEN messages FOR
|
||||
'SELECT sender, NULL receiver, text, code, fac_srtnotificatie_key, NULL key, xkey, NULL xsender, NULL xemail, NULL xmobile, NULL attachments, NULL prs_bedrijfadres_key'
|
||||
|| ' FROM fac_srtnotificatie, ' || pviewname
|
||||
|| ' WHERE code = fac_srtnotificatie_code';
|
||||
ELSIF BITAND(pflags, 32) = 32 /* met prs_bedrijfadres_key */
|
||||
THEN
|
||||
OPEN messages FOR
|
||||
'SELECT sender, receiver, text, code, fac_srtnotificatie_key, key, xkey, xsender, xemail, xmobile, attachments, prs_bedrijfadres_key FROM '
|
||||
|| pviewname;
|
||||
ELSIF BITAND(pflags, 13) = 13 /* 8+4+1 */
|
||||
THEN
|
||||
OPEN messages FOR
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, xsender, xemail, xmobile, attachments FROM '
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, xsender, xemail, xmobile, attachments, NULL prs_bedrijfadres_key FROM '
|
||||
|| pviewname;
|
||||
ELSIF BITAND(pflags, 9) = 9 /* 8+1 */
|
||||
THEN
|
||||
OPEN messages FOR
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, xsender, xemail, xmobile, NULL attachments FROM '
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, xsender, xemail, xmobile, NULL attachments, NULL prs_bedrijfadres_key FROM '
|
||||
|| pviewname;
|
||||
ELSIF BITAND(pflags, 8) = 8
|
||||
THEN
|
||||
OPEN messages FOR
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, xsender, NULL xemail, NULL xmobile, NULL attachments FROM '
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, xsender, NULL xemail, NULL xmobile, NULL attachments, NULL prs_bedrijfadres_key FROM '
|
||||
|| pviewname;
|
||||
ELSIF BITAND(pflags, 5) = 5 /* 4+1 */
|
||||
THEN
|
||||
OPEN messages FOR
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, NULL xsender, xemail, xmobile, attachments FROM '
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, NULL xsender, xemail, xmobile, attachments, NULL prs_bedrijfadres_key FROM '
|
||||
|| pviewname;
|
||||
ELSIF BITAND(pflags, 4) = 4
|
||||
THEN
|
||||
OPEN messages FOR
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, NULL xsender, NULL xemail, NULL xmobile, attachments FROM '
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, NULL xsender, NULL xemail, NULL xmobile, attachments, NULL prs_bedrijfadres_key FROM '
|
||||
|| pviewname;
|
||||
ELSIF BITAND(pflags, 1) = 1
|
||||
THEN
|
||||
OPEN messages FOR
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, NULL xsender, xemail, xmobile, NULL attachments FROM '
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, NULL xsender, xemail, xmobile, NULL attachments, NULL prs_bedrijfadres_key FROM '
|
||||
|| pviewname;
|
||||
ELSE -- BITAND(pflags, 1) = 0
|
||||
OPEN messages FOR
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, NULL xsender, NULL xemail, NULL xmobile, NULL attachments FROM '
|
||||
'SELECT sender, receiver, text, code, NULL fac_srtnotificatie_key, key, xkey, NULL xsender, NULL xemail, NULL xmobile, NULL attachments, NULL prs_bedrijfadres_key FROM '
|
||||
|| pviewname;
|
||||
END IF;
|
||||
|
||||
|
||||
LOOP
|
||||
FETCH messages
|
||||
INTO lsender, lreceiver, ltext, lcode, lsrt_key, lrefkey, lxkey, lxsender, lxemail, lxmobile, attachments;
|
||||
INTO lsender, lreceiver, ltext, lcode, lsrt_key, lrefkey, lxkey, lxsender, lxemail, lxmobile, attachments, lbedrijfadreskey;
|
||||
|
||||
EXIT WHEN messages%NOTFOUND;
|
||||
|
||||
-- we willen weten als we teveel sturen
|
||||
IF BITAND(pflags, 32) = 32 AND LENGTH(ltext) > 2048
|
||||
THEN
|
||||
raise_application_error (-20001, 'Facilitor warning: Jobcommand too long');
|
||||
END IF;
|
||||
|
||||
IF BITAND(pflags, 16) = 16 AND lcode IS NOT NULL AND lrefkey IS NOT NULL AND ltext IS NOT NULL
|
||||
THEN
|
||||
fac.trackaction (lcode, lrefkey, lsender /*user_key*/, NULL /* datum */, ltext);
|
||||
@@ -2634,6 +2639,7 @@ CREATE OR REPLACE PACKAGE BODY fac AS
|
||||
lsender,
|
||||
ltext,
|
||||
lxkey);
|
||||
|
||||
ELSIF lcode IS NULL
|
||||
THEN
|
||||
putnotificationprio (lsender,
|
||||
@@ -2643,7 +2649,9 @@ CREATE OR REPLACE PACKAGE BODY fac AS
|
||||
lxemail,
|
||||
lxmobile,
|
||||
2,
|
||||
attachments);
|
||||
attachments,
|
||||
lbedrijfadreskey,
|
||||
pqueue);
|
||||
ELSE
|
||||
putnotificationsrtprio (lsender,
|
||||
lreceiver,
|
||||
@@ -2656,7 +2664,9 @@ CREATE OR REPLACE PACKAGE BODY fac AS
|
||||
lxkey,
|
||||
2,
|
||||
lxsender,
|
||||
attachments);
|
||||
attachments,
|
||||
lbedrijfadreskey,
|
||||
pqueue);
|
||||
END IF;
|
||||
END LOOP;
|
||||
|
||||
@@ -2667,87 +2677,6 @@ CREATE OR REPLACE PACKAGE BODY fac AS
|
||||
putsystemnotification ('Facilitor notifier: Invalid notification job ' || pviewname ||' ('|| SQLERRM ||')' , 3);
|
||||
END;
|
||||
|
||||
-- FLEX#64717 Deze zet commando's in de (notificatie)queue, die worden verstuurd
|
||||
-- volgens de parameters van bedrijfadres. De pmode heeft minstens een 32-bitje gezet
|
||||
-- waardoor de queuehandler (putorders) weet dat het geen gewone notificatie is, maar
|
||||
-- een handler. Optioneel is er ook nog een 16-bit (dus pmode=48) dat net als bij notificaties een
|
||||
-- tracking bij de betreffende entiteit registreert.
|
||||
PROCEDURE putjobcommands (pviewname VARCHAR2, pmode NUMBER, pflags NUMBER)
|
||||
AS
|
||||
TYPE noticursortype IS REF CURSOR;
|
||||
|
||||
commands noticursortype;
|
||||
lbedrijfadres_key prs_bedrijfadres.prs_bedrijfadres_key%TYPE;
|
||||
lxmlnode fac_srtnotificatie.fac_srtnotificatie_xmlnode%TYPE;
|
||||
ldatum fac_notificatie.fac_notificatie_datum%TYPE;
|
||||
ltext fac_notificatie.fac_notificatie_oms%TYPE;
|
||||
lcode fac_srtnotificatie.fac_srtnotificatie_code%TYPE;
|
||||
lrefkey fac_notificatie.fac_notificatie_refkey%TYPE;
|
||||
lsrtnotificatie_key fac_srtnotificatie.fac_srtnotificatie_key%TYPE;
|
||||
BEGIN
|
||||
-- flags: 16 = do tracking of text (requires code, key and text to be NOT NULL)
|
||||
-- 32 = execute *this* function
|
||||
OPEN commands FOR -- goed nadenken, deze namen zijn voor eeuwig. is notbefore nodig?
|
||||
'SELECT prs_bedrijfadres_key, xmlnode, refkey, datum, waarde, code FROM '
|
||||
|| pviewname;
|
||||
|
||||
LOOP
|
||||
FETCH commands
|
||||
INTO lbedrijfadres_key,
|
||||
lxmlnode,
|
||||
lrefkey,
|
||||
ldatum,
|
||||
ltext,
|
||||
lcode;
|
||||
|
||||
EXIT WHEN commands%NOTFOUND;
|
||||
|
||||
IF LENGTH(ltext) > 2048
|
||||
THEN
|
||||
raise_application_error (-20001, 'Facilitor warning: Jobcommand too long');
|
||||
END IF;
|
||||
|
||||
IF lcode IS NOT NULL
|
||||
THEN
|
||||
SELECT fac_srtnotificatie_key
|
||||
INTO lsrtnotificatie_key
|
||||
FROM fac_srtnotificatie
|
||||
WHERE fac_srtnotificatie_code = lcode;
|
||||
END IF;
|
||||
|
||||
IF BITAND (pflags, 16) = 16
|
||||
AND lcode IS NOT NULL
|
||||
AND lxmlnode IS NOT NULL
|
||||
AND lrefkey IS NOT NULL
|
||||
AND ltext IS NOT NULL
|
||||
THEN
|
||||
fac.trackaction (lcode,
|
||||
lrefkey,
|
||||
NULL,
|
||||
NULL,
|
||||
ltext);
|
||||
END IF;
|
||||
|
||||
INSERT INTO fac_notificatie (fac_notificatie_status,
|
||||
fac_notificatie_datum,
|
||||
fac_notificatie_oms,
|
||||
fac_notificatie_refkey,
|
||||
prs_bedrijfadres_key,
|
||||
fac_srtnotificatie_key)
|
||||
VALUES (pmode,
|
||||
ldatum,
|
||||
SUBSTR (ltext, 1, 2048),
|
||||
lrefkey,
|
||||
lbedrijfadres_key,
|
||||
lsrtnotificatie_key);
|
||||
END LOOP;
|
||||
|
||||
CLOSE commands;
|
||||
EXCEPTION
|
||||
WHEN OTHERS
|
||||
THEN
|
||||
putsystemnotification ('Facilitor notifier: Invalid commands-job ' || pviewname || ' (' || SQLERRM ||')', 3);
|
||||
END;
|
||||
|
||||
PROCEDURE executeactiviteit (pxmlnode VARCHAR2, pactkey NUMBER)
|
||||
AS
|
||||
|
||||
@@ -607,6 +607,8 @@ CREATE_TABLE(fac_notificatie, 0)
|
||||
fac_notificatie_status
|
||||
NUMBER(3)
|
||||
NOT_NULL(fac_notificatie_status, fac_c_fac_notificatie_status),
|
||||
fac_notificatie_queue
|
||||
VARCHAR2(20),
|
||||
// Note: these columns are defined in PRS_TAB.SRC
|
||||
// prs_perslid_key_sender
|
||||
// NUMBER(10)
|
||||
@@ -664,15 +666,18 @@ CREATE_TABLE(fac_notificatie_job, 0)
|
||||
fac_notificatie_job_mode
|
||||
NUMBER(3),
|
||||
fac_notificatie_job_flags
|
||||
NUMBER(10) default 0, -- &1=view has xemail and xmobile, &2=use fac.notifytracking instead of fac.putnotification(srtprio), &32=commando
|
||||
NUMBER(10) default 0, -- see documentation &1=view has xemail and xmobile, &2=use fac.notifytracking instead of fac.putnotification(srtprio), &32=commando
|
||||
fac_notificatie_job_interval
|
||||
NUMBER(5),
|
||||
fac_notificatie_job_seconds
|
||||
NUMBER(5),
|
||||
fac_notificatie_job_queue
|
||||
VARCHAR2(20),
|
||||
fac_notificatie_job_nextrun
|
||||
DATE,
|
||||
fac_notificatie_job_lastrun
|
||||
DATE
|
||||
, CONSTRAINT fac_c_notificatie_job1 CHECK(fac_notificatie_job_interval IS NOT NULL OR fac_notificatie_job_seconds IS NOT NULL)
|
||||
);
|
||||
/* Welke importapps bestaan er */
|
||||
CREATE_TABLE(fac_import_app, 0)
|
||||
|
||||
@@ -384,6 +384,7 @@ BEGIN
|
||||
END IF;
|
||||
-- Always clear the notify_to_statinfo bit, even when no :new.prs_perslid_key_receiver
|
||||
:NEW.fac_notificatie_status := BITAND (:NEW.fac_notificatie_status, 255 - 1);
|
||||
:NEW.fac_notificatie_queue:=UPPER(:NEW.fac_notificatie_queue);
|
||||
END;
|
||||
/
|
||||
|
||||
@@ -401,6 +402,7 @@ FOR EACH ROW
|
||||
BEGIN
|
||||
UPDATE_PRIMARY_KEY(fac_notificatie_job_key, fac_s_fac_notificatie_job_key);
|
||||
:new.fac_notificatie_job_view:=UPPER(:new.fac_notificatie_job_view);
|
||||
:new.fac_notificatie_job_queue:=UPPER(:new.fac_notificatie_job_queue);
|
||||
END;
|
||||
/
|
||||
|
||||
|
||||
@@ -324,7 +324,11 @@ ALTER TABLE prs_bedrijfadres ADD CONSTRAINT prs_c_prs_bedrijfadrestype CHECK (p
|
||||
ALTER TABLE fac_notificatie ADD prs_bedrijfadres_key
|
||||
NUMBER(10) CONSTRAINT prs_r_bedrijfadres_key1
|
||||
REFERENCES prs_bedrijfadres(prs_bedrijfadres_key) ON DELETE CASCADE;
|
||||
|
||||
ALTER TABLE fac_notificatie_job ADD fac_notificatie_job_seconds NUMBER(5);
|
||||
ALTER TABLE fac_notificatie_job ADD CONSTRAINT fac_c_notificatie_job1 CHECK(fac_notificatie_job_interval IS NOT NULL OR fac_notificatie_job_seconds IS NOT NULL);
|
||||
ALTER TABLE fac_notificatie_job ADD fac_notificatie_job_queue VARCHAR2(20);
|
||||
ALTER TABLE fac_notificatie ADD fac_notificatie_queue VARCHAR2(20);
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////// YKPN#64730
|
||||
ALTER TABLE res_activiteit DROP CONSTRAINT res_c_activiteit_aantal;
|
||||
|
||||
Reference in New Issue
Block a user