FO Factory Order Receipts
URL | Verbs | Function |
---|---|---|
BOMReceipt | GET | Query a list of Factory Order Receipts |
BOMReceipt | POST | Create a Factory Order Receipt |
BOMReceipt/<reference> | GET | Query a Factory Order Receipt by its reference |
BOMReceipt/<reference> | POST | Update an existing Factory Order Receipt |
Supported modifiers
Query String | Definition | Sample |
---|---|---|
modifiedSince | Return a list of Factory Order Receipts which have been modified since a date/time | modifiedSince=2012-09-11T10:30:00 |
stockItem | Return a list if Factory Order Receipts for a particular parent Item | stockItem=ABC123 |
Security Linked Menu
Menu Item | Located |
---|---|
Factory Order Receipt Entry | Data Entry / Manufacturing |
Sample XML Response
<?xml version="1.0" encoding="UTF-8"?>
<BOMReceipt> <Reference>1005</Reference> <Edition>4</Edition> <OidString>8265.1</OidString> <EntryTimeStamp>2012-05-24T14:45:06</EntryTimeStamp> <EntryUser>SUPER</EntryUser> <ModifiedTimeStamp>2012-05-24T14:45:17</ModifiedTimeStamp> <ModifiedUser>SUPER</ModifiedUser> <DocumentDate>2011-05-24</DocumentDate> <PostingDate>2011-05-24</PostingDate> <StockItem>NETWORK001</StockItem> <Branch>02</Branch> <BatchNumber>516</BatchNumber> <LineItems collection='true' count='1'> <LineItem> <Edition>2</Edition> <OidString>8267.1</OidString> <FactoryOrder>1005</FactoryOrder> <Narration>Receive against FO 1005</Narration> <QtyReceived>2.0000</QtyReceived> <Details collection='true' count='9'> <BOMRecDetail> <Edition>1</Edition> <OidString>8315.1</OidString> <OrderLine>8261.9</OrderLine> <StockItem>00AOPEN17MONITOR</StockItem> <Location>02</Location> <Quantity>4.0000</Quantity> </BOMRecDetail> <BOMRecDetail> <Edition>1</Edition> <OidString>8315.2</OidString> <OrderLine>8261.10</OrderLine> <StockItem>01AOPENAX4B533</StockItem> <Location>02</Location> <Quantity>2.0000</Quantity> </BOMRecDetail> <BOMRecDetail> <Edition>1</Edition> <OidString>8315.3</OidString> <OrderLine>8261.11</OrderLine> <StockItem>750MBZIPEXT</StockItem> <Location>02</Location> <Quantity>2.0000</Quantity> </BOMRecDetail> <BOMRecDetail> <Edition>1</Edition> <OidString>8315.4</OidString> <OrderLine>8261.12</OrderLine> <StockItem>ACER17LCD</StockItem> <Location>02</Location> <Quantity>2.0000</Quantity> </BOMRecDetail> <BOMRecDetail> <Edition>1</Edition> <OidString>8315.5</OidString> <OrderLine>8261.13</OrderLine> <StockItem>ACERCDRJEWEL80M</StockItem> <Location>02</Location> <Quantity>2.0000</Quantity> </BOMRecDetail> <BOMRecDetail> <Edition>1</Edition> <OidString>8315.6</OidString> <OrderLine>8261.14</OrderLine> <StockItem>ALTEC220WSPEAKERS</StockItem> <Location>02</Location> <Quantity>20.0000</Quantity> </BOMRecDetail> <BOMRecDetail> <Edition>1</Edition> <OidString>8315.7</OidString> <OrderLine>8261.15</OrderLine> <StockItem>SYSNOTEAP416GHZ</StockItem> <Location>02</Location> <Quantity>4.0000</Quantity> </BOMRecDetail> <BOMRecDetail> <Edition>1</Edition> <OidString>8315.8</OidString> <OrderLine>8261.16</OrderLine> <StockItem>SBLIVESCARD</StockItem> <Location>02</Location> <Quantity>10.0000</Quantity> </BOMRecDetail> <BOMRecDetail> <Edition>1</Edition> <OidString>8315.9</OidString> <OrderLine>8261.17</OrderLine> <StockItem>ZELLOWS17SCRENFILTER</StockItem> <Location>02</Location> <Quantity>10.0000</Quantity> </BOMRecDetail> </Details> </LineItem> </LineItems> </BOMReceipt>
When creating Factory Order Receipts you can choose to not include the Details, allowing Greentree to issue the appropriate materials for you based on the QtyReceived of the line item
Sample XML Post data
<?xml version="1.0" encoding="UTF-8"?>
<BOMReceipt> <Reference>90013</Reference> <DocumentDate>2011-05-24</DocumentDate> <PostingDate>2011-05-24</PostingDate> <StockItem>NETWORK001</StockItem> <LineItems collection='true' count='1'> <LineItem> <FactoryOrder>10010</FactoryOrder> <Narration>Generated by production line</Narration> <QtyReceived>2.0000</QtyReceived> <!-- Note that the order can be marked as complete by including the OrderCompleted element --> <OrderCompleted>true</OrderCompleted> </LineItem> </LineItems> </BOMReceipt>