MixERP.Net.Api.Transactions.NonGlStockMasterController Class Reference

Provides a direct HTTP access to perform various tasks such as adding, editing, and removing Non Gl Stock Masters. More...

Inheritance diagram for MixERP.Net.Api.Transactions.NonGlStockMasterController:

Public Member Functions

EntityView GetEntityView ()
 Creates meta information of "non gl stock master" entity. More...
 
long Count ()
 Counts the number of non gl stock masters. More...
 
IEnumerable< MixERP.Net.Entities.Transactions.NonGlStockMasterGet ()
 Returns collection of non gl stock master for export. More...
 
MixERP.Net.Entities.Transactions.NonGlStockMaster Get (long nonGlStockMasterId)
 Returns an instance of non gl stock master. More...
 
IEnumerable< MixERP.Net.Entities.Transactions.NonGlStockMasterGet ([FromUri] long[] nonGlStockMasterIds)
 
IEnumerable< MixERP.Net.Entities.Transactions.NonGlStockMasterGetPagedResult ()
 Creates a paginated collection containing 25 non gl stock masters on each page, sorted by the property NonGlStockMasterId. More...
 
IEnumerable< MixERP.Net.Entities.Transactions.NonGlStockMasterGetPagedResult (long pageNumber)
 Creates a paginated collection containing 25 non gl stock masters on each page, sorted by the property NonGlStockMasterId. More...
 
long CountWhere ([FromBody]dynamic filters)
 Counts the number of non gl stock masters using the supplied filter(s). More...
 
IEnumerable< MixERP.Net.Entities.Transactions.NonGlStockMasterGetWhere (long pageNumber, [FromBody]dynamic filters)
 Creates a filtered and paginated collection containing 25 non gl stock masters on each page, sorted by the property NonGlStockMasterId. More...
 
long CountFiltered (string filterName)
 Counts the number of non gl stock masters using the supplied filter name. More...
 
IEnumerable< MixERP.Net.Entities.Transactions.NonGlStockMasterGetFiltered (long pageNumber, string filterName)
 Creates a filtered and paginated collection containing 25 non gl stock masters on each page, sorted by the property NonGlStockMasterId. More...
 
IEnumerable< DisplayFieldGetDisplayFields ()
 Displayfield is a lightweight key/value collection of non gl stock masters. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields ()
 A custom field is a user defined field for non gl stock masters. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields (string resourceId)
 A custom field is a user defined field for non gl stock masters. More...
 
void AddOrEdit ([FromBody]Newtonsoft.Json.Linq.JArray form)
 Adds or edits your instance of NonGlStockMaster class. More...
 
void Add (MixERP.Net.Entities.Transactions.NonGlStockMaster nonGlStockMaster)
 Adds your instance of NonGlStockMaster class. More...
 
void Edit (long nonGlStockMasterId, [FromBody] MixERP.Net.Entities.Transactions.NonGlStockMaster nonGlStockMaster)
 Edits existing record with your instance of NonGlStockMaster class. More...
 
List< object > BulkImport ([FromBody]dynamic collection)
 Adds or edits multiple instances of NonGlStockMaster class. More...
 
void Delete (long nonGlStockMasterId)
 Deletes an existing instance of NonGlStockMaster class via NonGlStockMasterId. More...
 

Properties

long LoginId [get]
 
int UserId [get]
 
int OfficeId [get]
 
string Catalog [get]
 

Detailed Description

Provides a direct HTTP access to perform various tasks such as adding, editing, and removing Non Gl Stock Masters.

Member Function Documentation

void MixERP.Net.Api.Transactions.NonGlStockMasterController.Add ( MixERP.Net.Entities.Transactions.NonGlStockMaster  nonGlStockMaster)

Adds your instance of NonGlStockMaster class.

Parameters
nonGlStockMasterYour instance of non gl stock masters class to add.
void MixERP.Net.Api.Transactions.NonGlStockMasterController.AddOrEdit ( [FromBody] Newtonsoft.Json.Linq.JArray  form)

Adds or edits your instance of NonGlStockMaster class.

Parameters
nonGlStockMasterYour instance of non gl stock masters class to add or edit.
List<object> MixERP.Net.Api.Transactions.NonGlStockMasterController.BulkImport ( [FromBody] dynamic  collection)

Adds or edits multiple instances of NonGlStockMaster class.

Parameters
collectionYour collection of NonGlStockMaster class to bulk import.
Returns
Returns list of imported nonGlStockMasterIds.
Exceptions
MixERPExceptionThrown when your any NonGlStockMaster class in the collection is invalid or malformed.
long MixERP.Net.Api.Transactions.NonGlStockMasterController.Count ( )

