1|1|1|1
<?xml version="1.0" encoding="utf-16"?>
<Forms version="3.0">
  <Form module="op" application="generate_templates" name="main" x="0" y="0" width="660" height="212" style="">
    <Coaching>This program reads through the order tables and generates customer product templates
based on the criteria entered.
If required all existing templates for selected customers can be removed before the new
ones are created.</Coaching>
    <Grid num="1">
      <GridRow num="1">
        <GridColumn num="1" span="6">
          <Part title="Generate customer templates" x="0" y="0" width="630" height="128" style="">
            <Grid num="1">
              <GridRow num="1">
                <GridColumn num="1">
                  <BlockDef>
                    <StandardBlock span="1" hidebox="False">
                      <Title>
                        <Label num="1">Enter selection ranges:<GUILocation x="4" y="4" width="81" /></Label>
                      </Title>
                      <Components>
                        <Field num="1" ref="selection:1">
                          <GUILocation x="99" y="4" width="11" />
                        </Field>
                      </Components>
                    </StandardBlock>
                  </BlockDef>
                </GridColumn>
              </GridRow>
              <GridRow num="2">
                <GridColumn num="1">
                  <BlockDef>
                    <StandardBlock span="1" hidebox="False">
                      <Title>
                        <Label num="1">Deletion only:<GUILocation x="4" y="18" width="51" /></Label>
                      </Title>
                      <Components>
                        <Field num="1" ref="deletion_only:1">
                          <GUILocation x="99" y="18" width="11" />
                        </Field>
                      </Components>
                    </StandardBlock>
                  </BlockDef>
                </GridColumn>
              </GridRow>
              <GridRow num="3">
                <GridColumn num="1">
                  <BlockDef>
                    <RangeBlock span="1">
                      <Title>
                        <Label num="1">Date:<GUILocation x="4" y="32" width="23" /></Label>
                      </Title>
                      <Components>
                        <Label num="1">Between<GUILocation x="99" y="32" width="32" /></Label>
                        <Field num="2" ref="start_date:1">
                          <GUILocation x="133" y="32" width="40" />
                        </Field>
                        <Label num="3">and<GUILocation x="185" y="32" width="15" /></Label>
                        <Field num="4" ref="end_date:1">
                          <GUILocation x="202" y="32" width="40" />
                        </Field>
                      </Components>
                    </RangeBlock>
                  </BlockDef>
                </GridColumn>
                <GridColumn num="2">
                  <BlockDef />
                </GridColumn>
              </GridRow>
              <GridRow num="4">
                <GridColumn num="1">
                  <BlockDef>
                    <StandardBlock span="1" hidebox="False">
                      <Title>
                        <Label num="1">Clear customers templates:<GUILocation x="4" y="46" width="95" /></Label>
                      </Title>
                      <Components>
                        <Field num="1" ref="clear_templates:1">
                          <GUILocation x="99" y="46" width="11" />
                        </Field>
                      </Components>
                    </StandardBlock>
                  </BlockDef>
                </GridColumn>
              </GridRow>
              <GridRow num="5">
                <GridColumn num="1">
                  <BlockDef>
                    <StandardBlock span="1" hidebox="False">
                      <Title>
                        <Label num="1">Include services:<GUILocation x="4" y="60" width="61" /></Label>
                      </Title>
                      <Components>
                        <Field num="1" ref="include_services:1">
                          <GUILocation x="99" y="60" width="11" />
                        </Field>
                      </Components>
                    </StandardBlock>
                  </BlockDef>
                </GridColumn>
              </GridRow>
              <GridRow num="6">
                <GridColumn num="1">
                  <BlockDef>
                    <StandardBlock span="1" hidebox="False">
                      <Title>
                        <Label num="1">Template number:<GUILocation x="4" y="74" width="68" /></Label>
                      </Title>
                      <Components>
                        <Field num="1" ref="template_no:1">
                          <GUILocation x="99" y="74" width="32" />
                        </Field>
                      </Components>
                    </StandardBlock>
                  </BlockDef>
                </GridColumn>
                <GridColumn num="2">
                  <BlockDef>
                    <StandardBlock span="1" hidebox="False">
                      <Title>
                        <Label num="1">(blank = auto-generate)<GUILocation x="314" y="74" width="86" /></Label>
                      </Title>
                      <Components />
                    </StandardBlock>
                  </BlockDef>
                </GridColumn>
              </GridRow>
              <GridRow num="7">
                <GridColumn num="1">
                  <BlockDef>
                    <StandardBlock span="1" hidebox="False">
                      <Title>
                        <Label num="1">Template description:<GUILocation x="4" y="88" width="78" /></Label>
                      </Title>
                      <Components>
                        <Field num="1" ref="template_desc:1">
                          <GUILocation x="99" y="88" width="200" />
                        </Field>
                      </Components>
                    </StandardBlock>
                  </BlockDef>
                </GridColumn>
              </GridRow>
              <GridRow num="8">
                <GridColumn num="1">
                  <BlockDef>
                    <StandardBlock span="1" hidebox="False">
                      <Title>
                        <Label num="1">Max. number of products:<GUILocation x="4" y="102" width="91" /></Label>
                      </Title>
                      <Components>
                        <Field num="1" ref="no_products:1">
                          <GUILocation x="99" y="102" width="15" />
                        </Field>
                      </Components>
                    </StandardBlock>
                  </BlockDef>
                </GridColumn>
                <GridColumn num="2">
                  <BlockDef>
                    <StandardBlock span="1" hidebox="False">
                      <Title>
                        <Label num="1">(blank = unlimited)<GUILocation x="314" y="102" width="69" /></Label>
                      </Title>
                      <Components />
                    </StandardBlock>
                  </BlockDef>
                </GridColumn>
              </GridRow>
            </Grid>
            <Parents />
          </Part>
        </GridColumn>
      </GridRow>
      <GridRow num="2">
        <GridColumn num="1" span="6">
          <Part title="Generate customer templates progress" x="0" y="148" width="630" height="44" style="">
            <Grid num="1">
              <GridRow num="1">
                <GridColumn num="1">
                  <BlockDef>
                    <StandardBlock span="1" hidebox="False">
                      <Title>
                        <Label num="1">Orders read:<GUILocation x="4" y="4" width="47" /></Label>
                      </Title>
                      <Components>
                        <Field num="1" ref="read:1">
                          <GUILocation x="75" y="4" width="30" />
                        </Field>
                      </Components>
                    </StandardBlock>
                  </BlockDef>
                </GridColumn>
              </GridRow>
              <GridRow num="2">
                <GridColumn num="1">
                  <BlockDef>
                    <StandardBlock span="1" hidebox="False">
                      <Title>
                        <Label num="1">Templates created:<GUILocation x="4" y="18" width="71" /></Label>
                      </Title>
                      <Components>
                        <Field num="1" ref="created:1">
                          <GUILocation x="75" y="18" width="30" />
                        </Field>
                      </Components>
                    </StandardBlock>
                  </BlockDef>
                </GridColumn>
              </GridRow>
            </Grid>
            <Parents />
          </Part>
        </GridColumn>
      </GridRow>
    </Grid>
    <ActionKeys>
      <ActionKey key="0">
        <Icon>ActionClose.gif</Icon>
      </ActionKey>
      <ActionKey key="1">
        <Icon>ActionOK.gif</Icon>
      </ActionKey>
      <ActionKey key="2">
        <Icon>Browse.gif</Icon>
      </ActionKey>
      <ActionKey key="3">
        <Icon>FirstPage.gif</Icon>
      </ActionKey>
      <ActionKey key="5">
        <Icon>Delete.gif</Icon>
      </ActionKey>
      <ActionKey key="6">
        <Icon>NextPage.gif</Icon>
      </ActionKey>
      <ActionKey key="7">
        <Icon>PreviousPage.gif</Icon>
      </ActionKey>
      <ActionKey key="10">
        <Icon>Print.gif</Icon>
      </ActionKey>
    </ActionKeys>
  </Form>
</Forms>
