Page 1 of 1

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

Posted: Fri Jul 20, 2012 12:42 pm
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 4000 times

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

Posted: Fri Jul 20, 2012 12:49 pm
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

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

Posted: Fri Sep 07, 2012 10:35 am
by MarkDuignan
This example is now shipped with LongRange.
See http://longrange.lansa.com.au/viewtopic.php?f=13&t=111