using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Swashbuckle.AspNetCore.Swagger;
namespace Api
{
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
*@NApiVersion 2.x | |
*@NScriptType MapReduceScript | |
*/ | |
/** | |
* The script uses NetSuite's Map/Reduce pardigm implementation and uses getInputData, map, and summarize stages. When completed, | |
* the script deletes existing Pricing data for for qualifying items using the following generalized algorithm: | |
* Read the items and price data in getinputdata | |
* In map stage, delete the price data that was passed from getInputData stage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
*@NApiVersion 2.x | |
*@NScriptType MapReduceScript | |
*/ | |
/** | |
* The script uses NetSuite's Map/Reduce pardigm implementation and uses getInputData, map, reduce and summarize stages. When completed, | |
* the script deletes existing Pricing data for for qualifying items using the following generalized algorithm: | |
* Read the items and price data in getinputdata | |
* In map stage, create a data structure for where key is itemid and value is pricedata. |
{
"swagger": "2.0",
"info": {
"version": "v1",
"title": "SmartStock API"
},
"paths": {
"/api/Stock": {
"get": {
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package benktesh.smartstock; | |
import android.app.ActivityOptions; | |
import android.content.Intent; | |
import android.os.AsyncTask; | |
import android.os.Bundle; | |
import android.support.design.widget.FloatingActionButton; | |
import android.support.v7.app.AppCompatActivity; | |
import android.support.v7.widget.LinearLayoutManager; | |
import android.support.v7.widget.RecyclerView; | |
import android.support.v7.widget.Toolbar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.IO; | |
using System.Linq; | |
using System.Data.Odbc; | |
namespace Aggregate | |
{ | |
class Program |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration> | |
<appsettings> | |
<add key="datapath" value="C:\temp\"> | |
</add></appsettings> | |
</configuration> |