Counts the number of non gl stock masters.

Returns
Returns the count of the non gl stock masters.
long MixERP.Net.Api.Transactions.NonGlStockMasterController.CountFiltered ( string  filterName)

Counts the number of non gl stock masters using the supplied filter name.

Parameters
filterNameThe named filter.
Returns
Returns the count of filtered non gl stock masters.
long MixERP.Net.Api.Transactions.NonGlStockMasterController.CountWhere ( [FromBody] dynamic  filters)

Counts the number of non gl stock masters using the supplied filter(s).

Parameters
filtersThe list of filter conditions.
Returns
Returns the count of filtered non gl stock masters.
void MixERP.Net.Api.Transactions.NonGlStockMasterController.Delete ( long  nonGlStockMasterId)

Deletes an existing instance of NonGlStockMaster class via NonGlStockMasterId.

Parameters
nonGlStockMasterIdEnter the value for NonGlStockMasterId in order to find and delete the existing record.
void MixERP.Net.Api.Transactions.NonGlStockMasterController.Edit ( long  nonGlStockMasterId,
[FromBody] MixERP.Net.Entities.Transactions.NonGlStockMaster  nonGlStockMaster 
)

Edits existing record with your instance of NonGlStockMaster class.

Parameters
nonGlStockMasterYour instance of NonGlStockMaster class to edit.
nonGlStockMasterIdEnter the value for NonGlStockMasterId in order to find and edit the existing record.
IEnumerable<MixERP.Net.Entities.Transactions.NonGlStockMaster> MixERP.Net.Api.Transactions.NonGlStockMasterController.Get ( )

Returns collection of non gl stock master for export.

Returns
MixERP.Net.Entities.Transactions.NonGlStockMaster MixERP.Net.Api.Transactions.NonGlStockMasterController.Get ( long  nonGlStockMasterId)

Returns an instance of non gl stock master.

Parameters
nonGlStockMasterIdEnter NonGlStockMasterId to search for.
Returns
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Transactions.NonGlStockMasterController.GetCustomFields ( )

A custom field is a user defined field for non gl stock masters.

Returns
Returns an enumerable custom field collection of non gl stock masters.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Transactions.NonGlStockMasterController.GetCustomFields ( string  resourceId)

A custom field is a user defined field for non gl stock masters.

Returns
Returns an enumerable custom field collection of non gl stock masters.
IEnumerable<DisplayField> MixERP.Net.Api.Transactions.NonGlStockMasterController.GetDisplayFields ( )

Displayfield is a lightweight key/value collection of non gl stock masters.

Returns
Returns an enumerable key/value collection of non gl stock masters.
EntityView MixERP.Net.Api.Transactions.NonGlStockMasterController.GetEntityView ( )

Creates meta information of "non gl stock master" entity.

Returns
Returns the "non gl stock master" meta information to perform CRUD operation.
IEnumerable<MixERP.Net.Entities.Transactions.NonGlStockMaster> MixERP.Net.Api.Transactions.NonGlStockMasterController.GetFiltered ( long  pageNumber,
string  filterName 
)

Creates a filtered and paginated collection containing 25 non gl stock masters on each page, sorted by the property NonGlStockMasterId.

Parameters
pageNumberEnter the page number to produce the resultset.
filterNameThe named filter.
Returns
Returns the requested page from the collection using the supplied filters.
IEnumerable<MixERP.Net.Entities.Transactions.NonGlStockMaster> MixERP.Net.Api.Transactions.NonGlStockMasterController.GetPagedResult ( )

Creates a paginated collection containing 25 non gl stock masters on each page, sorted by the property NonGlStockMasterId.

Returns
Returns the first page from the collection.
IEnumerable<MixERP.Net.Entities.Transactions.NonGlStockMaster> MixERP.Net.Api.Transactions.NonGlStockMasterController.GetPagedResult ( long  pageNumber)

Creates a paginated collection containing 25 non gl stock masters on each page, sorted by the property NonGlStockMasterId.

Parameters
pageNumberEnter the page number to produce the resultset.
Returns
Returns the requested page from the collection.
IEnumerable<MixERP.Net.Entities.Transactions.NonGlStockMaster> MixERP.Net.Api.Transactions.NonGlStockMasterController.GetWhere ( long  pageNumber,
[FromBody] dynamic  filters 
)

Creates a filtered and paginated collection containing 25 non gl stock masters on each page, sorted by the property NonGlStockMasterId.

Parameters
pageNumberEnter the page number to produce the resultset.
filtersThe list of filter conditions.
Returns
Returns the requested page from the collection using the supplied filters.

The documentation for this class was generated from the following file: