﻿<?xml version="1.0" encoding="utf-16"?>
<JiwaDocument xmlns:jiwa="http://www.jiwa.com.au/xml/schemas" Type="JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin">
  <RecID>e98fc5ad-ded0-4465-9c65-047f32d540fa</RecID>
  <Name>PO Custom Line Fields Lock</Name>
  <Description>Demonstrates how to selectively lock or unlock Purchase Order Line custom fields.&amp;#13;&amp;#10;&amp;#13;&amp;#10;Adds two text custom fields - FieldOne and FieldTwo - FieldOne is locked, FieldTwo is unlocked.</Description>
  <IsEnabled>true</IsEnabled>
  <IsIsolatedToOwnAppDomain>false</IsIsolatedToOwnAppDomain>
  <ExecutionOrder>0</ExecutionOrder>
  <Author>Jiwa Financials</Author>
  <Version>7.2.1.0</Version>
  <Code>using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using JiwaFinancials.Jiwa;
using System.Windows.Forms;
using System.Data.SqlClient;

#region "FormPlugin"
public class FormPlugin : System.MarshalByRefObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaFormPlugin
{

    public override object InitializeLifetimeService()
    {
        // returning null here will prevent the lease manager
        // from deleting the Object.
        return null;
    }

    public void SetupBeforeHandlers(JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm JiwaForm, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin Plugin)
    {
    }

    public void Setup(JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm JiwaForm, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin Plugin)
    {
		if (JiwaForm is JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm)
		{
			JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm poForm = (JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm)JiwaForm;
			
			poForm.PurchaseOrder.ReadEnd += delegate(object sender, System.EventArgs e) { PurchaseOrder_ReadEnd(sender, e, Plugin, poForm); };
			poForm.PurchaseOrder.CreateEnd += delegate(object sender, System.EventArgs e) { PurchaseOrder_CreateEnd(sender, e, Plugin, poForm); };
			poForm.PurchaseOrder.CopyEnd += delegate(object sender, System.EventArgs e) { PurchaseOrder_CopyEnd(sender, e, Plugin, poForm); };
			poForm.PurchaseOrder.DeserialiseEnd += delegate(object sender, System.EventArgs e, object poco) { PurchaseOrder_DeserialiseEnd(sender, e, poco, Plugin, poForm); };
			poForm.PurchaseOrder.Lines.Added += delegate(JiwaFinancials.Jiwa.JiwaPurchaseOrders.Line line) { PurchaseOrder_Lines_Added(line, Plugin, poForm); };
			poForm.PurchaseOrder.Lines.Changed += delegate(JiwaFinancials.Jiwa.JiwaPurchaseOrders.Line line, System.ComponentModel.PropertyChangedEventArgs e) { PurchaseOrder_Lines_Changed(line, e, Plugin, poForm); };
		}
    }
	
	private void PurchaseOrder_ReadEnd(object sender, System.EventArgs e, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin plugin, JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm poForm)
	{
		SetCustomFieldsLockStatus(poForm, plugin);
	}
	
	private void PurchaseOrder_CreateEnd(object sender, System.EventArgs e, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin plugin, JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm poForm)
	{
	}
	
	private void PurchaseOrder_CopyEnd(object sender, System.EventArgs e, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin plugin, JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm poForm)
	{
		SetCustomFieldsLockStatus(poForm, plugin);
	}
	
	private void PurchaseOrder_DeserialiseEnd(object sender, System.EventArgs e, object poco, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin plugin, JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm poForm)
	{
		SetCustomFieldsLockStatus(poForm, plugin);
	}
	
	private void PurchaseOrder_Lines_Added(JiwaFinancials.Jiwa.JiwaPurchaseOrders.Line line, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin plugin, JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm poForm)
	{
		SetCustomFieldsLockStatus(poForm, plugin, line);
	}
	
