PORTGR: GRN Post GRN details
The GRN Post GRN details business object lets you add GRNs for stocked items, non-stocked items or for non-merchandise costs.
Properties
| Syspro Module | Purchase Orders |
| Class | Transaction |
| Methods | Post |
| Functional Area | Purchase Order GRN System |
| Initial version released | Syspro 6.1 |
Input XML
The .XML and .XSD input files indicate the parameters schema and an instance of an XML document for this business object.
Copy
<?xml version="1.0" encoding="Windows-1252"?>
<!-- Copyright 1994-2024 SYSPRO Ltd.-->
<!--
This is an example XML instance to demonstrate
use of the P/O Post GRN details Business Object
-->
<PostGrnDetails xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="PORTGR.xsd">
<Parameters>
<PostingPeriod>C</PostingPeriod>
<IgnoreWarnings>N</IgnoreWarnings>
<ApplyIfEntireDocumentValid>Y</ApplyIfEntireDocumentValid>
<ValidateOnly>N</ValidateOnly>
<AlwaysSupplyGrnNumbers>Y</AlwaysSupplyGrnNumbers>
<CheckForDuplicateGrns>Y</CheckForDuplicateGrns>
<NonStockedWhToUse></NonStockedWhToUse>
<IgnoreAnalysis>Y</IgnoreAnalysis>
<IncludeDimensionAnalysis>N</IncludeDimensionAnalysis>
</Parameters>
</PostGrnDetails>
Copy
<?xml version="1.0" encoding="Windows-1252"?>
<!-- Copyright 1994-2012 SYSPRO Ltd.-->
<!--
Schema for PO Post GRN details Business Object
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="AlwaysSupplyGrnNumbers" type="xsd:string">
<xsd:annotation>
<xsd:documentation>This element indicates whether GRN numbers must be supplied or not, regardless of GRN numbering settings in SYSPRO. If set to 'N', the SYSPRO GRN numbering rules are followed and if GRN numbering is set to 'Manual', the GRN number must still be supplied. If set to 'Y', then 'GrnNumber' is mandatory.
Default value is 'Y'.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ApplyIfEntireDocumentValid">
<xsd:annotation>
<xsd:documentation>This element indicates whether to process entire document only if all items are valid. If set to 'N', each item is validated and rejected if in error or processed if correct. This is the fastest option. If set to 'Y', all items are validated and only processed if entire document is valid. Default is 'Y'. Valid values are 'Y' and 'N'.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Y"/>
<xsd:enumeration value="N"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="CheckForDuplicateGrns" type="xsd:string">
<xsd:annotation>
<xsd:documentation>This element indicates whether GRN number must be checked for duplicates.
However, if set to 'Y' and the SYSPRO setup option to check for duplicate GRNs is set to 'N', this parameter is ignored because there is no GRN duplicates file to check aganist.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="IgnoreAnalysis" type="xsd:string"/>
<xsd:element name="IgnoreWarnings">
<xsd:annotation>
<xsd:documentation>This element indicates whether or not a transaction must be rejected if there are any warnings. If 'W' supplied, these errors will be reported as warnings. If it is not supplied, it defaults to 'N'. Valid values are 'N', 'W' and 'Y'.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="N"/>
<xsd:enumeration value="Y"/>
<xsd:enumeration value="W"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="IncludeDimensionAnalysis" default="N">
<xsd:annotation>
<xsd:documentation>This element indicates whether a transaction should be tagged for dimension analysis. 'Y' (Include dimension analysis) or 'N' (Exclude from dimension analysis). If no value is supplied then a default value of 'N' will be used.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Parameters">
<xsd:annotation>
<xsd:documentation>This contains parameters.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="PostingPeriod" minOccurs="0"/>
<xsd:element ref="IgnoreWarnings" minOccurs="0"/>
<xsd:element ref="ApplyIfEntireDocumentValid" minOccurs="0"/>
<xsd:element ref="ValidateOnly" minOccurs="0"/>
<xsd:element ref="AlwaysSupplyGrnNumbers" minOccurs="0"/>
<xsd:element ref="CheckForDuplicateGrns" minOccurs="0"/>
<xsd:element ref="NonStockedWhToUse" minOccurs="0"/>
<xsd:element name="IgnoreAnalysis" default="Y" minOccurs="0">
<xsd:annotation>
<xsd:documentation>When adding or maintaining a journal you can specify whether the G/L analysis must be validated for the ledger code. Valid entires are 'Y' (Ingore G/L analysis) or 'N' (Validate G/L analysis). If no value is supplied then a default value of 'Y' will be used. If you are supplying your wn AnalysisEntry number ensure that you have set this flag to "Y" else the program will still validate the analysis.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
<xsd:enumeration value="Y"/>
<xsd:enumeration value="N"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element ref="IncludeDimensionAnalysis" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="PostGrnDetails">
<xsd:annotation>
<xsd:documentation>This is the root element.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Parameters"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="PostingPeriod">
<xsd:annotation>
<xsd:documentation>Period to which transactions must be posted. Valid values are 'C' for current period, 'P' for previous period and 'B' for before previous period (i.e. prior period 2).
If the Inventory module is not installed, transactions can only be posted to the current period.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="C"/>
<xsd:enumeration value="P"/>
<xsd:enumeration value="B"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ValidateOnly">
<xsd:annotation>
<xsd:documentation>This element indicates which processing phases are to be performed. If set to 'Y' all items are validated and an XML string is returned with the result of the validation. No updating will take place. If set to 'N', each item is validated and updating is performed based on setting of the element 'ApplyIfEntireDocumentValid'. Default is 'N'. Valid values are 'N' and 'Y'.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="N"/>
<xsd:enumeration value="Y"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="NonStockedWhToUse">
<xsd:annotation>
<xsd:documentation>This element should contain the warehouse code to use when posting adjustments for non-stocked items. If this is not supplied, the operator warehouse default will be used. If one is not available, the company warehouse default is used. If there is no default warehouse, transactions for non-stocked items will not be posted.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:schema>
The DOC.XML and DOC.XSD files indicate the schema and an instance of an XML document for this business object.
Copy
<?xml version="1.0" encoding="Windows-1252"?>
<!-- Copyright 1994-2009 SYSPRO Ltd.-->
<!--
This is an example XML instance to demonstrate
use of the P/O Post GRN details Business Object
-->
<PostGrnDetails xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="PORTGRDOC.XSD">
<Item>
<Journal></Journal>
<EntryNumber></EntryNumber>
<GrnNumber>123</GrnNumber>
<Supplier>1</Supplier>
<StockCode>A100</StockCode>
<StockDescription>Bicycle</StockDescription>
<Warehouse>E</Warehouse>
<GrnValue>100.00</GrnValue>
<SupplierDeliveryNote>Del note</SupplierDeliveryNote>
<DebitLedgerCode>600100</DebitLedgerCode>
<DebitLedgerPassword/>
<NmDescription></NmDescription>
<Reference></Reference>
<WithholdingTaxExpenseType>G</WithholdingTaxExpenseType>
<AnalysisEntry/>
<AnalysisLineEntry>
<AnalysisCode1>Air</AnalysisCode1>
<AnalysisCode2>Conf</AnalysisCode2>
<AnalysisCode3>East</AnalysisCode3>
<AnalysisCode4/>
<AnalysisCode5/>
<StartDate/>
<EndDate/>
<EntryAmount>100</EntryAmount>
<Comment>Analysis entry details</Comment>
</AnalysisLineEntry>
<PurchaseOrder></PurchaseOrder>
<PurchaseOrderLine></PurchaseOrderLine>
<eSignature/>
</Item>
</PostGrnDetails>
Copy
<?xml version="1.0" encoding="Windows-1252"?>
<!-- Copyright 1994-2012 SYSPRO Ltd.-->
<!--
Schema for PO Post GRN details Business Object
-->
<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="DebitLedgerCode">
<xsd:annotation>
<xsd:documentation>This element is mandatory and must contain a valid ledger code if integrated to General Ledger in detail or summary.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="DebitLedgerPassword">
<xsd:annotation>
<xsd:documentation>This element is optional and must contain the password for the debit ledger code if that code is password-secured.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Journal">
<xsd:annotation>
<xsd:documentation>Inventory journal number when posting non-merchandise costs in GIT Receipts with Apportionment</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="EntryNumber">
<xsd:annotation>
<xsd:documentation>Inventory journal entry number when posting non-merchandise costs in GIT Receipts with Apportionment</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="GrnNumber">
<xsd:annotation>
<xsd:documentation>The GrnNumber element is mandatory if the 'AlwaysSupplyGrnNumbers' parameter is Y, or if GRN numbering is manual.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="GrnValue">
<xsd:annotation>
<xsd:documentation>This element is mandatory and contains the value to be posted for the supplier specified.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Item">
<xsd:annotation>
<xsd:documentation>This is the top element for all data required for the transaction</xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="false">
<xsd:all>
<xsd:element ref="Journal" minOccurs="0"/>
<xsd:element ref="EntryNumber" minOccurs="0"/>
<xsd:element name="GrnNumber" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The GrnNumber element is mandatory if the 'AlwaysSupplyGrnNumbers' parameter is Y, or GRN numbering is manual.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Supplier">
<xsd:annotation>
<xsd:documentation>This element is mandatory and must contain the supplier code to where the GrnValue will be posted.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="StockCode" minOccurs="0">
<xsd:annotation>
<xsd:documentation>This element is mandatory if posting GRN details for a purchase order receipt. If posting non-merchandise costs, this element is not required.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="StockDescription" minOccurs="0">
<xsd:annotation>
<xsd:documentation>This element contains the stock description to be saved for this GRN, if a stocked item is supplied. It will not change the stock description of the stock code. This element is optional.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Warehouse" minOccurs="0">
<xsd:annotation>
<xsd:documentation>This element contains a valid warehouse. If not supplied, the stock code supplied will be treated as a non-stocked item.
If posting non-merchandise costs, this element is not required.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="GrnValue">
<xsd:annotation>
<xsd:documentation>This element is mandatory and contains the value to be posted for the supplier specified.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="SupplierDeliveryNote" minOccurs="0">
<xsd:annotation>
<xsd:documentation>This element is optional and contains the supplier's delivery note.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="DebitLedgerCode">
<xsd:annotation>
<xsd:documentation>This element is mandatory and must contain a valid ledger code if integrated to General Ledger in detail or summary.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="DebitLedgerPassword" minOccurs="0">
<xsd:annotation>
<xsd:documentation>This element is optional and must contain the password for the debit ledger code if that code is password-secured.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="NmDescription" minOccurs="0">
<xsd:annotation>
<xsd:documentation>This element is mandatory if posting non-merchandise costs and contains the description posted against the GRN created.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element ref="Reference" minOccurs="0"/>
<xsd:element ref="WithholdingTaxExpenseType" minOccurs="0"/>
<xsd:element ref="AnalysisEntry" minOccurs="0"/>
<xsd:element name="AnalysisLineEntry" minOccurs="0">
<xsd:annotation>
<xsd:documentation>If IgnoreAnalysis is set to 'Y" this node and all it's elements are ignored. If you are suuplying your own AnalysisEntry Number ensure that you have set IgnoreAnalysis to "Y"</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="AnalysisCode1" minOccurs="0">
<xsd:annotation>
<xsd:documentation>You can specify an analysis code 1 for the analysis entry you are createing </xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="AnalysisCode2" minOccurs="0">
<xsd:annotation>
<xsd:documentation>You can specify and analysis code 2 for the analysis entry you are creating</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="AnalysisCode3" minOccurs="0">
<xsd:annotation>
<xsd:documentation>You can specify an analysis code 3 for the analysis entry you are creating</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="AnalysisCode4" minOccurs="0">
<xsd:annotation>
<xsd:documentation>You can specify and analysis code 4 for the analysis entry you are creating</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="AnalysisCode5" minOccurs="0">
<xsd:annotation>
<xsd:documentation>You can specify and analysis code 5 for the analysis entry you are createing</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="StartDate" minOccurs="0">
<xsd:annotation>
<xsd:documentation>You can specify a start date for the analysis entry you are creating</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="EndDate" minOccurs="0">
<xsd:annotation>
<xsd:documentation>You can specify an end date for the analysis entry you are creating</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="EntryAmount" minOccurs="0">
<xsd:annotation>
<xsd:documentation>You must specify and entry amount for the analysis entry you are creating. The entry amount entered here must be exclusive of tax.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Comment" minOccurs="0">
<xsd:annotation>
<xsd:documentation>You can enter a comment for the analysis entry you are creating</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="PurchaseOrder" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Purchase order can be entered for negative grn's to relate back to associated purchse order.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="PurchaseOrderLine" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Purchase order line can be entered for negative grn's to relate back to associated purchse order line. </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="eSignature" minOccurs="0">
<xsd:annotation>
<xsd:documentation>If required, this element must contain a GUID, for the eSignature system to accept the transaction as having been authenticated. The GUID format is in the format {36303032-3330-3031-3038-323434363433}, where the numbers can be replaced with any character. It is up to the developer to have requested a password to protect the transaction. An example is that a GUID associated with the act of entering a valid password could be obtained and presented.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
<xsd:element name="PostGrnDetails">
<xsd:annotation>
<xsd:documentation>This is the root element.</xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="false">
<xsd:sequence>
<xsd:element ref="Item" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="StockCode">
<xsd:annotation>
<xsd:documentation>This element is mandatory if posting GRN details for a purchase order receipt. If posting non-merchandise costs, this element is not required.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="StockDescription">
<xsd:annotation>
<xsd:documentation>This element contains the stock description to be saved for this GRN, if a stocked item is supplied. It will not change the stock description of the stock code. This element is optional.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Supplier">
<xsd:annotation>
<xsd:documentation>This element is mandatory and must contain the supplier code to where the GrnValue will be posted.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="SupplierDeliveryNote">
<xsd:annotation>
<xsd:documentation>This element is optional and contains the supplier's delivery note.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Warehouse">
<xsd:annotation>
<xsd:documentation>This element contains a valid warehouse. If not supplied, the stock code supplied will be treated as a non-stocked item.
If posting non-merchandise costs, this element is not required.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="NmDescription">
<xsd:annotation>
<xsd:documentation>This element is mandatory if posting non-merchandise costs and contains the description posted against the GRN created.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Reference">
<xsd:annotation>
<xsd:documentation>This element is optional and contains the GIT reference if called from the GIT Receipt with Apportionment program. It will be printed on the GRN Adjustment Journal.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="WithholdingTaxExpenseType">
<xsd:annotation>
<xsd:documentation>Only applies if withholding tax is in use. Expense type G = Goods, S = Service</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="AnalysisEntry">
<xsd:annotation>
<xsd:documentation>If an analysis entry number has been assigned to this detail line, then use this element to store the analysis entry number. If Analysis Line entry is passed then that will overwrite and analysis number supplied in the AnalysisEntry element. </xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>
Output XML
The OUT.XML indicates a sample of the XML returned by this business object.
Copy
<?xml version="1.0" encoding="Windows-1252"?>
<!-- Copyright 1994-2009 SYSPRO Ltd.-->
<postgrndetails Language="05" CssStyle="" DecFormat="1" DateFormat="01" Role="01" Version="6.0.000">
<Item>
<Key>
<GrnNumber>000015003</GrnNumber>
</Key>
</Item>
<StatusOfItems>
<ItemsProcessed>1</ItemsProcessed>
<ItemsInvalid>0</ItemsInvalid>
</StatusOfItems>
</postgrndetails>
Prerequisites
No prerequisites are required to use this business object.
Limitations
No limitations apply to this business object.
Copyright © 2026 Syspro PTY Ltd.