You are on page 1of 5

Phire 15.

1
How to Document

Copyright © 2020, Phire. All rights reserved.


The Programs (which include both the software and documentation) contain proprietary information; they
are provided under a license agreement containing restrictions on use and disclosure and are also protected
by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly,
or decompilation of the Programs, except to the extent required to obtain interoperability with other
independently created software or as specified by law, is prohibited. The information contained in this is
subject to change without notice. If you find any problems in the documentation, please report them to us
in writing. This is not warranted to be error-free. Unless permitted in your license agreement for these
Programs, no part of these Programs may be reproduced or transmitted in any form or by any means,
electronic or mechanical, for any purpose.

How to Add Grid to iForm


As delivered, Phire iForms does not have the ability to add a grid into an iForm. A grid may be
necessary if you want to establish a one-to-many relationship within the iForm. The following
document describes one method of implementing a grid within an iForm.

Copyright @ 2020 Phire. All rights reserved. Page 1 of 5


Create a page DFM_UA_DOC_DTL as a copy of PHI_CR_DOC_DTL. Change the reference of
the subpage to DFM_UA_DOC_SBP, which is a copy of PHI_DOC_SBP.

Be sure the subpage is positioned after the Ok/Cancel buttons, otherwise those buttons will be
confused regarding the level at which they are running at.

Copyright @ 2020 Phire. All rights reserved. Page 2 of 5


The secondary page has delivered PeopleCode, which should be copied from the original. You
can add logic to it, similar to that which is noted here. It will set the display-only characteristics
of the new fields in the scroll, depending on the component variable that controls everything
else.

Here, DFM_UA_DOC_SBP is shown containing some of the original PHI_DOC_SBR fields, plus
the grid/scroll containing the custom record fields:

Copyright @ 2020 Phire. All rights reserved. Page 3 of 5


The new Secondary page, DFM_UA_DOC_DTL, must be added to the level-1 grid on
PHI_CR_DOC for the new rowset level to be included in the component.

Note. This is a customization that will need to be reapplied after future upgrades of Phire.

This is the custom record, which includes the keys from the PHI_CR_DOC table, plus one key,
PHI_SEQ_NUM, which further defines the child table.

Copyright @ 2020 Phire. All rights reserved. Page 4 of 5


The FieldDefault PeopleCode on the additional key field can auto-increment as rows are
inserted.

Copyright @ 2020 Phire. All rights reserved. Page 5 of 5

You might also like