	private void PurchaseOrder_Lines_Changed(JiwaFinancials.Jiwa.JiwaPurchaseOrders.Line line, System.ComponentModel.PropertyChangedEventArgs e, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin plugin, JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm poForm)
	{
		SetCustomFieldsLockStatus(poForm, plugin, line);
	}	
	
	private void SetCustomFieldsLockStatus(JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm poForm, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin plugin)
	{
		for(int row = 0; row &lt; poForm.LinesJiwaGrid.ActiveSheet.RowCount; row++)
		{
			SetCustomFieldsLockStatus(poForm, plugin, row);
		}
	}
	
	private void SetCustomFieldsLockStatus(JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm poForm, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin plugin, JiwaFinancials.Jiwa.JiwaPurchaseOrders.Line line)
	{
		// find which row of the grid this line is shown on
		for(int row = 0; row &lt; poForm.LinesJiwaGrid.ActiveSheet.RowCount; row++)
		{
			if (poForm.LinesJiwaGrid.get_GridText("RecID", row).ToString() == line.RecID)
			{
				SetCustomFieldsLockStatus(poForm, plugin, row);
				break;
			}
		}		
	}
	
	private void SetCustomFieldsLockStatus(JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm poForm, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin plugin, int row)
	{
		poForm.LinesJiwaGrid.LockColumn(true, string.Format("{0}.{1}", plugin.Name, "FieldOne"), row);
		poForm.LinesJiwaGrid.LockColumn(false, string.Format("{0}.{1}", plugin.Name, "FieldTwo"), row);
	}
}
#endregion

