UNPKG

relution-sdk

Version:

Relution Software Development Kit for TypeScript and JavaScript

1,241 lines 991 kB
/* * @file livedata/approvals.data.ts * Relution SDK * * Created by Pascal Brewing on 01.07.2015 * Copyright 2016 M-Way Solutions GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @module livedata */ /** */ "use strict"; function makeApprovals() { return [ { "_id": "sample-B-ac5b1e69-63af-4945-9744-9b3f7c078caf", "approver": [ { "receivedDate": "2015-04-03T14:19:29.807Z", "id": "MANAGER1" } ], "requester": { "name": "March Simpson", "id": "MANAGER1", "phone": "08543222222", "email": "march@springfield.com" }, "provider": "sample", "header": { "totalValue": "1218", "typeOfMail": "approve_or_reject", "approvalMessage": "Devices for Developers", "currency": "€", "objectId": "1263617231762" }, "id": "sample-B-ac5b1e69-63af-4945-9744-9b3f7c078caf", "state": "open", "items": [ { "itemId": "3", "priceUnit": "€", "shipToAddress": {}, "quantity": "5", "price": "600", "description": "Iphone 6", "deliveryDate": "2015-04-01T14:19:29.807Z", "costObjects": [] }, { "itemId": "4", "priceUnit": "€", "shipToAddress": {}, "quantity": "5", "price": "750", "description": "Iphone 6+", "deliveryDate": "2015-04-01T14:19:29.807Z", "costObjects": [] } ] }, { "_id": "sample-C-ac5b1e69-63af-4945-9744-9b3f7c078caf", "approver": [ { "receivedDate": "2015-04-01T14:19:29.807Z", "id": "MANAGER1" } ], "requester": { "name": "Maggy Simpson", "id": "MANAGER1", "phone": "08543222222", "email": "maggy@springfield.com" }, "provider": "sample", "header": { "totalValue": "1218", "typeOfMail": "approve_or_reject", "approvalMessage": "Devices for Developers", "currency": "€", "objectId": "1263617231762" }, "id": "sample-C-ac5b1e69-63af-4945-9744-9b3f7c078caf", "state": "open", "items": [ { "itemId": "5", "priceUnit": "€", "shipToAddress": {}, "quantity": "5", "price": "600", "description": "Iphone 6", "deliveryDate": "2015-04-01T14:19:29.807Z", "costObjects": [] }, { "itemId": "6", "priceUnit": "€", "shipToAddress": {}, "quantity": "5", "price": "750", "description": "Iphone 6+", "deliveryDate": "2015-04-01T14:19:29.807Z", "costObjects": [] } ] }, { "_id": "sample-D-ac5b1e69-63af-4945-9744-9b3f7c078caf", "approver": [ { "receivedDate": "2015-04-01T14:19:29.807Z", "id": "MANAGER1" } ], "requester": { "name": "Bart Simpson", "id": "MANAGER1", "phone": "08543222222", "email": "bart@springfield.com" }, "provider": "sample", "header": { "totalValue": "1218", "typeOfMail": "approve_or_reject", "approvalMessage": "Devices for Developers", "currency": "€", "objectId": "1263617231762" }, "id": "sample-D-ac5b1e69-63af-4945-9744-9b3f7c078caf", "state": "open", "items": [ { "itemId": "7", "priceUnit": "€", "shipToAddress": {}, "quantity": "5", "price": "600", "description": "Iphone 6", "deliveryDate": "2015-04-01T14:19:29.807Z", "costObjects": [] }, { "itemId": "8", "priceUnit": "€", "shipToAddress": {}, "quantity": "5", "price": "750", "description": "Iphone 6+", "deliveryDate": "2015-04-01T14:19:29.807Z", "costObjects": [] } ] }, { "_id": "sample-E-ac5b1e69-63af-4945-9744-9b3f7c078caf", "approver": [ { "receivedDate": "2015-04-01T14:19:29.807Z", "id": "MANAGER1" } ], "requester": { "name": "Lisa Simpson", "id": "MANAGER1", "phone": "08543222222", "email": "lisa@springfield.com" }, "provider": "sample", "header": { "totalValue": "1218", "typeOfMail": "approve_or_reject", "approvalMessage": "Devices for Developers", "currency": "€", "objectId": "1263617231762" }, "id": "sample-E-ac5b1e69-63af-4945-9744-9b3f7c078caf", "state": "open", "items": [ { "itemId": "9", "priceUnit": "€", "shipToAddress": {}, "quantity": "5", "price": "600", "description": "Iphone 6", "deliveryDate": "2015-04-01T14:19:29.807Z", "costObjects": [] }, { "itemId": "11", "priceUnit": "€", "shipToAddress": {}, "quantity": "5", "price": "750", "description": "Iphone 6+", "deliveryDate": "2015-02-01T14:19:29.807Z", "costObjects": [] } ] }, { "_id": "sample-F-ac5b1e69-63af-4945-9744-9b3f7c078caf", "approver": [ { "receivedDate": "2015-04-01T14:19:29.807Z", "id": "MANAGER1" } ], "requester": { "name": "Lisa Simpson", "id": "MANAGER1", "phone": "08543222222", "email": "lisa@springfield.com" }, "provider": "sample", "header": { "totalValue": "1218", "typeOfMail": "approve_or_reject", "approvalMessage": "Devices for Developers", "currency": "€", "objectId": "1263617231762" }, "id": "sample-F-ac5b1e69-63af-4945-9744-9b3f7c078caf", "state": "open", "items": [ { "itemId": "9", "priceUnit": "€", "shipToAddress": {}, "quantity": "5", "price": "600", "description": "Iphone 6", "deliveryDate": "2015-04-01T14:19:29.807Z", "costObjects": [] }, { "itemId": "11", "priceUnit": "€", "shipToAddress": {}, "quantity": "5", "price": "750", "description": "Iphone 6+", "deliveryDate": "2015-04-01T14:19:29.807Z", "costObjects": [] } ] }, { "_id": "000000060102", "approver": [ { "name": "Sweden manager1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER1", "type": "First func man app", "receivedDate": "2011-05-19T21:21:25.000Z", "status": "AWAITING APPROVAL" } ], "requester": { "name": "", "id": "", "phone": "", "email": "" }, "current": 0, "provider": "srm", "header": { "totalValue": "0.00", "companyCode": "0007", "typeOfMail": "approve_or_reject", "sourceSystem": "E7D_110", "objectName": "EMP103 2011/05/19 23:02_DEL", "approvalMessage": "", "currency": "EUR", "objectId": "4500004652", "objectType": "PO", "companyCodeDescription": "Name 2 testing" }, "state": "open", "id": "000000060102", "items": [] }, { "_id": "sample-A-ac5b1e69-63af-4945-9744-9b3f7c078caf", "approver": [ { "receivedDate": "2015-04-05T14:19:29.807Z", "id": "MANAGER1" } ], "requester": { "name": "Homer Simpson", "id": "MANAGER1", "phone": "08543222222", "email": "homer@springfield.com" }, "provider": "sample", "header": { "totalValue": "1218", "typeOfMail": "approve_or_reject", "approvalMessage": "Devices for Developers", "currency": "€", "objectId": "1263617231762" }, "id": "sample-A-ac5b1e69-63af-4945-9744-9b3f7c078caf", "state": "open", "items": [ { "itemId": "1", "priceUnit": "€", "shipToAddress": { "country": "DE", "city1": "Stuttgart", "regionName": "Baden Württemberg", "telExtens": "", "building": "", "room": "", "houseNum1": "79", "postCode1": "70182", "telNumber": "+4971125254700", "coCode": "", "street": "Stresemannstrasse", "countryName": "Germany", "region": "BW", "floor": "erdegeschoss", "email": "p.brewing@mwaysolutions.com" }, "quantity": "5", "price": "600", "description": "Iphone 6", "deliveryDate": "2015-04-01T14:19:29.807Z", "costObjects": [ { "accountingNo": "Lorem", "distributionPercentage": "70", "accountingObjectDescription": "Lorem Ipsum", "distributionQuantity": "50", "accountingValue": "7777", "glAccount": "account", "accountingObject": "ZCC" } ] }, { "itemId": "2", "priceUnit": "€", "shipToAddress": {}, "quantity": "5", "price": "750", "description": "Iphone 6+", "deliveryDate": "2015-04-01T14:19:29.807Z", "costObjects": [] } ] }, { "_id": "000000063413", "approver": [ { "name": "Sweden manager1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER1", "type": "First func man app", "receivedDate": "2011-05-27T10:04:20.000Z", "status": "AWAITING APPROVAL" }, { "name": "Sweden manager2", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER2", "type": "Second func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden manager3", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER3", "type": "Third func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden Administrator 1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "ADMIN1", "type": "Workflow admin", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" } ], "requester": { "name": "S\"weden' 103 Ö employee'103", "id": "EMP103", "phone": "12345678-1234", "email": "sonika.chauhan@capgemini.com" }, "current": 0, "provider": "srm", "header": { "totalValue": "99.00", "companyCode": "0007", "typeOfMail": "approve_or_reject", "sourceSystem": "E7D_110", "objectName": "EMP103 2011.05.27 11:35_AwApprPO", "approvalMessage": "", "currency": "GBP", "objectId": "4500004701", "objectType": "PO", "companyCodeDescription": "Name 2 testing" }, "state": "open", "id": "000000063413", "items": [ { "priceUnit": "1", "shipToAddress": { "country": "SE", "city1": "Upsala chnd", "regionName": "Gotland County", "nameCo": "ZA les\" rives de l' Odon", "telExtens": "3333", "building": "BLDCD 007", "room": "RMNB 7701c", "houseNum1": "77 changed", "postCode1": "123 70", "telNumber": "333333333", "coCode": "0007", "street": "ZA les rives de l' Odon 111222333444555666777888", "countryName": "Sweden", "name2": "Name 2 testing", "region": "003", "floor": "FLR 099 c", "name1": "0007_Sweden", "email": "test1@ibx.se" }, "quantity": "99.000", "netValue": "99.00", "description": "red item 1", "vendorId": "", "vendorName": "", "itemId": "0000000001", "unit": "EA", "price": "1.00", "currency": "GBP", "goodsRecipient": "S\"weden' 103 Ö employee'103", "deliveryDate": "2011-05-30T00:00:00.000Z", "costObjects": [ { "accountingNo": "0001", "distributionPercentage": "100.00", "accountingObjectDescription": "Cost Center", "distributionQuantity": "0.000", "accountingValue": "0000007000", "glAccount": "0000007777", "accountingObject": "CC" } ], "categoryId": "92120000" } ] }, { "_id": "000000061886", "approver": [ { "name": "Sweden manager1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER1", "type": "First func man app", "receivedDate": "2011-05-24T07:54:21.000Z", "status": "AWAITING APPROVAL" }, { "name": "Sweden manager2", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER2", "type": "Second func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden manager3", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER3", "type": "Third func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden Administrator 1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "ADMIN1", "type": "Workflow admin", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" } ], "requester": { "name": "S\"weden' 103 Ö employee'103", "id": "EMP103", "phone": "12345678-1234", "email": "sonika.chauhan@capgemini.com" }, "current": 0, "provider": "srm", "header": { "totalValue": "854.90", "companyCode": "0007", "typeOfMail": "approve_or_reject", "sourceSystem": "E7D_110", "objectName": "EMP103 05/24/2011 09:00_PDF_2", "approvalMessage": "", "currency": "EUR", "objectId": "4500004688", "objectType": "PO", "companyCodeDescription": "Name 2 testing" }, "state": "open", "id": "000000061886", "items": [ { "priceUnit": "1", "shipToAddress": { "country": "SE", "city1": "Upsala chnd", "regionName": "Gotland County", "nameCo": "ZA les\" rives de l' Odon", "telExtens": "3333", "building": "BLDCD 007", "room": "RMNB 7701c", "houseNum1": "77 changed", "postCode1": "123 70", "telNumber": "333333333", "coCode": "0007", "street": "ZA les rives de l' Odon 111222333444555666777888", "countryName": "Sweden", "name2": "Name 2 testing", "region": "003", "floor": "FLR 099 c", "name1": "0007_Sweden", "email": "test1@ibx.se" }, "quantity": "1.000", "netValue": "3.90", "description": "Mutipurpose lubricator CRC 5-56 1012 200", "vendorId": "", "vendorName": "", "itemId": "0000000001", "unit": "EA", "price": "3.90", "currency": "EUR", "goodsRecipient": "S\"weden' 103 Ö employee'103", "deliveryDate": "2011-05-25T00:00:00.000Z", "costObjects": [ { "accountingNo": "0001", "distributionPercentage": "100.00", "accountingObjectDescription": "Cost Center", "distributionQuantity": "0.000", "accountingValue": "0000007000", "glAccount": "0000007777", "accountingObject": "CC" } ], "categoryId": "15120000" }, { "priceUnit": "1", "shipToAddress": { "country": "SE", "city1": "Upsala chnd", "regionName": "Gotland County", "nameCo": "ZA les\" rives de l' Odon", "telExtens": "3333", "building": "BLDCD 007", "room": "RMNB 7701c", "houseNum1": "77 changed", "postCode1": "123 70", "telNumber": "333333333", "coCode": "0007", "street": "ZA les rives de l' Odon 111222333444555666777888", "countryName": "Sweden", "name2": "Name 2 testing", "region": "003", "floor": "FLR 099 c", "name1": "0007_Sweden", "email": "test1@ibx.se" }, "quantity": "1.000", "netValue": "51.00", "description": "Concrete scraper 100mm length 1200mm", "vendorId": "", "vendorName": "", "itemId": "0000000002", "unit": "EA", "price": "51.00", "currency": "EUR", "goodsRecipient": "S\"weden' 103 Ö employee'103", "deliveryDate": "2011-05-25T00:00:00.000Z", "costObjects": [ { "accountingNo": "0001", "distributionPercentage": "100.00", "accountingObjectDescription": "Cost Center", "distributionQuantity": "0.000", "accountingValue": "0000007000", "glAccount": "0000007777", "accountingObject": "CC" } ], "categoryId": "27110000" }, { "priceUnit": "1", "shipToAddress": { "country": "SE", "city1": "Upsala chnd", "regionName": "Gotland County", "nameCo": "ZA les\" rives de l' Odon", "telExtens": "3333", "building": "BLDCD 007", "room": "RMNB 7701c", "houseNum1": "77 changed", "postCode1": "123 70", "telNumber": "333333333", "coCode": "0007", "street": "ZA les rives de l' Odon 111222333444555666777888", "countryName": "Sweden", "name2": "Name 2 testing", "region": "003", "floor": "FLR 099 c", "name1": "0007_Sweden", "email": "test1@ibx.se" }, "quantity": "100.000", "netValue": "800.00", "description": "Universal knife Stanley 0-10-018 L 165mm", "vendorId": "", "vendorName": "", "itemId": "0000000003", "unit": "EA", "price": "8.00", "currency": "EUR", "goodsRecipient": "S\"weden' 103 Ö employee'103", "deliveryDate": "2011-05-25T00:00:00.000Z", "costObjects": [ { "accountingNo": "0001", "distributionPercentage": "100.00", "accountingObjectDescription": "Cost Center", "distributionQuantity": "0.000", "accountingValue": "0000007000", "glAccount": "0000007777", "accountingObject": "CC" } ], "categoryId": "27110000" } ] }, { "_id": "000000060531", "approver": [ { "name": "Sweden manager1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER1", "type": "First func man app", "receivedDate": "2011-05-20T10:15:15.000Z", "status": "AWAITING APPROVAL" }, { "name": "Sweden manager2", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER2", "type": "Second func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden manager3", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER3", "type": "Third func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden Administrator 1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "ADMIN1", "type": "Workflow admin", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" } ], "requester": { "name": "S\"weden' 103 Ö employee'103", "id": "EMP103", "phone": "12345678-1234", "email": "sonika.chauhan@capgemini.com" }, "current": 0, "provider": "srm", "header": { "totalValue": "200.00", "companyCode": "0007", "typeOfMail": "approve_or_reject", "sourceSystem": "E7D_110", "objectName": "EMP103 05-20-2011 11:22", "approvalMessage": "", "currency": "EUR", "objectId": "4500004661", "objectType": "PO", "companyCodeDescription": "Name 2 testing" }, "state": "open", "id": "000000060531", "items": [ { "priceUnit": "1", "shipToAddress": { "country": "SE", "city1": "Upsala chnd", "regionName": "Gotland County", "nameCo": "ZA les\" rives de l' Odon", "telExtens": "3333", "building": "BLDCD 007", "room": "RMNB 7701c", "houseNum1": "77 changed", "postCode1": "123 70", "telNumber": "333333333", "coCode": "0007", "street": "ZA les rives de l' Odon 111222333444555666777888", "countryName": "Sweden", "name2": "Name 2 testing", "region": "003", "floor": "FLR 099 c", "name1": "0007_Sweden", "email": "test1@ibx.se" }, "quantity": "10.000", "netValue": "200.00", "description": "golden Kangaroo 2", "vendorId": "", "vendorName": "", "itemId": "0000000001", "unit": "EA", "price": "20.00", "currency": "EUR", "goodsRecipient": "S\"weden' 103 Ö employee'103", "deliveryDate": "2011-05-24T00:00:00.000Z", "costObjects": [ { "accountingNo": "0001", "distributionPercentage": "100.00", "accountingObjectDescription": "Cost Center", "distributionQuantity": "0.000", "accountingValue": "0000007000", "glAccount": "0000007777", "accountingObject": "CC" } ], "categoryId": "41000000" } ] }, { "_id": "000000060522", "approver": [ { "name": "Sweden manager1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER1", "type": "First func man app", "receivedDate": "2011-05-20T10:07:04.000Z", "status": "AWAITING APPROVAL" }, { "name": "Sweden manager2", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER2", "type": "Second func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden manager3", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER3", "type": "Third func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden Administrator 1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "ADMIN1", "type": "Workflow admin", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" } ], "requester": { "name": "S\"weden' 103 Ö employee'103", "id": "EMP103", "phone": "12345678-1234", "email": "sonika.chauhan@capgemini.com" }, "current": 0, "provider": "srm", "header": { "totalValue": "100.00", "companyCode": "0007", "typeOfMail": "approve_or_reject", "sourceSystem": "E7D_110", "objectName": "EMP103 05-20-2011 11:22", "approvalMessage": "", "currency": "EUR", "objectId": "4500004660", "objectType": "PO", "companyCodeDescription": "Name 2 testing" }, "state": "open", "id": "000000060522", "items": [ { "priceUnit": "1", "shipToAddress": { "country": "SE", "city1": "Upsala chnd", "regionName": "Gotland County", "nameCo": "ZA les\" rives de l' Odon", "telExtens": "3333", "building": "BLDCD 007", "room": "RMNB 7701c", "houseNum1": "77 changed", "postCode1": "123 70", "telNumber": "333333333", "coCode": "0007", "street": "ZA les rives de l' Odon 111222333444555666777888", "countryName": "Sweden", "name2": "Name 2 testing", "region": "003", "floor": "FLR 099 c", "name1": "0007_Sweden", "email": "test1@ibx.se" }, "quantity": "10.000", "netValue": "100.00", "description": "silver Elephant 1", "vendorId": "", "vendorName": "", "itemId": "0000000001", "unit": "EA", "price": "10.00", "currency": "EUR", "goodsRecipient": "S\"weden' 103 Ö employee'103", "deliveryDate": "2011-05-27T00:00:00.000Z", "costObjects": [ { "accountingNo": "0001", "distributionPercentage": "100.00", "accountingObjectDescription": "Cost Center", "distributionQuantity": "0.000", "accountingValue": "0000007000", "glAccount": "0000007777", "accountingObject": "CC" } ], "categoryId": "24130000" } ] }, { "_id": "000000060231", "approver": [ { "name": "Sweden manager1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER1", "type": "First func man app", "receivedDate": "2011-05-20T06:35:23.000Z", "status": "AWAITING APPROVAL" }, { "name": "Sweden manager2", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER2", "type": "Second func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden manager3", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER3", "type": "Third func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden Administrator 1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "ADMIN1", "type": "Workflow admin", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" } ], "requester": { "name": "S\"weden' 103 Ö employee'103", "id": "EMP103", "phone": "12345678-1234", "email": "sonika.chauhan@capgemini.com" }, "current": 0, "provider": "srm", "header": { "totalValue": "3.90", "companyCode": "0007", "typeOfMail": "approve_or_reject", "sourceSystem": "E7D_110", "objectName": "EMP103 05-20-2011 08:29_CODEL", "approvalMessage": "", "currency": "EUR", "objectId": "4500004656", "objectType": "PO", "companyCodeDescription": "Name 2 testing" }, "state": "open", "id": "000000060231", "items": [ { "priceUnit": "1", "shipToAddress": { "country": "SE", "city1": "Upsala chnd", "regionName": "Gotland County", "nameCo": "ZA les\" rives de l' Odon", "telExtens": "3333", "building": "BLDCD 007", "room": "RMNB 7701c", "houseNum1": "77 changed", "postCode1": "123 70", "telNumber": "333333333", "coCode": "0007", "street": "ZA les rives de l' Odon 111222333444555666777888", "countryName": "Sweden", "name2": "Name 2 testing", "region": "003", "floor": "FLR 099 c", "name1": "0007_Sweden", "email": "test1@ibx.se" }, "quantity": "1.000", "netValue": "3.90", "description": "Mutipurpose lubricator CRC 5-56 1012 200", "vendorId": "", "vendorName": "", "itemId": "0000000002", "unit": "EA", "price": "3.90", "currency": "EUR", "goodsRecipient": "S\"weden' 103 Ö employee'103", "deliveryDate": "2011-05-23T00:00:00.000Z", "costObjects": [ { "accountingNo": "0001", "distributionPercentage": "100.00", "accountingObjectDescription": "Cost Center", "distributionQuantity": "0.000", "accountingValue": "0000007000", "glAccount": "0000007777", "accountingObject": "CC" } ], "categoryId": "15120000" } ] }, { "_id": "000000060094", "approver": [ { "name": "Sweden manager1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER1", "type": "First func man app", "receivedDate": "2011-05-19T21:09:29.000Z", "status": "AWAITING APPROVAL" }, { "name": "Sweden manager2", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER2", "type": "Second func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden manager3", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER3", "type": "Third func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden Administrator 1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "ADMIN1", "type": "Workflow admin", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" } ], "requester": { "name": "S\"weden' 103 Ö employee'103", "id": "EMP103", "phone": "12345678-1234", "email": "sonika.chauhan@capgemini.com" }, "current": 0, "provider": "srm", "header": { "totalValue": "17.20", "companyCode": "0007", "typeOfMail": "approve_or_reject", "sourceSystem": "E7D_110", "objectName": "EMP103 2011/05/19 23:02_DEL", "approvalMessage": "", "currency": "EUR", "objectId": "4500004652", "objectType": "PO", "companyCodeDescription": "Name 2 testing" }, "state": "open", "id": "000000060094", "items": [ { "priceUnit": "1", "shipToAddress": { "country": "SE", "city1": "Upsala chnd", "regionName": "Gotland County", "nameCo": "ZA les\" rives de l' Odon", "telExtens": "3333", "building": "BLDCD 007", "room": "RMNB 7701c", "houseNum1": "77 changed", "postCode1": "123 70", "telNumber": "333333333", "coCode": "0007", "street": "ZA les rives de l' Odon 111222333444555666777888", "countryName": "Sweden", "name2": "Name 2 testing", "region": "003", "floor": "FLR 099 c", "name1": "0007_Sweden", "email": "test1@ibx.se" }, "quantity": "1.000", "netValue": "16.00", "description": "Salad - Farmers Garden", "vendorId": "", "vendorName": "", "itemId": "0000000002", "unit": "EA", "price": "16.00", "currency": "EUR", "goodsRecipient": "S\"weden' 103 Ö employee'103", "deliveryDate": "2011-05-20T00:00:00.000Z", "costObjects": [ { "accountingNo": "0001", "distributionPercentage": "100.00", "accountingObjectDescription": "Cost Center", "distributionQuantity": "0.000", "accountingValue": "0000007000", "glAccount": "0000007777", "accountingObject": "CC" } ], "categoryId": "90100000" }, { "priceUnit": "1", "shipToAddress": { "country": "SE", "city1": "Upsala chnd", "regionName": "Gotland County", "nameCo": "ZA les\" rives de l' Odon", "telExtens": "3333", "building": "BLDCD 007", "room": "RMNB 7701c", "houseNum1": "77 changed", "postCode1": "123 70", "telNumber": "333333333", "coCode": "0007", "street": "ZA les rives de l' Odon 111222333444555666777888", "countryName": "Sweden", "name2": "Name 2 testing", "region": "003", "floor": "FLR 099 c", "name1": "0007_Sweden", "email": "test1@ibx.se" }, "quantity": "1.000", "netValue": "1.20", "description": "Soda COKE", "vendorId": "", "vendorName": "", "itemId": "0000000003", "unit": "EA", "price": "1.20", "currency": "EUR", "goodsRecipient": "S\"weden' 103 Ö employee'103", "deliveryDate": "2011-05-20T00:00:00.000Z", "costObjects": [ { "accountingNo": "0001", "distributionPercentage": "100.00", "accountingObjectDescription": "Cost Center", "distributionQuantity": "0.000", "accountingValue": "0000007000", "glAccount": "0000007777", "accountingObject": "CC" } ], "categoryId": "90100000" } ] }, { "_id": "000000058926", "approver": [ { "name": "Sweden manager1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER1", "type": "First func man app", "receivedDate": "2011-05-18T14:20:27.000Z", "status": "AWAITING APPROVAL" }, { "name": "Sweden manager2", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER2", "type": "Second func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden manager3", "processedDate": "1970-01-01T00:00:00.000Z", "id": "MANAGER3", "type": "Third func man app", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" }, { "name": "Sweden Administrator 1", "processedDate": "1970-01-01T00:00:00.000Z", "id": "ADMIN1", "type": "Workflow admin", "receivedDate": "1970-01-01T00:00:00.000Z", "status": "OPEN" } ], "requester": { "name": "S\"weden' 103 Ö employee'103", "id": "EMP103", "phone": "12345678-1234", "email": "sonika.chauhan@capgemini.com" }, "current": 0, "provider": "srm", "header": { "totalValue": "3.00", "companyCode": "0007", "typeOfMail": "approve_or_reject", "sourceSystem": "E7D_110", "objectName": "EMP103 ㍻23-05-18 16:02_DELPOS", "approvalMessage": "", "currency": "GBP", "objectId": "4500004634", "objectType": "PO", "companyCodeDescription": "Name 2 testing" }, "state": "open", "id": "000000058926", "items": [ { "priceUnit": "1", "shipToAddress": { "country": "SE", "city1": "Upsala chnd", "regionName": "Gotland County", "nameCo": "ZA les\" rives de l' Odon", "telExtens": "3333", "building": "BLDCD 007", "room": "RMNB 7701c", "houseNum1": "77 changed", "postCode1": "123 70", "telNumber": "333333333", "coCode": "0007", "street": "ZA les rives de l' Odon 111222333444555666777888", "countryName": "Sweden", "name2": "Name 2 testing", "region": "003", "floor": "FLR 099 c", "name1": "0007_Sweden", "email": "test1@ibx.se" }, "quantity": "3.000", "netValue": "3.00", "description": "red item 1", "vendorId": "", "vendorName": "", "itemId": "0000000001", "unit": "EA", "price": "1.00", "currency": "GBP", "goodsRe