(RPG) A generic way to enable ‘sharing’ by e-mail & message

Please mark posts as being for RPG or RDMLX (LANSA) developers.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
MarkDuignan
Posts: 346
Joined: Wed Apr 18, 2012 10:33 am

(RPG) A generic way to enable ‘sharing’ by e-mail & message

Post by MarkDuignan »

This example demonstrates a generic way to enable information ‘sharing’ by e-mail or message/SMS.

Imagine an in-field staff member using your iPhone or iPad App wants to:
• ‘Share’ the details of an overdue Order with your billing department by e-mail
• ‘Share’ the details of a customer with another sales rep by message/SMS
• ‘Share’ the details of a spare part enquiry with a potential customer by message/SMS

Following is a screen that mocks up all 3 of those situations - see the attached MS-Word document for more screen shots and the example RPG code ................
Shot1.png
Shot1.png (58.49 KiB) Viewed 3995 times
Attachments
GenericSharing.docx
Screen Shots and RPG/DDS code
(296.67 KiB) Downloaded 390 times
MarkDuignan
Posts: 346
Joined: Wed Apr 18, 2012 10:33 am

(RPG) Sorry - you also need these RPG prototypes defined

Post by MarkDuignan »

D* -----------------------------------------------------------------------
D* Prototype for program EXAM0075A
D EXAM0075A PR ExtPgm('EXAM0075A')
D Container 256A Const
D Title 256A Const
D Message 256A Const
D* -----------------------------------------------------------------------
D* Prototype for program EXAM0075B
D EXAM0075B PR ExtPgm('EXAM0075B')
D RequestACTION 32A Const
MarkDuignan
Posts: 346
Joined: Wed Apr 18, 2012 10:33 am

Re: (RPG) A generic way to enable ‘sharing’ by e-mail & mess

Post by MarkDuignan »

This example is now shipped with LongRange.
See http://longrange.lansa.com.au/viewtopic.php?f=13&t=111
Post Reply