</Code>
  <ExceptionPolicy>Abort</ExceptionPolicy>
  <Language>CSharp</Language>
  <PluginFormCollection>
    <PluginForm>
      <RecID>aab5fbb0-e03e-4bd0-ae43-7420f5e52dc2</RecID>
      <Description>Purchase Orders</Description>
      <ClassName>JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.PurchaseOrders</ClassName>
    </PluginForm>
  </PluginFormCollection>
  <ReferenceCollection>
    <Reference>
      <RecID>d8dfb8ca-da76-4457-928a-5d048d22fe02</RecID>
      <AssemblyFullName>JiwaApplication, Version=7.2.1.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaApplication.dll</AssemblyName>
      <AssemblyLocation>E:\VSTS\Jiwa 7\MikesV7JiwaBranch\Built Files\JiwaApplication.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>7fb4216f-ac73-4f3d-a963-8cc1ec6797ff</RecID>
      <AssemblyFullName>mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>mscorlib.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>d4d498c5-1b00-4758-b5c6-8bf988e59a05</RecID>
      <AssemblyFullName>System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>964397f7-114b-4af4-8cc3-043f70d6b377</RecID>
      <AssemblyFullName>System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</AssemblyFullName>
      <AssemblyName>System.Drawing.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>3cf98250-ff95-4eb8-b996-be0fac6f502f</RecID>
      <AssemblyFullName>JiwaODBC, Version=7.2.1.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaODBC.dll</AssemblyName>
      <AssemblyLocation>E:\VSTS\Jiwa 7\MikesV7JiwaBranch\Built Files\JiwaODBC.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>15d4bc34-3c40-4811-b12b-0b351bbeea00</RecID>
      <AssemblyFullName>System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Data.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>e399f40f-39c7-47ec-97cf-ad600620d9f5</RecID>
      <AssemblyFullName>System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Windows.Forms.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>4334ebf0-5b85-462c-962c-8387d90e61f5</RecID>
      <AssemblyFullName>Infragistics4.Win.Misc.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.Misc.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.Misc.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.Misc.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>39401dfe-5fba-4924-aa09-066164fcee91</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinEditors.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinEditors.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinEditors.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinEditors.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>68cbd8f7-94e2-43ef-9241-6e43a308dc8b</RecID>
      <AssemblyFullName>Infragistics4.Win.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>00d19b02-9bcd-49e6-a66e-398fdc2fc6f7</RecID>
      <AssemblyFullName>System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Core.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>15f58433-8a81-47ab-9a03-acc83c918d55</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinExplorerBar.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinExplorerBar.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinExplorerBar.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinExplorerBar.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>a75e5f0d-b8b4-4cba-8f33-274b79197c82</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinTree.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinTree.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinTree.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinTree.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>5bf203fc-35f6-48bf-ae42-547bd9b88411</RecID>
      <AssemblyFullName>FarPoint.Win.Spread, Version=8.35.20151.0, Culture=neutral, PublicKeyToken=327c3516b1b18457</AssemblyFullName>
      <AssemblyName>FarPoint.Win.Spread.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\assembly\GAC_MSIL\FarPoint.Win.Spread\8.35.20151.0__327c3516b1b18457\FarPoint.Win.Spread.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>e68f11d0-7e7d-4c26-9822-328595730d54</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinTabControl.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinTabControl.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinTabControl.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinTabControl.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>f9313f46-0baf-445d-82b1-3f4e7114b567</RecID>
      <AssemblyFullName>Infragistics4.Shared.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Shared.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Shared.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Shared.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>cf8a43e5-0006-4bbd-8830-12395bbe7aba</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinToolbars.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinToolbars.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinToolbars.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinToolbars.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>15bd6258-3e85-4c39-9dfe-2a40facb69e1</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinStatusBar.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinStatusBar.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinStatusBar.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinStatusBar.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>9c62d7ea-f8b3-4981-b70d-e55c525ea3db</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinSchedule.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinSchedule.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinSchedule.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinSchedule.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>25108f0a-1f8e-4c74-a577-07bc10faae1b</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinListView.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinListView.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinListView.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinListView.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>9862af8a-c826-4051-b742-536d5991a0f3</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinGrid.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinGrid.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinGrid.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinGrid.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>734a38f3-a80a-48d7-b9a2-72d958463a6f</RecID>
      <AssemblyFullName>Infragistics4.Win.AppStylistSupport.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.AppStylistSupport.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.AppStylistSupport.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.AppStylistSupport.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>1dc66610-604e-4860-be8b-20f4e049fddc</RecID>
      <AssemblyFullName>FarPoint.Win, Version=8.35.20151.0, Culture=neutral, PublicKeyToken=327c3516b1b18457</AssemblyFullName>
      <AssemblyName>FarPoint.Win.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\assembly\GAC_MSIL\FarPoint.Win\8.35.20151.0__327c3516b1b18457\FarPoint.Win.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>f84a7292-4a19-4c24-9c30-f3aab6a7349f</RecID>
      <AssemblyFullName>JiwaPurchaseOrdersUI, Version=7.2.1.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaPurchaseOrdersUI.dll</AssemblyName>
      <AssemblyLocation>E:\VSTS\Jiwa 7\MikesV7JiwaBranch\Built Files\JiwaPurchaseOrdersUI.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>edba1611-6873-48a5-b63b-31df9cb5d512</RecID>
      <AssemblyFullName>JiwaPurchaseOrders, Version=7.2.1.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaPurchaseOrders.dll</AssemblyName>
      <AssemblyLocation>E:\VSTS\Jiwa 7\MikesV7JiwaBranch\Built Files\JiwaPurchaseOrders.dll</AssemblyLocation>
    </Reference>
  </ReferenceCollection>
  <CustomFieldCollection>
    <CustomField>
      <RecID>bbc3b006-0153-4855-a8e5-98197be556b0</RecID>
      <Name>FieldOne</Name>
      <Description />
      <DisplayOrder>1</DisplayOrder>
      <CellType>Text</CellType>
      <CustomFieldModule>Purchase Order Lines</CustomFieldModule>
    </CustomField>
    <CustomField>
      <RecID>d531fb3c-d588-430e-9574-af00dd4b732d</RecID>
      <Name>FieldTwo</Name>
      <Description />
      <DisplayOrder>2</DisplayOrder>
      <CellType>Text</CellType>
      <CustomFieldModule>Purchase Order Lines</CustomFieldModule>
    </CustomField>
  </CustomFieldCollection>
</JiwaDocument>